
body {
    background-position: center;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.details-page-top-right-content {
    background: #ffffff;
    /* padding: 0px 72px 7px; */
    border-radius: 10px;
    height: 100%;
    padding: 0px;
    margin-top: 22px;
}

.product-gallery {
    position: relative;
    border-radius: 10px;
    background: #ffffff;
    padding-bottom: 1px;
    overflow: hidden;
}

.gallery-wrapper {
    display: flex;
    gap: 10px;
    max-width: 900px;
    margin: 30px auto;
}

.thumbnail-list {
    width: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnail-list img {
    width: 100%;
    border: 2px solid transparent;
    cursor: pointer;
    object-fit: cover;
}

.thumbnail-list img.selected,
.thumbnail-list .thumbnail-video-wrap.selected {
    border-color: gray;
}

.thumbnail-list .thumbnail-video-wrap {
    position: relative;
    width: 100%;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.thumbnail-list .thumbnail-video-wrap img {
    width: 100%;
    height: 120%!important;
    display: block;
    object-fit: cover;
    border: none;
}

.thumbnail-yt-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.thumbnail-yt-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 576px) {
    .thumbnail-list img {
        height: 150px !important;
    }
    .thumbnail-list .thumbnail-video-wrap {
        height: 150px !important;
    }
}

.image-display {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.image-zoom-wrapper {
    position: relative;
    /* for lens positioning */
}

.main-product-image {
    width: 100%;
    /* max-height: 500px; */
    object-fit: contain;
    display: block;
}

.main-image-container.showing-video {
    min-height: 280px;
    aspect-ratio: 9 / 16;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.video-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #000;
}

.video-loading-overlay.hidden {
    display: none;
}

.video-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: videoLoadingSpin 0.8s linear infinite;
}

.video-loading-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

@keyframes videoLoadingSpin {
    to { transform: rotate(360deg); }
}

#mainProdVideo {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100% * 1080 / 896);
    top: calc(-100% * 92 / 896);
    pointer-events: none; /* disables pause/play click */
}

#mainProdVideo iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.lens-box {
    position: absolute;
    border: none !important;
    width: 100px;
    height: 100px;
    opacity: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: none;
    cursor: crosshair;
    pointer-events: none;
    z-index: 10;
}

.zoom-window {
    width: 400px;
    height: 500px;
    position: absolute;
    left: 50%;
    top: 24.3%;
    border: none;
    box-shadow: none;
    display: none;
    overflow: hidden;
    z-index: 1000000000;
    background: #fff;
}

.zoom-window img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    /* allow scaling */
}

.radio-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 350px;
    user-select: none;
}

.radio-inputs>* {
    margin: 6px;
}

.radio-input:checked+.radio-tile:before {
    transform: scale(1);
    opacity: 1;
    background-color: gray;
    border-color: black;
}

.radio-input:checked+.radio-tile .radio-label {
    color: #000000;
    font-weight: 600;
}

.radio-input:focus+.radio-tile {
    border-color: black;
}

.radio-input:focus+.radio-tile:before {
    transform: scale(1);
    opacity: 1;
}

.radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid black;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
    padding: 4px 18px;
}

.radio-tile:hover {
    background-color: #f0f0f0;
}

.radio-input:checked+.radio-tile {
    border-color: #959595;
    color: black;
    background: #dddcdc;
}

.radio-label {
    color: #707070;
    transition: 0.375s ease;
    text-align: center;
    font-size: 13px;
}

.radio-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.custom-radio {
    margin: 0px 6px;
}

.attribute-alert {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.attribute-alert .alert-text {
    color: black;
    font-weight: bold;
    margin-bottom: 10px;
}

.attribute-alert .alert-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.attribute-alert label {
    padding: 0px 5px;
    cursor: pointer;
    font-weight: 500;
    margin: 5px 0px;
}

.attribute-alert input {
    display: none;
}

.collapsible {
    background-color: #ffffff;
    color: gray;
    cursor: pointer;
    padding: 7px 6px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collapsible .icon {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.active_aa .icon {
    transform: rotate(90deg);
}

.content_aa {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #ffffff;
    margin-top: 5px;
}

.product-card .product-thumb>img {
    object-fit: cover;
}

#product_desc_part {
    margin-top: 30px;
}

.desc_title {
    font-size: 15px
}

.desc_icon {
    font-size: 14px;
}

.content_aa {
    margin-top: 5px !important;
}

.sku_part span {
    font-size: 14px;
}

.product_tag span {
    font-size: 15px;
}

.product_tag a {
    font-size: 14px;
    color: #6a6a6a !important;
    line-height: 26px;
}

.product_tag a:hover {
    color: #000 !important;
    text-decoration: underline !important;

}

/* Product Info Section Styling */
.product-info-section {
    padding: 15px 0;
}

.info-item {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    margin-bottom: 10px;
}

.label-text {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content {
    padding: 5px 0;
}

/* Categories Section */
.category-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.category-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.category-link:hover {
    color: #333;
    text-decoration: underline;
}

.separator {
    color: #999;
    font-size: 14px;
    margin: 0 3px;
}

/* Tags Section */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    width: fit-content;
    display: inline-block;
    padding: 4px 12px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: #e9ecef;
    color: #333;
    border-color: #dee2e6;
}

.no-tags {
    color: #999;
    font-style: italic;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-item {
        padding: 12px 0;
        margin-bottom: 15px;
    }

    .label-text {
        font-size: 13px;
    }

    .category-link {
        font-size: 13px;
    }

    .tag-link {
        padding: 3px 10px;
        font-size: 12px;
    }

    .category-breadcrumb {
        gap: 4px;
    }

    .separator {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-info-section {
        padding: 10px 0;
    }

    .info-item {
        padding: 10px 0;
        margin-bottom: 12px;
    }

    .category-breadcrumb {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .separator {
        display: none;
    }

    .tags-container {
        gap: 6px;
    }
}

.image-display,
.image-zoom-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* adjust as needed */
}

.main-product-image {
    display: block;
    width: 100%;
}

.lens-box {
    position: absolute;
    display: none;
    width: 100px;
    height: 100px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
    cursor: crosshair;
    pointer-events: none;
    z-index: 10;
}

.zoom-window {
    position: absolute;
    left: calc(49% + 20px);
    top: 35%;
    width: 450px;
    height: 450px;
    border: none;
    box-shadow: none;
    background: #fff;
    overflow: hidden;
    display: none;
    z-index: 1000;
}

#zoomedImg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/*****/

.thumbnail-wrapper {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .thumbnail-wrapper::-webkit-scrollbar {
        width: 6px;
    }

    .thumbnail-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .thumbnail-wrapper::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }

    .thumbnail-wrapper::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
}

.thumbnail {
    width: 80px;
    height: auto;
    margin: 0px 0;
    flex-shrink: 0;
    box-sizing: border-box;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumbnail.selected {
    border-color: #007bff;
}

.scroll-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none; /* Hide by default */
    justify-content: center;
    align-items: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-wrapper:hover .scroll-arrow {
    opacity: 1;
    display: flex;
}

.scroll-arrow.up {
    top: 0;
    z-index: 22;
}

.scroll-arrow.down {
    bottom: 0;
    z-index: 22;
}

/*******/
.thumbnail-slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.thumbnail-slider-controls button {
    padding: 6px 12px;
    font-size: 18px;
    cursor: pointer;
}

.mobile-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    z-index: 10;
    padding: 8px;
    display: none;
}


.left-btn {
    left: 10px;
}

.right-btn {
    right: 10px;
}

.mobile-img-nav {
    display: none;
}


@media(max-width:1400px) {
    #product_desc_part {
        margin-top: 0px;
    }
}

@media(max-width:1200px) {
    .collapsible .icon {
        font-size: 12px;
    }
}

@media (max-width: 1125px) {
    .content_aa {
        margin-top: 0px;
    }

    .thumbnail-list {
        gap: 0px;
    }
}

@media(max-width:1024px) {
    #add_bag_body {
        padding-bottom: 10px !important;
    }
}

@media(max-width:991px) {
    .zoom-window {
        width: 48%;
        height: 38%;
    }

    .gallery-wrapper {
        margin: 30px auto 10px auto;
    }

    .image-display,
    .image-zoom-wrapper {
        width: 100%;
        max-width: 100%;
    }
}

@media(max-width:767px) {}

@media(max-width:575px) {
    .in_mobile {
        display: none !important;
    }

    .image-zoom-wrapper {
        margin-bottom: 5px;
    }

    .thumbnail {
        margin: 1px 0;
    }

    .thumbnail-wrapper {
        width: 100% !important;
        height: auto !important;
    }

    .thumbnail-list {
        width: 100%;
        margin-top: 0px;
        flex-direction: row;
        gap: 7px;
    }

    .thumbnail-list img {
        width: 18.5%;
        height: 100px;
    }

    .thumbnail-list .thumbnail-video-wrap {
        width: 18.5%;
        height: 100px;
        flex-shrink: 0;
    }

    .thumbnail-list .thumbnail-video-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumbnail-yt-icon {
        width: 22px;
        height: 22px;
    }

    .product-gallery {
        margin-top: 10px;
    }

    .gallery-wrapper {
        margin: 0px auto 10px auto;
    }

    .zoom-window {
        width: 45%;
        top: 30%;
        left: calc(46% + 20px);
        height: 26%;
    }

    .scroll-arrow {
        width: 25px;
        height: 25px;
        font-size: 15px;
    }

    .scroll-arrow {
        left: 93%;
    }

    .scroll-arrow.left {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .scroll-arrow.right {
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }


    .size_select_box {
        width: 90% !important;
    }

    .gallery-wrapper {
        gap: 5px;
        flex-direction: column-reverse;
    }

    .details-page-top-right-content .p-title-main {
        font-size: 16px;
        line-height: 20px;
    }

    .details-page-top-right-content {
        margin-top: 10px;
    }

    .verticalflip p {
        line-height: 20px;
        font-size: 13px;
    }

    .mobile-nav-btn {
        display: block;
    }

    .mobile-img-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.8);
        border: none;
        padding: 8px;
        z-index: 99;
        display: block;
    }

    .mobile-img-nav.left {
        left: 10px;
    }

    .mobile-img-nav.right {
        right: 10px;
    }
}

@media(max-width:360px) {
    .thumbnail-list img {
        width: 18%;
    }

    .thumbnail-list .thumbnail-video-wrap {
        width: 18%;
    }

    .scroll-arrow {
        left: 91%;
    }
}





.position-relative {
    position: relative;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgb(72 72 72 / 90%);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgb(54 53 53);
    color: #fff;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

@media (max-width: 767px) {
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: -10px;
    }
    
    .next-btn {
        right: -10px;
    }
}



