/* =====================================================
   PRODUCT DETAILS PREMIUM CSS
   EP Collections - Product Details Page
   ===================================================== */

:root {
    --primary: #1a1a1a;
    --accent: #D4AF37;
    --accent-dark: #B8962F;
    --accent-light: #FDF6E3;
    --surface: #ffffff;
    --background: #FAFAFA;
    --text: #1a1a1a;
    --text-light: #666666;
    --muted: #999999;
    --border: #E0E0E0;
    --success: #10B981;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ========================================
   PRODUCT DETAILS SECTION
   ======================================== */
.product-details-section {
    padding: 32px 0 64px;
    background: var(--background);
}

body.product-page .product-details-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Breadcrumb */
.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.product-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-breadcrumb a:hover {
    color: var(--accent-dark);
}

.breadcrumb-sep {
    color: var(--muted);
    user-select: none;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px 48px;
    align-items: start;
    margin-bottom: 0;
}

.product-details-lower {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 56px;
    width: 100%;
}

/* ========================================
   LEFT: IMAGE GALLERY
   ======================================== */
.product-gallery-column {
    position: sticky;
    top: 24px;
    align-self: start;
    width: 100%;
    min-width: 0;
}

.gallery-container {
    width: 100%;
    display: block;
}

.gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding: 0 2px;
}

.gallery-thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    padding: 4px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.size-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.gallery-main-frame {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.gallery-stage {
    width: 100%;
    background: linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    cursor: zoom-in;
}

.gallery-main-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: min(72vh, 640px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 36px);
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.gallery-main-wrapper:hover .gallery-image {
    transform: scale(1.04);
}

.gallery-main-image {
    cursor: zoom-in;
    vertical-align: middle;
}

.gallery-zoom-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-zoom-btn i {
    font-size: 0.9rem;
    color: var(--accent-dark);
}

.gallery-zoom-btn:hover {
    background: #fff;
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-1px);
}

.gallery-zoom-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: lightboxZoomIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: none;
}

.lightbox-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   RIGHT: PRODUCT INFORMATION (buy box)
   ======================================== */
.product-info-column {
    background: var(--surface);
    padding: 0;
    border-radius: var(--radius);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0;
    align-self: start;
    min-width: 0;
    overflow: hidden;
}

.product-info-header {
    padding: 32px 36px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    line-height: 1;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.28;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.02em;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #FDB913;
    line-height: 1;
}

.rating-stars i {
    font-size: 0.8rem;
}

.rating-count {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1;
}

.product-info-price {
    padding: 20px 36px 24px;
    margin: 20px 0 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fafafa 0%, var(--surface) 100%);
}

.product-info-form {
    padding: 28px 36px 8px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.in-stock {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin: 0;
    padding: 0;
}

.price-current {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-original {
    font-size: 1rem;
    color: var(--muted);
    text-decoration: line-through;
    line-height: 1;
}

.price-original.is-hidden {
    display: none;
}

.price-discount {
    font-size: 0.6875rem;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
    align-self: center;
}

.price-discount.is-hidden {
    display: none;
}

.product-description-box {
    margin: 0 0 24px;
    padding: 18px 20px;
    background: #f8f6f2;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 12px;
}

.product-description-box[hidden] {
    display: none !important;
}

.product-description-box__title {
    margin: 0 0 10px;
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text, #1a1a1a);
}

.product-description-box__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted, #555);
    white-space: pre-line;
}

.product-divider {
    display: none;
}

.option-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

/* ========================================
   PRODUCT OPTIONS
   ======================================== */
body.product-page .product-info-column .product-option {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: stretch;
    text-align: left;
}

body.product-page .product-info-column .option-label {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin: 0;
}

body.product-page .product-info-column .size-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

body.product-page .product-info-column .size-btn {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    padding: 8px 6px;
    border: 1px solid #d8d8d8;
    background: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    white-space: nowrap;
    line-height: 1.2;
}

body.product-page .product-info-column .size-btn:hover {
    border-color: var(--accent);
    color: var(--text);
    box-shadow: none;
    transform: none;
}

body.product-page .product-info-column .size-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

body.product-page .product-info-column .product-option--qty {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 20px;
    row-gap: 12px;
}

body.product-page .product-info-column .product-option--qty .option-label {
    grid-column: 1;
    grid-row: 1;
}

body.product-page .product-info-column .product-option--qty .quantity-selector {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
}

/* ========================================
   QUANTITY SELECTOR
   ======================================== */
body.product-page .product-info-column .quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    width: auto;
    max-width: 140px;
    transition: border-color 0.2s ease;
}

body.product-page .product-info-column .quantity-selector:focus-within {
    border-color: var(--accent);
}

body.product-page .product-info-column .qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.product-page .product-info-column .qty-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
}

body.product-page .product-info-column .qty-input {
    width: 48px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    background: var(--surface);
}

.qty-input:focus {
    outline: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ========================================
   STOCK WARNING
   ======================================== */
.stock-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: var(--radius-sm);
    color: #856404;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 8px 0;
}

.stock-warning i {
    font-size: 1rem;
}

/* ========================================
   ACTION BUTTONS
   ======================================== */
.product-actions {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.btn {
    flex: 1;
    height: 50px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-add-cart {
    background: var(--text);
    color: white;
    border: 2px solid var(--text);
}

.btn-add-cart:hover {
    background: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-buy-now {
    background: var(--accent);
    color: var(--text);
    border: 2px solid var(--accent);
}

.btn-buy-now:hover {
    background: #c9a83a;
    border-color: #c9a83a;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.product-purchase-block {
    margin-top: auto;
    padding: 24px 36px 32px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--surface);
}

.product-details-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    margin-top: 0;
    background: #25d366;
    color: #fff !important;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    cursor: pointer;
    pointer-events: auto !important;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.product-details-whatsapp:hover {
    background: #20bd5a;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.product-details-whatsapp i {
    font-size: 1.35rem;
    pointer-events: none;
}

.product-trust-note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

.product-trust-note i {
    color: var(--success);
    margin-right: 4px;
}

/* Override global .whatsapp-btn inside product info */
.product-info-column .product-details-whatsapp.whatsapp-btn,
.product-info-column .product-details-whatsapp.order-btn {
    width: 100%;
    max-width: none;
}

/* ========================================
   WISHLIST
   ======================================== */
.wishlist-section {
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.wishlist-btn {
    width: 100%;
    height: 44px;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wishlist-btn:hover {
    border-color: #e91e63;
    color: #e91e63;
    background: rgba(233, 30, 99, 0.05);
}

/* ========================================
   MORE COLORS SECTION
   ======================================== */
.more-colors-section {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text);
}

.color-variants {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.color-variant {
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.color-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    z-index: -1;
}

.color-thumbnail.black {
    background: linear-gradient(135deg, #2a2a2a 0%, #0f0f0f 100%);
}

.color-thumbnail.maroon {
    background: linear-gradient(135deg, #8B0000 0%, #4a0000 100%);
}

.color-thumbnail.navy {
    background: linear-gradient(135deg, #001a4d 0%, #000d26 100%);
}

.color-thumbnail.green {
    background: linear-gradient(135deg, #2d5016 0%, #1a300a 100%);
}

.color-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-variant:hover .color-thumbnail {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--border);
}

.color-variant:hover .color-name {
    opacity: 1;
}

.color-variant.active .color-thumbnail {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2), 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ========================================
   PRODUCT TABS — Full-width professional
   ======================================== */
.product-tabs-section {
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    --tabs-pad-x: 40px;
}

.product-tabs-head {
    padding: 36px var(--tabs-pad-x) 0;
    border-bottom: none;
    background: linear-gradient(180deg, #fafafa 0%, var(--surface) 100%);
    text-align: center;
}

.product-tabs-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 600;
    color: var(--text);
    margin: 0 auto 8px;
    padding: 0;
    letter-spacing: -0.02em;
    text-align: center;
}

.product-tabs-subtitle {
    margin: 0 auto 20px;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
    max-width: 520px;
}

.tabs-header {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 32px;
    padding: 0 var(--tabs-pad-x);
    margin: 0;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 0 0 auto;
    position: relative;
    padding: 16px 0;
    margin: 0;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
    text-align: center;
}

.tab-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: transparent;
    transition: background 0.25s ease, height 0.25s ease;
}

.tab-btn:hover {
    color: var(--text);
    background: transparent;
}

.tab-btn.active {
    color: var(--text);
    font-weight: 600;
}

.tab-btn.active::after {
    height: 3px;
    background: var(--accent);
    left: 0;
    right: 0;
}

.tabs-panel-wrap {
    background: var(--surface);
}

.tab-content {
    display: none;
    padding: 0 !important;
    margin: 0;
    animation: tabPanelIn 0.35s ease;
}

.tab-content.active {
    display: block;
}

.tab-content[hidden] {
    display: none !important;
}

@keyframes tabPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-return-section .product-tabs-head {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.description-wrap,
.policy-wrap {
    padding: 32px var(--tabs-pad-x) 40px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.tab-intro {
    margin: 0 auto 32px;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--border);
    max-width: 800px;
}

.tab-lead {
    margin: 0 auto;
    padding: 0;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-light);
    max-width: 800px;
    text-align: center;
}

/* Description — card grid */
.detail-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    text-align: left;
}

.detail-card {
    padding: 28px;
    background: var(--background);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.detail-card:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.detail-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 10px;
    color: var(--accent-dark);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.detail-card__title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin: 0 0 14px;
}

.detail-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.detail-card__list li {
    position: relative;
    padding: 8px 0 8px 18px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-card__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}

/* Return policy — highlights + blocks */
.policy-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.policy-highlight {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    color: #fff;
}

.policy-highlight__value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
    line-height: 1.2;
}

.policy-highlight__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
}

.policy-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
    margin-bottom: 36px;
}

.policy-block h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.policy-block__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.policy-block__list li {
    position: relative;
    padding: 10px 0 10px 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.policy-block__list li:last-child {
    border-bottom: none;
}

.policy-block__list strong {
    color: var(--text);
    font-weight: 600;
}

.policy-assurance {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--accent-light) 0%, #fff 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
}

.policy-assurance__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 1.35rem;
}

.policy-assurance__text h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.policy-assurance__text p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-light);
}

.policy-assurance__text a {
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-assurance__text a:hover {
    color: var(--text);
}

@media (max-width: 991px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-gallery-column {
        position: static;
    }

    .gallery-main-wrapper {
        aspect-ratio: 1 / 1;
        max-height: 480px;
        padding: 24px;
    }

    .gallery-zoom-btn span {
        display: none;
    }

    body.product-page .product-info-column .size-options {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 576px) {
    body.product-page .product-info-header {
        padding: 24px 20px 0;
    }

    body.product-page .product-info-price {
        padding: 18px 20px 22px;
        margin-top: 16px;
    }

    body.product-page .product-info-form {
        padding: 22px 20px 8px;
    }

    body.product-page .product-purchase-block {
        padding: 22px 20px 28px;
    }

    body.product-page .product-info-column .size-options {
        grid-template-columns: repeat(3, 1fr);
    }

    body.product-page .product-info-column .product-option--qty {
        grid-template-columns: 1fr;
    }

    body.product-page .product-info-column .product-option--qty .quantity-selector {
        justify-self: start;
    }
}

@media (max-width: 768px) {
    .product-main-grid {
        gap: 24px;
    }

    .product-gallery-column {
        position: static;
    }

    .gallery-main-wrapper {
        max-height: 400px;
    }

    .product-tabs-section {
        --tabs-pad-x: 24px;
    }

    .product-tabs-head {
        padding: 28px var(--tabs-pad-x) 0;
    }

    .tabs-header {
        gap: 24px;
    }

    .tab-btn {
        padding: 14px 0;
        font-size: 0.82rem;
    }

    .description-wrap,
    .policy-wrap {
        padding: 28px var(--tabs-pad-x) 32px;
    }

    .detail-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .policy-highlights {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .policy-details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .policy-assurance {
        flex-direction: column;
        padding: 24px;
    }
}

/* ========================================
   PAYMENT OPTIONS
   ======================================== */
.payment-options-section {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.payment-icon:hover {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.payment-icon i {
    font-size: 2rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.payment-icon:hover i {
    transform: scale(1.1);
}

.payment-icon span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
/* Desktop: professional two-column PDP */
@media (min-width: 992px) {
    body.product-page .product-details-section {
        padding: 40px 0 72px;
    }

    body.product-page .product-gallery-column {
        top: 20px;
    }

    body.product-page .gallery-main-wrapper {
        aspect-ratio: 4 / 5;
        max-height: min(68vh, 620px);
        padding: 32px 40px;
    }

    body.product-page .gallery-main-frame {
        border-radius: var(--radius);
    }

    body.product-page .product-main-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: 48px 56px;
        align-items: start;
    }

    body.product-page .product-info-header {
        padding: 36px 40px 0;
    }

    body.product-page .product-info-price {
        padding: 22px 40px 26px;
        margin-top: 24px;
    }

    body.product-page .product-info-form {
        padding: 28px 40px 12px;
        gap: 28px;
    }

    body.product-page .product-purchase-block {
        padding: 28px 40px 36px;
    }

    body.product-page .price-current {
        font-size: 2rem;
    }

    body.product-page .product-info-column .size-options {
        gap: 10px;
    }

    body.product-page .product-info-column .size-btn {
        height: 44px;
        font-size: 0.875rem;
    }

    body.product-page .product-tabs-section {
        --tabs-pad-x: 48px;
    }

    body.product-page .product-tabs-head {
        padding: 40px var(--tabs-pad-x) 0;
    }

    body.product-page .description-wrap,
    body.product-page .policy-wrap {
        padding: 40px var(--tabs-pad-x) 48px;
    }

    body.product-page .detail-cards-grid {
        gap: 28px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .product-main-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .product-details-section {
        padding: 40px 0;
    }

    .product-main-grid {
        margin-bottom: 50px;
        gap: 30px;
    }

    .gallery-main-wrapper {
        aspect-ratio: 1 / 1;
    }

    body.product-page .product-info-header {
        padding: 28px 24px 0;
    }

    body.product-page .product-info-price,
    body.product-page .product-info-form,
    body.product-page .product-purchase-block {
        padding-left: 24px;
        padding-right: 24px;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .price-current {
        font-size: 1.5rem;
    }

    .tabs-header {
        gap: 0;
    }

    .tab-btn {
        padding: 14px 0;
        font-size: 0.8rem;
    }

    .product-tabs-section {
        --tabs-pad-x: 20px;
    }

    .product-tabs-head {
        padding: 24px var(--tabs-pad-x) 0;
    }

    .tabs-header {
        gap: 20px;
    }

    .description-wrap,
    .policy-wrap {
        padding: 24px var(--tabs-pad-x) 28px;
    }
}


@media (max-width: 767px) {
    .product-details-section .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .product-info-header,
    .product-info-price,
    .product-info-form,
    .product-purchase-block {
        text-align: left;
    }

    .product-pricing {
        justify-content: flex-start !important;
    }

    .product-rating {
        justify-content: flex-start !important;
    }

    .option-row-head {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .product-details-section {
        padding: 16px 0;
    }

    .gallery-main-wrapper {
        max-height: 320px;
        aspect-ratio: 1 / 1;
    }

    .gallery-main-wrapper .gallery-image {
        object-fit: contain;
    }

    body.product-page .product-info-header {
        padding: 20px 16px 0;
    }

    body.product-page .product-info-price {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.product-page .product-info-form {
        padding: 20px 16px 8px;
    }

    body.product-page .product-purchase-block {
        padding: 20px 16px 24px;
    }

    .product-brand {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .product-title {
        font-size: 1.35rem;
        line-height: 1.4;
    }

    .price-current {
        font-size: 1.3rem;
    }

    .price-original {
        font-size: 1rem;
    }

    .price-discount {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .size-btn {
        min-width: 40px;
        height: 38px;
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .qty-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .qty-input {
        width: 56px;
        height: 40px;
    }

    .btn {
        height: 44px;
        font-size: 0.9rem;
    }

    .product-details-whatsapp {
        height: 46px;
        font-size: 0.95rem;
    }

    .colour-swatches,
    .more-colors-section,
    .payment-options-section {
        padding: 16px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .color-thumbnail {
        width: 64px;
        height: 64px;
    }

    .product-tabs-section {
        --tabs-pad-x: 16px;
    }

    .product-tabs-head {
        padding: 20px var(--tabs-pad-x) 0;
    }

    .tabs-header {
        gap: 16px;
    }

    .tab-btn {
        min-width: 0;
        padding: 12px 0;
        font-size: 0.72rem;
    }

    .description-wrap,
    .policy-wrap {
        padding: 20px var(--tabs-pad-x) 24px;
    }

    .tab-content {
        padding: 0 !important;
    }

    .payment-icon {
        padding: 12px;
    }

    .payment-icon i {
        font-size: 1.2rem;
    }
}

/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-info-column {
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ========================================
   RELATED PRODUCTS
   ======================================== */
.related-products-section {
    padding-top: 0;
    margin-top: 0;
    width: 100%;
}

.related-products-section > .section-title {
    text-align: center;
    margin-bottom: 32px;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    position: relative;
    padding-bottom: 16px;
}

.related-products-section > .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.related-products-grid .product-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.related-products-grid .product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.related-products-grid .product-card__image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
}

.related-products-grid .product-card__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.related-products-grid .product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.related-products-grid .product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.related-products-grid .product-card__body {
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.related-products-grid .product-card__brand {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.related-products-grid .product-card__body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.related-products-grid .product-card__price {
    margin: 4px 0 10px;
}

.related-products-grid .product-card__price .price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

@media (max-width: 992px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .related-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-products-section {
        padding-top: 40px;
    }
}



