/* =====================================================================
   DÁREK K PROMOCI – style.css
   Fonts: Playfair Display (headings) + Jost (body)
   ===================================================================== */

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

:root {
    /* Core palette */
    --dark:         #18243a;
    --gold:         #b8936d;
    --gold-hover:   #c9a87c;
    --gold-pale:    #eedccc;
    --cream:        #faf8f4;
    --cream-dark:   #f0ebe3;
    --white:        #ffffff;
    --text:         #3a3a3a;
    --text-light:   #6b6b6b;
    --border:       #e5ddd4;
    --shadow-sm:    0 2px 12px rgba(24,36,58,.07);
    --shadow-md:    0 8px 32px rgba(24,36,58,.11);
    --shadow-lg:    0 20px 60px rgba(24,36,58,.15);
    --r-md:         10px;
    --r-lg:         18px;

    /* Aliases – backward compatibility for kviz.html / napady.html */
    --primary-dark:  #18243a;
    --primary-gold:  #b8936d;
    --primary-light: #ffffff;
    --border-color:  #e5ddd4;
    --text-dark:     #3a3a3a;
    --text-body:     #3a3a3a;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--text);
    line-height: 1.65;
    background: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* -- urgency banner ---------------------------------------------------- */
.urgency-banner {
    background: var(--dark);
    color: rgba(255,255,255,.88);
    text-align: center;
    padding: 10px 24px;
    font-size: 13px;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
    border-bottom: 1px solid rgba(184,147,109,.3);
}
.urgency-banner strong { color: var(--gold); font-weight: 600; }

/* -- breadcrumbs ------------------------------------------------------- */
.breadcrumbs {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.breadcrumbs nav {
    font-size: 13px;
    color: var(--text-light);
    font-family: 'Jost', sans-serif;
}
.breadcrumbs a { color: var(--text-light); text-decoration: none; transition: color .2s; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .separator { margin: 0 8px; }
.breadcrumbs strong { color: var(--text); font-weight: 500; }

/* -- navbar ----------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(24,36,58,.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(184,147,109,.18);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 0;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
    color: rgba(255,255,255,.80);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .02em;
    transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.btn-nav {
    background: var(--gold) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    transition: background .2s !important;
}
.btn-nav:hover { background: var(--gold-hover) !important; }

.mobile-menu-btn {
    display: none;
    background: none; border: none;
    color: var(--white); font-size: 26px;
    cursor: pointer; padding: 4px;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: var(--dark);
    z-index: 999;
    border-bottom: 1px solid rgba(184,147,109,.2);
}
.mobile-menu a {
    display: block;
    color: rgba(255,255,255,.82);
    text-decoration: none;
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* -- buttons ----------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: .02em;
    transition: all .25s;
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184,147,109,.35);
}
.btn-secondary {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,.65);
}
.btn-secondary:hover { background: var(--white); color: var(--dark); }
.btn-outline-light {
    background: transparent;
    color: rgba(255,255,255,.85);
    border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.65);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-dark {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    font-size: 14px; padding: 11px 26px;
}
.btn-outline-dark:hover {
    border-color: var(--gold); color: var(--gold);
    transform: translateY(-1px);
}
.btn-large { padding: 17px 44px; font-size: 16px; }

/* -- hero -------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    background: url('../images/hero.jpg') center 30%/cover no-repeat;
    background-image: -webkit-image-set(url('../images/hero.webp') type('image/webp'), url('../images/hero.jpg') type('image/jpeg'));
    background-image: image-set(url('../images/hero.webp') type('image/webp'), url('../images/hero.jpg') type('image/jpeg'));
    margin-top: 62px;
}
@media (max-width: 768px) {
    .hero {
        background-image: url('../images/hero-mobile.jpg');
        background-image: -webkit-image-set(url('../images/hero-mobile.webp') type('image/webp'), url('../images/hero-mobile.jpg') type('image/jpeg'));
        background-image: image-set(url('../images/hero-mobile.webp') type('image/webp'), url('../images/hero-mobile.jpg') type('image/jpeg'));
    }
}
.page-hero { height: 50vh; min-height: 380px; }

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        100deg,
        rgba(12, 20, 32, 0.88) 0%,
        rgba(18, 36, 58, 0.72) 40%,
        rgba(18, 36, 58, 0.40) 70%,
        rgba(18, 36, 58, 0.15) 100%
    );
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    /* subtle vignette on edges */
    background: radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0,0,0,.25) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; color: var(--white);
    max-width: 820px; padding: 0 24px;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 11px; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 20px;
    padding: 6px 18px;
    border: 1px solid rgba(184,147,109,.4); border-radius: 50px;
    animation: fadeUp .8s ease backwards;
}
.hero-title {
    font-size: 60px; margin-bottom: 20px;
    animation: fadeUp .8s ease .15s backwards;
    text-shadow: 0 2px 24px rgba(0,0,0,.18);
}
.hero-subtitle {
    font-size: 18px; margin-bottom: 40px;
    opacity: .88; line-height: 1.75; font-weight: 300;
    animation: fadeUp .8s ease .3s backwards;
}
.hero-buttons {
    display: flex; gap: 14px; justify-content: center;
    animation: fadeUp .8s ease .45s backwards;
}

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

/* -- section titles ---------------------------------------------------- */
.section-title {
    text-align: center; font-size: 38px;
    color: var(--dark); margin-bottom: 14px;
}
.section-title::after {
    content: ''; display: block;
    width: 44px; height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
}
.section-subtitle {
    text-align: center; font-size: 16px;
    color: var(--text-light); margin-top: 14px; margin-bottom: 52px;
    font-weight: 300;
}

/* -- intro / body text ------------------------------------------------- */
.intro-text, .page-intro-section {
    padding: 88px 0; background: var(--white);
}
.intro-content { max-width: 860px; margin: 0 auto; }
.intro-content h2 { font-size: 32px; color: var(--dark); margin-bottom: 28px; }
.intro-content p { font-size: 17px; line-height: 1.95; color: var(--text); margin-bottom: 20px; font-weight: 300; }
.intro-content strong { color: var(--dark); font-weight: 600; }

/* -- product sections -------------------------------------------------- */
.featured-section { padding: 88px 0; background: var(--cream-dark); }
.products-section { padding: 88px 0; background: var(--cream); }
.products-section:nth-of-type(even) { background: var(--white); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* -- product card ------------------------------------------------------ */
.product-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-pale);
}

/* KEY FIX: product images shown fully, not cropped */
.product-img-wrap {
    height: 220px;
    flex-shrink: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 22px;
    overflow: hidden;
}
.product-img-wrap img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

/* lifestyle photos (cover treatment for non-product images) */
.product-img-wrap.lifestyle {
    padding: 0;
    background: var(--cream-dark);
}
.product-img-wrap.lifestyle img {
    width: 100%;
    height: 220px;
    max-height: none;
    object-fit: cover;
}

.product-card-body {
    padding: 22px 22px 20px;
    display: flex; flex-direction: column; flex: 1;
}
.product-card-body h3 { font-size: 18px; color: var(--dark); margin-bottom: 10px; }

/* description: max 3 lines, then ellipsis */
.product-card-body > p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.65;
    font-weight: 300;
    flex: 1;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gravir-badge {
    display: inline-block; align-self: flex-start;
    font-size: 11px; font-weight: 500; letter-spacing: .04em;
    color: var(--gold);
    border: 1px solid var(--gold-pale); border-radius: 50px;
    padding: 3px 10px; margin-bottom: 12px;
}
.product-price {
    font-family: 'Playfair Display', serif;
    font-size: 20px; font-weight: 700; color: var(--gold);
    font-variant-numeric: tabular-nums;
    margin-bottom: 16px !important;
}
.product-card-body .btn {
    width: 100%; text-align: center;
    padding: 12px 20px; font-size: 14px;
    margin-top: auto;
}
.section-more { text-align: center; margin-top: 36px; }

/* -- category sticky nav ----------------------------------------------- */
.category-nav {
    background: var(--dark);
    position: sticky; top: 62px; z-index: 100;
    border-bottom: 2px solid rgba(184,147,109,.25);
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.category-links {
    display: flex; justify-content: center;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-links::-webkit-scrollbar { display: none; }
.category-links a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    padding: 16px 26px;
    font-size: 13px; font-weight: 500; letter-spacing: .04em;
    transition: all .2s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.category-links a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: rgba(255,255,255,.04);
}

/* -- gender section ---------------------------------------------------- */
.gender-section { padding: 96px 0; background: var(--cream); }
.gender-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 26px; max-width: 940px; margin: 0 auto;
}
.gender-card {
    background: var(--white); border-radius: var(--r-lg);
    padding: 52px 36px; text-align: center;
    text-decoration: none;
    transition: all .35s cubic-bezier(.25,.46,.45,.94);
    box-shadow: var(--shadow-sm);
    position: relative; overflow: hidden;
    border: 1px solid var(--border);
}
.gender-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-hover));
    transform: scaleX(0); transition: transform .35s ease; transform-origin: left;
}
.gender-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--gold-pale); }
.gender-card:hover::after { transform: scaleX(1); }
.gender-icon {
    display: block;
    width: 46px; height: 46px;
    margin: 0 auto 24px;
    color: var(--gold);
    transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}
.gender-icon svg { width: 100%; height: 100%; display: block; }
.gender-card:hover .gender-icon { transform: translateY(-3px); }
.gender-card h3 { font-size: 27px; margin-bottom: 12px; color: var(--dark); }
.gender-card > p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; line-height: 1.65; font-weight: 300; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-bottom: 24px; }
.tags span { padding: 4px 13px; background: var(--cream); border: 1px solid var(--border); border-radius: 50px; font-size: 12px; color: var(--text-light); letter-spacing: .02em; }
.link-arrow { display: inline-block; color: var(--gold); font-weight: 600; font-size: 14px; }

/* -- by title ---------------------------------------------------------- */
.by-title-section { padding: 96px 0; background: var(--white); }
.title-list { display: flex; flex-direction: column; max-width: 860px; margin: 52px auto 0; }
.title-item { display: flex; gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.title-item:last-child { border-bottom: none; }
.title-icon {
    flex-shrink: 0;
    width: 62px; height: 62px;
    border: 1px solid var(--gold-pale);
    border-radius: 3px;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    position: relative;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--gold);
    transition: background .3s, color .3s, border-color .3s;
}
/* inner hairline – reads as an engraved plate */
.title-icon::after {
    content: '';
    position: absolute; inset: 4px;
    border: 1px solid rgba(184,147,109,.20);
    border-radius: 1px;
    transition: border-color .3s;
}
.title-icon svg { width: 22px; height: 22px; }
.title-item:hover .title-icon {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}
.title-item:hover .title-icon::after { border-color: rgba(255,255,255,.35); }
.title-item { transition: none; }
.title-content h3 { font-size: 20px; color: var(--dark); margin-bottom: 7px; }
.title-content p { color: var(--text); line-height: 1.75; margin-bottom: 5px; font-size: 15px; font-weight: 300; }
.title-desc { font-size: 14px !important; color: var(--text-light) !important; }

/* -- why us ------------------------------------------------------------ */
.why-us-section { padding: 88px 0; background: var(--cream-dark); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 44px; margin-top: 52px; }
.value-item { text-align: center; }
.value-icon {
    display: block;
    width: 32px; height: 32px;
    margin: 0 auto 18px;
    color: var(--gold);
}
.value-icon svg { width: 100%; height: 100%; display: block; }
.value-item h3 { font-size: 19px; margin-bottom: 10px; color: var(--dark); }
.value-item p { color: var(--text-light); font-size: 14px; line-height: 1.75; font-weight: 300; }

/* -- testimonials ------------------------------------------------------ */
.testimonials-section { padding: 96px 0; background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; margin-top: 52px; }
.testimonial { background: var(--cream); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); transition: box-shadow .3s; }
.testimonial:hover { box-shadow: var(--shadow-md); }
.testimonial img { width: 100%; height: 200px; object-fit: cover; }
.testimonial-text { padding: 26px 26px 22px; position: relative; }
.testimonial-text::before { content: '\201C'; font-family: 'Playfair Display', serif; font-weight: 600; font-size: 76px; color: var(--gold-pale); position: absolute; top: 6px; left: 20px; line-height: 1; }
.testimonial-text p { font-style: italic; font-size: 15px; line-height: 1.75; padding-top: 26px; position: relative; font-weight: 300; }
.testimonial-text .author { display: block; color: var(--text-light); font-size: 12px; margin-top: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* -- cta section ------------------------------------------------------- */
.cta-section {
    padding: 96px 0; background: var(--dark);
    color: var(--white); text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(184,147,109,.10) 0%, transparent 65%);
    pointer-events: none;
}
.cta-section h2 { font-size: 38px; margin-bottom: 16px; position: relative; }
.cta-section p  { font-size: 17px; margin-bottom: 38px; opacity: .78; font-weight: 300; position: relative; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* -- footer ------------------------------------------------------------ */
.footer { background: #101927; color: var(--white); padding: 60px 0 22px; border-top: 1px solid rgba(184,147,109,.18); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 44px; margin-bottom: 44px; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; color: var(--gold); }
.footer-col p, .footer-col li { color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.9; font-weight: 300; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 3px; }
.footer-col a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.28); font-size: 13px; }


/* -- cookie notice (slim) ---------------------------------------------- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px; left: 50%; right: auto;
    transform: translateX(-50%);
    z-index: 2000;
    background: var(--dark);
    border: 1px solid rgba(184,147,109,.35);
    border-radius: 50px;
    padding: 12px 20px 12px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    white-space: nowrap;
}
.cookie-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-inner p {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    white-space: nowrap;
}
.cookie-link {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(184,147,109,.4);
    transition: border-color .2s;
}
.cookie-link:hover { border-bottom-color: var(--gold); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.btn-cookie-accept {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 7px 18px;
    border-radius: 50px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}
.btn-cookie-accept:hover { background: var(--gold-hover); }
.btn-cookie-decline {
    background: transparent;
    color: rgba(255,255,255,.45);
    border: none;
    padding: 7px 4px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: color .2s;
    white-space: nowrap;
}
.btn-cookie-decline:hover { color: rgba(255,255,255,.75); }

/* -- title links ------------------------------------------------------- */
.title-link {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(184,147,109,.3);
    transition: border-color .2s;
}
.title-link:hover { border-bottom-color: var(--gold); }

/* -- footer gdpr ------------------------------------------------------- */
.footer-gdpr {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.07);
    margin-bottom: 24px;
}
.footer-gdpr h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.footer-gdpr p {
    color: rgba(255,255,255,.38);
    font-size: 12px;
    line-height: 1.8;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
}


@media (max-width: 600px) {
    .cookie-banner {
        left: 12px; right: 12px;
        bottom: 12px;
        transform: none;
        border-radius: var(--r-lg);
        white-space: normal;
    }
    .cookie-inner { flex-wrap: wrap; }
    .cookie-inner p { white-space: normal; font-size: 12px; }
}

/* -- accessibility skip link ------------------------------------------- */
.skip-link {
    position: absolute;
    top: -60px; left: 12px;
    z-index: 3000;
    background: var(--gold);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: top .2s;
}
.skip-link:focus { top: 0; }

/* -- back to top button ------------------------------------------------ */
.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 900;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold);
    border: 1px solid rgba(184,147,109,.4);
    font-size: 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s, background .2s, transform .2s;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }

/* -- scroll reveal animation ------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}



/* -- FAQ (native details – no JS, keyboard accessible) ---------------- */
.faq-section { padding: 92px 0; background: var(--cream); }
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    cursor: pointer;
    list-style: none;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }

/* gold + / − marker */
.faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 13px; height: 13px;
    background:
        linear-gradient(var(--gold), var(--gold)) center/13px 1.5px no-repeat,
        linear-gradient(var(--gold), var(--gold)) center/1.5px 13px no-repeat;
    transition: transform .3s ease, opacity .3s;
}
.faq-item[open] summary::after {
    transform: rotate(90deg);
    background: linear-gradient(var(--gold), var(--gold)) center/13px 1.5px no-repeat;
}
.faq-item[open] summary { color: var(--gold); }

.faq-answer {
    padding: 0 40px 24px 4px;
    animation: faqIn .3s ease;
}
.faq-answer p {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text-light);
    font-weight: 300;
}
@keyframes faqIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .faq-section { padding: 64px 0; }
    .faq-item summary { font-size: 16px; padding: 19px 2px; }
    .faq-answer { padding: 0 8px 20px 2px; }
    .faq-answer p { font-size: 15px; }
}

/* -- keyboard focus (accessibility floor) ------------------------------ */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 3px;
}
.navbar a:focus-visible,
.category-links a:focus-visible,
.mobile-menu a:focus-visible {
    outline-color: var(--gold-pale);
}

/* -- respect reduced motion everywhere --------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .product-card:hover,
    .gender-card:hover,
    .btn:hover { transform: none; }
}

/* -- responsive -------------------------------------------------------- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }

    .hero-title { font-size: 38px; }
    .hero-subtitle { font-size: 15px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }

    .section-title { font-size: 28px; }
    .cta-section h2 { font-size: 28px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 280px; text-align: center; }

    .gender-grid { grid-template-columns: 1fr; }
    .gender-card { padding: 42px 28px; }
    .gender-card h3 { font-size: 24px; }

    .title-item { flex-direction: column; gap: 14px; }
    .title-icon { width: 54px; height: 54px; font-size: 14px; }

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

    .category-links { justify-content: flex-start; padding: 0 12px; }
    .category-links a { padding: 14px 16px; font-size: 12px; }
}

@media (max-width: 500px) {
    .hero-title { font-size: 28px; }
    .hero-eyebrow { font-size: 10px; letter-spacing: .14em; }
    .product-img-wrap { height: 180px; }
    .product-img-wrap img { max-height: 145px; }
}

