/* =========================================================
   HERITAGE - ETHNIC LUXURY THEME STYLES
   Inspired by luxury ethnic wear aesthetics
========================================================= */

:root {
    --heritage-wine: #54151E;
    --heritage-wine-dark: #3F0E16;
    --heritage-wine-light: #6E1F2A;
    --heritage-gold: #C5A880;
    --heritage-gold-dark: #A9875A;
    --heritage-gold-light: #E0CDB4;
    --heritage-cream: #FAF6F0;
    --heritage-cream-soft: #FDFBF8;
    --heritage-sand: #F4ECE3;
    --heritage-border: #EADBCC;
    --heritage-border-light: #F0E6DA;
    --heritage-text: #2B1D20;
    --heritage-text-muted: #7E7073;
    --heritage-white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Page Background */
body {
    background-color: var(--heritage-cream) !important;
    font-family: var(--font-sans);
    color: var(--heritage-text);
}

/* Base Headings */
.heritage-title {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--heritage-wine);
}

.heritage-section-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--heritage-wine);
    margin: 0;
    position: relative;
    display: inline-block;
}

.heritage-section-title::before,
.heritage-section-title::after {
    content: "—";
    margin: 0 10px;
    color: var(--heritage-gold);
    font-weight: 300;
}

.heritage-subtitle {
    font-size: 13px;
    color: var(--heritage-text-muted);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* =========================================================
   1. HERO BANNER SECTION
========================================================= */
.heritage-hero-wrap {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
}

.hero-slider .owl-nav button.owl-prev,
.hero-slider .owl-nav button.owl-next {
    background: rgba(255, 255, 255, 0.85) !important;
    color: var(--heritage-wine) !important;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: none !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slider .owl-nav button.owl-prev { left: 24px; }
.hero-slider .owl-nav button.owl-next { right: 24px; }
.hero-slider .owl-nav button.owl-prev:hover,
.hero-slider .owl-nav button.owl-next:hover {
    background: var(--heritage-wine) !important;
    color: #FFFFFF !important;
}
.hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.hero-slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}
.hero-slider .owl-dots .owl-dot.active span {
    background: var(--heritage-wine) !important;
    width: 24px;
    border-radius: 10px;
}

.heritage-hero-card {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: #F4EBE1;
    overflow: hidden;
}

.heritage-hero-content {
    padding: 60px 40px;
    z-index: 2;
}

.heritage-hero-headline {
    font-family: var(--font-serif);
    font-size: 52px;
    line-height: 1.1;
    font-weight: 500;
    color: var(--heritage-wine);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.heritage-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #554448;
    max-width: 420px;
    margin-bottom: 28px;
    font-weight: 400;
}

.heritage-btn-primary {
    display: inline-block;
    background-color: var(--heritage-wine);
    color: #FFFFFF !important;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 13px 32px;
    border-radius: 2px;
    border: 1px solid var(--heritage-wine);
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(84, 21, 30, 0.18);
}

.heritage-btn-primary:hover {
    background-color: var(--heritage-wine-dark);
    border-color: var(--heritage-wine-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 21, 30, 0.28);
    color: #FFFFFF !important;
}

.heritage-btn-gold {
    display: inline-block;
    background-color: var(--heritage-gold);
    color: var(--heritage-wine-dark) !important;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 2px;
    border: none;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.heritage-btn-gold:hover {
    background-color: #D6BD9B;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.heritage-hero-visual {
    position: relative;
    height: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heritage-hero-img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    object-position: center top;
}

/* Fallback Arch Visual */
.heritage-arch-frame {
    position: relative;
    border-radius: 240px 240px 0 0;
    overflow: hidden;
    border: 1px solid var(--heritage-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* =========================================================
   2. TRUST & VALUE BADGES BAR
========================================================= */
.heritage-trust-bar {
    background: var(--heritage-cream-soft);
    border-top: 1px solid var(--heritage-border-light);
    border-bottom: 1px solid var(--heritage-border-light);
    padding: 18px 0;
    margin-bottom: 40px;
}

.heritage-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 6px 15px;
}

.heritage-trust-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F5EAE0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heritage-wine);
    font-size: 16px;
    flex-shrink: 0;
    border: 1px solid #EFE4D8;
}

.heritage-trust-text h6 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--heritage-text);
    letter-spacing: 0.2px;
}

.heritage-trust-text p {
    margin: 0;
    font-size: 11.5px;
    color: var(--heritage-text-muted);
}

/* =========================================================
   3. SHOP BY OCCASION / CIRCLE CATEGORIES
========================================================= */
.heritage-occasion-wrap {
    margin-bottom: 50px;
    width: 100%;
    text-align: center;
}

.heritage-occasion-slider {
    width: 100%;
    margin: 0 auto;
}

.heritage-occasion-slider .owl-stage {
    margin: 0 auto;
}

.heritage-occasion-item {
    text-align: center;
    display: flex;
    justify-content: center;
}

.heritage-occasion-card {
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 8px 4px;
}

.heritage-circle-frame {
    width: 130px;
    height: 130px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    padding: 3px;
    background: linear-gradient(145deg, #F0E6D8, #FFFFFF);
    border: 1px solid var(--heritage-border);
    box-shadow: 0 4px 15px rgba(84, 21, 30, 0.06);
    transition: all 0.3s ease;
}

.heritage-circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.heritage-occasion-card:hover .heritage-circle-frame {
    border-color: var(--heritage-gold);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.35);
    transform: translateY(-4px);
}

.heritage-occasion-card:hover .heritage-circle-frame img {
    transform: scale(1.08);
}

.heritage-occasion-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--heritage-text);
    transition: color 0.3s ease;
}

.heritage-occasion-card:hover .heritage-occasion-label {
    color: var(--heritage-wine);
}

/* =========================================================
   4. ARTISAN SPOTLIGHT SPLIT BANNER
========================================================= */
.heritage-artisan-wrap {
    background: var(--heritage-wine);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 50px;
    color: #FFFFFF;
    box-shadow: 0 8px 30px rgba(84, 21, 30, 0.15);
}

.heritage-artisan-content {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--heritage-wine);
    position: relative;
}

.heritage-artisan-tag {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--heritage-gold);
    font-weight: 600;
    margin-bottom: 12px;
}

.heritage-artisan-title {
    font-family: var(--font-serif);
    font-size: 38px;
    line-height: 1.15;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.heritage-artisan-desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 26px;
    max-width: 440px;
}

.heritage-artisan-img-wrap {
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.heritage-artisan-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.heritage-artisan-wrap:hover .heritage-artisan-img-wrap img {
    transform: scale(1.03);
}

/* =========================================================
   5. CURATED COLLECTIONS TABBED SHOWCASE
========================================================= */
.heritage-curated-wrap {
    margin-bottom: 50px;
}

.heritage-nav-tabs {
    border: none;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.heritage-tab-btn {
    border: none;
    background: transparent;
    color: var(--heritage-text-muted);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 8px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.heritage-tab-btn:hover {
    color: var(--heritage-wine);
    background: rgba(84, 21, 30, 0.05);
}

.heritage-tab-btn.active {
    background-color: var(--heritage-wine) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(84, 21, 30, 0.2);
}

/* =========================================================
   HERITAGE PRODUCT CARD
========================================================= */
.heritage-product-card {
    background: #FFFFFF;
    border: 1px solid var(--heritage-border-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.heritage-product-card:hover {
    box-shadow: 0 10px 25px rgba(84, 21, 30, 0.08);
    transform: translateY(-4px);
    border-color: var(--heritage-border);
}

.heritage-card-thumb {
    position: relative;
    aspect-ratio: 3 / 4;
    background-color: #F8F3ED;
    overflow: hidden;
}

.heritage-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.heritage-product-card:hover .heritage-card-thumb img {
    transform: scale(1.05);
}

/* Floating Wishlist Button */
.heritage-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #554448;
    font-size: 14px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.heritage-wishlist-btn:hover {
    background: #FFFFFF;
    color: var(--heritage-wine);
    transform: scale(1.1);
}

.heritage-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--heritage-wine);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    z-index: 5;
}

.heritage-card-details {
    padding: 14px 14px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
}

.heritage-card-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--heritage-text);
    margin-bottom: 6px;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.heritage-card-title:hover {
    color: var(--heritage-wine);
}

.heritage-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.heritage-price-current {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    color: var(--heritage-wine);
}

.heritage-price-original {
    font-size: 12px;
    color: var(--heritage-text-muted);
    text-decoration: line-through;
}

/* Quick Action Overlay on Card Hover */
.heritage-card-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 4;
}

.heritage-product-card:hover .heritage-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.heritage-action-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--heritage-wine);
    border: 1px solid var(--heritage-border);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.heritage-action-btn:hover {
    background: var(--heritage-wine);
    color: #FFFFFF;
    border-color: var(--heritage-wine);
}

/* =========================================================
   6. JEWELRY COLLECTION FEATURE BANNER
========================================================= */
.heritage-jewelry-wrap {
    background: #F6EDE3;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid var(--heritage-border);
}

.heritage-jewelry-content {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heritage-jewelry-title {
    font-family: var(--font-serif);
    font-size: 38px;
    line-height: 1.15;
    font-weight: 500;
    color: var(--heritage-wine);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.heritage-jewelry-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #635356;
    margin-bottom: 26px;
    max-width: 420px;
}

.heritage-jewelry-img-wrap {
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.heritage-jewelry-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.heritage-jewelry-wrap:hover .heritage-jewelry-img-wrap img {
    transform: scale(1.03);
}

/* =========================================================
   7. STYLE IT YOUR WAY (COMPLETE THE LOOK)
========================================================= */
.heritage-bundle-wrap {
    background: #FFFFFF;
    border: 1px solid var(--heritage-border);
    border-radius: 6px;
    padding: 24px 20px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(84, 21, 30, 0.04);
}

.heritage-bundle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.heritage-bundle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 180px;
    padding: 8px 12px;
    border-radius: 4px;
    background: #FAF7F2;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.heritage-bundle-item:hover {
    background: #F4EDE3;
    transform: translateY(-2px);
}

.heritage-bundle-thumb {
    width: 54px;
    height: 64px;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--heritage-border-light);
    background: #FFFFFF;
}

.heritage-bundle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heritage-bundle-info h6 {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--heritage-text);
    line-height: 1.3;
}

.heritage-bundle-info span {
    font-size: 12px;
    font-weight: 700;
    color: var(--heritage-wine);
}

.heritage-bundle-plus {
    font-size: 20px;
    font-weight: 300;
    color: var(--heritage-gold-dark);
    user-select: none;
    text-align: center;
}

/* =========================================================
   8. OFFERS STRIP & FOOTER PERKS
========================================================= */
.heritage-offers-strip {
    background: var(--heritage-wine);
    color: #FFFFFF;
    border-radius: 4px;
    padding: 24px 20px;
    margin-bottom: 30px;
    box-shadow: 0 6px 25px rgba(84, 21, 30, 0.15);
}

.heritage-offer-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.heritage-offer-card:last-child {
    border-right: none;
}

.heritage-offer-icon {
    font-size: 24px;
    color: var(--heritage-gold);
    flex-shrink: 0;
}

.heritage-offer-tag {
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--heritage-gold);
    font-weight: 700;
    margin-bottom: 2px;
}

.heritage-offer-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.heritage-offer-code {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px dashed var(--heritage-gold);
    color: #FFFFFF;
    padding: 1px 6px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 3px;
    letter-spacing: 0.8px;
}

.heritage-perks-bar {
    background: var(--heritage-cream-soft);
    border: 1px solid var(--heritage-border-light);
    border-radius: 4px;
    padding: 14px 20px;
    margin-bottom: 50px;
}

.heritage-perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--heritage-text);
    font-weight: 600;
}

.heritage-perk-item i {
    color: var(--heritage-wine);
    font-size: 16px;
}

.heritage-perk-item small {
    display: block;
    color: var(--heritage-text-muted);
    font-weight: 400;
    font-size: 10.5px;
}

/* =========================================================
   OWL CAROUSEL CUSTOM CONTROLS (HERITAGE STYLE)
========================================================= */
.heritage-curated-carousel .owl-nav button.owl-prev,
.heritage-curated-carousel .owl-nav button.owl-next,
.heritage-occasion-slider .owl-nav button.owl-prev,
.heritage-occasion-slider .owl-nav button.owl-next,
.categories--slider .owl-nav button.owl-prev,
.categories--slider .owl-nav button.owl-next {
    background: #FFFFFF !important;
    color: var(--heritage-wine) !important;
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid var(--heritage-border) !important;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heritage-curated-carousel .owl-nav button.owl-prev:hover,
.heritage-curated-carousel .owl-nav button.owl-next:hover,
.heritage-occasion-slider .owl-nav button.owl-prev:hover,
.heritage-occasion-slider .owl-nav button.owl-next:hover,
.categories--slider .owl-nav button.owl-prev:hover,
.categories--slider .owl-nav button.owl-next:hover {
    background: var(--heritage-wine) !important;
    color: #FFFFFF !important;
    border-color: var(--heritage-wine) !important;
}

.heritage-curated-carousel .owl-nav button.owl-prev,
.heritage-occasion-slider .owl-nav button.owl-prev,
.categories--slider .owl-nav button.owl-prev {
    left: -18px;
}

.heritage-curated-carousel .owl-nav button.owl-next,
.heritage-occasion-slider .owl-nav button.owl-next,
.categories--slider .owl-nav button.owl-next {
    right: -18px;
}

/* Responsive Rules */
@media (max-width: 991px) {
    .heritage-hero-headline {
        font-size: 38px;
    }
    .heritage-hero-content {
        padding: 40px 24px;
    }
    .heritage-circle-frame {
        width: 100px;
        height: 100px;
    }
    .heritage-artisan-title,
    .heritage-jewelry-title {
        font-size: 28px;
    }
    .heritage-artisan-content,
    .heritage-jewelry-content {
        padding: 30px 24px;
    }
    .heritage-offer-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 12px 0;
    }
    .heritage-offer-card:last-child {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .heritage-hero-card {
        min-height: auto;
    }
    .heritage-hero-headline {
        font-size: 30px;
    }
    .heritage-hero-visual {
        min-height: 280px;
    }
    .heritage-circle-frame {
        width: 82px;
        height: 82px;
    }
    .heritage-occasion-label {
        font-size: 11px;
    }
    .heritage-section-title {
        font-size: 20px;
    }
    .heritage-bundle-row {
        gap: 8px;
    }
    .heritage-bundle-plus {
        display: none;
    }
    .heritage-bundle-item {
        min-width: 100%;
    }
}
