/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    /* Colors */
    --primary-teal: #04A8B1;
    --dark-teal: #04A8B1;
    --gold-accent: #C9A15A;
    --cream-bg: #FDFBF7;
    --white: #FFFFFF;
    --text-dark: #222222;
    --text-gray: #666666;
    --border-light: #E8E8E8;
    --error-red: #D9534F;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
    --font-script: 'Great Vibes', cursive;

    /* Transitions */
    --transition-fast: all 0.2s ease-in-out;
    --transition-normal: all 0.3s ease-in-out;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Global Layout Container
   ========================================================================== */
.page-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.text-teal {
    color: var(--primary-teal);
}

.eyebrow {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 50px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

/* ==========================================================================
   Button Components
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.btn-outline-teal {
    border: 1px solid var(--primary-teal);
    color: var(--primary-teal);
    background: transparent;
}

.btn-outline-teal:hover {
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-outline-black {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
}

.btn-outline-black:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-filled-teal {
    border: 1px solid var(--primary-teal);
    background: var(--primary-teal);
    color: var(--white);
}

.btn-filled-teal:hover {
    background: var(--dark-teal);
    border-color: var(--dark-teal);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 11px;
}

.btn-full {
    width: 100%;
}

.btn-flex {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ==========================================================================
   1. Top Announcement Bar
   ========================================================================== */
.announcement-bar {
    background-color: var(--primary-teal);
    color: var(--white);
    min-height: 32px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    width: 100%;
    overflow: hidden;
}

.announcement-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.announce-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.announce-slide i {
    font-size: 10px;
}

/* ==========================================================================
   2. Header
   ========================================================================== */
.main-header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 1000;
    overflow: visible;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    overflow: visible;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-teal);
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: var(--cream-bg);
    border-radius: 50px;
    padding: 8px 16px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #04A8B1;
    transition: var(--transition-fast);
}

.search-bar:focus-within {
    border-color: var(--border-light);
    background: var(--white);
}

.search-bar i {
    color: var(--text-gray);
    font-size: 14px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-sans);
    font-size: 13px;
    width: 100%;
}

.search-icon-btn {
    border: none;
    background: transparent;
    padding: 0;
    margin-right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--text-gray);
    font-size: 14px;
    flex-shrink: 0;
}

/* Logo */
.logo {
    font-family: var(--font-script);
    font-size: 46px;
    color: var(--primary-teal);
    text-decoration: none;
    line-height: 1;
}

/* Header Right */
.header-right {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
    gap: 4px;
}

.icon-link:hover {
    color: var(--primary-teal);
}

.icon-link i {
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

.icon-link span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Profile Dropdown */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

.profile-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
    /* Never clip off the right edge on small viewports */
    max-width: calc(100vw - 16px);
}

.profile-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.2s;
}

.profile-dropdown-menu li a:hover {
    background: var(--cream-bg);
    color: var(--primary-teal);
}

.mobile-profile-dropdown {
    width: 100%;
}

.mobile-profile-trigger {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 0;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-profile-menu {
    list-style: none;
    padding-left: 25px;
    display: none;
}

.mobile-profile-menu.active {
    display: block;
}

.mobile-profile-menu li a {
    display: block;
    padding: 10px 0;
    color: var(--text-gray);
    font-size: 13px;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    line-height: 1;
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--primary-teal);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden-mobile {
    display: flex;
}

.mobile-only {
    display: none;
}

.mobile-actions {
    display: none;
}

/* ==========================================================================
   3. Navigation Bar (Mobile Support)
   ========================================================================== */
.nav-overlay {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.main-nav {
    padding: 10px 0;
}

.close-menu {
    display: none;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-list a {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
    background-color: rgba(4, 168, 177, 0.08);
    /* Light transparent primary teal */
    color: var(--primary-teal);
}

.nav-list a i {
    font-size: 12px;
}

.mobile-only-icon {
    display: none;
}

/* ==========================================================================
   Category Tabs Pill Section
   ========================================================================== */
.category-tabs-section {
    display: flex;
    justify-content: center;
    padding: 20px 15px;
    background-color: transparent;
}

.category-tabs {
    display: flex;
    background-color: var(--cream-bg);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 4px;
    gap: 4px;
    max-width: 100%;
    overflow-x: auto;
}

.cat-tab {
    padding: 10px 40px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    text-align: center;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    white-space: nowrap;
}

.cat-tab:hover {
    color: var(--primary-teal);
}

.cat-tab.active {
    background-color: var(--white);
    color: var(--primary-teal);
    border-color: var(--primary-teal);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   4. Hero Slider Section
   ========================================================================== */
.hero-slider {
    background-color: var(--white);
    padding: 0;
    margin: 0;
    position: relative;
}

.hero-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 80%;
}

.hero-slide {
    flex: 0 0 100%;
    position: relative;
    display: block;
    /* Removed min-height to let image dictate height */
}

.hero-right {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.hero-right img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--primary-teal);
    z-index: 10;
}

.hero-arrow.left-arrow {
    left: 40px;
}

.hero-arrow.right-arrow {
    right: 40px;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(4, 168, 177, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dots .dot.active {
    background: var(--primary-teal);
    width: 20px;
    border-radius: 5px;
}

/* ==========================================================================
   Carousel Shared Styles
   ========================================================================== */
.carousel-section-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    flex-grow: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-arrow:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

.slider-container {
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background: var(--primary-teal);
    width: 24px;
    border-radius: 4px;
}


/* Pagination Dots shared */
.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pagination-dots .dot.active {
    background: var(--primary-teal);
    width: 24px;
    border-radius: 4px;
}


/* ==========================================================================
   5. Category Icons Strip
   ========================================================================== */
.categories-section {
    padding: 30px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.decorative-line {
    height: 1px;
    width: 60px;
    background-color: var(--border-light);
}

.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-teal);
    letter-spacing: 2px;
    text-align: center;
}

.header-heart {
    color: var(--primary-teal);
    font-size: 12px;
}

.category-carousel {
    padding-bottom: 20px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.category-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.category-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    mix-blend-mode: luminosity;
}

.category-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 1px;
    transition: var(--transition-fast);
}


.category-item:hover .category-label {
    color: var(--primary-teal);
}

/* ==========================================================================
   6. Best Sellers Section
   ========================================================================== */
.best-sellers-section {
    padding: 30px 0;
}

.section-header-top {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.section-header-top .desktop-btn {
    position: absolute;
    right: 0;
    bottom: 5px;
}

.title-area {
    text-align: center;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 768px) {
    .filter-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 15px;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-teal) transparent;
    }

    .filter-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .filter-tabs::-webkit-scrollbar-thumb {
        background: var(--primary-teal);
        border-radius: 4px;
    }

    .filter-tabs::-webkit-scrollbar-track {
        background: transparent;
    }
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
    background: transparent;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.filter-btn:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

.filter-btn.active {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

/* Product Card */
.product-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    padding: 15px;
    transition: var(--transition-normal);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--cream-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--text-gray);
    font-size: 16px;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.wishlist-btn:hover {
    color: var(--error-red);
}

.wishlist-btn i.active,
.ec-wishlist-btn i.active {
    color: var(--error-red);
}

.product-info {
    text-align: center;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.product-name:hover {
    color: var(--primary-teal);
    cursor: pointer;
}

.product-name.two-line {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 39px;
}

.price-row {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
}

.current-price {
    font-weight: 700;
    color: var(--text-dark);
}

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

/* ==========================================================================
   7. Shop the Look Section
   ========================================================================== */
.shop-look-section {
    padding: 30px 0;
}

/* Outer row: arrow | viewport | arrow */
.shop-look-outer {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.style-carousel-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.style-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.style-slide {
    flex: 0 0 100%;
    width: 100%;
}

/* Arrow positioning — they are flex siblings, no absolute needed */
.style-arrow {
    flex-shrink: 0;
}

/* The card itself */
.shop-look-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

/* LEFT COLUMN — image + hotspots */
.look-image-col {
    overflow: hidden;
    border-radius: 16px 0 0 16px;
}

/* This wrapper is position:relative so % hotspots
   are always measured relative to the image area */
.look-model-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.look-img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
}

/* ─── Hotspot tags ─── */
.look-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.look-tag .dot {
    width: 11px;
    height: 11px;
    background: var(--white);
    border: 2px solid var(--primary-teal);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.look-tag .tag-label {
    background: var(--primary-teal);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    transition: var(--transition-fast);
    pointer-events: none;
}

/* Small connecting line */
.look-tag .tag-label::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    border-top: 1px solid var(--primary-teal);
}

.look-tag:hover .dot,
.look-tag.active .dot {
    background: var(--primary-teal);
    box-shadow: 0 0 0 5px rgba(4, 168, 177, 0.35);
}

.look-tag:hover .tag-label,
.look-tag.active .tag-label {
    opacity: 1;
    transform: translateX(0);
}

/* RIGHT COLUMN — content */
.look-content-col {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.look-eyebrow {
    text-align: center;
    color: var(--primary-teal);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 6px;
}

.look-heading {
    text-align: center;
    margin-bottom: 4px;
    font-size: 22px;
}

.look-heart-divider {
    text-align: center;
    color: var(--primary-teal);
    font-size: 9px;
    margin-bottom: 12px;
}

.look-desc {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.look-products-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.look-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.look-list-item:hover,
.look-list-item.active {
    background: var(--cream-bg);
    border-color: var(--primary-teal);
}

.look-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--cream-bg);
}

.look-item-info {
    flex-grow: 1;
    min-width: 0;
}

.look-item-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.look-item-price {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.add-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-teal);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: var(--transition-fast);
    cursor: pointer;
}

.look-list-item:hover .add-icon-btn,
.look-list-item.active .add-icon-btn {
    background: var(--primary-teal);
    color: var(--white);
}

.look-cta {
    margin-top: 4px;
    padding: 12px 20px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Slide-indicator dots */
.style-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.style-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.style-dot.active {
    background: var(--primary-teal);
    transform: scale(1.25);
}

.mt-4 {
    margin-top: 20px;
}


/* ==========================================================================
   8. Fine Jewellery Section
   ========================================================================== */
.fine-jewellery-section {
    padding: 30px 0 50px;
}

.section-header-center {
    text-align: center;
    max-width: 65%;
    margin: 0 auto 30px;
}

.section-desc {
    color: var(--text-gray);
    font-size: 14px;
}

.justify-end {
    justify-content: flex-end;
}

.relative-top {
    position: relative;
    top: -50px;
    margin-bottom: -50px;
}

.center-tabs {
    margin-bottom: 40px;
    margin-top: 4%;
}

.fine-card {
    background: var(--cream-bg);
    border: none;
}

.product-img-box.rect-img {
    aspect-ratio: 4 / 3;
}

.action-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
}

/* ==========================================================================
   9. Footer Section
   ========================================================================== */
.main-footer {
    background-color: var(--cream-bg);
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.newsletter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 50px;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.footer-desc {
    color: var(--text-gray);
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 450px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 13px;
    outline: none;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--primary-teal);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-family: var(--font-script);
    font-size: 36px;
    color: var(--primary-teal);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    line-height: 1;
}

.contact-text {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-teal);
    padding-left: 5px;
}

.footer-bottom {
    background-color: var(--white);
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
    font-size: 12px;
    color: var(--text-gray);
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 20px;
    color: #999;
}

/* ==========================================================================
   Responsive Utilities & Breakpoints
   ========================================================================== */

/* 1200px (Smaller Desktops) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-left {
        padding: 40px 5%;
    }
}

/* 1024px (Tablets Landscape / Small Laptops) */
@media (max-width: 1024px) {
    .page-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Header & Mobile Nav */
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .mobile-menu-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .header-left {
        display: none;
    }

    .header-center {
        flex: 1;
        text-align: center;
        display: flex;
        justify-content: center;
        padding-right: 24px;
    }

    /* padding-right balances the hamburger width for true centering */
    .hidden-mobile {
        display: none !important;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-sidebar {
        position: absolute;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100%;
        background: var(--white);
        padding: 50px 20px;
        transition: transform 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav-overlay.active .nav-sidebar {
        transform: translateX(300px);
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        color: var(--text-dark);
    }

    /* Mobile specific Actions in Hamburger */
    .mobile-actions {
        display: block;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-light);
    }

    .mobile-search {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
        border: 1px solid var(--border-light);
    }

    .mobile-user-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-user-links a {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-dark);
        font-size: 14px;
        font-weight: 500;
    }

    .mobile-user-links a i {
        color: var(--primary-teal);
        width: 16px;
        text-align: center;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding: 0;
    }

    .nav-list a {
        color: var(--text-dark);
        font-size: 15px;
    }

    .nav-list a i {
        color: var(--primary-teal);
        width: 20px;
        text-align: center;
    }

    .mobile-only-icon {
        display: inline-block;
    }

    /* Other sections */
    .shop-look-card {
        grid-template-columns: 1fr;
    }

    .look-image-col {
        min-height: 400px;
    }

    .look-img {
        position: relative;
        height: 100%;
        width: 100%;
    }

    .look-content-col {
        padding: 40px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 768px (Tablets Portrait) */
@media (max-width: 768px) {

    /* ── Hero strictly responsive 100% width, auto height ── */
    .hero-slider {
        width: 100%;
        height: auto;
        overflow: hidden;
        /* Prevent horizontal scroll */
    }

    .hero-track {
        display: flex;
        align-items: flex-start;
        /* Stop flex children from miscalculating height */
        height: auto;
    }

    .hero-slide {
        display: block;
        /* Remove flex on slide to avoid calculation bugs */
        flex: 0 0 100%;
        width: 100%;
        height: auto;
    }

    .hero-left {
        /* Text below image if it exists */
        padding: 40px 20px;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 30px;
    }

    .hero-right {
        display: block;
        width: 100%;
        height: auto;
    }

    .hero-right img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        /* Ensure full image is visible without cropping */
    }

    .section-header-top {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .section-header-top .desktop-btn {
        position: static;
        display: inline-block;
    }

    .relative-top {
        position: relative;
        top: -26px;
        margin-bottom: -34px;
    }

    .newsletter-section {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .category-img-wrapper {
        width: 100px;
        height: 100px;
    }

    .hero-arrow {
        /* Arrows visible on tablet/mobile */
        transform: translateY(-50%) scale(0.75);
    }

    /* Shop the Look — stack on tablet */
    .shop-look-outer {
        gap: 10px;
        padding: 0 12px;
    }

    .shop-look-card {
        grid-template-columns: 1fr;
    }

    .look-image-col {
        border-radius: 16px 16px 0 0;
    }

    .look-img {
        min-height: 320px;
    }

    .look-content-col {
        padding: 24px 20px;
    }

    /* Hotspots remain percentage-based — they scale automatically */
}


/* 480px (Mobile) */
@media (max-width: 480px) {
    .page-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 38px;
    }

    .announcement-bar {
        font-size: 10px;
        min-height: 28px;
    }

    .nav-arrow {
        display: none;
    }

    .style-arrow {
        display: none;
    }

    .look-content-col {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-bottom .page-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* 320px (Small Mobile) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 28px;
    }

    .logo {
        font-size: 36px;
    }
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 18px;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover,
.faq-item.active .faq-question {
    color: var(--primary-teal);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    padding-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-answer p {
    padding-bottom: 15px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-subheading {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-desc {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail-item i {
    font-size: 20px;
    color: var(--primary-teal);
    margin-top: 3px;
}

.detail-text {
    color: var(--text-gray);
    line-height: 1.5;
}

.detail-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-social-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 15px 0;
}

.contact-social .social-links {
    justify-content: flex-start;
}

.contact-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.contact-form .required {
    color: #d9534f;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.contact-form textarea {
    resize: vertical;
}

.error-message {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #d9534f;
}

.form-group.has-error .error-message {
    display: block;
}

.success-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

/* Account Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-gray);
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-header {
    display: flex;
    border-bottom: 1px solid var(--border-light);
}

.modal-tab {
    flex: 1;
    padding: 20px 0;
    background: var(--bg-light);
    border: none;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.modal-tab.active {
    background: var(--white);
    color: var(--primary-teal);
    border-bottom: 2px solid var(--primary-teal);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
}

.modal-form {
    display: none;
}

.modal-form.active {
    display: block;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.modal-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: border-color 0.3s;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.modal-form .has-error input {
    border-color: #d9534f;
}

.modal-form .error-message {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.modal-form .has-error .error-message {
    display: block;
}

.otp-success-msg {
    color: #3c763d;
    font-size: 12px;
    margin-top: 5px;
}

/* Auth Modal – responsive fixes */
/* Always use border-box so padding never pushes inputs outside the modal */
.modal-content *,
.modal-content *::before,
.modal-content *::after {
    box-sizing: border-box;
}

/* The overlay already uses display:flex+center; add padding so modal
   never touches viewport edges on small screens */
.modal-overlay {
    padding: 16px;
}

/* Cap the modal height and allow the body to scroll internally */
.modal-content {
    width: 100%;
    max-width: 450px;
    max-height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
}

.modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    padding: 25px;
}

/* Inputs full-width and never overflow */
.modal-form input,
.modal-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* Auth modal success message shown inside modal (replaces alert()) */
.modal-success-msg {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.modal-success-msg.show {
    display: block;
}

/* Mobile (≤ 480px) */
@media (max-width: 480px) {
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal-content {
        max-width: 100%;
        width: 100%;
        max-height: 92dvh;
        /* use dvh when available for browser chrome */
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
        transform: translateY(20px);
    }

    .modal-overlay.active .modal-content {
        transform: translateY(0);
    }

    .modal-header {
        flex-shrink: 0;
    }

    .modal-tab {
        font-size: 15px;
        padding: 16px 0;
    }

    .modal-body {
        padding: 20px 16px;
    }

    .modal-form input {
        font-size: 16px;
        /* prevent iOS auto-zoom on input focus */
        padding: 12px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
    }
}

/* Very small phones (≤ 360px) */
@media (max-width: 360px) {
    .modal-tab {
        font-size: 13px;
    }

    .modal-body {
        padding: 16px 12px;
    }
}

/* ==========================================================================
   Promotional Popup Modal
   ========================================================================== */
.promo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.promo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.promo-modal-content {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    overflow-x: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.promo-modal-overlay.active .promo-modal-content {
    transform: scale(1);
}

.promo-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.3s ease;
}

.promo-modal-close:hover {
    color: #333;
}

.promo-modal-grid {
    display: flex;
    flex-direction: row;
    max-height: 500px;
}

/* Left: Image Section */
.promo-modal-left {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.promo-modal-left .promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right: Promotional Content */
.promo-modal-right {
    width: 50%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: #c3e2e6;
    /* Soft pink background */
    color: #1f8f86;
    /* Dark pinkish text */
}

.promo-heading {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #333;
    margin: 0 0 30px 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.promo-offer-box {
    text-align: center;
    position: relative;
    z-index: 2;
}

.promo-small-text {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    display: block;
}

.promo-discount {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 15px 0;
    color: #1f8f86;
}

.promo-terms {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    max-width: 80%;
    margin: 0 auto;
}

/* Sparkles */
.promo-sparkle {
    position: absolute;
    color: #FFB3C1;
    opacity: 0.6;
}

.promo-sparkle svg {
    width: 30px;
    height: 30px;
}

.sparkle-1 {
    top: 40px;
    right: 40px;
    transform: scale(1.5);
}

.sparkle-2 {
    bottom: 50px;
    left: 40px;
}

.sparkle-3 {
    top: 150px;
    left: 20px;
    transform: scale(0.7);
}

/* Responsive */

/* Tablet: shrink the desktop layout instead of jumping straight to the mobile stack */
@media (max-width: 992px) and (min-width: 769px) {
    .promo-modal-content {
        max-width: 720px;
        max-height: 80vh;
    }

    .promo-modal-grid {
        min-height: 400px;
    }

    .promo-modal-right {
        padding: 35px 30px;
    }

    .promo-heading {
        font-size: 28px;
    }

    .promo-discount {
        font-size: 54px;
    }
}

@media (max-width: 768px) {
    .promo-modal-overlay {
        padding: 12px;
    }

    .promo-modal-content {
        max-height: 92vh;
    }

    .promo-modal-grid {
        flex-direction: column;
        min-height: auto;
    }

    .promo-modal-left {
        width: 100%;
        height: auto;
        max-height: 250px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .promo-modal-left .promo-image {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }

    .promo-modal-right {
        width: 100%;
        padding: 30px 20px;
    }

    .promo-heading {
        font-size: 24px;
        padding: 15px;
        margin: 0 0 20px 0;
    }

    .promo-discount {
        font-size: 44px;
    }
}

/* Very small phones: keep the image compact so the offer text stays visible without scrolling */
@media (max-width: 380px) {
    .promo-modal-left {
        max-height: 160px;
    }

    .promo-modal-left .promo-image {
        max-height: 160px;
    }

    .promo-heading {
        font-size: 20px;
    }

    .promo-discount {
        font-size: 38px;
    }
}

/* ==========================================================================
   Special Offers Section - index.php
   ========================================================================== */
.offers-section {
    padding: 22px 0 80px;
    overflow: hidden;
}

.offers-header {
    margin-bottom: 44px;
}

.offers-title {
    margin-bottom: 0;
}

.offers-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    margin-top: 8px;
}

/* Carousel outer wrapper */
.offers-carousel-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

/* Track wrapper � clips overflow on mobile */
.offers-track-wrap {
    width: 100%;
    overflow: hidden;
}

/* Track � flex row, becomes a slider on mobile */
.offers-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Offer Card ---- */
.offer-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* Card image */
.offer-card-img-wrap {
    position: relative;
    width: 100%;
    /* aspect-ratio: 4 / 3; */
    overflow: hidden;
}

.offer-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.offer-card:hover .offer-card-img {
    transform: scale(1.06);
}

.offer-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.28) 100%);
}

/* Card body */
.offer-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Badge */
.offer-badge {
    display: inline-flex;
    align-self: flex-start;
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
}

.offer-badge--gold {
    background: rgba(212, 175, 55, 0.12);
    color: #8a6c00;
}

.offer-badge--teal {
    background: rgba(4, 168, 177, 0.1);
    color: var(--primary-teal);
}

/* Big promo text */
.offer-big-text {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
}

/* Card title */
.offer-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Card desc */
.offer-card-desc {
    font-size: 13.5px;
    color: var(--text-gray);
    line-height: 1.65;
    flex: 1;
}

/* CTA button */
.offer-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
    padding: 10px 22px;
    transition: gap 0.2s ease, background 0.2s ease;
}

.offer-cta:hover {
    gap: 12px;
}

/* Accent borders per card variant */
.offer-card--rose {
    border-top: 3px solid #e8a0a8;
}

.offer-card--gold {
    border-top: 3px solid #D4AF37;
}

.offer-card--teal {
    border-top: 3px solid var(--primary-teal);
}

/* ---- Mobile carousel arrows ---- */
.offers-arrow {
    display: none;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--border-light);
    font-size: 13px;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.offers-arrow:hover {
    background: var(--primary-teal);
    color: #fff;
    border-color: var(--primary-teal);
}

.offers-arrow-prev {
    margin-right: 12px;
}

.offers-arrow-next {
    margin-left: 12px;
}

/* ---- Mobile dots ---- */
.offers-dots {
    display: none;
    justify-content: center;
    gap: 7px;
    margin-top: 24px;
}

.offers-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.offers-dot.active {
    background: var(--primary-teal);
    width: 22px;
    border-radius: 4px;
}

/* ==========================================================================
   Responsive � Special Offers
   ========================================================================== */
@media (max-width: 900px) {
    .offers-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .offers-section {
        padding: 52px 0 60px;
    }

    /* Mobile: make it a true swipe carousel */
    .offers-track {
        display: flex;
        gap: 0;
        will-change: transform;
    }

    .offer-card {
        min-width: 100%;
        max-width: 100%;
        flex-shrink: 0;
    }

    .offers-arrow {
        display: flex;
    }

    .offers-dots {
        display: flex;
    }

    .offers-arrow-prev {
        margin-right: 10px;
    }

    .offers-arrow-next {
        margin-left: 10px;
    }

    .offer-big-text {
        font-size: 28px;
    }

    .offer-card-body {
        padding: 18px 18px 22px;
    }
}

/* ==========================================================================
   Profile Dropdown Menu
   ========================================================================== */
.profile-dropdown-container {
    position: relative;
    display: inline-block;
}

.profile-dropdown-container .profile-dropdown-trigger {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.profile-dropdown-container .profile-dropdown-trigger i {
    font-size: 20px;
    margin-bottom: 2px;
}

.profile-dropdown-container .profile-dropdown-trigger span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    z-index: 1000;
    border: 1px solid var(--border-light);
}

.profile-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-menu li {
    display: block;
}

.profile-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 14px;
    transition: background-color 0.2s;
}

.profile-dropdown-menu li a:hover {
    background-color: var(--cream-bg);
    color: var(--primary-teal);
}

.mobile-profile-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-profile-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 0;
    color: #04a8b1;
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
    justify-content: flex-start;
}

.mobile-profile-trigger i:first-child {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.mobile-profile-trigger i.fa-chevron-down {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-profile-trigger.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-profile-menu {
    display: none;
    padding-left: 32px;
    padding-bottom: 10px;
}

.mobile-profile-menu.active {
    display: block;
}

.mobile-profile-menu li a {
    display: block;
    padding: 8px 0;
    color: #222222;
    font-size: 15px;
    text-decoration: none;
}

.mobile-profile-menu li a:hover {
    color: var(--white);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 30px 0 50px;
    position: relative;
    overflow: hidden;
}

.testim-carousel-container {
    width: 100%;
    position: relative;
    padding: 50px 0 30px;
    margin-top: 10px;
    perspective: 1200px;
}

.testim-track {
    display: flex;
    /* No transition here — JS applies transition per-update */
    align-items: center;
    gap: 0;
    will-change: transform;
}

.testim-card {
    flex: 0 0 250px;
    margin: 0 -8px;
    /* Negative margin creates overlap/flow */
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 18px;
    padding: 28px 22px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    /* transition only for color/bg, transforms handled via JS inline style */
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
    position: relative;
    /* JS will set transform, opacity, z-index as inline styles */
}

/* Active center card */
.testim-card.active {
    background-color: #04a8b1;
    color: var(--white);
    border-color: #04a8b1;
    box-shadow: 0 12px 35px rgba(4, 168, 177, 0.4);
}

/* Hover over inactive cards */
.testim-card:not(.active):hover {
    background-color: #04a8b1;
    color: var(--white);
    border-color: #04a8b1;
    box-shadow: 0 8px 25px rgba(4, 168, 177, 0.3);
}

.testim-card:not(.active):hover .testim-quote-mark {
    color: var(--white);
}

.testim-card:not(.active):hover .testim-text {
    color: var(--white);
}

.testim-card:not(.active):hover .testim-author {
    color: var(--white);
}

.testim-card:not(.active):hover .testim-date {
    color: rgba(255, 255, 255, 0.8);
}

.testim-quote-mark {
    font-size: 40px;
    font-family: 'Great Vibes', cursive;
    color: var(--primary-teal);
    line-height: 1;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}

.testim-card.active .testim-quote-mark {
    color: rgba(255, 255, 255, 0.85);
}

.testim-text {
    font-size: 0.88rem;
    font-style: italic;
    margin-bottom: 18px;
    color: var(--text-dark);
    transition: color 0.4s ease;
    /* Limit lines so all cards stay same height */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 90px;
    line-height: 1.6;
}

.testim-card.active .testim-text {
    color: var(--white);
}

.testim-author {
    font-weight: 600;
    font-size: 0.98rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 4px;
    color: var(--text-dark);
    transition: color 0.4s ease;
}

.testim-card.active .testim-author {
    color: var(--white);
}

.testim-date {
    font-size: 0.78rem;
    color: var(--text-gray);
    transition: color 0.4s ease;
}

.testim-card.active .testim-date {
    color: rgba(255, 255, 255, 0.8);
}

.testim-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.testim-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.testim-dot.active {
    background-color: #04a8b1;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testim-card {
        flex: 0 0 220px;
        margin: 0 -6px;
    }
}

@media (max-width: 480px) {
    .testim-card {
        flex: 0 0 200px;
        margin: 0 -5px;
    }
}

/* ===== PRODUCT BADGES (shared across all pages) ===== */
.ec-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
    pointer-events: none;
}

.ec-badge-bestseller {
    background: var(--primary-teal);
    color: #fff;
}

.ec-badge-new {
    background: var(--text-dark);
    color: #fff;
}

.ec-badge-trending {
    background: var(--gold-accent);
    color: #fff;
}

.ec-badge-out-of-stock {
    background: #ff4444 !important;
    color: #fff !important;
}

.btn-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed !important;
}

/* ========================================================= */
/* TOAST NOTIFICATION SYSTEM */
/* ========================================================= */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    min-width: 280px;
    max-width: 350px;
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* Toast Types */
.toast-success .toast-icon {
    color: var(--primary-teal);
}

.toast-error .toast-icon {
    color: #e53e3e;
}

.toast-loading .toast-icon {
    color: var(--text-gray);
    animation: fa-spin 1s infinite linear;
}

/* ==========================================================================
   Layered Shop By Occasion Carousel
   ========================================================================== */
.layered-occasion-section {
    padding: 50px 0;
    overflow: hidden;
}

.layered-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 40px auto 0;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layered-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.layered-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    z-index: 0;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.layered-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layered-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: var(--white);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    pointer-events: none; /* Let clicks pass to the card link */
}

.layered-card.active .layered-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* Active card's button should be clickable */
}

.layered-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.layered-subtitle {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.layered-btn {
    display: inline-block;
    padding: 8px 24px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.layered-btn:hover {
    background: var(--primary-teal);
    color: var(--white);
}

/* Layer positions */
.layered-card.active {
    opacity: 1;
    z-index: 3;
    transform: translate(-50%, -50%) scale(1.15);
    width: 360px;
}

.layered-card.prev {
    opacity: 1;
    z-index: 2;
    transform: translate(-110%, -50%) scale(0.85);
}

.layered-card.next {
    opacity: 1;
    z-index: 2;
    transform: translate(10%, -50%) scale(0.85);
}

.layered-card.prev-2 {
    opacity: 1;
    z-index: 1;
    transform: translate(-160%, -50%) scale(0.65);
}

.layered-card.next-2 {
    opacity: 1;
    z-index: 1;
    transform: translate(60%, -50%) scale(0.65);
}

/* Hidden elements */
.layered-card.hidden {
    opacity: 0;
    z-index: 0;
    transform: translate(-50%, -50%) scale(0.5);
    pointer-events: none;
}

/* Navigation Arrows */
.layered-carousel-wrapper .left-arrow {
    position: absolute;
    left: 10px;
    z-index: 5;
}
.layered-carousel-wrapper .right-arrow {
    position: absolute;
    right: 10px;
    z-index: 5;
}

/* Responsive */
@media (max-width: 768px) {
    .layered-carousel-wrapper {
        height: 380px;
    }
    .layered-card.active {
        width: 280px;
        transform: translate(-50%, -50%) scale(1.05);
    }
    .layered-card.prev {
        transform: translate(-85%, -50%) scale(0.8);
    }
    .layered-card.next {
        transform: translate(-15%, -50%) scale(0.8);
    }
    .layered-card {
        width: 220px;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .layered-carousel-wrapper {
        height: 320px;
        margin-top: 20px;
    }
    .layered-card.active {
        width: 200px;
        transform: translate(-50%, -50%) scale(1);
    }
    .layered-card.prev {
        transform: translate(-85%, -50%) scale(0.8);
    }
    .layered-card.next {
        transform: translate(-15%, -50%) scale(0.8);
    }
    .layered-card {
        width: 150px;
        height: 240px;
    }
    .layered-carousel-wrapper .left-arrow { left: -10px; }
    .layered-carousel-wrapper .right-arrow { right: -10px; }
}