/* ==========================================================================
   Studio Naaz — Product Details Page
   Page-specific styles for the single product template. Relies on the
   shared design tokens (--sn-ink, --sn-gold, --sn-font-serif, --sn-font-sans,
   etc.) defined in luxury-theme.css, which is loaded on every storefront
   page — keep new colors/fonts here referencing those tokens instead of
   hardcoding values, so this page stays visually in sync with the rest of
   the site.
   ========================================================================== */

/* ---------- Breadcrumb row header offset ---------- */
.product-breadcrumb-row {
    padding-top: 163px;
}

.axil-section-gap {
    padding-top: 0;
}

/* ---------- "Find in Store" link / "View More" links (Tory-Burch-style) ---------- */
.find-in-store-link {
    display: inline-block;
    font-family: var(--sn-font-sans);
    font-size: 13px;
    color: var(--sn-ink);
    text-decoration: underline;
}

.find-in-store-link:hover {
    color: var(--sn-gold);
}

.view-more-links {
    font-family: var(--sn-font-sans);
    font-size: 13px;
    color: var(--sn-ink);
}

.view-more-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 10px;
}

.view-more-links a {
    color: var(--sn-ink);
    text-decoration: underline;
}

.view-more-links a:hover {
    color: var(--sn-gold);
}

/* ---------- Accordion (Description / Size / Dimensions / Material & Care) ---------- */
.accordion-item {
    background-color: transparent;
    border: none !important;
}

.accordion-header button {
    font-family: var(--sn-font-sans);
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 20px;
    padding: 18px 0 !important;
    color: var(--sn-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-button:not(.collapsed) {
    color: var(--sn-ink) !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Replace Bootstrap's default chevron icon with a plain +/- toggle */
.accordion-button::after {
    background-image: none !important;
    content: '+';
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    transform: none !important;
    transition: none;
}

.accordion-button:not(.collapsed)::after {
    content: '\2212';
}

.accordion-body {
    padding: 0 0 20px;
}

.accordion-body div {
    font-family: var(--sn-font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #5D5F5F;
}

.product-info-accordion {
    border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.product-info-accordion .accordion-item {
    border-bottom: 1px solid rgba(17, 17, 17, 0.12) !important;
}

/* ---------- Title / pricing ---------- */
.single-product-content .head-title {
    font-family: var(--sn-font-serif);
    font-size: 30px;
    letter-spacing: 0.01em;
    color: var(--sn-ink);
}

.single-product-content .price.current-price {
    font-family: var(--sn-font-serif);
    font-size: 26px;
    font-weight: 700;
    color: #000;
}

.single-product-content .price.old-price {
    font-size: 16px;
    color: #9a9a9a;
    text-decoration: line-through;
}

.product-action-wrapper .axil-btn {
    letter-spacing: 0.1em;
}

.detail-stock-spantext {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.6em;
}

.pop-up-signup .form-control {
    margin-bottom: 0px !important;
}

.product-description-box {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Product Images ---------- */
.product-images-container {
    position: sticky;
    top: 20px;
    z-index: 10;
}

.product-gallery-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.main-image-wrapper {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 8px;
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.main-image-container {
    width: 100%;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    position: relative;
    cursor: zoom-in;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ---------- Image Lightbox (Coach-style: thumbnail rail + pan-on-hover zoom) ---------- */
.image-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 2000;
    align-items: stretch;
    justify-content: center;
}

.image-lightbox-overlay.active {
    display: flex;
}

.image-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--sn-ink);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.12);
}

.image-lightbox-thumbs {
    position: absolute;
    top: 40px;
    left: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    z-index: 5;
}

.image-lightbox-thumb-item {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 1px solid rgba(17, 17, 17, 0.12);
    cursor: pointer;
    background: #f5f5f3;
}

.image-lightbox-thumb-item.active {
    border-color: var(--sn-ink);
}

.image-lightbox-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-lightbox-zoom-controls {
    position: absolute;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 5;
}

.image-lightbox-zoom-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(17, 17, 17, 0.2);
    background: #fff;
    color: var(--sn-ink);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-zoom-btn:hover {
    background: #f2f2f2;
}

.image-lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 140px;
    cursor: zoom-in;
}

.image-lightbox-stage.zoomed {
    cursor: zoom-out;
}

.image-lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    will-change: transform;
}

@media (max-width: 767px) {
    .image-lightbox-thumbs {
        display: none;
    }
    .image-lightbox-stage {
        padding: 80px 24px;
    }
}

/* Thumbnail Images */
.thumbnail-images-wrapper {
    flex: 0 0 80px;
}

.thumbnail-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: 560px;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f5f5f5;
}

.thumbnail-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.thumbnail-scroll-container::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.thumbnail-scroll-container::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.thumbnail-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.thumbnail-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid rgba(17, 17, 17, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.thumbnail-item:hover {
    border-color: rgba(17, 17, 17, 0.3);
}

.thumbnail-item.active {
    border-color: var(--sn-ink) !important;
    border-width: 2px;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 991px) {
    .main-image-container {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .product-gallery-row {
        flex-direction: column-reverse;
    }

    .thumbnail-images-wrapper {
        flex: none;
        width: 100%;
    }

    .thumbnail-scroll-container {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }
}

@media (max-width: 576px) {
    .main-image-container {
        height: 300px;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

/* ---------- Color Selection ---------- */
.color-variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.color-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-item:hover {
    transform: scale(1.1);
}

.color-circle,
.size-circle {
    cursor: pointer;
    padding: 5px;
    display: inline-block;
}

.color-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.color-item.selected .color-circle {
    border-color: var(--sn-ink);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sn-ink);
}

.color-item.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

@media (max-width: 576px) {
    .color-circle {
        width: 36px;
        height: 36px;
    }
}

/* ---------- Size selection ---------- */
.size-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: 0.3s;
}

.size-circle:hover {
    background-color: #ddd;
    border-color: #999;
}

.selected-size {
    border: 2px solid var(--sn-ink);
    border-radius: 8px;
}

/* ---------- Related products card ---------- */
.product-style-one {
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 15px;
    overflow: hidden;
    margin-bottom: 55px;
}

.product-style-one .thumbnail {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-style-one .thumbnail img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.product-style-one .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding-top: 15px;
}

.product-style-one .product-content .inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ---------- Breadcrumb current category label ---------- */
.breadcrumb-current-label {
    color: var(--sn-ink);
    font-weight: 600;
}

/* ---------- Notify Me button ---------- */
.btn-notify-alert {
    background-color: #ff9900;
}

/* ---------- Related products empty state ---------- */
.no-data-message {
    margin-left: 42%;
    margin-top: 7%;
}

/* ---------- Customer Reviews summary ---------- */
.reviews-title {
    font-weight: 700;
}

.rating-badge-wrapper {
    gap: 10px;
}

.rating-badge {
    background: rgba(53, 119, 240, 0.08);
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-primary);
}

.rating-badge-star {
    color: var(--color-primary);
    font-size: 14px;
}

.rating-badge-sep {
    color: #ccc;
}

.write-review-btn {
    border-radius: 8px;
}

.star-bar-row {
    gap: 12px;
}

.star-bar-label {
    min-width: 30px;
}

.star-bar-icon {
    color: var(--color-primary);
    font-size: 12px;
}

.star-bar-track {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.star-bar-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 5px;
}

.star-bar-percent {
    min-width: 40px;
    text-align: right;
    color: #6b7280;
}

.review-panel-box {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px;
    background: #fff;
}

/* ---------- Recent Reviews card carousel ---------- */
.review-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(17,17,17,0.04);
}

.review-card-stars {
    color: var(--color-primary);
    font-size: 14px;
    margin-bottom: 10px;
}

.review-card-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 66px;
}

.review-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1ede4;
}

.review-card-reviewer-name {
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.review-card-verified {
    font-size: 12px;
    color: #8a8a8a;
}

.reviewsSwiper::part(button-next),
.reviewsSwiper::part(button-prev) {
    color: var(--color-primary);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(17,17,17,0.12);
    width: 40px;
    height: 40px;
}

.write-review-box {
    background: #F4F4F5;
    padding: 30px;
    border-radius: 8px;
}

.comment-list-plain {
    list-style: none;
    padding: 0;
}

.comment-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.comment-date {
    font-size: 13px;
}

.review-star {
    color: var(--color-primary);
}

/* ---------- New Arrival badge ---------- */
.new-arrival-badge {
    display: inline-block;
    background: #FBEAE5;
    color: #C0603C;
    font-family: var(--sn-font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
}

/* ---------- Rating row ---------- */
.product-rating-row .rating-value {
    font-family: var(--sn-font-sans);
    font-weight: 700;
    color: var(--sn-ink);
}

.rating-review-count {
    font-family: var(--sn-font-sans);
    font-size: 14px;
    color: #6b6b6b;
    text-decoration: none;
}

.rating-review-count:hover {
    color: var(--sn-ink);
    text-decoration: underline;
}

/* ---------- Pricing ---------- */
.discount-off {
    font-family: var(--sn-font-sans);
    font-size: 15px;
    font-weight: 600;
    color: #C0603C;
}

.inclusive-tax-text {
    font-family: var(--sn-font-sans);
    font-size: 13px;
    color: #8a8a8a;
}

/* ---------- Quantity stepper ---------- */
.product-variation .title {
    font-family: var(--sn-font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sn-ink);
    margin-bottom: 10px;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(17, 17, 17, 0.2);
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--sn-ink);
}

.qty-input {
    width: 44px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid rgba(17, 17, 17, 0.15);
    border-right: 1px solid rgba(17, 17, 17, 0.15);
    font-family: var(--sn-font-sans);
    font-weight: 600;
}

.in-stock-text {
    font-family: var(--sn-font-sans);
    font-size: 13px;
    font-weight: 600;
    color: #2f8a4e;
}

/* ---------- Add to Bag / Buy Now buttons ---------- */
.btn-add-to-bag {
    background-color: var(--sn-ink);
    color: #fff;
    border: 1px solid var(--sn-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-to-bag:hover {
    opacity: 0.9;
    color: #fff;
}

.btn-buy-now {
    background-color: var(--sn-ink);
    color: #fff;
    border: 1px solid var(--sn-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy-now:hover {
    opacity: 0.9;
    color: #fff;
}

.wishlist-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sn-font-sans);
    font-size: 14px;
    color: var(--sn-ink);
    text-decoration: none;
}

.wishlist-link i.fas {
    color: #C0603C;
}

.wishlist-link:hover {
    text-decoration: underline;
}

/* ---------- Trust strip ---------- */
.trust-strip {
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    padding-top: 18px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-item i {
    font-size: 20px;
    color: var(--sn-ink);
}

.trust-item strong {
    display: block;
    font-family: var(--sn-font-sans);
    font-size: 12px;
    color: var(--sn-ink);
}

.trust-item span {
    display: block;
    font-family: var(--sn-font-sans);
    font-size: 11px;
    color: #8a8a8a;
}

/* ---------- Feature band (4-up benefits) ---------- */
.product-feature-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #F7F4F1;
    padding: 40px 20px;
    text-align: center;
    margin-top: 30px;
}

.feature-band-item i {
    font-size: 26px;
    color: var(--sn-ink);
    margin-bottom: 12px;
    display: inline-block;
}

.feature-band-item h6 {
    font-family: var(--sn-font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sn-ink);
    margin-bottom: 6px;
}

.feature-band-item span {
    font-family: var(--sn-font-sans);
    font-size: 12px;
    color: #8a8a8a;
}

@media (max-width: 767px) {
    .product-feature-band {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Product info tabs ---------- */
.product-tab-nav {
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    flex-wrap: wrap;
}

.product-tab-nav .nav-link {
    font-family: var(--sn-font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8a8a;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 16px 18px;
    background: transparent;
}

.product-tab-nav .nav-link.active {
    color: var(--sn-ink);
    border-bottom-color: var(--sn-ink);
}

.product-tab-content {
    padding: 24px 0;
    font-family: var(--sn-font-sans);
    font-size: 14px;
    line-height: 24px;
    color: #5D5F5F;
}
