/* ============================================================
   ALLURE – STYLESHEET (Mobile‑optimised & hamburger‑ready)
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --gold:       #b68d53;
    --gold-dark:  #8c6835;
    --gold-light: #d4af7a;
    --cream:      #faf6ef;
    --ink:        #1e1b17;
    --ink-soft:   #6b6358;
    --white:      #ffffff;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-ui:    "Montserrat", "Helvetica Neue", sans-serif;
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    font-family: var(--font-display);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(182, 141, 83, 0.18); }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.9s var(--ease-out), visibility 0.9s;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-container {
    width: min(80vw, 320px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-container svg {
    width: 100%;
    height: auto;
    vector-effect: non-scaling-stroke;
}

/* ============================================================
   HEADER & MOBILE NAV
   ============================================================ */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    padding: 0.5rem 5%;
    transition: padding 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.scrolled {
    background: rgba(250, 246, 239, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.4rem 5%;
    box-shadow: 0 1px 0 rgba(182, 141, 83, 0.14);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.header-inner a img {
    height: 48px;                   /* Slightly smaller on mobile */
    width: auto;
    transition: none;
}

/* Desktop nav – hidden behind hamburger on mobile */
nav ul {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 3px 12px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s;
}

nav a:hover {
    color: #ffffff;
    background: var(--gold);
}

/* Hamburger button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 600;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.35s var(--ease-out), opacity 0.25s;
    transform-origin: center;
}

/* Animated hamburger → X */
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
    position: fixed;
    top: 56px;                             /* start exactly below the header */
    left: 0;
    width: 100%;
    background: rgba(250, 246, 239, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 500;                          /* below the header */
    padding-top: 20px;
    padding-bottom: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s;
    opacity: 0;
    pointer-events: none;
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.mobile-nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(182, 141, 83, 0.1);
}

.mobile-nav ul li:first-child {
    border-top: 1px solid rgba(182, 141, 83, 0.1);
}

.mobile-nav ul a {
    display: block;
    padding: 18px 24px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.25s, background 0.25s;
}

.mobile-nav ul a:hover {
    color: var(--gold);
    background: rgba(182, 141, 83, 0.05);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url("assets/cards/white_gold_antonywedsaleena.png") no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    margin-top: 0;                  /* header is fixed so hero starts at top */
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(245, 238, 225, 0.65) 0%,
        rgba(182, 141, 83, 0.15) 55%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-body {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 65px 10% 0px 5%;
}

.hero-content {
    max-width: 490px;
}

/* Entry animations */
.hero-eyebrow, .hero-heading, .hero-rule, .hero-sub, .hero-actions {
    opacity: 0;
}

.hero-eyebrow { animation: fadeUp 0.9s 0.55s var(--ease-out) forwards; }
.hero-heading { animation: fadeUp 0.9s 0.75s var(--ease-out) forwards; }
.hero-rule    { animation: fadeIn 0.8s 0.95s var(--ease-out) forwards; }
.hero-sub     { animation: fadeUp 0.9s 1.05s var(--ease-out) forwards; }
.hero-actions { animation: fadeUp 0.9s 1.2s var(--ease-out) forwards; }

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

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

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin-bottom: 1.8rem;
}

.hero-heading em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-dark);
    font-size: 1.1em;
}

.hero-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.8rem;
    width: 130px;
}

.hero-rule span {
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
}

.hero-rule i {
    font-style: normal;
    color: var(--gold);
    font-size: 8px;
    letter-spacing: 5px;
}

.hero-sub {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink-soft);
    letter-spacing: 0.05em;
    margin-bottom: 2.4rem;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 8px;
    white-space: nowrap;
    line-height: 1;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
}

.btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.btn-gold {
    background: #b68d53;
    color: #ffffff;
    border: 1px solid #b68d53;
}

.btn-gold:hover {
    background: #8c6835;
    border-color: #8c6835;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(182, 141, 83, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(30, 27, 23, 0.28);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.hero-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 5;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-soft);
    opacity: 0.8;
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 400;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

/* ============================================================
   SECTIONS – OUR STORY, COLLECTIONS, PORTFOLIO
   ============================================================ */
section { padding: 100px 5%; }

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--ink);
}

.section-header p {
    color: var(--ink-soft);
    font-family: var(--font-ui);
    font-size: 0.95rem;
}

.section-subtitle {
    font-family: var(--font-ui);
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.divider {
    height: 1px;
    width: 60px;
    background-color: var(--gold);
    margin: 18px auto;
}

/* Our Story */
.emotional-hook {
    background-color: var(--white);
    padding: 110px 0;
}

.hook-container {
    display: flex;
    align-items: center;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hook-image, .hook-text { flex: 1; }

.hook-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hook-image img:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.hook-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.6rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.25;
}

.hook-text p {
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 1.4rem;
}

.section-tag {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Collections */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background-color: var(--white);
    padding: 56px 24px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.35s ease;
    cursor: pointer;
}

.category-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.category-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.category-card p {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--ink-soft);
    font-style: italic;
}

/* Filters */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 9px 22px;
    border: 1px solid #e0dcd3;
    background: transparent;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--ink-soft);
    transition: all 0.25s;
}

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

.filter-btn.active {
    background-color: var(--gold);
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 4px 10px rgba(179,139,77,0.3);
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    padding: 18px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.07);
}

.product-img-wrapper {
    width: 100%;
    height: 360px;
    background-color: #fcfcfc;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: 4px;
}

.product-img-wrapper img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.03);
}

.quick-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.88);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-img-wrapper:hover .quick-view-overlay { opacity: 1; }

.quick-view-btn {
    background: var(--ink);
    color: #fff;
    padding: 11px 28px;
    border: none;
    cursor: pointer;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    border-radius: 4px;
    transition: background 0.25s, transform 0.25s;
}

.quick-view-btn:hover {
    background: var(--gold);
    transform: scale(1.04);
}

.product-id {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.product-price {
    color: var(--ink-soft);
    font-family: var(--font-ui);
    font-size: 0.88rem;
}

.product-meta {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--ink-soft);
    margin-top: 4px;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 11px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(179,139,77,0.4);
    z-index: 5;
}

.show-more-container { text-align: center; margin-top: 50px; }

.show-more-btn {
    display: none;
    padding: 13px 38px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 30px;
}

.show-more-btn:hover {
    background-color: var(--gold);
    color: #fff;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--ink-soft);
    font-family: var(--font-ui);
    font-size: 1rem;
}


/* ============================================================
   SHARE BUTTON ON PORTFOLIO CARDS
   ============================================================ */
.share-card-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    padding: 0;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    color: var(--ink-soft);
}

/* If a Featured badge is also shown, shift the share button left */
.product-img-wrapper .featured-badge ~ .share-card-btn {
    right: 52px;
}

.share-card-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(182,141,83,0.35);
}

/* Copied feedback state */
.share-card-btn.copied {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    pointer-events: none;    /* prevents double‑clicking while showing feedback */
}
.share-card-btn.copied svg {
    opacity: 0.7;
}

/* ============================================================
   MODAL (Quick View)
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

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

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 960px;
    max-height: 92vh;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.22);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2rem;
    line-height: 1;
    color: var(--ink-soft);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

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

.modal-body {
    display: flex;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.modal-gallery {
    flex: 1.3;
    background: #fdfcf9;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-image-container {
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    cursor: zoom-in;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.08));
    transition: opacity 0.25s ease;
}

.thumbnail-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.thumb {
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    transition: border-color 0.25s;
    flex-shrink: 0;
}

.thumb.active, .thumb:hover { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.modal-info {
    flex: 1;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-category {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.72rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-info h3 {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 2rem;        /* keep existing size */
    margin-bottom: 8px;
    line-height: 1.2;
}

.modal-price {
    font-family: var(--font-ui);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: 16px;
    font-weight: 500;
}

.modal-description {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin-bottom: 10px;
    line-height: 1.75;
}

.modal-details {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

/* Calculator */
.calculator-box {
    background: #faf9f6;
    padding: 18px;
    border: 1px solid #eee;
    margin-bottom: 22px;
    border-radius: 6px;
}

.input-group { margin-bottom: 14px; }

.input-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink);
}

.input-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    outline: none;
    border-radius: 4px;
    background: var(--white);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%237a7a7a'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color 0.2s;
}

.input-group select:focus { border-color: var(--gold); }

.discount-banner {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--gold-dark);
    font-weight: 500;
    margin-top: 7px;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.5;
}

.calc-summary { font-family: var(--font-ui); font-size: 0.88rem; }

/* Make all price numbers in the calculator use the UI font (Montserrat) */
.summary-row span:last-child {
    font-family: var(--font-ui);
    font-weight: 500;
}

/* Make the Final Estimate number bold (and keep it in the same font) */
.total-row span:last-child {
    font-weight: 700;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: var(--ink-soft);
}

.highlight-discount { color: #2e7d32; }

.divider-sm {
    height: 1px;
    background: #ddd;
    margin: 10px 0;
}

.total-row {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    margin-top: 8px;
}

/* WhatsApp CTA in modal */
.whatsapp-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background-color: var(--gold);
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--gold-dark);
    cursor: pointer;
    transition: background-color 0.35s ease, transform 0.25s ease, box-shadow 0.35s ease;
    margin-top: auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.whatsapp-cta-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.whatsapp-cta-btn:hover {
    background-color: var(--gold-dark);
    color: #ffffff;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(179, 139, 77, 0.5);
}

/* Lightbox */
.gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.gallery-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 2.5rem;
    line-height: 1;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.gallery-close:hover { opacity: 1; }

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
    z-index: 10;
    opacity: 0.65;
    transition: opacity 0.2s;
    line-height: 1;
}

.gallery-nav:hover { opacity: 1; }

.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

.gallery-counter {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-family: var(--font-ui);
    font-size: 0.88rem;
    letter-spacing: 1px;
}

.gallery-overlay img {
    max-width: 88%;
    max-height: 84vh;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 5% 40px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    display: block;
    margin-bottom: 12px;
}

.footer-divider {
    width: 40px;
    height: 1px;
    background-color: var(--gold);
    margin: 14px 0 18px;
}

.footer-tagline { font-family: var(--font-ui); font-size: 0.92rem; margin-bottom: 16px; color: #ccc; }

.footer-address {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: #aaa;
    margin-bottom: 14px;
    line-height: 1.85;
    font-style: normal;
}

.footer-contact a {
    font-family: var(--font-ui);
    color: var(--gold);
    text-decoration: none;
    transition: color 0.25s;
    font-size: 0.9rem;
}

.footer-contact a:hover { color: #fff; }

.footer-social { margin-top: 24px; }

.footer-social a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.25s;
}

.footer-social a:hover { color: var(--gold); }

.footer-map-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-map-container iframe {
    border: 1px solid rgba(179, 139, 77, 0.3);
    width: 100%;
    height: 220px;
    border-radius: 8px;
    opacity: 0.85;
    transition: opacity 0.3s, border-color 0.3s;
}

.footer-map-container iframe:hover { opacity: 1; border-color: var(--gold); }

.map-link {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    border: 1px solid rgba(179, 139, 77, 0.4);
    border-radius: 30px;
    transition: all 0.25s;
}

.map-link:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.footer-bottom {
    text-align: center;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid #333;
}

.footer-copy { font-family: var(--font-ui); font-size: 0.78rem; color: #666; }

/* ============================================================
   RESPONSIVE OVERRIDES (Mobile & Tablet)
   ============================================================ */

@media (max-width: 1024px) {
    .hook-container { gap: 3.5rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-img-wrapper { height: 300px; }
}

@media (max-width: 768px) {
    /* Show hamburger, hide desktop nav */
    .nav-toggle { display: flex; }
    nav ul { display: none; }

    .header-inner a img { height: 48px; }

    .hero {
        height: auto;                /* Let hero content dictate height */
        min-height: 100vh;
    }
    .hero-body {
        padding: 120px 6% 80px;      /* extra top padding to clear fixed header */
        align-items: flex-start;
    }
    .hero-content { max-width: 100%; }
    .hero-heading { font-size: clamp(2.2rem, 7.5vw, 3rem); }
    .hero-sub { font-size: 0.68rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .btn { font-size: 0.62rem; padding: 13px 26px; }

    section { padding: 64px 5%; }
    .emotional-hook { padding: 64px 0; }

    .hook-container {
        flex-direction: column;
        text-align: center;
        gap: 2.4rem;
        padding: 0 5%;
    }
    .hook-text h2 { font-size: 2rem; }
    .hook-image img { max-width: 100%; }

    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .category-card { padding: 36px 16px; }
    .category-card h3 { font-size: 1.2rem; }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-img-wrapper { height: 320px; }

    .section-header h2 { font-size: 1.8rem; }
    .section-header p { font-size: 0.88rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-map-container { align-items: center; }
    .footer-divider { margin-left: auto; margin-right: auto; }
    .footer-social a { margin: 0 10px; }
}

@media (max-width: 480px) {
    .modal-content {
        max-height: 100dvh;
        border-radius: 0;
    }
    .modal-body { flex-direction: column; }
    .modal-gallery {
        padding: 16px;
        flex: none;
    }
    .main-image-container { height: 38vmax; }
    .modal-info { padding: 20px 18px; }
    .modal-info h3 { font-size: 1.5rem; }
    .thumb { width: 52px; height: 52px; }

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

    .gallery-nav { padding: 12px; font-size: 2.2rem; }

    .hero-footer { font-size: 0.65rem; letter-spacing: 0.15em; }

    section { padding: 52px 4%; }
    .emotional-hook { padding: 52px 0; }
    .hook-container { padding: 0 4%; }

    .whatsapp-fab { bottom: 20px; right: 16px; width: 48px; height: 48px; }

    .filter-container { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 0.82rem; }
}
@media (max-width: 768px) {
    .mobile-nav {
        display: block;                 /* make it visible */
        position: fixed;
        top: 64px;                      /* starts just below the header; adjust if needed */
        left: 0;
        width: 100%;
        z-index: 501;                   /* above header (500) but below hamburger button (600) */
        background: rgba(250, 246, 239, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
        transform: translateY(-110%);   /* hidden off‑screen */
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s;
        opacity: 0;
        pointer-events: none;
    }

    .mobile-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}
.search-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}
.search-wrapper input {
    width: 100%;
    max-width: 400px;
    padding: 13px 24px;
    border: 1px solid #e0dcd3;
    border-radius: 30px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--white);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.search-wrapper input:focus {
    border-color: var(--lavender);
    box-shadow: 0 0 0 3px rgba(179, 155, 200, 0.2);
}
.search-wrapper input::placeholder {
    color: var(--ink-soft);
    opacity: 0.7;
}

.sort-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}
.sort-wrapper select {
    padding: 11px 36px 11px 20px;
    border: 1px solid #e0dcd3;
    border-radius: 30px;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: var(--ink);
    background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%237a7a7a'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 14px center;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.sort-wrapper select:focus {
    border-color: var(--lavender);
    box-shadow: 0 0 0 3px rgba(179, 155, 200, 0.2);
}
/* Share button on the quick‑view main image */
.main-image-container {
    position: relative;   /* ensure it is positioned container */
}

.modal-share-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    padding: 0;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    color: var(--ink-soft);
}

.modal-share-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(182,141,83,0.35);
}

.modal-share-btn.copied {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    pointer-events: none;
}
.modal-share-btn.copied svg {
    opacity: 0.7;
}
