/* SingleProductPage.css - Heritage Minimalist Theme */

.single-product-container {
    /* padding: 60px 0; */
    background-color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.product-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 50px;
    align-items: flex-start;
}

.product-info-column {
    flex: 1;
    min-width: 0;
}


/* Image Section */
.product-image-gallery {
    flex: 1.2;
    min-width: 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80px;
    flex-shrink: 0;
    max-height: 600px;
    overflow-y: auto;
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
}

.thumbnail-strip::-webkit-scrollbar {
    display: none;
}

.thumbnail-item {
    width: 100%;
    aspect-ratio: 3/4;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s ease;
}

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

.thumbnail-item:hover {
    opacity: 1;
}

.thumbnail-item.active {
    opacity: 1;
    border-color: #ce9634;
}

/* Main Image */
.main-image-wrapper {
    flex: 1;
    background: #f9f9f9;
    padding: 0;
    overflow: hidden;
    border-radius: 8px;
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/4;
    transition: transform 0.5s ease;
}


/* Info Section */
.product-info-column {
    padding-top: 10px;
}

.product-category-path {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #888;
    margin-bottom: 12px;
    display: block;
}

.product-title-premium {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price-premium {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-current {
    font-size: 20px;
    font-weight: 600;
    color: #ce9634;
    /* Website Gold */
}

.price-old {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge-inline {
    font-size: 13px;
    font-weight: 700;
    color: #ce9634;
    /* Same as current price gold */
    background: rgba(206, 150, 52, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.product-description-premium {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}


/* Options */
.product-option-group {
    margin-bottom: 30px;
}

.option-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    color: #1a1a1a;
}

.size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-chip {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 4px;
    /* Heritage Minimalist Corner Radius */
    min-width: 50px;
    text-align: center;
}

.size-chip:hover {
    border-color: #ce9634;
    color: #ce9634;
}

.size-chip.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* Colors */
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-swatch-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    padding: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.color-swatch-wrapper.active {
    border-color: #1a1a1a;
}

.color-swatch {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
}

/* Purchase Actions */
.purchase-actions-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    align-items: center;
}

.quantity-selector-premium {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 9999px;
    background-color: #ffffff;
    min-height: 48px;
    padding: 0 12px;
    flex: 0 0 auto;
}

.qty-input-premium {
    width: 35px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 15px;
    background: transparent;
    color: #1a1a1a;
}

.qty-btn-premium {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #1a1a1a;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.action-buttons-row {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 300px; /* Ensures it doesn't get too squashed before wrapping */
}

.add-to-cart-btn-premium {
    flex: 1.5;
    background-color: #ce9634;
    color: #ffffff;
    border: none;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.add-to-cart-btn-premium:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-to-cart-btn-premium.disabled-btn {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.wishlist-btn-premium {
    flex: 1;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 9999px;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a1a;
    gap: 8px;
}

.wishlist-btn-premium i {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn-premium:hover {
    border-color: #ce9634;
    color: #ce9634;
    transform: translateY(-2px);
}

.wishlist-btn-premium.active {
    background-color: #fff;
    color: #ff4d4d;
    /* Heart Red */
    border-color: #ff4d4d;
}

.wishlist-btn-premium.active i {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.inquiry-btn-premium {
    flex: 1;
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.inquiry-btn-premium:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1199px) {
    .product-layout {
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .product-layout {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .product-image-gallery {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 15px;
    }

    .thumbnail-strip {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
    }

    .thumbnail-item {
        width: 70px;
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .purchase-actions-premium {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-selector-premium {
        justify-content: center;
        gap: 30px;
    }

    .action-buttons-row {
        flex-direction: column;
        align-items: stretch;
    }


}

/* Tabs */
.product-details-tabs {
    margin-top: 80px;
}

.tab-nav-premium {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.tab-link-premium {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    color: #888;
    cursor: pointer;
    position: relative;
}

.tab-link-premium.active {
    color: #1a1a1a;
}

.tab-link-premium.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ce9634;
}

.tab-content-premium {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* HTML Description rendering */
.product-html-description p {
    margin-bottom: 1em;
}

.product-html-description ul,
.product-html-description ol {
    margin-bottom: 1em;
    padding-left: 20px;
}

.product-html-description strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* Quantity Selector */
.qty-selector-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.qty-controls button {
    background: #f8f8f8;
    border: none;
    width: 35px;
    height: 35px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-controls button:hover {
    background: #eee;
}

.qty-controls input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-weight: 600;
}

/* Action Buttons Row */
/* Row 1: Add to Cart + Wishlist + Share */
.action-buttons-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%;
}

.add-to-cart-premium-btn {
    flex: 2;
    background-color: transparent !important;
    color: #ce9634 !important;
    border: 1.5px solid #ce9634 !important;
    padding: 14px 15px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.add-to-cart-premium-btn:hover:not(:disabled) {
    background-color: #ce9634 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(206, 150, 52, 0.25);
}

.wishlist-btn-premium,
.share-btn-premium {
    flex: 1;
    background: #fff !important;
    border: 1.5px solid #ce9634 !important;
    padding: 14px 10px !important;
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px !important;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    color: #333 !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.wishlist-btn-premium:hover,
.share-btn-premium:hover {
    border-color: #ce9634 !important;
    color: #ce9634 !important;
    transform: translateY(-2px);
}

.wishlist-btn-premium.active {
    color: #ff4d4d !important;
    border-color: #ff4d4d !important;
}

/* Row 2: Make Inquiry */
.inquiry-row {
    width: 100%;
    margin-bottom: 25px;
}

.whatsapp-inquiry-btn {
    width: 100%;
    background-color: transparent !important;
    color: #25D366 !important;
    border: 1.5px solid #25D366 !important;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.whatsapp-inquiry-btn:hover {
    background-color: #25D366 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

@media (max-width: 576px) {
    .action-buttons-row {
        flex-direction: column;
    }
}

.secondary-actions-row button.wishlist-btn-premium.active {
    color: #ff4d4d;
    border-color: #ff4d4d;
}

.share-btn-premium i {
    color: #ce9634;
}

@media (max-width: 576px) {
    .secondary-actions-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   Product Image Zoom & Responsive Lightbox Modal
   ========================================================================== */

/* Main Image Zoom Indicator */
.main-image-wrapper {
    position: relative;
}

.zoom-indicator {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.main-image-wrapper:hover .zoom-indicator {
    opacity: 0;
    transform: scale(0.8);
}

/* Lightbox Backdrop */
.lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.96);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    animation: lightboxFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Lightbox Header */
.lightbox-header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-shrink: 0;
    z-index: 10;
}

.lightbox-counter {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.lightbox-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.05);
}

/* Lightbox Content Area */
.lightbox-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    min-height: 0;
}

.lightbox-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: 75vh;
}

.lightbox-active-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    user-select: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: imageScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes imageScaleIn {
    from {
        transform: scale(0.96);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigation Arrows */
.lightbox-arrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.lightbox-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-arrow-left {
    left: -20px;
}

.lightbox-arrow-right {
    right: -20px;
}

/* Bottom Thumbnail Strip */
.lightbox-thumbnails-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    flex-shrink: 0;
    z-index: 10;
}

.lightbox-thumbnails-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px;
    scrollbar-width: none;
    justify-content: center;
    max-width: 100%;
}

.lightbox-thumbnails-strip::-webkit-scrollbar {
    display: none;
}

.lightbox-thumbnail-item {
    width: 76px;
    aspect-ratio: 3/4;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.4;
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.lightbox-thumbnail-item:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.lightbox-thumbnail-item.active {
    opacity: 1;
    border-color: #ffffff;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Responsive Breakpoints for Lightbox
   ========================================================================== */

/* Tablet Viewports (e.g. 768px as requested in screen reference 2) */
@media (max-width: 991px) {
    .lightbox-arrow-left {
        left: 10px;
    }
    
    .lightbox-arrow-right {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .lightbox-backdrop {
        padding: 18px;
    }
    
    .lightbox-arrow {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
    
    .lightbox-thumbnail-item {
        width: 64px;
    }
}

/* Mobile Viewports (e.g. 320px as requested in screen reference 1) */
@media (max-width: 576px) {
    .lightbox-backdrop {
        padding: 12px;
    }
    
    .lightbox-header {
        padding: 5px 0;
    }

    .lightbox-counter {
        font-size: 13px;
        padding: 4px 14px;
    }

    .lightbox-close-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .lightbox-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent black on mobile to overlay nicely */
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .lightbox-arrow-left {
        left: 8px;
    }
    
    .lightbox-arrow-right {
        right: 8px;
    }

    .lightbox-image-container {
        max-height: 65vh;
    }

    .lightbox-thumbnails-strip {
        gap: 8px;
        justify-content: flex-start; /* Allow horizontal swiping/scrolling naturally */
        overflow-x: auto;
    }

    .lightbox-thumbnail-item {
        width: 54px;
    }
    
    .lightbox-thumbnail-item.active {
        transform: translateY(-2px);
    }
}

/* Tiny Mobile Viewports (e.g. 320px - 360px) */
@media (max-width: 360px) {
    .lightbox-thumbnail-item {
        width: 48px;
    }
    
    .lightbox-arrow {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    
    .lightbox-arrow-left {
        left: 4px;
    }
    
    .lightbox-arrow-right {
        right: 4px;
    }
}

/* ==========================================================================
   Size Guide Modal Styling
   ========================================================================== */

.sizeguide-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.6);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    animation: sizeguideFadeIn 0.25s ease-out forwards;
}

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

.sizeguide-modal-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: sizeguideSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sizeguideSlideUp {
    from {
        transform: translateY(30px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.sizeguide-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.sizeguide-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sizeguide-modal-close {
    background: none;
    border: none;
    font-size: 16px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.sizeguide-modal-close:hover {
    color: #ce9634;
    background-color: #f5f5f5;
    transform: rotate(90deg);
}

.sizeguide-modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* Styled elements inside size guide description html content */
.sizeguide-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    background-color: #ffffff;
}

.sizeguide-rich-content th, 
.sizeguide-rich-content td {
    border: 1.5px solid #eaeaea;
    padding: 12px 14px;
    text-align: center;
}

.sizeguide-rich-content th {
    background-color: #f7f7f7;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.sizeguide-rich-content tr:hover {
    background-color: #fafafa;
}

.sizeguide-rich-content p {
    margin-bottom: 12px;
}

.sizeguide-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    background-color: #fafafa;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.sizeguide-modal-btn-close {
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sizeguide-modal-btn-close:hover {
    background-color: #ce9634;
    box-shadow: 0 4px 12px rgba(206, 150, 52, 0.25);
    transform: translateY(-1px);
}

.sizeguide-modal-btn-close:active {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .sizeguide-modal-content {
        max-height: 85vh;
        max-width: 95%;
    }
    
    .sizeguide-modal-header {
        padding: 16px 20px;
    }
    
    .sizeguide-modal-body {
        padding: 20px;
    }
    
    .sizeguide-rich-content th, 
    .sizeguide-rich-content td {
        padding: 10px 8px;
        font-size: 12px;
    }
}