/* ============================================================
   AlfaBrides — Main Stylesheet
   Luxury Wedding Theme
   ============================================================ */

/* Global pointer cursor for all interactive elements */
a, button, [role="button"], label[for],
.filter-pill, .wc-page-btn, .dress-card,
.dress-card__link, .blog-archive-card,
.blog-archive-card__link, .collection-card,
.collection-card__link, .dresses-carousel__btn,
.testimonials-btn, .header-search-toggle,
.mobile-toggle, .btn-appointment, .btn-outline-dark,
.contact-strip__item, select, input[type="submit"],
input[type="checkbox"], input[type="radio"],
.woocommerce-product-gallery__trigger,
.catalog-filter-clear, .wc-no-results-clear {
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════════════════════════ */
#preloader {
    position: fixed;
    inset: 0;
    background: #1a1714;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner { text-align: center; }

.preloader-logo-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    color: #f5f0ea;
    display: block;
    opacity: 0;
    animation: preloaderFadeIn 0.6s ease 0.2s forwards;
}
.preloader-logo img,
.preloader-logo .custom-logo {
    max-height: 64px;
    width: auto;
    opacity: 0;
    filter: brightness(0) invert(1);
    animation: preloaderFadeIn 0.6s ease 0.2s forwards;
}

.preloader-bar {
    width: 100px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 24px auto 0;
    overflow: hidden;
}
.preloader-bar__fill {
    height: 100%;
    background: #BFA980;
    width: 0;
    animation: preloaderBar 1.0s ease 0.3s forwards;
}

@keyframes preloaderFadeIn {
    to { opacity: 1; }
}
@keyframes preloaderBar {
    to { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   PAGE TRANSITION
═══════════════════════════════════════════════════════════════ */
#page-transition {
    position: fixed;
    inset: 0;
    background: #1a1714;
    z-index: 99998;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}
#page-transition.is-leaving { opacity: 1; pointer-events: all; }

/* ═══════════════════════════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════════════════════════ */
@media (pointer: fine) {
    body { cursor: none; }
    a, button, [role="button"],
    .filter-btn, .gallery-thumb, .chat-toggle,
    .filter-pill, .wc-page-btn, .dress-card__link,
    .blog-archive-card__link, .collection-card__link,
    .dresses-carousel__btn, .testimonials-btn,
    .header-search-toggle, .mobile-toggle,
    .btn-appointment, .btn-outline-dark, .btn-hero,
    .contact-strip__item, input[type="submit"], .wpcf7-submit {
        cursor: pointer;
    }
}

#cursor-dot {
    position: fixed;
    width: 6px; height: 6px;
    background: #BFA980;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.1s ease;
    will-change: left, top;
}

#cursor-ring {
    position: fixed;
    width: 34px; height: 34px;
    border: 1px solid rgba(191,169,128,0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99996;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    will-change: left, top;
}

#cursor-dot.is-hovering  { opacity: 0; transform: translate(-50%, -50%) scale(0); }
#cursor-ring.is-hovering { opacity: 0; }
#cursor-dot.is-hidden, #cursor-ring.is-hidden { opacity: 0; }

@media (pointer: coarse), (max-width: 1024px) {
    #cursor-dot, #cursor-ring { display: none; }
    body { cursor: auto; }
    a, button { cursor: pointer; }
}

/* ═══════════════════════════════════════════════════════════════
   FOCUS VISIBLE — keyboard accessibility
═══════════════════════════════════════════════════════════════ */
:focus { outline: none; }
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}
/* Custom cursor hides native focus ring on pointer devices; restore for keyboard */
@media (pointer: fine) {
    :focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 3px;
    }
}
/* Inputs already show gold border on focus — suppress double ring */
.appt-form__field input:focus-visible,
.appt-form__field textarea:focus-visible,
.search-drawer__input:focus-visible {
    outline: none;
}

/* ═══════════════════════════════════════════════════════════════
   PREFERS REDUCED MOTION
═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration:       0.01ms !important;
        animation-iteration-count: 1     !important;
        transition-duration:      0.01ms !important;
        scroll-behavior:          auto   !important;
    }
    /* Reveal elements — show immediately without animation */
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    /* Reading progress bar — no smooth fill */
    .post-progress-bar { transition: none !important; }
    /* Sticky header — no slide */
    .post-sticky-header { transition: none !important; }
    /* Carousel track — snap instead of slide */
    .dresses-carousel__track,
    .testimonials-track { transition: none !important; }
    /* Parallax — freeze */
    [data-parallax="true"] { background-attachment: scroll !important; }
    /* Page transitions — disable */
    #page-transition { display: none !important; }
    /* Marquee — pause */
    .marquee-inner { animation-play-state: paused !important; }
    /* Preloader — skip */
    #preloader { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   WIDE SCREENS (2K / 4K ≥ 1600px)
═══════════════════════════════════════════════════════════════ */
@media (min-width: 1600px) {
    :root {
        --container: 1400px;
    }
    .post-body { max-width: 840px; }
    .section-title { font-size: clamp(2rem, 2.4vw, 3rem); }
}
@media (min-width: 2000px) {
    :root { --container: 1600px; }
    .dress-card { flex: 0 0 360px; }
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════════════════════════ */
.marquee-strip {
    background: var(--charcoal, #1C1C1C);
    overflow: hidden;
    padding-block: 14px;
    white-space: nowrap;
    contain: paint;
    position: relative;
    z-index: 1;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-item {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    padding-inline: 28px;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.marquee-strip:hover .marquee-item { color: rgba(255,255,255,0.9); }

.marquee-sep {
    color: #BFA980;
    font-size: 8px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   CLIP-PATH IMAGE REVEAL
═══════════════════════════════════════════════════════════════ */
.reveal-image {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-image.is-visible { clip-path: inset(0% 0 0 0); }

/* Wrap images — the clip goes on wrapper, not image */
.img-reveal-wrap {
    overflow: hidden;
}
.img-reveal-wrap img {
    transform: scale(1.08);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-reveal-wrap.is-visible img { transform: scale(1); }

/* ═══════════════════════════════════════════════════════════════
   MAGNETIC BUTTONS
═══════════════════════════════════════════════════════════════ */
.magnetic { transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

/* ═══════════════════════════════════════════════════════════════
   HORIZONTAL COLLECTIONS SCROLL (desktop)
═══════════════════════════════════════════════════════════════ */
.collections-scroll-outer {
    position: relative;
}

.collections-scroll-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    cursor: grab;
    user-select: none;
}
.collections-scroll-track::-webkit-scrollbar { display: none; }
.collections-scroll-track.is-dragging { cursor: grabbing; }

.collections-scroll-track .collection-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    scroll-snap-align: start;
}

.collections-scroll-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
}
.collections-scroll-btn {
    width: 44px; height: 44px;
    border: 1px solid var(--gray-light, #C8C4BC);
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--charcoal, #1C1C1C);
    transition: all 0.25s ease;
}
.collections-scroll-btn:hover { border-color: var(--gold, #BFA980); color: var(--gold, #BFA980); }
.collections-scroll-hint {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray, #888);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}
.collections-scroll-hint::after { content: '→'; font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════
   QUICK VIEW
═══════════════════════════════════════════════════════════════ */
.dress-card__qv-btn {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(28,28,28,0.85);
    backdrop-filter: blur(4px);
    color: var(--white, #fff);
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 13px;
    border: none;
    cursor: pointer;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.2s ease;
}
.dress-card__image-wrap:hover .dress-card__qv-btn { transform: translateY(0); }
.dress-card__qv-btn:hover { background: rgba(191,169,128,0.9); }

.qv-modal {
    position: fixed; inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.qv-modal.is-open { opacity: 1; pointer-events: all; }

.qv-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
}

.qv-box {
    position: relative; z-index: 1;
    background: var(--white, #fff);
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 800px; width: 100%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.94);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.qv-modal.is-open .qv-box { transform: scale(1); }

.qv-image {
    position: relative;
    overflow: hidden;
    background: var(--section-bg, #F5F1EC);
}
.qv-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.qv-info {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.qv-designer { font-size: 10px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold, #BFA980); }
.qv-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; line-height: 1.15; }
.qv-code  { font-size: 11px; color: var(--gray, #888); }
.qv-price { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; }
.qv-excerpt { font-size: 13px; line-height: 1.7; color: #555; border-top: 1px solid rgba(0,0,0,0.07); padding-top: 12px; }

.qv-specs { display: flex; flex-direction: column; border-top: 1px solid rgba(0,0,0,0.07); padding-top: 8px; }
.qv-spec  { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 13px; }
.qv-spec-label { color: var(--gray, #888); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

.qv-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 16px; }

.qv-close {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--white, #fff);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--charcoal, #1C1C1C);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}
.qv-close:hover { transform: scale(1.1); }

.qv-loading {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--gray, #888);
}

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    --cream:       #FAF8F5;
    --white:       #FFFFFF;
    --charcoal:    #1C1C1C;
    --charcoal-80: rgba(28,28,28,0.8);
    --gold:        #BFA980;
    --gold-light:  #D4C4A8;
    --gold-dark:   #9A8460;
    --blush:       #EDD5C4;
    --rose:        #D4A5A5;
    --gray:        #888888;
    --text:        #3A3530;   /* основен текст в дългите четива */
    --border:      rgba(28,28,28,0.12);
    --font-body:   'Raleway', 'Helvetica Neue', Arial, sans-serif;
    --gutter:      clamp(20px, 4vw, 60px);
    --gray-light:  #C8C4BC;
    --section-bg:  #F5F1EC;

    --font-serif:  'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    --font-sans:   'Raleway', 'Helvetica Neue', Arial, sans-serif;

    --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

    --transition-fast: 0.2s var(--ease-luxury);
    --transition-mid:  0.45s var(--ease-luxury);
    --transition-slow: 0.85s var(--ease-luxury);

    --header-h:  96px;
    --container: 1280px;
    --container-narrow: 780px;

    --space-xs:  8px;
    --space-sm:  16px;
    --space-md:  32px;
    --space-lg:  64px;
    --space-xl:  100px;
    --space-2xl: 140px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--white); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    color: var(--charcoal);
    text-align: center;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-title--left { text-align: left; }

.section-divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 48px;
}
.section-divider--left { margin-left: 0; }

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

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 60px);
}

.container--narrow { max-width: var(--container-narrow); }

.section-padding { padding-block: var(--space-xl); }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-hero {
    display: inline-block;
    padding: 14px 44px;
    border: 1px solid rgba(255,255,255,0.95);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition-mid);
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.btn-hero:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    text-shadow: none;
}

.btn-outline-dark {
    display: inline-block;
    padding: 13px 40px;
    border: 1px solid var(--charcoal);
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition-mid);
}
.btn-outline-dark:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-outline-gold {
    display: inline-block;
    padding: 13px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition-mid);
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}

.section-cta { text-align: center; margin-top: 56px; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: background var(--transition-mid), height var(--transition-mid), box-shadow var(--transition-mid);
}

/* Permanent scrim behind the header so nav text stays legible over light/bright hero photos, regardless of that page's own overlay gradient */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: -1;
    opacity: 1;
    transition: opacity var(--transition-mid);
}
.site-header.is-scrolled::before { opacity: 0; }

.site-header.is-scrolled {
    background: rgba(250,248,245,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 74px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.site-header.header-transparent { background: transparent; }

/* Solid light header on WC functional pages (cart, checkout, account) — no hero underneath */
.woocommerce-cart .site-header,
.woocommerce-checkout .site-header,
.woocommerce-account .site-header {
    background: rgba(250,248,245,0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.woocommerce-cart .site-header::before,
.woocommerce-checkout .site-header::before,
.woocommerce-account .site-header::before { opacity: 0 !important; }

.woocommerce-cart .site-header .logo-text,
.woocommerce-checkout .site-header .logo-text,
.woocommerce-account .site-header .logo-text { color: var(--charcoal); }

.woocommerce-cart .site-header .site-logo img,
.woocommerce-cart .site-header .site-logo .custom-logo,
.woocommerce-checkout .site-header .site-logo img,
.woocommerce-checkout .site-header .site-logo .custom-logo,
.woocommerce-account .site-header .site-logo img,
.woocommerce-account .site-header .site-logo .custom-logo { filter: brightness(0); }

.woocommerce-cart .site-header .nav-menu li a,
.woocommerce-checkout .site-header .nav-menu li a,
.woocommerce-account .site-header .nav-menu li a { color: var(--charcoal); }

.woocommerce-cart .site-header .nav-menu li a:hover,
.woocommerce-checkout .site-header .nav-menu li a:hover,
.woocommerce-account .site-header .nav-menu li a:hover { color: var(--gold); }

.woocommerce-cart .site-header .header-phone,
.woocommerce-checkout .site-header .header-phone,
.woocommerce-account .site-header .header-phone { color: var(--charcoal); }

.woocommerce-cart .site-header .btn-appointment,
.woocommerce-checkout .site-header .btn-appointment,
.woocommerce-account .site-header .btn-appointment {
    border-color: var(--charcoal);
    color: var(--charcoal);
}
.woocommerce-cart .site-header .btn-appointment:hover,
.woocommerce-checkout .site-header .btn-appointment:hover,
.woocommerce-account .site-header .btn-appointment:hover {
    background: var(--charcoal);
    color: var(--white);
}

.woocommerce-cart .site-header .header-search-toggle,
.woocommerce-checkout .site-header .header-search-toggle,
.woocommerce-account .site-header .header-search-toggle { color: var(--charcoal); }

.woocommerce-cart .site-header .header-cart,
.woocommerce-checkout .site-header .header-cart,
.woocommerce-account .site-header .header-cart { color: var(--charcoal); }

.woocommerce-cart .site-header .mobile-toggle span,
.woocommerce-checkout .site-header .mobile-toggle span,
.woocommerce-account .site-header .mobile-toggle span { background: var(--charcoal); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-inline: clamp(20px, 4vw, 60px);
    gap: 24px;
}

/* Logo */
.site-logo a, .footer-logo { display: flex; align-items: center; }
.logo-text {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--white);
    transition: color var(--transition-fast);
}
.site-header.is-scrolled .logo-text { color: var(--charcoal); }
.site-logo img, .site-logo .custom-logo { max-height: 65px; width: auto; filter: brightness(0) invert(1); transition: filter var(--transition-fast); }
.site-header.is-scrolled .site-logo img,
.site-header.is-scrolled .site-logo .custom-logo { filter: brightness(0); }

/* Nav */
.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 16px; align-items: center; }
.nav-menu li a {
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition-fast);
    position: relative;
}
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-mid);
}
.nav-menu li a:hover,
.nav-menu li a:hover::after { color: var(--white); transform: scaleX(1); }
.site-header.is-scrolled .nav-menu li a { color: var(--charcoal); }
.site-header.is-scrolled .nav-menu li a:hover { color: var(--gold); }

/* Dropdown */
.nav-menu li { position: relative; }
.nav-menu .sub-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.04);
    border-top: 2px solid var(--gold);
    padding: 12px 0 8px;
    z-index: 200;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-menu .sub-menu li a {
    display: block;
    padding: 12px 24px;
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.18s, background 0.18s, padding-left 0.18s;
    border-left: 2px solid transparent;
}
.nav-menu .sub-menu li a:hover {
    color: var(--gold);
    background: rgba(191,169,128,0.05);
    border-left-color: var(--gold);
    padding-left: 28px;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 20px; }

.header-phone {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    transition: color var(--transition-fast);
    letter-spacing: 0.05em;
}
.site-header.is-scrolled .header-phone { color: var(--charcoal); }
.header-phone:hover { color: var(--gold) !important; }

.btn-appointment {
    display: inline-block;
    padding: 13px 32px;
    border: 1px solid rgba(255,255,255,0.6);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: var(--transition-mid);
    white-space: nowrap;
}
.btn-appointment:hover {
    background: var(--white);
    color: var(--charcoal);
}
.site-header.is-scrolled .btn-appointment {
    border-color: var(--charcoal);
    color: var(--charcoal);
}
.site-header.is-scrolled .btn-appointment:hover {
    background: var(--charcoal);
    color: var(--white);
}

.mobile-appt-btn { display: none; }
.mobile-sub-toggle { display: none; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}
.mobile-toggle span {
    display: block;
    width: 24px; height: 1px;
    background: var(--white);
    transition: var(--transition-mid);
    transform-origin: center;
}
.site-header.is-scrolled .mobile-toggle span { background: var(--charcoal); }
.mobile-toggle.is-open { z-index: 1003; }
.mobile-toggle.is-open span { background: var(--white) !important; }
.mobile-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video,
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.hero-image--placeholder {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-inline: clamp(20px, 6vw, 80px);
    max-width: 900px;
}

.hero-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 28px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7);
    opacity: 0;
    animation: fadeInDown 0.8s var(--ease-out) 0.3s forwards;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
    overflow: hidden;
    text-shadow: 0 2px 30px rgba(0,0,0,0.7);
}

.hero-title__word {
    display: inline-block;
    margin-right: 0.12em;
    opacity: 0;
    transform: translateY(100%);
    animation: wordReveal 0.9s var(--ease-out) forwards;
}

.hero-divider {
    width: 60px; height: 1px;
    background: var(--gold);
    margin: 0 auto 28px;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    max-width: 680px;
    margin-inline: auto;
    text-shadow: 0 1px 12px rgba(0,0,0,0.75);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1s forwards;
}

.hero-body {
    font-family: var(--font-sans);
    font-size: clamp(0.82rem, 1.2vw, 0.95rem);
    font-weight: 300;
    color: rgba(255,255,255,0.80);
    letter-spacing: 0.03em;
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 620px;
    margin-inline: auto;
    text-shadow: 0 1px 12px rgba(0,0,0,0.6);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.1s forwards;
}

.btn-hero {
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s forwards;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%; transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards;
}

.scroll-text {
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-sans);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   INTRO / STATS
═══════════════════════════════════════════════════════════════ */
.intro-section {
    background: var(--white);
    padding-block: var(--space-lg);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.intro-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
}

.tagline-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: var(--gold-light);
}

.tagline-text {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray);
    white-space: nowrap;
}

.intro-seo-text {
    text-align: center;
    max-width: 680px;
    margin: 24px auto 0;
    font-family: var(--font-sans);
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.8;
    color: var(--gray);
}
.intro-seo-text strong { color: var(--charcoal); font-weight: 500; }

.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px 40px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--gold-light);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   COLLECTIONS
═══════════════════════════════════════════════════════════════ */
.collections-section { background: var(--cream); }

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (min-width: 1100px) {
    .collections-grid { grid-template-columns: repeat(3, 1fr); }
}

.collection-card { position: relative; }

.collection-card__link { display: block; }

.collection-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.collection-card__image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-luxury);
}

.collection-card__image--placeholder {
    background: linear-gradient(135deg, var(--blush) 0%, var(--rose) 100%);
    width: 100%; height: 100%;
}

.collection-card__link:hover .collection-card__image { transform: scale(1.06); }

.collection-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-mid);
}

.collection-card__overlay-text {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-mid), transform var(--transition-mid);
}

.collection-card__link:hover .collection-card__overlay { background: rgba(0,0,0,0.28); }
.collection-card__link:hover .collection-card__overlay-text { opacity: 1; transform: translateY(0); }

.collection-card__body { padding: 20px 4px 0; }

.collection-card__cat {
    display: block;
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.collection-card__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 6px;
    transition: color var(--transition-fast);
}
.collection-card__link:hover .collection-card__title { color: var(--gold-dark); }

.collection-card__excerpt {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   DRESSES CAROUSEL (homepage)
═══════════════════════════════════════════════════════════════ */
.dresses-section { background: var(--cream); }

.dresses-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 0 clamp(24px, 3vw, 40px);
    /* subtle side fades */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.dresses-carousel__track {
    display: flex;
    gap: clamp(16px, 2vw, 24px);
    padding: 0 clamp(20px, 5vw, 80px);
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* 5-column static grid (home section) */
.container--dresses {
    max-width: min(1700px, 96vw);
}
.dresses-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(10px, 1.2vw, 16px);
}
@media (max-width: 1024px) {
    .dresses-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .dresses-grid-5 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .dresses-grid-5::-webkit-scrollbar { display: none; }
    .dresses-grid-5 .dress-card {
        flex: 0 0 72vw;
        scroll-snap-align: start;
    }
}

/* Card */
.dress-card {
    flex: 0 0 clamp(220px, 22vw, 320px);
    cursor: pointer;
}
.dress-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.dress-card__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 3 / 4;
    background: var(--blush);
}
img.dress-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.dress-card__image--placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--blush), var(--cream));
}
.dress-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30,25,20,0.72) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(14px, 2vw, 20px);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.dress-card:hover .dress-card__image { transform: scale(1.05); }
.dress-card:hover .dress-card__overlay { opacity: 1; }
.dress-card__designer {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 6px;
}
.dress-card__cta {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--white);
}
.dress-card__body {
    padding: 14px 4px 0;
}
.dress-card__title {
    font-family: var(--font-serif);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.35;
    margin-bottom: 4px;
}
.dress-card__cat {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Nav arrows */
.dresses-carousel__btn {
    position: absolute;
    top: calc(50% - 30px);
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(191,169,128,0.4);
    background: rgba(255,252,248,0.92);
    color: var(--charcoal);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.dresses-carousel__btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}
.dresses-carousel__btn--prev { left: clamp(8px, 2vw, 24px); }
.dresses-carousel__btn--next { right: clamp(8px, 2vw, 24px); }
.dresses-carousel__btn[disabled] { opacity: 0.3; pointer-events: none; }

/* Dots */
.dresses-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 0 clamp(20px, 3vw, 36px);
}
.dresses-carousel__dots button {
    width: 6px; height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(191,169,128,0.3);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.dresses-carousel__dots button.is-active {
    background: var(--gold);
    transform: scale(1.5);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about-section { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.about-image--placeholder {
    background: linear-gradient(135deg, var(--blush) 0%, var(--section-bg) 100%);
    aspect-ratio: 4/5;
}

.about-image-accent {
    position: absolute;
    bottom: -24px; right: -24px;
    width: 60%;
    height: 60%;
    border: 1px solid var(--gold-light);
    z-index: -1;
    pointer-events: none;
}

.about-content { padding-block: 40px; }
.about-text {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 24px;
}
.about-text:last-of-type { margin-bottom: 36px; }

/* ═══════════════════════════════════════════════════════════════
   FEATURED / PARALLAX
═══════════════════════════════════════════════════════════════ */
.featured-section {
    position: relative;
    height: 65vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.featured-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
}

.featured-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-inline: clamp(20px, 6vw, 80px);
}

.featured-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.featured-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 28px;
    max-width: 800px;
    margin-inline: auto;
}

.featured-divider {
    width: 48px; height: 1px;
    background: var(--gold);
    margin: 0 auto 36px;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════════ */
.gallery-section { background: var(--section-bg); }

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item:nth-child(3n+1) { aspect-ratio: 1; }
.gallery-item:nth-child(3n+2) { aspect-ratio: 4/5; }
.gallery-item:nth-child(3n)   { aspect-ratio: 3/4; }

.gallery-item__link {
    display: block;
    width: 100%; height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-item__image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-luxury);
    display: block;
}

.gallery-item__link:hover .gallery-item__image { transform: scale(1.06); }

.gallery-item__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-mid);
    color: var(--white);
    opacity: 0;
}

.gallery-item__link:hover .gallery-item__overlay {
    background: rgba(0,0,0,0.3);
    opacity: 1;
}

/* Lightbox */
.lightbox-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.lightbox-backdrop.is-open { opacity: 1; }

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.92);
    transition: transform 0.35s var(--ease-out);
}
.lightbox-backdrop.is-open .lightbox-img { transform: scale(1); }

.lightbox-close {
    position: absolute;
    top: 24px; right: 24px;
    color: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    background: none; border: none;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-caption {
    position: absolute;
    bottom: 24px; left: 0; right: 0;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
}

.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    background: none; border: none;
    padding: 20px;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-nav--prev { left: 20px; }
.lightbox-nav--next { right: 20px; }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════ */
.testimonials-section {
    background: #faf9f7;
    position: relative;
}
.testimonials-section .section-label { color: var(--gold) !important; }
.testimonials-section .section-title { color: var(--charcoal) !important; }
.testimonials-section .section-divider { background: rgba(191,169,128,0.5) !important; }

/* Decorative large quote in background */
.testimonials-section::before {
    content: '\201C';
    position: absolute;
    top: -0.1em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-size: clamp(160px, 20vw, 280px);
    font-weight: 300;
    color: rgba(191,169,128,0.06);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.testimonials-google-wrap {
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ── Trustindex widget overrides ──────────────────────────── */
.testimonials-google-wrap .ti-widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* Header card (business info) */
.testimonials-google-wrap .ti-header,
.testimonials-google-wrap .ti-widget-header {
    background: #fff !important;
    border: 1px solid rgba(191,169,128,0.25) !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
.testimonials-google-wrap .ti-header .ti-name,
.testimonials-google-wrap .ti-widget-header .ti-name { color: var(--charcoal) !important; }
.testimonials-google-wrap .ti-review-count,
.testimonials-google-wrap .ti-reviews-count { color: rgba(40,35,30,0.5) !important; }

/* Review cards */
.testimonials-google-wrap .ti-review-item,
.testimonials-google-wrap .ti-review-content,
.testimonials-google-wrap .review-item {
    background: #fff !important;
    border: 1px solid rgba(191,169,128,0.18) !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05) !important;
    transition: box-shadow 0.2s, border-color 0.2s !important;
}
.testimonials-google-wrap .ti-review-item:hover,
.testimonials-google-wrap .review-item:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.09) !important;
    border-color: rgba(191,169,128,0.4) !important;
}
/* Reviewer name */
.testimonials-google-wrap .ti-reviewer,
.testimonials-google-wrap .ti-name { color: var(--charcoal) !important; font-weight: 500 !important; }
/* Date */
.testimonials-google-wrap .ti-date,
.testimonials-google-wrap .reviewer-date { color: rgba(40,35,30,0.4) !important; font-size: 11px !important; }
/* Review text */
.testimonials-google-wrap .ti-review-body,
.testimonials-google-wrap .ti-text,
.testimonials-google-wrap p { color: rgba(40,35,30,0.7) !important; font-size: 13px !important; line-height: 1.75 !important; }
/* "Прочетете още" link */
.testimonials-google-wrap .ti-read-more,
.testimonials-google-wrap a.more-link { color: var(--gold) !important; }
/* Navigation arrows */
.testimonials-google-wrap .ti-arrow,
.testimonials-google-wrap .ti-prev,
.testimonials-google-wrap .ti-next {
    background: #fff !important;
    border: 1px solid rgba(191,169,128,0.35) !important;
    border-radius: 50% !important;
    color: var(--charcoal) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}
.testimonials-google-wrap .ti-arrow:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important; }
/* Write review button */
.testimonials-google-wrap .ti-write-review,
.testimonials-google-wrap a[href*="google"] {
    border: 1px solid rgba(191,169,128,0.5) !important;
    background: transparent !important;
    color: var(--charcoal) !important;
    border-radius: 0 !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    transition: all 0.2s !important;
}
.testimonials-google-wrap .ti-write-review:hover { border-color: var(--gold) !important; color: var(--gold) !important; background: transparent !important; }

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.7s var(--ease-luxury);
}

.testimonial-slide {
    min-width: 100%;
    padding-inline: clamp(20px, 8vw, 120px);
}

.testimonial-card {
    text-align: center;
    max-width: 780px;
    margin-inline: auto;
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    color: var(--gold);
    line-height: 0.5;
    margin-bottom: 32px;
    display: block;
    opacity: 0.7;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: var(--charcoal);
    margin-bottom: 40px;
}
.testimonial-text p { margin: 0; }

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author__photo {
    width: 56px; height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--gold-light);
}
.testimonial-author__img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-author__info { text-align: left; }
.testimonial-author__name {
    display: block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--charcoal);
}
.testimonial-author__location {
    display: block;
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Slider nav */
.testimonials-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border: 1px solid var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    transition: var(--transition-mid);
    z-index: 2;
}
.testimonials-btn:hover { border-color: var(--gold); color: var(--gold); }
.testimonials-btn--prev { left: 0; }
.testimonials-btn--next { right: 0; }

/* Dots */
.testimonials-dots {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.testimonials-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.testimonials-dot.is-active {
    background: var(--gold);
    transform: scale(1.4);
}

/* ═══════════════════════════════════════════════════════════════
   APPOINTMENT CTA
═══════════════════════════════════════════════════════════════ */
.appointment-section {
    position: relative;
    padding-block: var(--space-2xl);
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.appointment-section.no-bg { background: var(--charcoal); }

.appointment-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
}

.appointment-content { position: relative; z-index: 1; padding-inline: 20px; }

.appointment-ornament {
    display: block;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.8;
}

.appointment-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
    max-width: 700px;
    margin-inline: auto;
}

.appointment-subtitle {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 44px;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
.contact-section { background: var(--cream); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-intro {
    font-size: 15px;
    line-height: 1.85;
    color: #5a5550;
    margin-bottom: 36px;
    font-weight: 300;
    max-width: 420px;
}

.contact-info__items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }

.contact-ctas { display: flex; flex-direction: column; gap: 12px; }

.contact-info__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info__icon {
    width: 36px; height: 36px;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info__label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 4px;
}

.contact-info__value {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--charcoal);
}

.contact-info__value--link:hover { color: var(--gold); }

.contact-map { border-radius: 0; overflow: hidden; }
.map-embed iframe { width: 100%; height: 440px; border: none; display: block; }

.map-placeholder {
    height: 440px;
    background: var(--section-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--gray);
    text-align: center;
    border: 1px dashed var(--gold-light);
}
.map-placeholder svg { opacity: 0.3; }
.map-placeholder__city {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--charcoal);
    letter-spacing: 0.1em;
}
.map-placeholder p { font-size: 13px; line-height: 1.7; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════════
   EDITORIAL PAGE (page.php)
═══════════════════════════════════════════════════════════════ */
.editorial-page-section {
    background: var(--cream);
    padding-top: clamp(48px, 7vw, 88px);
    padding-bottom: clamp(72px, 10vw, 140px);
}

.container--editorial {
    max-width: var(--container);
    padding-inline: clamp(20px, 4vw, 60px);
}

.editorial-entry { width: 100%; }

/* ── Breakout layout: text comfortable width, images go full container ─ */
.editorial-entry > p,
.editorial-entry > h2,
.editorial-entry > h3,
.editorial-entry > h4,
.editorial-entry > ul,
.editorial-entry > ol,
.editorial-entry > hr,
.editorial-entry > blockquote,
.editorial-entry > .wp-block-paragraph,
.editorial-entry > .wp-block-heading,
.editorial-entry > .wp-block-list,
.editorial-entry > .wp-block-quote,
.editorial-entry > .wp-block-separator {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* Rich text typography */
.editorial-entry p {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.95;
    color: var(--text);
    margin-bottom: 1.6em;
}

/* Lead paragraph — italic serif intro */
.editorial-entry > p:first-of-type,
.editorial-entry > .wp-block-paragraph:first-of-type p {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.75;
    border-left: 2px solid var(--gold);
    padding-left: 24px;
    margin-bottom: 2.2em;
}

/* Абзац само с изображение (банер) — да не хваща стила за уводен абзац */
.editorial-entry > p:has(img) {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: inherit;
    color: inherit;
    border-left: 0;
    padding-left: 0;
    margin-bottom: clamp(32px, 5vw, 56px);
}
.editorial-entry > p:has(img) img { margin-inline: auto; }

.editorial-entry h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    color: var(--charcoal);
    letter-spacing: 0.02em;
    text-align: left;
    margin-top: clamp(48px, 7vw, 80px);
    margin-bottom: clamp(16px, 2.5vw, 28px);
    padding-left: 20px;
    border-left: 2px solid var(--gold);
    line-height: 1.2;
    position: relative;
}
.editorial-entry h2::after { display: none; }

.editorial-entry h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-top: 2.6em;
    margin-bottom: 0.7em;
    letter-spacing: 0.02em;
}

.editorial-entry h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 2.2em;
    margin-bottom: 0.6em;
}

.editorial-entry strong { color: var(--charcoal); font-weight: 600; }
.editorial-entry a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(191,169,128,0.4); transition: border-color 0.2s; }
.editorial-entry a:hover { border-color: var(--gold); }

/* ── Images — wider than text ─────────────────────────────────── */
.editorial-entry .wp-block-image {
    margin: clamp(32px, 5vw, 60px) auto;
    max-width: 960px;
}
.editorial-entry .wp-block-image.aligncenter,
.editorial-entry .wp-block-image.alignnone {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.editorial-entry .wp-block-image figure { margin: 0; padding: 0; }
.editorial-entry figure figcaption { display: none; }
.editorial-entry .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
}
/* UAGB image blocks — let UAGB handle its own sizing, just add spacing */
.editorial-entry .wp-block-uagb-image {
    margin-top: clamp(32px, 5vw, 60px);
    margin-bottom: clamp(32px, 5vw, 60px);
}

/* ── Blockquote — magazine pull-quote ─────────────────────────── */
.editorial-entry blockquote {
    position: relative;
    margin: clamp(32px, 5vw, 60px) auto;
    max-width: 740px;
    padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 48px);
    border-left: 3px solid var(--gold);
    background: rgba(191,169,128,0.05);
}
.editorial-entry blockquote::before {
    content: '\201C';
    position: absolute;
    top: -0.1em;
    left: 0.25em;
    font-family: var(--font-serif);
    font-size: 5em;
    line-height: 1;
    color: var(--gold);
    opacity: 0.2;
    pointer-events: none;
}
.editorial-entry blockquote p {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.65;
    margin-bottom: 0;
    max-width: none;
    border: none;
    padding: 0;
}
.editorial-entry blockquote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
}

/* ── Horizontal rule ──────────────────────────────────────────── */
.editorial-entry hr {
    border: none;
    border-top: 1px solid rgba(191,169,128,0.3);
    margin: clamp(32px, 5vw, 56px) auto;
}

/* ── Lists ────────────────────────────────────────────────────── */
.editorial-entry ul,
.editorial-entry ol {
    margin: 1.2em auto 1.8em;
    padding-left: 0;
    list-style: none;
}
.editorial-entry ul li {
    padding-left: 24px;
    margin-bottom: 0.65em;
    position: relative;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    color: var(--text);
}
.editorial-entry ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 300;
}
.editorial-entry ol { counter-reset: editorial-ol; }
.editorial-entry ol li {
    counter-increment: editorial-ol;
    padding-left: 32px;
    margin-bottom: 0.9em;
    position: relative;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    color: var(--text);
}
.editorial-entry ol li::before {
    content: counter(editorial-ol);
    position: absolute;
    left: 0;
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 1.15em;
    line-height: 1.4;
}

/* ── Gutenberg block normalisation ───────────────────────────── */
.editorial-entry .wp-block-group,
.editorial-entry .wp-block-cover,
.editorial-entry .wp-block-columns,
.editorial-entry .wp-block-media-text {
    margin-top: clamp(28px, 5vw, 56px);
    margin-bottom: clamp(28px, 5vw, 56px);
}
.editorial-entry .wp-block-group__inner-container,
.editorial-entry .wp-block-group > * {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.editorial-entry p:empty,
.editorial-entry .wp-block-spacer { display: none; }
.editorial-entry .wp-block-spacer[style*="height"] { height: clamp(16px, 3vw, 32px) !important; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE COLLECTION PAGE
═══════════════════════════════════════════════════════════════ */
.coll-hero {
    position: relative;
    background-color: var(--charcoal);
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(72px, 10vw, 110px) clamp(20px, 4vw, 40px) clamp(48px, 7vw, 80px);
}
.coll-hero--dark { background-color: var(--charcoal); }
.coll-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20,18,15,0.35) 0%, rgba(20,18,15,0.78) 100%);
}
.coll-hero__content {
    position: relative;
    width: 100%;
    max-width: 720px;
    text-align: center;
}
.coll-hero__label {
    display: block;
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 14px;
}
.coll-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.12;
    margin: 0 0 16px;
}
.coll-hero__count {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
}
/* Description inside hero */
.coll-hero__desc {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(191,169,128,0.25);
}
.coll-hero__desc p {
    font-family: var(--font-sans);
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    margin: 0 0 6px;
}
.coll-hero__desc p:last-child { margin-bottom: 0; }

/* ── Category intro text (below hero) ── */
.cat-intro-section {
    background: var(--cream, #faf8f5);
    padding: clamp(32px, 5vw, 56px) 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cat-intro-text {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.cat-intro-text p {
    font-family: var(--font-sans);
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.85;
    color: var(--charcoal-light, #555);
    margin: 0 0 16px;
}
.cat-intro-text p:last-child { margin-bottom: 0; }

/* ── SEO text blocks (below catalog) ── */
.cat-seo-section { background: var(--cream, #faf8f5); }
.cat-seo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(32px, 5vw, 64px);
    max-width: 1080px;
    margin: 0 auto;
}
.cat-seo-block__title {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--charcoal);
    margin: 0 0 16px;
    line-height: 1.25;
}
.cat-seo-block__text {
    font-family: var(--font-sans);
    font-size: clamp(13px, 1.1vw, 14px);
    line-height: 1.85;
    color: var(--charcoal-light, #555);
    margin: 0 0 12px;
}
.cat-seo-block__text:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .cat-seo-grid { grid-template-columns: 1fr; }
}

/* Body — blocks from editor, immediately after hero */
.coll-body {
    padding-top: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(48px, 6vw, 80px);
}
.coll-body > * {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4vw, 40px);
    padding-right: clamp(20px, 4vw, 40px);
}
.coll-body > :first-child { margin-top: 0 !important; }

@media (max-width: 640px) {
    .coll-hero { padding-top: 60px; padding-bottom: 40px; }
    .coll-hero__desc { display: none; } /* на мобилен — само title + count */
}

/* ═══════════════════════════════════════════════════════════════
   ZA NAS PAGE
═══════════════════════════════════════════════════════════════ */
.za-nas-strip {
    background: var(--charcoal);
    padding-block: clamp(32px, 4vw, 48px);
}
.za-nas-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}
.za-nas-strip__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.za-nas-strip__item:last-child { border-right: none; }
.za-nas-strip__num {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    letter-spacing: 0.02em;
}
.za-nas-strip__label {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* Wider container for Za Nas */
.container--za-nas {
    max-width: 1000px;
}
.za-nas-content { background: var(--cream); }
.za-nas-entry { margin-inline: auto; }

/* Editorial styling for Za Nas Gutenberg content */
.za-nas-entry h2.wp-block-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--charcoal);
    text-align: center;
    letter-spacing: 0.06em;
    margin-top: clamp(48px, 6vw, 80px);
    margin-bottom: clamp(20px, 3vw, 32px);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.za-nas-entry h2.wp-block-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 12px auto 0;
}
.za-nas-entry p {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1.4em;
}
.za-nas-entry strong { color: var(--charcoal); font-weight: 600; }
.za-nas-entry a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-light); transition: border-color 0.2s; }
.za-nas-entry a:hover { border-color: var(--gold); }

/* UAGB image blocks — full-width editorial */
.za-nas-entry .wp-block-uagb-image {
    margin: clamp(32px, 5vw, 56px) 0;
}
.za-nas-entry .wp-block-uagb-image figure { margin: 0; }
.za-nas-entry .wp-block-uagb-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}
/* Alfa Events logo — UAGB sets its own width (185px) via block-specific class;
   we only ensure it centers and uses contain, without overriding height */
.za-nas-entry .wp-block-uagb-image.aligncenter {
    display: flex;
    justify-content: center;
}
.za-nas-entry .wp-block-uagb-image.aligncenter img {
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .za-nas-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .za-nas-strip__item:nth-child(2) { border-right: none; }
    .za-nas-strip__item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.08); }
    .za-nas-strip__item { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .za-nas-strip__item:last-child { border-bottom: none; border-right: none; }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACTS PAGE
═══════════════════════════════════════════════════════════════ */
.kontakti-hero {
    min-height: 260px !important;
    padding-top: calc(var(--header-h) + 32px) !important;
}

/* Quick contact strip */
.contact-strip {
    background: var(--charcoal);
    padding-block: clamp(24px, 3vw, 36px);
}
.contact-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.contact-strip__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 28px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    transition: background var(--transition-fast);
    color: inherit;
}
.contact-strip__item:last-child { border-right: none; }
.contact-strip__item:hover:not(.contact-strip__item--no-link) {
    background: rgba(255,255,255,0.04);
}
.contact-strip__icon {
    width: 38px; height: 38px;
    border: 1px solid rgba(191,169,128,0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.contact-strip__label {
    display: block;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
    font-family: var(--font-sans);
}
.contact-strip__value {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    font-family: var(--font-sans);
}

/* Map — full-width, after the form */
.kontakti-map { line-height: 0; }
.kontakti-map iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
    filter: grayscale(20%) contrast(1.05);
}

/* Content + CTA grid */
.kontakti-content {
    background: #fff;
    padding-top: clamp(48px, 5vw, 72px) !important;
    padding-bottom: clamp(48px, 6vw, 96px) !important;
}
.kontakti-content__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

/* Rules / page content */
.kontakti-rules .entry-content h1,
.kontakti-rules .entry-content h2,
.kontakti-rules h1,
.kontakti-rules h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-top: 2.8em;
    margin-bottom: 0.8em;
    letter-spacing: 0.02em;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.kontakti-rules h2:first-child,
.kontakti-rules h1:first-child { margin-top: 0; }

.kontakti-rules p {
    font-size: 14px;
    line-height: 2.1;
    color: #5a5550;
    margin-bottom: 1.2em;
}
.kontakti-rules ul,
.kontakti-rules ol {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.kontakti-rules li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #5a5550;
}
.kontakti-rules li::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}
/* Override ✓ checkmarks from content */
.kontakti-rules li > :first-child { }

.kontakti-rules hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 1em 0;
    width: 60px;
}

/* Contact form submit button */
.kontakti-rules form [type="submit"],
.kontakti-rules .wpcf7 [type="submit"],
.kontakti-rules input[type="submit"],
.wpcf7-submit {
    display: block;
    margin: 28px auto 0;
    background: var(--charcoal);
    color: var(--white);
    border: none;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 16px 48px;
    min-width: 200px;
    transition: background 0.25s ease, transform 0.15s ease;
}
.wpcf7-submit:hover {
    background: var(--gold);
    transform: translateY(-1px);
}
.kontakti-rules a { color: var(--gold); }
.kontakti-rules strong { color: var(--charcoal); font-weight: 500; }

/* CF7 form elegant styling */
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-bottom: 4px; }
.wpcf7 label,
.wpcf7 .wpcf7-form-control-wrap + label {
    display: block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 6px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.18);
    border-radius: 0;
    padding: 10px 0;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.2s;
    box-shadow: none;
    -webkit-appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-bottom-color: var(--gold);
}
.wpcf7 textarea { resize: vertical; min-height: 120px; }
.wpcf7 .wpcf7-not-valid { border-bottom-color: #c0392b !important; }
.wpcf7 .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    font-size: 13px;
    border-radius: 0;
    border: none;
    border-left: 3px solid var(--gold);
    background: rgba(191,169,128,0.08);
}

/* Hide gallery captions (SEO text stays in alt attributes) */
.kontakti-rules .wp-block-gallery figcaption,
.kontakti-rules .wp-element-caption,
.kontakti-rules figure figcaption { display: none !important; }

/* Gallery images — clean square tiles */
.kontakti-rules .wp-block-gallery .wp-block-image img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    border-radius: 2px;
}
.kontakti-rules .wp-block-gallery {
    gap: 6px !important;
}

/* Fix UAGB info-box icon alignment for directions heading */
.kontakti-rules .uagb-infobox-icon-wrap { vertical-align: middle; }

/* Remove extra bottom padding from right GhostKit column */
.kontakti-rules .ghostkit-grid-column:last-child {
    padding-bottom: 0 !important;
}

/* ── Contact form + address panel — redesigned as a single card ──── */
.kontakti-rules > .ghostkit-grid {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 20px 60px rgba(0,0,0,0.09);
    border: 1px solid rgba(0,0,0,0.06);
    padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
    margin-bottom: clamp(48px, 6vw, 80px);
}

.kontakti-rules .wpcf7 h4 {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 400;
    color: var(--charcoal);
    text-align: left;
    margin: 0 0 14px;
}
.kontakti-rules .wpcf7 h4::after {
    content: '';
    display: block;
    width: 48px; height: 2px;
    background: var(--gold);
    margin-top: 14px;
    margin-bottom: 30px;
}
.kontakti-rules .wpcf7-form { text-align: left !important; }
.kontakti-rules .wpcf7 p { margin-bottom: 18px; }

/* Inputs — premium underline style (overrides UAGB's inline boxed style) */
.uagb-block-518904d0 .wpcf7 input:not([type=submit]),
.uagb-block-518904d0 .wpcf7 textarea,
.uagb-block-518904d0 .wpcf7 select {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(0,0,0,0.16) !important;
    border-radius: 0 !important;
    padding: 12px 2px !important;
    text-align: left !important;
    color: var(--charcoal) !important;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: border-color 0.25s ease;
}
.uagb-block-518904d0 .wpcf7 input:not([type=submit]):focus,
.uagb-block-518904d0 .wpcf7 textarea:focus {
    border-bottom-color: var(--gold) !important;
}
.uagb-block-518904d0 .wpcf7 input::placeholder,
.uagb-block-518904d0 .wpcf7 textarea::placeholder {
    color: var(--gray) !important;
    text-align: left !important;
}

/* Submit button — match site CTA style */
.uagb-block-518904d0 .wpcf7 input.wpcf7-form-control.wpcf7-submit {
    background-color: var(--charcoal) !important;
    border: 1px solid var(--charcoal) !important;
    border-radius: 2px !important;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 16px 48px !important;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.uagb-block-518904d0 .wpcf7 input.wpcf7-form-control.wpcf7-submit:hover,
.uagb-block-518904d0 .wpcf7 input.wpcf7-form-control.wpcf7-submit:focus {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Address panel */
.kontakti-rules .uagb-ifb-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--charcoal);
    border-left: 2px solid var(--gold);
    padding-left: 14px;
}
.kontakti-rules .uagb-ifb-separator { display: none; }
.kontakti-rules .uagb-ifb-desc {
    font-size: 14px;
    line-height: 2;
    color: #5a5550;
}
.kontakti-rules .uagb-ifb-desc a {
    color: var(--gold);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.kontakti-rules .uagb-ifb-desc a:hover { border-bottom-color: var(--gold); }
.kontakti-rules .uagb-ifb-desc img { vertical-align: middle; margin-right: 4px; }

/* Gallery — premium hover zoom */
.kontakti-rules .wp-block-gallery {
    margin-top: 24px;
    border-radius: 4px;
}
.kontakti-rules .wp-block-gallery .wp-block-image {
    overflow: hidden;
    border-radius: 4px;
}
.kontakti-rules .wp-block-gallery .wp-block-image img {
    transition: transform 0.45s ease;
}
.kontakti-rules .wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.07);
}

/* Sticky CTA card */
.kontakti-cta-card {
    background: var(--charcoal);
    padding: clamp(32px, 4vw, 48px);
    position: sticky;
    top: calc(var(--header-h) + 24px);
}
.kontakti-cta-card .section-label { color: var(--gold); opacity: 0.8; }
.kontakti-cta-card__title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    margin: 14px 0 16px;
    letter-spacing: 0.03em;
}
.kontakti-cta-card__title em {
    font-style: italic;
    color: var(--gold);
}
.kontakti-cta-card p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
}
.kontakti-cta-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.kontakti-cta-card .btn-primary-gold {
    background: var(--gold);
    border-color: var(--gold);
}
.kontakti-cta-card .btn-primary-gold:hover {
    background: transparent;
    color: var(--gold);
}
.kontakti-cta-card .btn-whatsapp-inline {
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.75);
}
.kontakti-cta-card .btn-whatsapp-inline:hover {
    border-color: #25D366;
    color: #25D366;
}
.kontakti-cta-card__hours {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

@media (max-width: 900px) {
    .contact-strip__grid { grid-template-columns: repeat(2, 1fr); }
    .contact-strip__item:nth-child(2) { border-right: none; }
    .kontakti-content__grid { grid-template-columns: 1fr; }
    .kontakti-cta-card { position: static; }
}
@media (max-width: 600px) {
    .contact-strip__grid { grid-template-columns: 1fr; }
    .contact-strip__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); }

.footer-top { padding-block: var(--space-xl); }

/* Brand bar */
.footer-brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 24px;
    flex-wrap: wrap;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.5rem; }
.footer-brand .custom-logo { filter: brightness(0) invert(1); max-height: 48px; }
.footer-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-top: 10px;
    letter-spacing: 0.03em;
}
.footer-social-wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.social-link {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: var(--transition-fast);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.social-link--placeholder { cursor: default; opacity: 0.4; }
.social-link--placeholder:hover { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.5); }

/* 4-column grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 48px);
}

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition-fast);
    letter-spacing: 0.02em;
    line-height: 1.5;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); opacity: 0.8; }
.footer-contact-list a { color: inherit; }
.footer-contact-list a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-block: 24px;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; }
.footer-intl-link { color: rgba(255,255,255,0.25); transition: color var(--transition-fast); }
.footer-intl-link:hover { color: var(--gold); }

/* UK / international link in header */
.header-intl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.header-intl-btn:hover { opacity: 1; }
.header-intl-flag { font-size: 18px; line-height: 1; }
/* In scrolled/dark state — stays same (emoji has own colors) */

/* ═══════════════════════════════════════════════════════════════
   PAGE TEMPLATES
═══════════════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    height: 55vh;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 64px;
    background-size: cover;
    background-position: center top;
}
.page-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.6) 100%);
}
.page-hero__content {
    position: relative; z-index: 1;
    text-align: left;
    width: 100%;
    padding-inline: clamp(20px, 6vw, 80px);
}
.page-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.04em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    margin-bottom: 16px;
}
.page-hero__content::after {
    content: '';
    display: block;
    width: 48px; height: 1px;
    background: var(--gold);
    margin-top: 16px;
}

.page-hero--minimal {
    height: 220px;
    min-height: 0;
    background: linear-gradient(135deg, #f8f5f0 0%, #ede8e0 100%);
    align-items: flex-end;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.page-hero--minimal .page-hero__overlay { display: none; }
.page-hero--minimal .page-hero__content { padding-inline: clamp(20px, 6vw, 80px); }
.page-hero--minimal .page-hero__content::after {
    background: var(--gold);
    opacity: 0.8;
}
.page-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--charcoal);
}

.entry-content {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}
.entry-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--charcoal);
    margin: 48px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-light);
}
.entry-content h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--charcoal);
    margin: 36px 0 14px;
}
.entry-content p { margin-bottom: 22px; }
.entry-content strong { color: var(--charcoal); font-weight: 600; }
.entry-content a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.entry-content a:hover { border-bottom-color: var(--gold); }
.entry-content img { border-radius: 2px; max-width: 100%; height: auto; }
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 22px; }
.entry-content li { margin-bottom: 8px; }

.page-hero__eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 14px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.page-hero--minimal .page-hero__eyebrow { color: var(--gold); text-shadow: none; }
.page-hero__title--dark { color: var(--charcoal); text-shadow: none; }

.page-hero__meta {
    display: block;
    margin-top: 14px;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}
.page-hero--minimal .page-hero__meta { color: var(--gray); }

/* Single post layout with sidebar */
.single-post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.blog-sidebar { display: flex; flex-direction: column; gap: 40px; }
.sidebar-widget__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-light);
}
.sidebar-recent-posts { display: flex; flex-direction: column; gap: 14px; }
.sidebar-recent-posts li { display: flex; flex-direction: column; gap: 2px; }
.sidebar-recent-posts a { font-size: 14px; color: var(--charcoal); transition: color var(--transition-fast); }
.sidebar-recent-posts a:hover { color: var(--gold); }
.sidebar-recent-posts__date { font-size: 11px; color: var(--gray); letter-spacing: 0.05em; }
.sidebar-social { display: flex; flex-wrap: wrap; gap: 10px; }
.sidebar-social a {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid var(--gray-light);
    color: var(--charcoal);
    transition: all var(--transition-fast);
}
.sidebar-social a:hover { border-color: var(--gold); color: var(--gold); }

@media (max-width: 900px) {
    .single-post-layout { grid-template-columns: 1fr; }
}

/* Why Choose Us */
.why-choose-section { padding: 0; }
.why-choose-inner {
    background: var(--charcoal);
    padding: clamp(56px, 8vw, 96px) 0;
}
.why-choose-label { color: var(--gold-light) !important; opacity: 1; }
.why-choose-title { color: var(--white) !important; }

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: clamp(40px, 5vw, 64px);
    border: 1px solid rgba(191,169,128,0.12);
}
.why-choose-item {
    padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
    border-top: 2px solid rgba(191,169,128,0);
    border-right: 1px solid rgba(191,169,128,0.12);
    border-bottom: 1px solid rgba(191,169,128,0.12);
    transition: border-top-color 0.3s ease, background 0.3s ease;
}
.why-choose-item:nth-child(3n) { border-right: none; }
.why-choose-item:hover {
    border-top-color: var(--gold);
    background: rgba(191,169,128,0.06);
}
.why-choose-item__number {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: rgba(191,169,128,0.22);
    line-height: 1;
    margin-bottom: 16px;
}
.why-choose-item__title {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: 10px;
}
.why-choose-item__text {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,0.48);
}
@media (max-width: 860px) {
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
    .why-choose-item:nth-child(3n) { border-right: 1px solid rgba(191,169,128,0.12); }
    .why-choose-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 520px) {
    .why-choose-grid { grid-template-columns: 1fr; }
    .why-choose-item { border-right: none !important; }
}

/* Timeline */
.timeline-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
}
.timeline-item { text-align: center; position: relative; padding-top: 30px; }
.timeline-item::before {
    content: '';
    position: absolute;
    top: 7px; left: 0; right: 0;
    height: 1px;
    background: var(--gray-light);
}
.timeline-item__year {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 16px;
}
.timeline-item__dot {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 1px var(--gold);
}
.timeline-item__text { font-size: 14px; line-height: 1.6; color: var(--gray); max-width: 220px; margin: 0 auto; }
.entry-content h2 { font-size: 1.8rem; margin-block: 32px 16px; }
.entry-content h3 { font-size: 1.4rem; margin-block: 24px 12px; }
.entry-content p { margin-bottom: 20px; }
.entry-content a { color: var(--gold); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════════ */
.blog-section { background: var(--cream); }
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.post-card { }
.post-card__image-wrap { display: block; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 20px; }
.post-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-luxury); }
.post-card__image-wrap:hover .post-card__image { transform: scale(1.04); }
.post-card__date { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.post-card__title { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 12px; }
.post-card__title a { color: var(--charcoal); }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.post-card__link { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold-light); padding-bottom: 2px; }

/* ═══════════════════════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes wordReveal {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .collections-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer-brand-bar { flex-direction: column; align-items: flex-start; }
    .dress-grid { grid-template-columns: repeat(2, 1fr); }
    .related-dresses .dress-grid { grid-template-columns: repeat(2, 1fr); }
    .dress-single__grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
    .dress-single__gallery {
        position: static;
        grid-template-columns: 1fr;
    }
    .dress-gallery-thumbs {
        flex-direction: row;
        gap: 8px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 6px;
        order: 1;
    }
    .gallery-thumb {
        width: 64px;
        aspect-ratio: 3/4;
    }
    .product-hero { min-height: 55vh; }
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-accent { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { gap: 0; }
    .stat-item { padding: 16px 20px; }
}

@media (max-width: 1380px) {
    .header-phone { display: none; }
    .nav-menu { gap: 12px; }
    .nav-menu li a { font-size: 11px; }
}

@media (max-width: 768px) {
    :root { --space-xl: 60px; --space-2xl: 90px; }

    .primary-nav,
    .header-phone { display: none; }

    .mobile-toggle { display: flex; }

    /* Neutralise backdrop-filter containing block so nav fixed covers viewport */
    .site-header:has(.primary-nav.is-open) {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .primary-nav.is-open {
        display: flex;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--charcoal);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: calc(var(--header-h, 70px) + 20px) 24px 40px;
        overflow-y: auto;
        z-index: 1001;
    }

    /* Gold top border accent */
    .primary-nav.is-open::before {
        content: '';
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        z-index: 1002;
        pointer-events: none;
    }

    .primary-nav.is-open .nav-menu {
        flex-direction: column;
        gap: 0;
        text-align: center;
        width: 100%;
        max-width: 320px;
    }

    .primary-nav.is-open .nav-menu li {
        border-bottom: 1px solid rgba(191,169,128,0.12);
    }
    .primary-nav.is-open .nav-menu li:first-child {
        border-top: 1px solid rgba(191,169,128,0.12);
    }

    .primary-nav.is-open .nav-menu li a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        font-family: var(--font-sans);
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.75);
        font-weight: 400;
        transition: color 0.2s;
    }
    .primary-nav.is-open .nav-menu li a:hover,
    .primary-nav.is-open .nav-menu li a:focus {
        color: var(--gold-light);
    }

    /* Parent item row — flex so chevron sits on right */
    .primary-nav.is-open .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        max-width: 320px;
    }
    .primary-nav.is-open .menu-item-has-children > a {
        flex: 1;
    }

    .mobile-sub-toggle { display: none; }
    .primary-nav.is-open .mobile-sub-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 36px; height: 44px;
        background: none; border: none;
        color: rgba(255,255,255,0.4);
        transition: color 0.2s, transform 0.25s;
        padding: 0;
        cursor: pointer;
    }
    .primary-nav.is-open .menu-item-has-children.sub-is-open > .mobile-sub-toggle {
        color: var(--gold-light);
        transform: rotate(180deg);
    }
    /* Sub-menu takes full width below the flex row */
    .primary-nav.is-open .menu-item-has-children > .sub-menu {
        flex-basis: 100%;
    }

    /* Sub-menus — reset all desktop dropdown styles, go accordion */
    .primary-nav.is-open .sub-menu {
        /* reset desktop */
        position: static !important;
        top: auto !important; left: auto !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border-top: none !important;
        min-width: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: none !important;
        z-index: auto !important;
        /* accordion hidden */
        display: none;
        flex-direction: column;
        padding: 0; margin: 0;
        width: 100%; max-width: 320px;
        list-style: none;
    }
    .primary-nav.is-open .menu-item-has-children.sub-is-open > .sub-menu { display: flex; }
    .primary-nav.is-open .nav-menu li:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
    .primary-nav.is-open .sub-menu li {
        border-top: none !important;
        border-bottom: 1px solid rgba(191,169,128,0.08);
        position: static;
    }
    .primary-nav.is-open .sub-menu li a {
        padding: 10px 0 10px 20px !important;
        font-size: 0.72rem !important;
        letter-spacing: 0.12em !important;
        color: rgba(255,255,255,0.45) !important;
        border-left: none !important;
    }
    .primary-nav.is-open .sub-menu li a:hover {
        color: var(--gold-light) !important;
        background: transparent !important;
        padding-left: 20px !important;
    }

    .btn-appointment { display: none; }
    .mobile-appt-btn {
        display: block;
        margin-top: 28px;
        padding: 13px 40px;
        border: 1px solid rgba(191,169,128,0.45);
        color: rgba(255,255,255,0.7);
        font-family: var(--font-sans);
        font-size: 0.68rem;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        text-align: center;
        text-decoration: none;
        transition: border-color 0.2s, color 0.2s;
    }
    .mobile-appt-btn:hover { border-color: var(--gold); color: var(--gold); }

    .collections-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
    .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
    .testimonials-btn { display: none; }
    .stats-row { flex-wrap: wrap; }
    .stat-item { flex: 0 0 50%; }
    .stat-divider { display: none; }
}

@media (max-width: 480px) {
    .collections-grid { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: 1fr; }
    .gallery-item,
    .gallery-item:nth-child(n) { aspect-ratio: 4/3; }
    .dress-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .related-dresses .dress-grid { grid-template-columns: 1fr 1fr; }
    .appt-form__row { grid-template-columns: 1fr; }
    .chat-widget { bottom: 16px; right: 16px; }

    /* Hero mobile */
    .hero-section { min-height: 100svh; height: 100svh; }
    .hero-content { padding-top: 100px; padding-inline: 24px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.15; }
    .hero-label { margin-bottom: 16px; }
    .hero-subtitle { font-size: 0.9rem; margin-bottom: 32px; }
    .btn-hero { padding: 12px 32px; }

    /* Page hero mobile */
    .page-hero { height: 45vw; min-height: 260px; padding-bottom: 32px; }
    .page-hero__title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .page-hero--minimal { height: 160px; padding-bottom: 24px; }

    /* Product hero mobile */
    .product-hero { min-height: 60vh; }
    .product-hero__title { font-size: clamp(1.8rem, 9vw, 2.6rem); }

    /* Single product mobile */
    .dress-single__grid { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   DRESS CATALOG
═══════════════════════════════════════════════════════════════ */
.page-hero--catalog {
    background: linear-gradient(160deg, #1a1714 0%, #2a2218 100%) !important;
    min-height: 360px;
    height: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-bottom: 72px;
    padding-top: calc(var(--header-h) + 56px);
}
.page-hero--catalog .page-hero__overlay { display: none; }
.page-hero--catalog .container {
    position: relative;
    z-index: 1;
}
.page-hero--catalog .page-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 300;
    color: var(--white) !important;
    letter-spacing: 0.04em;
    margin-top: 10px;
    text-shadow: none;
}
.page-hero--catalog .section-label {
    color: var(--gold);
    opacity: 1;
}

.catalog-section { padding-block: clamp(56px, 7vw, 96px); }

/* ── CATALOG FILTER BAR (client-side JS filtering) ─────── */
.catalog-filter-bar {
    margin-bottom: clamp(36px, 5vw, 56px);
    padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
    background: var(--white);
    border: 1px solid rgba(191,169,128,0.18);
}

.filter-group {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(191,169,128,0.1);
}
.filter-group:last-of-type { border-bottom: none; }

.filter-group__label {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    min-width: 74px;
    padding-top: 7px;
    flex-shrink: 0;
}

.filter-group__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-pill {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border: 1px solid rgba(191,169,128,0.3);
    background: transparent;
    color: var(--charcoal);
    cursor: pointer;
    border-radius: 20px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    line-height: 1.5;
}
.filter-pill:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.filter-pill.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.catalog-filter-bar__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(191,169,128,0.1);
    min-height: 28px;
}
.catalog-filter-count {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--gray);
}
.catalog-filter-clear {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--gold);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}
.catalog-filter-clear:hover { opacity: 0.7; }

/* ── WC PAGINATION ─────────────────────────────────────────── */
.wc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: clamp(40px, 5vw, 64px);
    flex-wrap: wrap;
}
.wc-page-btn {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(191,169,128,0.3);
    background: var(--white);
    color: var(--charcoal);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
}
.wc-page-btn:hover:not(:disabled) {
    border-color: var(--gold);
    color: var(--gold);
}
.wc-page-btn.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    cursor: default;
}
.wc-page-btn:disabled { opacity: 0.3; cursor: default; }
.wc-page-dots {
    font-size: 12px;
    color: var(--gray);
    padding: 0 4px;
    line-height: 36px;
}

/* Card hidden by filter */
.dress-card.is-filtered-out {
    display: none;
}

/* No results message */
.catalog-no-results {
    text-align: center;
    padding: clamp(56px, 8vw, 96px) 0;
}
.catalog-no-results p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 640px) {
    .filter-group {
        flex-direction: column;
        gap: 8px;
    }
    .filter-group__label { padding-top: 0; min-width: auto; }
}

.dress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 3vw, 48px) clamp(12px, 2vw, 32px);
}
@media (min-width: 769px) {
    .dress-grid { grid-template-columns: repeat(3, 1fr); }
}

.dress-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
}
img.dress-card__image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-luxury);
    display: block;
}
.dress-card__image--placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--blush), var(--section-bg));
}
.dress-card__link:hover .dress-card__image { transform: scale(1.04); }

.dress-card__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.5s ease;
}
.dress-card__overlay-btn {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.75);
    padding: 13px 30px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.dress-card__link:hover .dress-card__overlay { background: rgba(0,0,0,0.28); }
.dress-card__link:hover .dress-card__overlay-btn { opacity: 1; transform: translateY(0); }

.dress-card__badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 5px 12px;
}

.dress-card__body {
    padding: clamp(14px, 2vw, 20px) 0 0;
}
.dress-card__designer {
    display: block;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.dress-card__title {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 10px;
    transition: color var(--transition-fast);
    line-height: 1.3;
}
.dress-card__link:hover .dress-card__title { color: var(--gold-dark); }
.dress-card__meta { display: flex; justify-content: space-between; align-items: center; }
.dress-card__code { font-size: 11px; color: var(--gray); }
.dress-card__price {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 400;
    color: var(--charcoal);
    font-style: italic;
}
.dress-card__price--request { color: var(--gold); }

/* Category editorial description */
/* ── CATEGORY EDITORIAL DESCRIPTION ──────────────────────────── */
.cat-editorial {
    background: linear-gradient(180deg, var(--section-bg) 0%, var(--white) 100%);
    padding-block: clamp(56px, 7vw, 88px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cat-editorial__inner {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}
.cat-editorial__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}
.cat-editorial__ornament::before,
.cat-editorial__ornament::after {
    content: '';
    width: 48px; height: 1px;
    background: var(--gold);
    opacity: 0.6;
}
.cat-editorial__ornament span {
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.7;
}
.cat-editorial__body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.95;
    color: #5a5550;
    text-align: left;
}

/* Strip all inline colors and link styles from CMS content */
.cat-editorial__body * {
    color: inherit !important;
    font-family: inherit !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}
.cat-editorial__body a {
    color: var(--charcoal) !important;
    text-decoration: underline;
    text-decoration-color: var(--gold-light);
    text-underline-offset: 3px;
}
.cat-editorial__body a:hover { color: var(--gold) !important; }
.cat-editorial__body strong,
.cat-editorial__body b {
    color: var(--charcoal) !important;
    font-weight: 500 !important;
}
.cat-editorial__body em,
.cat-editorial__body i {
    font-style: italic;
    color: var(--charcoal) !important;
}

.cat-editorial__body p {
    margin-bottom: 1.3em;
    color: #5a5550 !important;
}
.cat-editorial__body p:last-child { margin-bottom: 0; }

.cat-editorial__body h1,
.cat-editorial__body h2,
.cat-editorial__body h3,
.cat-editorial__body h4 {
    font-family: var(--font-serif) !important;
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    font-weight: 400 !important;
    color: var(--charcoal) !important;
    margin: 2em 0 0.6em;
    letter-spacing: 0.02em;
    text-align: center;
}
.cat-editorial__body h1:first-child,
.cat-editorial__body h2:first-child { margin-top: 0; }

/* Emoji list items → clean gold dashes */
.cat-editorial__body ul,
.cat-editorial__body ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.4em !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cat-editorial__body ul li,
.cat-editorial__body ol li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #5a5550 !important;
}
.cat-editorial__body ul li::before,
.cat-editorial__body ol li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold) !important;
    font-size: 12px;
    top: 1px;
}
/* Hide emoji that WordPress inserts (✅ etc) */
.cat-editorial__body li > span:first-child,
.cat-editorial__body li > a:first-child { display: contents; }

/* Horizontal rule */
.cat-editorial__body hr {
    border: none !important;
    border-top: 1px solid rgba(0,0,0,0.08) !important;
    margin: 2em auto !important;
    width: 80px;
}

/* Count chip in hero */
.catalog-hero__count {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 16px;
}

/* Pagination redesign */
.catalog-pagination {
    margin-top: clamp(64px, 8vw, 96px);
}
.catalog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
/* .page-numbers IS the link/span itself — no children */
.catalog-pagination .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid rgba(0,0,0,0.1);
    margin-left: -1px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--gray);
    background: transparent;
    transition: var(--transition-fast);
    text-decoration: none;
    position: relative;
}
.catalog-pagination .nav-links .page-numbers:hover {
    border-color: var(--charcoal);
    color: var(--charcoal);
    z-index: 1;
}
.catalog-pagination .nav-links .page-numbers.current {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
    z-index: 2;
}
.catalog-pagination .nav-links .page-numbers.dots {
    border-color: transparent;
    color: var(--gray-light);
    pointer-events: none;
    min-width: 32px;
}
.catalog-pagination .nav-links .prev,
.catalog-pagination .nav-links .next {
    color: var(--charcoal);
    min-width: 44px;
}

/* ═══════════════════════════════════════════════════════════════
   INSTAGRAM SECTION
═══════════════════════════════════════════════════════════════ */
.instagram-section {
    background: var(--charcoal);
    padding-block: clamp(56px, 7vw, 96px);
    text-align: center;
    overflow: hidden;
}
.instagram-section__header { margin-bottom: clamp(32px, 4vw, 52px); }
.instagram-section__title-link {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.instagram-section__title-link .section-label { color: rgba(255,255,255,0.45); }
.instagram-section__title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 300;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}
.instagram-section__title-link:hover .instagram-section__title { color: var(--gold); }
.instagram-icon { flex-shrink: 0; color: currentColor; }

.instagram-grid,
.instagram-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
    margin-bottom: clamp(32px, 4vw, 52px);
}
.instagram-tile {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
    background: #2a2218;
}
.instagram-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: transform 0.6s ease, filter 0.4s ease;
}
.instagram-tile:hover .instagram-tile__img {
    transform: scale(1.06);
    filter: grayscale(0%);
}
.instagram-tile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,8,6,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
}
.instagram-tile:hover .instagram-tile__overlay { opacity: 1; }
.instagram-tile--empty {
    background: linear-gradient(135deg, #1e1b17 0%, #2a2218 100%);
    border: 1px solid rgba(255,255,255,0.04);
    cursor: pointer;
}
.instagram-tile--empty .instagram-tile__overlay {
    opacity: 1;
    background: transparent;
    color: rgba(255,255,255,0.15);
}
/* ── Smash Balloon Instagram Feed plugin overrides ── */
.instagram-feed-wrap { width: 100%; }

/* Hide plugin header, follow button, load more everywhere in our sections */
.instagram-section .sbi_header,
.instagram-section .sbi_follow_btn,
.instagram-section #sbi_load,
.instagram-section .sbi_load_btn_box,
.instagram-page-feed .sbi_header,
.instagram-page-feed .sbi_follow_btn { display: none !important; }

/* Transparent background */
.instagram-section #sb_instagram,
.instagram-section .sbi_photo_wrap,
.instagram-page-feed #sb_instagram { background: transparent !important; }

/* Homepage: 6-column edge-to-edge strip */
.instagram-section #sb_instagram { padding: 0 !important; }
.instagram-section #sb_instagram .sbi_inner { padding: 0 !important; }
.instagram-section #sb_instagram .sbi_item {
    width: calc(100% / 6) !important;
    padding: 1.5px !important;
}
.instagram-section #sb_instagram .sbi_photo img {
    filter: grayscale(15%);
    transition: transform 0.5s ease, filter 0.4s ease !important;
}
.instagram-section #sb_instagram .sbi_item:hover .sbi_photo img {
    transform: scale(1.06) !important;
    filter: grayscale(0%) !important;
}
@media (max-width: 768px) {
    .instagram-section #sb_instagram .sbi_item { width: 33.333% !important; }
    .instagram-section #sb_instagram .sbi_item:nth-child(n+4) { display: none !important; }
}

/* Instagram page: clean 4-column grid */
.instagram-page-section { background: var(--cream); }
.instagram-page-feed #sb_instagram { padding: 0 !important; }
.instagram-page-feed #sb_instagram .sbi_inner { padding: 0 !important; }
.instagram-page-feed #sb_instagram .sbi_item {
    padding: 3px !important;
    transition: transform 0.3s ease !important;
}
.instagram-page-feed #sb_instagram .sbi_item:hover { transform: scale(0.98); z-index: 1; }
.instagram-page-feed #sb_instagram .sbi_photo img {
    transition: opacity 0.3s ease !important;
}
.instagram-page-feed #sb_instagram .sbi_item:hover .sbi_photo img { opacity: 0.85 !important; }

/* Instagram page fallback grid (when plugin not connected) */
.instagram-page-grid-fallback {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 24px;
}
.instagram-page-tile {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
    background: var(--section-bg);
}
.instagram-page-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.instagram-page-tile:hover img { transform: scale(1.05); }
.instagram-page-tile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,8,6,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s;
}
.instagram-page-tile:hover .instagram-page-tile__overlay { opacity: 1; }
.instagram-page-connect-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    margin-top: 16px;
}
@media (max-width: 768px) {
    .instagram-page-grid-fallback { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .instagram-page-grid-fallback { grid-template-columns: repeat(2, 1fr); }
}

.instagram-section__cta { margin-top: 8px; }
.instagram-section__cta .btn-outline-dark {
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}
.instagram-section__cta .btn-outline-dark:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}
@media (max-width: 768px) {
    .instagram-grid,
    .instagram-placeholder-grid { grid-template-columns: repeat(3, 1fr); }
    .instagram-grid .instagram-tile:nth-child(n+4),
    .instagram-placeholder-grid .instagram-tile:nth-child(n+4) { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   BLOG ARCHIVE PAGE
═══════════════════════════════════════════════════════════════ */
.blog-archive-section { background: var(--cream); }

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 36px);
    margin-bottom: clamp(40px, 5vw, 64px);
}

.blog-archive-card {
    background: var(--white);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}
.blog-archive-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.blog-archive-card__image-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}
.blog-archive-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.blog-archive-card:hover .blog-archive-card__image { transform: scale(1.04); }
.blog-archive-card__image--placeholder {
    background: linear-gradient(135deg, #f0ebe4 0%, #e4dcd2 100%);
    width: 100%;
    height: 100%;
}
.blog-archive-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,8,6,0.4) 0%, transparent 45%);
}
.blog-archive-card__cat {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gold);
    padding: 4px 10px;
}
.blog-archive-card__body {
    padding: clamp(20px, 2.5vw, 28px);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.blog-archive-card__date {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-light);
}
.blog-archive-card__title {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.35;
}
.blog-archive-card__excerpt {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.65;
    flex: 1;
}
.blog-archive-card__read {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
    transition: letter-spacing 0.2s;
}
.blog-archive-card:hover .blog-archive-card__read { letter-spacing: 0.22em; }

/* paginate_links outputs <a> and <span> directly (no .nav-links wrapper) */
.blog-archive-section .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid rgba(0,0,0,0.1);
    margin-left: -1px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}
.blog-archive-section .page-numbers:hover { border-color: var(--charcoal); color: var(--charcoal); z-index: 1; }
.blog-archive-section .page-numbers.current { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); z-index: 2; }
.blog-archive-section .page-numbers.dots { border-color: transparent; pointer-events: none; min-width: 32px; }
.blog-archive-section .page-numbers.prev,
.blog-archive-section .page-numbers.next { color: var(--charcoal); }
.blog-archive-section nav.pagination,
.blog-archive-section div.pagination {
    display: flex;
    justify-content: center;
    margin-top: clamp(48px, 6vw, 80px);
}

@media (max-width: 900px) {
    .blog-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .blog-archive-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   BLOG PREVIEW SECTION
═══════════════════════════════════════════════════════════════ */
.blog-preview-section { background: var(--section-bg); }

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 36px);
    margin-top: clamp(40px, 5vw, 64px);
}

.blog-preview-card {
    background: var(--white);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}
.blog-preview-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.blog-preview-card__image-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.blog-preview-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.blog-preview-card:hover .blog-preview-card__image { transform: scale(1.04); }
.blog-preview-card__image--placeholder {
    background: linear-gradient(135deg, #f0ebe4 0%, #e4dcd2 100%);
    width: 100%;
    height: 100%;
}
.blog-preview-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,8,6,0.35) 0%, transparent 50%);
}
.blog-preview-card__cat {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gold);
    padding: 4px 10px;
}
.blog-preview-card__body {
    padding: clamp(20px, 2.5vw, 28px);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.blog-preview-card__date {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-light);
}
.blog-preview-card__title {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.35;
}
.blog-preview-card__excerpt {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.65;
    flex: 1;
}
.blog-preview-card__read {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 4px;
    transition: letter-spacing 0.2s;
}
.blog-preview-card:hover .blog-preview-card__read { letter-spacing: 0.22em; }

@media (max-width: 900px) {
    .blog-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-preview-grid .blog-preview-card:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
    .blog-preview-grid { grid-template-columns: 1fr; }
    .blog-preview-grid .blog-preview-card:nth-child(3) { display: block; }
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════════════════════ */

/* Reading progress bar — thin gold line under main header */
.post-progress-bar {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    z-index: 1001;
    transition: width 0.08s linear, top 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

/* Sticky reading header — hidden, only progress bar shown */
.post-sticky-header { display: none; }

/* Hero */
.post-hero {
    position: relative;
    height: clamp(480px, 72vh, 780px);
    background: var(--charcoal) center/cover no-repeat;
    display: flex;
    align-items: flex-end;
}
.post-hero--catalog {
    background: var(--charcoal);
    height: clamp(300px, 42vh, 480px);
    align-items: center;
}
.post-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,8,6,0.18) 0%,
        rgba(10,8,6,0.55) 60%,
        rgba(10,8,6,0.82) 100%
    );
}
.post-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 60px);
    text-align: center;
}
.post-hero--catalog .post-hero__content {
    padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 60px);
}
.post-hero__cat {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(191,169,128,0.5);
    padding: 5px 16px;
    border-radius: 2px;
    margin-bottom: clamp(16px, 2.5vw, 28px);
    text-decoration: none;
    transition: var(--transition-fast);
}
.post-hero__cat:hover { background: rgba(191,169,128,0.15); }
.post-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 4.5vw, 3.6rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 0 0 clamp(16px, 2.5vw, 28px);
}
.post-hero__meta {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.post-hero__dot { color: var(--gold); }

/* Article */
.post-layout {
    background: var(--cream);
    padding: clamp(56px, 7vw, 100px) clamp(20px, 4vw, 40px);
}
.post-body {
    max-width: 900px;
    margin: 0 auto;
}
.post-body__inner { }

/* Drop cap on first paragraph */
.post-body__inner > p:first-of-type::first-letter {
    float: left;
    font-family: var(--font-serif);
    font-size: 4.2em;
    line-height: 0.82;
    padding: 0.04em 0.12em 0 0;
    color: var(--gold);
    font-weight: 300;
}

/* Tags row */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: clamp(24px, 3vw, 40px);
    border-top: 1px solid rgba(0,0,0,0.1);
}
.post-tag {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray);
    padding: 5px 12px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 2px;
    text-decoration: none;
    transition: var(--transition-fast);
}
.post-tag:hover { border-color: var(--gold); color: var(--gold); }

/* End CTA */
.post-end-cta {
    text-align: center;
    margin-top: clamp(48px, 6vw, 80px);
    padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px);
    border: 1px solid rgba(191,169,128,0.3);
    background: rgba(191,169,128,0.04);
}
.post-end-cta__ornament {
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 0.3em;
    margin-bottom: 16px;
}
.post-end-cta__text {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-style: italic;
    color: var(--charcoal);
    margin: 0 0 24px;
}

/* Related posts */
.related-posts-section {
    background: var(--white);
    padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 40px);
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 36px);
    margin-top: clamp(40px, 5vw, 56px);
}
@media (max-width: 900px) {
    .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .related-posts-grid { grid-template-columns: 1fr; }
    .post-hero__title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
    .post-body__inner > p:first-of-type::first-letter { font-size: 4em; }
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════════════════ */
.search-hero__form {
    display: flex;
    align-items: center;
    max-width: 520px;
    margin: 28px auto 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 2px;
    overflow: hidden;
    backdrop-filter: blur(6px);
}
.search-hero__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: #fff;
}
.search-hero__input::placeholder { color: rgba(255,255,255,0.45); }
.search-hero__btn {
    background: none;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.18);
    padding: 0 18px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: color 0.2s;
}
.search-hero__btn:hover { color: var(--gold); }

/* Non-product search result card */
.search-post-card {
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-fast);
}
.search-post-card:hover { border-color: var(--charcoal); }
.search-post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.search-post-card__thumb { aspect-ratio: 3/4; overflow: hidden; }
.search-post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.search-post-card:hover .search-post-card__img { transform: scale(1.04); }
.search-post-card__body { padding: 20px; flex: 1; }
.search-post-card__type {
    display: block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.search-post-card__title {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 10px;
    line-height: 1.35;
}
.search-post-card__excerpt {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

/* Empty search state */
.search-empty {
    text-align: center;
    padding: clamp(60px, 10vw, 120px) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.search-empty svg { color: var(--gray-light); margin-bottom: 8px; }
.search-empty h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--charcoal);
}
.search-empty p { color: var(--gray); margin-bottom: 8px; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE DRESS
═══════════════════════════════════════════════════════════════ */
.breadcrumb-bar {
    background: var(--section-bg);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-block: 14px;
}
/* пътечка точно под хедъра (без заглавна снимка) */
.breadcrumb-bar--gore { margin-top: var(--header-h); }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--gray);
    flex-wrap: wrap;
    min-width: 0;
}
.breadcrumb a { color: var(--gray); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gray-light); font-size: 10px; }
.breadcrumb li[aria-current] { color: var(--charcoal); }
/* дългите заглавия — на един ред с многоточие, без хоризонтално превъртане */
.breadcrumb li { min-width: 0; overflow-wrap: anywhere; }
.breadcrumb .breadcrumb__tuk {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── PRODUCT HERO ──────────────────────────────────────────────── */
.product-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}
.product-hero--no-image {
    min-height: 340px;
    align-items: center;
    background: linear-gradient(135deg, #1a1714 0%, #2c2620 100%);
}
.product-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,8,6,0.88) 0%,
        rgba(10,8,6,0.35) 55%,
        rgba(10,8,6,0.55) 100%
    );
}
.product-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 80px);
}
.product-hero__eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.product-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
    margin: 0 auto;
    max-width: 900px;
    letter-spacing: 0.02em;
}
.product-hero__sku {
    display: block;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-top: 16px;
}

/* ── SINGLE PRODUCT LAYOUT ─────────────────────────────────────── */
.dress-single {
    padding-block: clamp(64px, 7vw, 100px);
    background: var(--white);
}

.dress-single__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

/* Gallery — vertical thumb strip left + main image right */
.dress-single__gallery {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 10px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-items: start;
}

/* Thumbnail strip — vertical column on the left */
.dress-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: calc(100vh - var(--header-h) - 48px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-light) transparent;
    padding-right: 2px;
    order: -1;
}
.dress-gallery-thumbs::-webkit-scrollbar { width: 2px; }
.dress-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--gold-light); }

.gallery-thumb {
    width: 76px;
    aspect-ratio: 3/4;
    flex-shrink: 0;
    overflow: hidden;
    border: 1.5px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color var(--transition-fast);
    display: block;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.is-active { border-color: var(--gold); }
.gallery-thumb:hover:not(.is-active) { border-color: rgba(180,150,100,0.45); }

/* Main image */
.dress-gallery-main { position: relative; overflow: hidden; }
.dress-gallery-main__link { display: block; }
.dress-gallery-main__img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}
.dress-gallery-main__img.is-loading { opacity: 0.55; }
.dress-gallery-main__zoom {
    position: absolute;
    bottom: 20px; right: 20px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-fast);
    color: var(--charcoal);
    backdrop-filter: blur(4px);
}
.dress-gallery-main__link:hover .dress-gallery-main__zoom { opacity: 1; }

/* Info */
.dress-single__info {
    display: flex;
    flex-direction: column;
}
.dress-single__info-inner {
    padding-top: clamp(16px, 3vw, 32px);
    padding-left: clamp(0px, 2vw, 24px);
}
.dress-single__price {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 2.5vw, 2.4rem);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.dress-single__price--request {
    color: var(--gold);
    font-style: italic;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
}
.dress-single__price .woocommerce-Price-amount { color: inherit; }

.dress-single__divider {
    width: 56px; height: 1px;
    background: var(--gold);
    margin-top: clamp(28px, 3vw, 40px);
    margin-bottom: clamp(20px, 2.5vw, 32px);
}

.dress-single__excerpt {
    font-size: 15px;
    line-height: 2;
    color: #5a5550;
    margin-bottom: clamp(28px, 3vw, 40px);
    font-weight: 300;
    max-width: 480px;
}
.dress-single__content {
    font-size: 14px;
    line-height: 2;
    color: #5a5550;
    margin-bottom: clamp(28px, 3vw, 40px);
}
.dress-single__content p {
    margin-bottom: 1.4em;
}
.dress-single__content p:last-child { margin-bottom: 0; }
.dress-single__content h2,
.dress-single__content h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-top: 2em;
    margin-bottom: 0.6em;
    letter-spacing: 0.03em;
}
.dress-single__content ul,
.dress-single__content ol {
    padding-left: 1.2em;
    margin-bottom: 1.2em;
}
.dress-single__content li {
    margin-bottom: 0.5em;
}

.dress-specs {
    display: flex;
    flex-direction: column;
    margin-top: clamp(20px, 2.5vw, 32px);
    margin-bottom: clamp(12px, 1.5vw, 20px);
    border-top: 1px solid rgba(0,0,0,0.07);
}
.dress-spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.dress-spec__label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray);
}
.dress-spec__value {
    font-size: 14px;
    color: var(--charcoal);
    text-align: right;
    max-width: 60%;
}

.dress-single__no-return {
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--gray, #888);
    line-height: 1.6;
    margin: 0 0 20px;
    padding: 12px 14px;
    border-left: 3px solid var(--gold);
    background: rgba(0,0,0,0.03);
}

.dress-single__terms-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dress-single__terms-link:hover {
    text-decoration: none;
}

.dress-single__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* WhatsApp + Viber inquiry row */
.dress-single__inquiry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dress-inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid;
    transition: var(--transition-fast);
}

.dress-inquiry-btn--wa {
    color: #128C7E;
    border-color: #128C7E;
    background: transparent;
}
.dress-inquiry-btn--wa:hover {
    background: #128C7E;
    color: #fff;
}

.dress-inquiry-btn--vb {
    color: #7360f2;
    border-color: #7360f2;
    background: transparent;
}
.dress-inquiry-btn--vb:hover {
    background: #7360f2;
    color: #fff;
}

.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 40px;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: var(--transition-mid);
    text-decoration: none;
    gap: 8px;
}
.btn-primary-gold:hover {
    background: transparent;
    color: var(--gold);
}
.btn-full { width: 100%; }

/* Product inquiry buttons */
.product-inquiry-btns {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.product-inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    font-weight: 500;
}
.product-inquiry-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.product-inquiry-btn--wa {
    background: #25D366;
    color: #fff;
}
.product-inquiry-btn--vb {
    background: #665CAC;
    color: #fff;
}
@media (max-width: 480px) {
    .product-inquiry-btns { flex-direction: column; }
}

/* ── Quantity Stepper ─────────────────────────────────────── */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    border: 1px solid rgba(28,28,28,0.18);
    border-radius: 2px;
    overflow: hidden;
    height: 42px;
    margin-bottom: 16px;
}
.qty-stepper__btn {
    width: 36px;
    height: 100%;
    background: transparent;
    border: none;
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-stepper__btn:hover { background: rgba(28,28,28,0.07); color: var(--charcoal); }
.qty-stepper__input {
    width: 44px;
    height: 100%;
    border: none;
    border-left: 1px solid rgba(28,28,28,0.12);
    border-right: 1px solid rgba(28,28,28,0.12);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
    background: transparent;
    -moz-appearance: textfield;
    outline: none;
}
.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── Single product WC add-to-cart form (accessories / priced products) ── */
.dress-single__ctas .cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* "Добавяне в количката" — gold; only for priced (non-dress) products */
.dress-single__ctas .single_add_to_cart_button.button,
.dress-single__ctas button[type="submit"].button:not(.btn-buy-now) {
    display: block !important;
    width: 100% !important;
    background: var(--gold) !important;
    color: var(--cream) !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--font-sans) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    padding: 17px 32px !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    height: auto !important;
}
.dress-single__ctas .single_add_to_cart_button.button:hover,
.dress-single__ctas button[type="submit"].button:not(.btn-buy-now):hover {
    opacity: 0.85 !important;
}

/* WC quantity input — hide it, keep only our custom stepper */
.dress-single__ctas .cart > .quantity { display: none !important; }

/* Variation selector table (variable products) */
.dress-single__ctas .variations {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin-bottom: 12px;
}
.dress-single__ctas .variations td,
.dress-single__ctas .variations th {
    padding: 0 0 12px;
    border: none;
    vertical-align: middle;
}
.dress-single__ctas .variations td:first-child { padding-right: 14px; width: 80px; }
.dress-single__ctas .variations label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(28,28,28,0.5);
    white-space: nowrap;
    margin: 0;
}
.dress-single__ctas .variations select {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid rgba(28,28,28,0.2);
    border-radius: 2px;
    padding: 10px 12px;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231c1c1c' opacity='.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.dress-single__ctas .variations select:focus { border-color: var(--gold); }
.dress-single__ctas .reset_variations {
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(28,28,28,0.4);
    text-decoration: none;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 8px;
}
.dress-single__ctas .reset_variations:hover { color: var(--gold); }

/* ── Купи сега button ─────────────────────────────────────── */
.btn-buy-now {
    display: block;
    width: 100%;
    margin-top: 0;
    padding: 17px 32px;
    background: var(--charcoal);
    color: var(--cream);
    border: 1px solid var(--charcoal);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1;
}
.btn-buy-now:hover {
    background: transparent;
    color: var(--charcoal);
}

/* Sale badge — gold instead of WC green */
.product-hero .onsale, .dress-single .onsale, span.onsale {
    background: var(--gold) !important;
    color: var(--cream) !important;
    font-family: var(--font-sans) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border-radius: 2px !important;
    padding: 4px 9px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
}

/* Hide WC default product meta — we show our own specs list */
.dress-single .product_meta { display: none !important; }

/* Hide WC gallery zoom trigger — we have our own */
.dress-single .woocommerce-product-gallery__trigger { display: none !important; }

/* Gallery grid: if only main image (no thumbs) → span both columns */
.dress-gallery-main:only-child { grid-column: 1 / -1; }

/* ── Dual currency price display ─────────────────────────── */
.ab-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
}
.ab-price-eur {
    font-family: var(--font-serif);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: 0.01em;
}
.ab-price-eur__old {
    font-size: 0.72em;
    color: rgba(40,35,30,0.35);
    text-decoration: line-through;
    margin-right: 6px;
}
.ab-price-eur__sale { color: var(--charcoal); text-decoration: none; }
.ab-price-bgn {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    color: rgba(40,35,30,0.5);
    letter-spacing: 0.03em;
}
.ab-price-bgn del { color: rgba(40,35,30,0.3); margin-right: 4px; }

/* Price on request — dress products */
.price-on-request {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    font-style: italic;
    color: var(--gray, #888);
    letter-spacing: 0.02em;
    padding: 10px 0 4px;
}

.btn-whatsapp-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: transparent;
    color: var(--charcoal);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border: 1px solid rgba(0,0,0,0.18);
    transition: var(--transition-fast);
    text-decoration: none;
}
.btn-whatsapp-inline:hover {
    border-color: #25D366;
    color: #25D366;
}

/* Appointment Modal */
.appt-modal {
    position: fixed; inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 20px;
}
.appt-modal.is-open { opacity: 1; pointer-events: all; }

.appt-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.appt-modal__box {
    position: relative;
    z-index: 1;
    background: var(--white);
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: clamp(32px, 5vw, 56px);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s var(--ease-out);
}
.appt-modal.is-open .appt-modal__box { transform: translateY(0) scale(1); }

.appt-modal__close {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 24px;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}
.appt-modal__close:hover { color: var(--charcoal); }

.appt-modal__title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 6px;
    margin-top: 8px;
}
.appt-modal__subtitle {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Appointment Form */
.appt-form { display: flex; flex-direction: column; gap: 16px; }
.appt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.appt-form__field { display: flex; flex-direction: column; gap: 6px; }
.appt-form__field--full { grid-column: 1 / -1; }
.appt-form__field label { font-size: 10px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); }
.appt-form__field input,
.appt-form__field textarea {
    border: 1px solid var(--gray-light);
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
    background: var(--cream);
    outline: none;
    transition: border-color var(--transition-fast);
    width: 100%;
    border-radius: 0;
}
.appt-form__field input:focus,
.appt-form__field textarea:focus { border-color: var(--gold); }
.appt-form__field textarea { resize: vertical; min-height: 80px; }
.appt-form__submit { margin-top: 8px; }

.appt-form__msg {
    padding: 14px 16px;
    font-size: 13px;
    border-radius: 0;
    text-align: center;
    margin-top: 8px;
}
.appt-form__msg.success { background: #f0faf4; color: #2d7a4f; border: 1px solid #a8d5b5; }
.appt-form__msg.error   { background: #fdf2f2; color: #c0392b; border: 1px solid #f0a0a0; }

/* Related dresses */
.related-dresses .dress-grid { grid-template-columns: repeat(4, 1fr); }

/* ═══════════════════════════════════════════════════════════════
   CHAT WIDGET — чат бот (inc/chat.php, assets/js/chat.js)
═══════════════════════════════════════════════════════════════ */
.chat-widget {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 8000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: var(--font-sans);
}

.chat-toggle {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(191,169,128,0.45);
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}
.chat-toggle:hover {
    transform: scale(1.08);
    background: var(--gold-dark);
    box-shadow: 0 6px 28px rgba(191,169,128,0.55);
}
.chat-toggle:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 3px; }
.chat-toggle.is-open { background: var(--charcoal); }
.chat-icon-close { display: none; }
.chat-toggle.is-open .chat-icon-open  { display: none; }
.chat-toggle.is-open .chat-icon-close { display: block; }

/* ── Менюто над бутона: Viber, WhatsApp, Чат (като досегашния Chaty) ── */
.chat-meni {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-right: 5px;
    animation: chatMeniIn 0.2s var(--ease-out) both;
}
.chat-meni[hidden] { display: none; }
.chat-meni__el {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
}
.chat-meni__ime {
    background: var(--white);
    color: var(--charcoal);
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 6px 12px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    white-space: nowrap;
}
.chat-meni__ikona {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
    transition: transform var(--transition-fast);
}
.chat-meni__el:hover .chat-meni__ikona { transform: scale(1.08); }
.chat-meni__el:focus-visible { outline: none; }
.chat-meni__el:focus-visible .chat-meni__ikona { outline: 2px solid var(--charcoal); outline-offset: 3px; }
.chat-meni__el--viber    .chat-meni__ikona { background: #7360f2; }
.chat-meni__el--whatsapp .chat-meni__ikona { background: #25D366; }
.chat-meni__el--chat     .chat-meni__ikona { background: var(--gold); }
@keyframes chatMeniIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .chat-meni { animation: none; } }

.chat-bubble {
    background: var(--white);
    color: var(--charcoal);
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 20px 20px 4px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    white-space: nowrap;
    animation: bubbleIn 0.5s var(--ease-out) 1.5s both;
    cursor: default;
}

@keyframes bubbleIn {
    from { opacity: 0; transform: translateX(12px) scale(0.9); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

.chat-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ── Прозорецът ── */
.chat-panel {
    width: 370px;
    height: min(600px, calc(100vh - 130px));
    background: var(--white);
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(10px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
    opacity: 0;
}
.chat-panel[hidden] { display: none; }
.chat-panel.is-open { opacity: 1; transform: none; }

.chat-glava {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 18px;
    background: var(--charcoal);
    color: var(--white);
    flex-shrink: 0;
}
.chat-glava__znak {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 16px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.chat-glava__tekst { flex: 1; min-width: 0; }
.chat-glava__ime {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    color: var(--white);
}
.chat-glava__sast {
    margin: 3px 0 0;
    font-size: 11.5px;
    color: rgba(255,255,255,0.7);
    line-height: 1.35;
}
.chat-glava__sast::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gray);
    margin-right: 6px;
    vertical-align: 1px;
}
.chat-glava__sast.is-otvoreno::before { background: #5cb85c; }
.chat-glava__zatvori {
    width: 36px; height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.chat-glava__zatvori:hover { background: rgba(255,255,255,0.12); }
.chat-glava__zatvori:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ── Разговорът ── */
.chat-log {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px 8px;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    gap: 10px;
    overscroll-behavior: contain;
}
.chat-log:focus { outline: none; }
.chat-msg {
    max-width: 86%;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--charcoal);
    word-wrap: break-word;
    animation: chatMsgIn 0.25s var(--ease-out);
}
.chat-msg p { margin: 0 0 6px; }
.chat-msg p:last-child { margin-bottom: 0; }
.chat-msg ul, .chat-msg ol { margin: 4px 0 6px 18px; padding: 0; }
.chat-msg a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.chat-msg--bot {
    align-self: flex-start;
    background: var(--white);
    border-radius: 4px 14px 14px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.chat-msg--az {
    align-self: flex-end;
    background: var(--gold);
    color: var(--white);
    border-radius: 14px 4px 14px 14px;
}
.chat-msg--pishe { display: flex; gap: 4px; padding: 14px; }
.chat-msg--pishe span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold-light);
    animation: chatPishe 1s infinite ease-in-out;
}
.chat-msg--pishe span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg--pishe span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatMsgIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}
@keyframes chatPishe {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40%           { transform: translateY(-4px); opacity: 1; }
}

/* Каналите в балончето „Говорете с човек“ */
.chat-kanali { margin: 10px -6px -4px; display: flex; flex-direction: column; }
.chat-msg .chat-channel { text-decoration: none; }

.chat-channel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 6px;
    text-decoration: none;
    border-radius: 8px;
    transition: background var(--transition-fast);
}
.chat-channel:hover { background: var(--cream); }
.chat-channel__icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}
.chat-channel--whatsapp .chat-channel__icon { background: #25D366; }
.chat-channel--viber    .chat-channel__icon { background: #7360f2; }
.chat-channel--phone    .chat-channel__icon { background: var(--charcoal); }
.chat-channel--email    .chat-channel__icon { background: var(--gold-dark); }
.chat-channel__name {
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--charcoal);
}
.chat-channel__sub {
    display: block;
    font-size: 11.5px;
    color: var(--gray);
}

/* ── Бързите отговори ── */
.chat-izbor {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 16px 12px;
    background: var(--cream);
    max-height: 42%;
    overflow-y: auto;
    flex-shrink: 0;
}
.chat-izbor:empty { display: none; }
.chat-chip {
    font-family: var(--font-sans);
    font-size: 12.5px;
    line-height: 1.3;
    text-align: left;
    padding: 7px 12px;
    border: 1px solid var(--gold);
    border-radius: 16px;
    background: var(--white);
    color: var(--charcoal);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.chat-chip:hover { background: var(--gold); color: var(--white); }
.chat-chip:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.chat-chip--vtori { border-color: var(--border); color: var(--gray); }
.chat-chip--vtori:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

/* ── Полето за въпрос ── */
.chat-vhod {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    background: var(--white);
    flex-shrink: 0;
}
.chat-vhod[hidden], .chat-log[hidden], .chat-izbor[hidden], .chat-forma[hidden] { display: none; }
.chat-vhod input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 9px 14px;
    font-family: var(--font-sans);
    font-size: 16px; /* под 16px iOS приближава страницата */
    color: var(--charcoal);
    background: var(--white);
}
.chat-vhod input:focus { outline: none; border-color: var(--gold); }
.chat-vhod__izprati {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.chat-vhod__izprati:hover { background: var(--gold-dark); }
.chat-vhod__izprati:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }

/* ── Офлайн формата ── */
.chat-forma {
    flex: 1;
    overflow-y: auto;
    padding: 18px 18px 16px;
    background: var(--white);
}
.chat-forma__zaglavie {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 4px;
    color: var(--charcoal);
}
.chat-forma__zaglavie:focus { outline: none; }
.chat-forma__pod { font-size: 12.5px; color: var(--gray); margin: 0 0 14px; }
.chat-forma__red { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chat-forma__pole { margin-bottom: 10px; display: flex; flex-direction: column; }
.chat-forma__pole label {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 4px;
}
.chat-forma__pole input,
.chat-forma__pole textarea {
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 9px 10px;
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--charcoal);
    background: var(--white);
    width: 100%;
}
.chat-forma__pole textarea { resize: vertical; min-height: 84px; }
.chat-forma__pole input:focus,
.chat-forma__pole textarea:focus { outline: none; border-color: var(--gold); }
.chat-forma [aria-invalid="true"] { border-color: #b3261e; }
.chat-forma__belezhka { font-size: 11.5px; color: var(--gray); margin: -4px 0 10px; }
.chat-forma__kapan { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chat-forma__soglasie {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text);
    margin: 4px 0 8px;
    cursor: pointer;
}
.chat-forma__soglasie input { margin-top: 2px; accent-color: var(--gold-dark); width: 16px; height: 16px; flex-shrink: 0; }
.chat-forma__soglasie > span { flex: 1; }
.chat-forma__soglasie a { color: var(--gold-dark); }
.chat-forma__greshka { display: block; flex: 0 0 100%; font-size: 11.5px; color: #b3261e; margin-top: 4px; }
.chat-forma__status { font-size: 12.5px; color: #b3261e; min-height: 1em; margin: 0 0 8px; }
.chat-forma__butoni { display: flex; gap: 8px; justify-content: flex-end; }
.chat-forma__nazad,
.chat-forma__izprati {
    font-family: var(--font-sans);
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 11px 18px;
    border-radius: 2px;
    cursor: pointer;
}
.chat-forma__nazad { background: transparent; border: 1px solid var(--border); color: var(--charcoal); }
.chat-forma__izprati { background: var(--gold); border: 1px solid var(--gold); color: var(--white); }
.chat-forma__izprati:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.chat-forma__izprati:disabled { opacity: 0.6; cursor: default; }
.chat-forma button:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }

/* ── Телефон: на цял екран ── */
@media (max-width: 600px) {
    .chat-panel {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        border-radius: 0;
        transform: translateY(16px);
    }
    .chat-otvoren, .chat-otvoren body { overflow: hidden; }
    .chat-otvoren .chat-toggle, .chat-otvoren .chat-bubble { display: none; }
    .chat-forma__red { grid-template-columns: 1fr; gap: 0; }
    .chat-msg { max-width: 90%; }
}

@media (prefers-reduced-motion: reduce) {
    .chat-panel, .chat-msg { transition: none; animation: none; }
    .chat-msg--pishe span { animation: none; }
}

/* ── SEARCH ─────────────────────────────────────────────────── */
.header-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    color: rgba(255,255,255,0.8);
    transition: color var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.site-header.is-scrolled .header-search-toggle { color: var(--charcoal); }
.header-search-toggle:hover { color: var(--gold) !important; }

.search-drawer {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(250,248,245,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0,0,0,0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-luxury), opacity 0.3s ease;
    opacity: 0;
    z-index: 998;
}
.search-drawer.is-open {
    max-height: 120px;
    opacity: 1;
}

.search-drawer__inner {
    padding: 24px clamp(20px, 4vw, 60px);
}

.search-drawer__form {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1px solid var(--charcoal);
    max-width: 600px;
    margin-inline: auto;
}

.search-drawer__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--charcoal);
    padding: 8px 0;
    letter-spacing: 0.02em;
}
.search-drawer__input::placeholder { color: var(--gray-light); }

.search-drawer__submit {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: 8px;
    transition: color var(--transition-fast);
}
.search-drawer__submit:hover { color: var(--gold); }

/* ── Utilities ─────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-scroll { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   HEADER CART ICON
═══════════════════════════════════════════════════════════════ */
.header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}
.header-cart:hover { color: var(--gold); }
.site-header.is-scrolled .header-cart { color: var(--charcoal); }
.site-header.is-scrolled .header-cart:hover { color: var(--gold); }
.header-cart svg { display: block; }
.header-cart__count {
    position: absolute;
    top: 2px;
    right: 1px;
    background: var(--gold);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    letter-spacing: 0;
}
.header-cart__count.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE NOTICES
═══════════════════════════════════════════════════════════════ */
.woocommerce-notices-wrapper { max-width: var(--container); margin: 0 auto; padding: 24px var(--gutter) 0; }
.woocommerce-notices-wrapper:empty { display: none; }

.woocommerce-message,
.woocommerce-info {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 14px 20px !important;
    margin: 0 0 8px !important;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--charcoal);
    background: #fff !important;
    border: none !important;
    border-left: 3px solid var(--gold) !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05) !important;
    list-style: none;
    position: relative;
}
.woocommerce-message::before,
.woocommerce-info::before { display: none !important; }

/* Dismiss X button (injected by JS) — sits directly next to "Преглед" button */
.ab-notice-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(28,28,28,0.25);
    font-size: 20px;
    line-height: 1;
    padding: 0;
    margin-left: 8px;
    transition: color 0.2s;
}
.ab-notice-close:hover { color: var(--charcoal); }
.woocommerce-error { list-style: none; padding-left: 0; margin: 0 0 8px; }
.woocommerce-error li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--charcoal);
    background: #fff;
    border-left: 3px solid #c62828;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    list-style: none;
}
.woocommerce-message .button,
.woocommerce-message a.button {
    margin-left: auto;
    flex-shrink: 0;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold);
    padding: 9px 20px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.woocommerce-message a.button:hover {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 2px 12px rgba(191,169,128,0.35);
}

/* ═══════════════════════════════════════════════════════════════
   WC SHARED FORM STYLES
═══════════════════════════════════════════════════════════════ */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid rgba(28,28,28,0.18);
    border-radius: 2px;
    padding: 12px 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-page form .form-row input.input-text:focus { border-color: var(--gold); box-shadow: none; }

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(28,28,28,0.5);
    display: block;
    margin-bottom: 6px;
}
.woocommerce form .form-row label .required,
.woocommerce-page form .form-row label .required { color: var(--gold); margin-left: 1px; text-decoration: none; }

/* Select2 */
.select2-container .select2-selection--single {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid rgba(28,28,28,0.18) !important;
    border-radius: 2px !important;
    height: auto !important;
    padding: 12px 14px !important;
    box-shadow: none !important;
    outline: none;
}
.select2-container .select2-selection--single .select2-selection__rendered { color: var(--charcoal); line-height: 1.4; padding: 0; }
.select2-container .select2-selection--single .select2-selection__arrow { top: 50%; right: 12px; }
.select2-dropdown { border: 1px solid rgba(28,28,28,0.18) !important; border-radius: 2px !important; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.select2-results__option { font-family: var(--font-sans); font-size: 14px; padding: 10px 14px; }
.select2-results__option--highlighted { background: var(--gold) !important; }

/* ═══════════════════════════════════════════════════════════════
   WC PAGE HEADER (cart, checkout, shop — replaces dark hero)
═══════════════════════════════════════════════════════════════ */
.wc-page-header {
    /* хедърът е position:fixed, затова заглавието трябва да слезе под него */
    padding: calc(var(--header-h) + 40px) 0 32px;
    border-bottom: 1px solid rgba(28,28,28,0.08);
    background: var(--cream);
}
.wc-page-header .container { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wc-page-header__title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--charcoal);
    letter-spacing: 0.03em;
    margin: 0;
}
.wc-page-header nav.woocommerce-breadcrumb {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(28,28,28,0.4);
    text-transform: uppercase;
}
.wc-page-header nav.woocommerce-breadcrumb a { color: rgba(28,28,28,0.4); text-decoration: none; }
.wc-page-header nav.woocommerce-breadcrumb a:hover { color: var(--gold); }
.wc-breadcrumb-sep { margin: 0 6px; }

.wc-page-body { padding: 48px 0 80px; }

/* ═══════════════════════════════════════════════════════════════
   CART PAGE
═══════════════════════════════════════════════════════════════ */
/* Cart page — two-column layout: table left, totals right */
.woocommerce-cart .woocommerce,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart_totals { float: none !important; }

/* Main cart wrapper: side-by-side grid — CART only */
.woocommerce-cart .wc-page-body .woocommerce,
.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: 1fr 360px !important;
    gap: 48px !important;
    align-items: start !important;
}

/* Cart form stretches left column */
.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1;
    width: 100%;
}

/* Totals card sticks on the right */
.woocommerce-cart .cart-collaterals {
    grid-column: 2;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-cart .cart_totals {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Override WC default table border/radius/spacing */
.woocommerce-cart table.shop_table,
.woocommerce-cart-form table.shop_table {
    border: none !important;
    border-radius: 0 !important;
    border-spacing: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    border-collapse: collapse !important;
}
.woocommerce-cart table.shop_table td {
    border-top: none !important;
}
.woocommerce-cart-form table.shop_table thead th {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(28,28,28,0.35);
    padding: 0 12px 14px;
    border-bottom: 1px solid rgba(28,28,28,0.12);
    text-align: left;
}
.woocommerce-cart-form table.shop_table thead th.product-thumbnail { width: 72px; padding-left: 0; padding-right: 8px; }
.woocommerce-cart-form table.shop_table thead th.product-remove { width: 20px; padding: 0 !important; }
.woocommerce-cart-form table.shop_table tbody td {
    padding: 20px 12px;
    border-bottom: 1px solid rgba(28,28,28,0.06);
    vertical-align: middle;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
}

/* Thumbnail */
.woocommerce-cart-form td.product-thumbnail { width: 72px; padding-left: 0; }
.woocommerce-cart-form td.product-thumbnail img { width: 64px; height: 84px; object-fit: cover; border-radius: 2px; display: block; }

/* Product name */
.woocommerce-cart-form td.product-name a {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
    color: var(--charcoal);
    text-decoration: none;
    line-height: 1.3;
}
.woocommerce-cart-form td.product-name a:hover { color: var(--gold); }

/* Remove × */
.woocommerce-cart-form td.product-remove { width: 20px; padding: 0 !important; text-align: center; }
.woocommerce-cart-form td.product-remove a.remove {
    color: rgba(28,28,28,0.2) !important;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s !important;
}
.woocommerce-cart-form td.product-remove a.remove:hover { background: rgba(198,40,40,0.08); color: #c62828 !important; }

/* Price & subtotal */
.woocommerce-cart-form td.product-price,
.woocommerce-cart-form td.product-subtotal { font-size: 14px; white-space: nowrap; }
.woocommerce-cart-form td.product-subtotal { font-weight: 500; }

/* Actions row */
.woocommerce-cart-form .actions {
    padding: 16px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.woocommerce-cart-form .coupon { display: flex; gap: 6px; flex: 1; min-width: 200px; }
.woocommerce-cart-form .coupon #coupon_code {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid rgba(28,28,28,0.18);
    border-radius: 2px;
    padding: 9px 12px;
    outline: none;
    transition: border-color 0.2s;
}
.woocommerce-cart-form .coupon #coupon_code:focus { border-color: var(--gold); }
.woocommerce-cart-form .coupon .button,
.woocommerce-cart-form .actions [name="update_cart"] {
    font-family: var(--font-sans) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    background: transparent !important;
    border: 1px solid rgba(28,28,28,0.2) !important;
    color: rgba(28,28,28,0.6) !important;
    padding: 9px 18px !important;
    cursor: pointer !important;
    border-radius: 2px !important;
    transition: border-color 0.2s, color 0.2s !important;
    box-shadow: none !important;
    white-space: nowrap;
}
.woocommerce-cart-form .coupon .button:hover,
.woocommerce-cart-form .actions [name="update_cart"]:hover { border-color: var(--gold) !important; color: var(--gold) !important; }

/* Cart totals card */
.cart_totals {
    background: #fff;
    border: 1px solid rgba(28,28,28,0.09);
    border-radius: 3px;
    padding: 28px 28px 24px;
    box-shadow: 0 2px 20px rgba(28,28,28,0.05);
}
.cart_totals h2 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--charcoal);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(28,28,28,0.09);
    letter-spacing: 0.02em;
}
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th,
.cart_totals table td {
    padding: 11px 0;
    border-bottom: 1px solid rgba(28,28,28,0.06);
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--charcoal);
    vertical-align: top;
    line-height: 1.5;
}
.cart_totals table th {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(28,28,28,0.38);
    width: 38%;
    padding-right: 12px;
}
.cart_totals table .order-total th,
.cart_totals table .order-total td {
    border-bottom: none;
    padding-top: 16px;
    font-size: 15px;
    font-weight: 700;
}
/* Shipping row */
.cart_totals .shipping { font-size: 13px; color: rgba(28,28,28,0.65); }
.cart_totals .shipping ul { list-style: none; padding: 0; margin: 0; }
.cart_totals .shipping ul li { margin-bottom: 2px; }
.cart_totals .shipping ul li label { font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--charcoal); display: inline; }
.cart_totals .shipping p { font-size: 12px; color: rgba(28,28,28,0.45); margin: 4px 0 0; line-height: 1.5; }
.cart_totals a.shipping-calculator-button {
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.04em;
}
.cart_totals a.shipping-calculator-button:hover { text-decoration: underline; }

/* Proceed to checkout button — gold */
.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout a.checkout-button,
.wc-proceed-to-checkout .checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-family: var(--font-sans) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    background: var(--gold) !important;
    color: var(--cream) !important;
    padding: 17px 24px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    border: none !important;
    transition: background 0.25s, opacity 0.2s !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    cursor: pointer !important;
}
.wc-proceed-to-checkout a.checkout-button:hover,
.wc-proceed-to-checkout .checkout-button:hover { opacity: 0.85 !important; }

/* Update cart — subtle outlined */
.woocommerce-cart-form .actions [name="update_cart"] {
    font-family: var(--font-sans) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    background: transparent !important;
    border: 1px solid rgba(28,28,28,0.18) !important;
    color: rgba(28,28,28,0.45) !important;
    padding: 9px 18px !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    transition: border-color 0.2s, color 0.2s !important;
    box-shadow: none !important;
}
.woocommerce-cart-form .actions [name="update_cart"]:hover {
    border-color: var(--charcoal) !important;
    color: var(--charcoal) !important;
}

/* Responsive cart */
@media (max-width: 820px) {
    .wc-page-body .woocommerce {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .woocommerce-cart .woocommerce-cart-form { grid-column: 1; }
    .woocommerce-cart .cart-collaterals {
        grid-column: 1;
        position: static;
        margin-top: 0 !important;
    }
    .cart_totals { padding: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
═══════════════════════════════════════════════════════════════ */

/* Hide "already a customer" login prompt — not relevant for dress shop */
.woocommerce-checkout .woocommerce-info.woocommerce-checkout-login-link,
.woocommerce-checkout .wc_payment_method.payment_method_cod + .wc_payment_method,
.woocommerce-checkout form.login,
.woocommerce-checkout .woocommerce-form-login-toggle { display: none !important; }

.woocommerce-checkout .woocommerce {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* CSS grid — bypass WC float layout entirely */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    grid-template-rows: auto 1fr !important;
    gap: 0 56px !important;
    align-items: start !important;
}
.woocommerce-checkout form.checkout::after { display: none !important; }

/* Left column: billing + notes */
.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* Inner col-1 / col-2: both full width, stacked */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-checkout #customer_details .col-2 { margin-top: 32px !important; }

/* Right column: order summary heading + review */
.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 16px;
}
/* Apple Pay / Google Pay (Stripe) — плъгинът ги слага като отделни елементи
   в мрежата; без място мрежата ги праща долу вляво. Горе в дясната колона,
   над „Вашата поръчка“ (редове 1–2; без тях редовете са празни). */
.woocommerce-checkout form.checkout { grid-template-rows: auto auto auto 1fr !important; }
.woocommerce-checkout form.checkout > #wc-stripe-express-checkout-element,
.woocommerce-checkout form.checkout > #wc-stripe-express-checkout__order-attribution-inputs {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 0 4px !important;
}
.woocommerce-checkout form.checkout > #wc-stripe-express-checkout-button-separator {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 12px 0 28px !important;
    font-size: 12px;
    letter-spacing: 0.12em;
    color: rgba(28,28,28,0.45);
}
.woocommerce-checkout #order_review_heading { grid-row: 3 !important; }
.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 4 !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

/* Section headings */
.woocommerce-checkout h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(28,28,28,0.1);
    letter-spacing: 0.02em;
}

/* Shipping to different address toggle */
#ship-to-different-address label {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: 0.02em;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0;
}
#ship-to-different-address input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }

/* Additional fields (бележки) */
.woocommerce-additional-fields h3 { margin-top: 32px; }
.woocommerce-additional-fields textarea {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
    background: #fff;
    border: 1px solid rgba(28,28,28,0.18);
    border-radius: 2px;
    padding: 12px 14px;
    width: 100%;
    min-height: 90px;
    resize: vertical;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}
.woocommerce-additional-fields textarea:focus { border-color: var(--gold); }

/* Order summary table */
#order_review table.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid rgba(28,28,28,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0;
}
#order_review table.shop_table thead th {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(28,28,28,0.4);
    padding: 14px 20px;
    border-bottom: 1px solid rgba(28,28,28,0.08);
    background: rgba(28,28,28,0.02);
    text-align: left;
}
#order_review table.shop_table thead th:last-child { text-align: right; }
#order_review table.shop_table tbody td,
#order_review table.shop_table tfoot th,
#order_review table.shop_table tfoot td {
    padding: 13px 20px;
    border-bottom: 1px solid rgba(28,28,28,0.06);
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
    vertical-align: middle;
}
#order_review table.shop_table tbody .product-name { font-family: var(--font-serif); font-size: 15px; }
#order_review table.shop_table tbody .product-total,
#order_review table.shop_table tfoot td { text-align: right; }
#order_review table.shop_table tfoot th { color: rgba(28,28,28,0.5); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
#order_review table.shop_table tfoot .order-total th,
#order_review table.shop_table tfoot .order-total td {
    border-bottom: none;
    font-weight: 700;
    font-size: 16px;
    color: var(--charcoal);
    padding-top: 16px;
}

/* Payment block */
#payment {
    background: rgba(28,28,28,0.025);
    border: 1px solid rgba(28,28,28,0.1);
    border-radius: 4px;
    padding: 24px;
    margin-top: 20px;
}
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-bottom: 1px solid rgba(28,28,28,0.1);
    padding-bottom: 20px;
}
.woocommerce-checkout #payment ul.payment_methods li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 10px;
    margin-bottom: 10px;
}
.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    flex: 0 0 100%;
}
.woocommerce-checkout #payment ul.payment_methods label {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--charcoal);
    cursor: pointer;
}
.woocommerce-checkout #payment ul.payment_methods input[type="radio"] {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.woocommerce-checkout #payment div.payment_box {
    background: rgba(28,28,28,0.04);
    padding: 12px 16px;
    margin-top: 8px;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(28,28,28,0.55);
    line-height: 1.6;
}

/* Privacy policy & terms */
.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-family: var(--font-sans);
    font-size: 12px;
    color: rgba(28,28,28,0.45);
    line-height: 1.7;
    margin-bottom: 16px;
}
.woocommerce-checkout .woocommerce-privacy-policy-text a { color: var(--gold); text-decoration: none; }
.woocommerce-checkout .woocommerce-privacy-policy-text a:hover { text-decoration: underline; }

.woocommerce-terms-and-conditions-wrapper {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(28,28,28,0.6);
    display: block;
    margin-bottom: 24px;
}
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text {
    margin-bottom: 12px;
}
.woocommerce-terms-and-conditions-wrapper .form-row.terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}
.woocommerce-terms-and-conditions-wrapper label.woocommerce-form__label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}
.woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    accent-color: var(--gold);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}
.woocommerce-terms-and-conditions-wrapper a { color: var(--gold); text-decoration: none; }
.woocommerce-terms-and-conditions-wrapper a:hover { text-decoration: underline; }

/* Place Order button */
#place_order {
    display: block !important;
    width: 100% !important;
    font-family: var(--font-sans) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    background: var(--charcoal) !important;
    color: var(--cream) !important;
    border: none !important;
    padding: 18px 32px !important;
    cursor: pointer !important;
    border-radius: 2px !important;
    transition: background 0.25s !important;
    box-sizing: border-box !important;
}
#place_order:hover { background: var(--gold) !important; }

/* Responsive checkout */
@media (max-width: 900px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 0 !important;
    }
    .woocommerce-checkout #customer_details { grid-column: 1 !important; grid-row: auto !important; }
    .woocommerce-checkout #order_review_heading { grid-column: 1 !important; grid-row: auto !important; margin-top: 48px; }
    .woocommerce-checkout #order_review { grid-column: 1 !important; grid-row: auto !important; position: static; }
    .woocommerce-checkout form.checkout > #wc-stripe-express-checkout-element,
    .woocommerce-checkout form.checkout > #wc-stripe-express-checkout__order-attribution-inputs,
    .woocommerce-checkout form.checkout > #wc-stripe-express-checkout-button-separator { grid-column: 1 !important; grid-row: auto !important; }
}

/* ═══════════════════════════════════════════════════════════════
   EU CO-FUNDING — header badge + footer strip
═══════════════════════════════════════════════════════════════ */
.eu-flag { display: block; width: 100%; height: auto; }

/* ── Header badge ── */
.header-eu {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-right: 20px;
    border-right: 1px solid rgba(255,255,255,0.22);
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast), border-color var(--transition-mid);
}
.header-eu__flag {
    flex: 0 0 30px;
    width: 30px;
    line-height: 0;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.9), 0 3px 10px rgba(0,0,0,0.3);
    transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}
.header-eu__text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-serif);
    font-size: 15px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0.01em;
}
.header-eu__text small {
    font-family: var(--font-sans);
    font-size: 8px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 3px;
}
a.header-eu:hover { color: var(--gold); }
a.header-eu:hover .header-eu__flag { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--gold), 0 5px 14px rgba(0,0,0,0.3); }

.site-header.is-scrolled .header-eu,
.woocommerce-cart .site-header .header-eu,
.woocommerce-checkout .site-header .header-eu,
.woocommerce-account .site-header .header-eu {
    color: var(--charcoal);
    border-color: rgba(28,28,28,0.12);
}
.site-header.is-scrolled .header-eu__flag,
.woocommerce-cart .site-header .header-eu__flag,
.woocommerce-checkout .site-header .header-eu__flag,
.woocommerce-account .site-header .header-eu__flag { box-shadow: 0 2px 8px rgba(0,51,153,0.25); }
.site-header.is-scrolled a.header-eu:hover { color: var(--gold-dark); }

/* по-тесни екрани — само флагчето (пълният текст остава във футъра) */
@media (max-width: 1280px) {
    .header-eu { padding-right: 16px; }
    .header-eu__text { display: none; }
}
@media (max-width: 768px) {
    .header-eu { padding-right: 12px; }
    .header-eu__flag { flex-basis: 26px; width: 26px; }
}

/* ── Footer badge (в долната лента, между copyright и alfabrides.com) ── */
.footer-eu {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast);
}
.footer-eu__flag {
    flex: 0 0 30px;
    width: 30px;
    line-height: 0;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.9), 0 3px 10px rgba(0,0,0,0.35);
    transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}
.footer-eu__text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-serif);
    font-size: 15px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0.01em;
}
.footer-eu__text small {
    font-family: var(--font-sans);
    font-size: 8px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 3px;
}
a.footer-eu:hover { color: var(--gold); }
a.footer-eu:hover .footer-eu__flag { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--gold), 0 5px 14px rgba(0,0,0,0.35); }

/* Избор на куриер и офис на касата */
.alfabrides-ofis-row textarea {
    min-height: 70px;
    resize: vertical;
}

.alfabrides-ofis-row .description {
    font-size: 12px;
    color: var(--gray, #888);
}

/* ══════════════════════════════════════════════════════════════
   Страница „Благодарим за поръчката" и преглед на поръчка
   ══════════════════════════════════════════════════════════════ */

.ab-thankyou {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 20px 90px;
    font-family: var(--font-sans);
}

/* ── Заглавие ──────────────────────────────────────────────── */
.ab-ty-head { text-align: center; padding: 10px 0 6px; }

.ab-ty-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}
.ab-ty-check svg { width: 26px; height: 26px; }

.ab-ty-title {
    font-family: var(--font-serif);
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--charcoal);
    margin: 0;
}

.ab-thankyou .ab-ty-sub {
    font-family: var(--font-serif);
    font-size: clamp(19px, 2.4vw, 25px);
    font-weight: 300;
    color: var(--charcoal-80);
    margin: 6px 0 0;
    padding: 0 0 20px;
    background: none;
    border: 0;
    position: relative;
}
.ab-thankyou .ab-ty-sub::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 54px;
    height: 1px;
    background: var(--gold);
}

/* ── Четирите карти ────────────────────────────────────────── */
.ab-ty-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    list-style: none;
    margin: 34px 0 22px;
    padding: 0;
    background: none;
    border: 0;
}

.ab-ty-cards li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid rgba(191,169,128,0.28);
    border-radius: 10px;
    text-align: left;
}

.ab-ty-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: var(--section-bg);
    color: var(--gold-dark);
}
.ab-ty-card__icon svg { width: 19px; height: 19px; }

.ab-ty-card__body { min-width: 0; }

.ab-ty-card__label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 4px;
}

.ab-ty-cards li strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
}

/* ── Съобщението за начина на плащане ──────────────────────── */
.ab-thankyou > p:not(.ab-ty-actions):not(.ab-ty-sub) {
    text-align: center;
    font-size: 14px;
    color: var(--charcoal-80);
    margin: 0 0 30px;
}

/* ── Голямата карта с данните ──────────────────────────────── */
.ab-thankyou .woocommerce-order-details,
.ab-thankyou .woocommerce-customer-details {
    background: var(--white);
    border: 1px solid rgba(191,169,128,0.28);
    border-radius: 12px;
    padding: 30px 32px;
    margin: 0 0 18px;
}

.ab-thankyou .woocommerce-order-details__title {
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 300;
    color: var(--charcoal);
    margin: 0 0 22px;
    padding-bottom: 12px;
    border: 0;
    position: relative;
}
.ab-thankyou .woocommerce-order-details__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62px;
    height: 2px;
    background: var(--gold);
}

/* ── Таблицата ─────────────────────────────────────────────── */
.ab-thankyou .shop_table {
    width: 100%;
    border-collapse: collapse;
    border: 0;
    font-size: 14px;
}

.ab-thankyou .shop_table th,
.ab-thankyou .shop_table td {
    padding: 13px 6px;
    border: 0;
    border-bottom: 1px solid rgba(200,196,188,0.4);
    text-align: left;
    vertical-align: middle;
}

.ab-thankyou .shop_table thead th {
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 500;
    background: var(--section-bg);
    padding: 11px 12px;
}
.ab-thankyou .shop_table thead th:first-child { border-radius: 7px 0 0 7px; }
.ab-thankyou .shop_table thead th:last-child  { border-radius: 0 7px 7px 0; }

.ab-thankyou .shop_table td:last-child,
.ab-thankyou .shop_table th:last-child { text-align: right; white-space: nowrap; }

.ab-thankyou .shop_table tfoot th {
    font-weight: 400;
    color: var(--charcoal-80);
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
    background: none;
}

/* редът с общата сума — по клас, не по позиция */
.ab-thankyou .shop_table tfoot tr.order-row--order_total th,
.ab-thankyou .shop_table tfoot tr.order-row--order_total td {
    background: var(--section-bg);
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--charcoal);
    border-bottom-color: transparent;
}

.ab-thankyou .shop_table tfoot tr:last-child th,
.ab-thankyou .shop_table tfoot tr:last-child td { border-bottom: 0; }

.ab-thankyou .shop_table a {
    color: var(--charcoal);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-light);
    transition: border-color var(--transition-fast);
}
.ab-thankyou .shop_table a:hover { border-bottom-color: var(--gold); }

/* ── Миниатюрата на продукта ───────────────────────────────── */
.ab-order-line { display: flex; align-items: center; gap: 14px; }

.ab-order-thumb {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--section-bg);
}
.ab-order-thumb__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ab-order-line__text .product-quantity { color: var(--gray); font-weight: 400; }

/* ── Адресите ──────────────────────────────────────────────── */
.ab-addr__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    margin: 0;
}

.ab-addr__card {
    width: auto;
    float: none;
    padding: 22px 24px;
    background: var(--section-bg);
    border-radius: 10px;
}

.ab-thankyou .ab-addr__title {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 300;
    color: var(--charcoal);
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}
.ab-thankyou .ab-addr__title::after { display: none; }

.ab-addr__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--white);
    color: var(--gold-dark);
}
.ab-addr__icon svg { width: 17px; height: 17px; }

.ab-thankyou address {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.8;
    font-style: normal;
    color: var(--charcoal-80);
    padding: 0;
    background: none;
    border: 0;
}
.ab-thankyou address p { margin: 0; }
.ab-thankyou address a { color: var(--charcoal-80); text-decoration: none; }

/* ── Бутонът ───────────────────────────────────────────────── */
.ab-ty-actions { text-align: center; margin: 34px 0 0; }

.ab-ty-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: var(--gold);
    color: var(--white);
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}
.ab-ty-btn:hover { background: var(--gold-dark); transform: translateY(-1px); color: var(--white); }
.ab-ty-btn svg { width: 17px; height: 17px; }

@media (max-width: 600px) {
    .ab-thankyou .woocommerce-order-details,
    .ab-thankyou .woocommerce-customer-details { padding: 22px 18px; }
    .ab-ty-cards li { padding: 15px 16px; }
    .ab-ty-cards li strong { font-size: 18px; }
    .ab-order-thumb { width: 44px; height: 44px; }
}

/* ── Неутрализиране на собствените правила на WooCommerce ──────
   WooCommerce слага float, дясна пунктирана линия и 2em отстъпи на
   картите, и рамка с фон на адресите. Селекторите му са по-силни от
   нашите, затова тук се повтарят с по-висока специфичност.
   ────────────────────────────────────────────────────────────── */

.woocommerce .ab-thankyou ul.order_details,
.woocommerce-page .ab-thankyou ul.order_details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 34px 0 22px;
    padding: 0;
    list-style: none;
}

.woocommerce .ab-thankyou ul.order_details::before,
.woocommerce .ab-thankyou ul.order_details::after,
.woocommerce-page .ab-thankyou ul.order_details::before,
.woocommerce-page .ab-thankyou ul.order_details::after {
    content: none;
    display: none;
}

.woocommerce .ab-thankyou ul.order_details li,
.woocommerce .ab-thankyou ul.order_details li:last-of-type,
.woocommerce-page .ab-thankyou ul.order_details li,
.woocommerce-page .ab-thankyou ul.order_details li:last-of-type {
    float: none;
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid rgba(191,169,128,0.28);
    border-radius: 10px;
    background: var(--white);
    font-size: 12px;
    line-height: 1.4;
    text-transform: none;
    list-style: none;
}

.woocommerce .ab-thankyou ul.order_details li strong,
.woocommerce-page .ab-thankyou ul.order_details li strong {
    display: block;
    margin: 0;
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
    color: var(--charcoal);
}

/* ── Адресите ── */
.woocommerce .ab-thankyou .woocommerce-customer-details .addresses,
.woocommerce-page .ab-thankyou .woocommerce-customer-details .addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 0;
}

.woocommerce .ab-thankyou .woocommerce-customer-details .addresses::before,
.woocommerce .ab-thankyou .woocommerce-customer-details .addresses::after,
.woocommerce-page .ab-thankyou .woocommerce-customer-details .addresses::before,
.woocommerce-page .ab-thankyou .woocommerce-customer-details .addresses::after {
    content: none;
    display: none;
}

.woocommerce .ab-thankyou .ab-addr__card,
.woocommerce-page .ab-thankyou .ab-addr__card {
    float: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 22px 24px;
    background: var(--section-bg);
    border-radius: 10px;
}

.woocommerce .ab-thankyou .woocommerce-customer-details address,
.woocommerce-page .ab-thankyou .woocommerce-customer-details address {
    width: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    font-style: normal;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.8;
    color: var(--charcoal-80);
}

/* Заглавието да не се пренася на две реда без нужда */
.woocommerce .ab-thankyou .ab-addr__title,
.woocommerce-page .ab-thankyou .ab-addr__title {
    display: flex;
    align-items: center;
    gap: 11px;
    white-space: nowrap;
    font-size: clamp(16px, 1.6vw, 20px);
}

/* ── Таблицата: WooCommerce ѝ слага собствени рамки ── */
.woocommerce .ab-thankyou table.shop_table,
.woocommerce-page .ab-thankyou table.shop_table {
    border: 0;
    border-radius: 0;
    margin: 0;
}

.woocommerce .ab-thankyou table.shop_table td,
.woocommerce .ab-thankyou table.shop_table th,
.woocommerce-page .ab-thankyou table.shop_table td,
.woocommerce-page .ab-thankyou table.shop_table th {
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

/* Изчерпан продукт */
.dress-single__soldout {
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.6;
    color: var(--charcoal-80);
    margin: 0 0 22px;
    padding: 14px 16px;
    background: rgba(212,165,165,0.12);
    border-left: 3px solid var(--rose);
}
.dress-single__soldout strong {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--charcoal);
}


/* ══ Официални страници (публичност по проект и подобни) ══════════
   .editorial-entry и .entry-content се прилагат едновременно и се бият
   за ширините, затова левите ръбове на заглавия, абзаци и списъци се
   разминават. Този блок ги подравнява по една обща колона. */

.editorial-entry.entry-content > * {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* заглавието без вертикална черта — тя изнася текста надясно спрямо останалото */
.editorial-entry.entry-content > h2 {
    padding-left: 0;
    border-left: 0;
}

/* точките започват от същия ръб; тирето виси в отстъпа */
.editorial-entry.entry-content > ul,
.editorial-entry.entry-content > ol {
    padding-left: 0;
    list-style: none;
}
.editorial-entry.entry-content > ul > li {
    padding-left: 24px;
}
.editorial-entry.entry-content > ul > li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 300;
}

/* ══ Мобилни поправки ═════════════════════════════════════════════
   1. Контакти: съдържанието е GhostKit grid, чиито колони не се
      събират под 768px — адресът се чупи по една дума на ред.
   2. Значката във футъра е с nowrap и разпъва документа по-широко
      от екрана, което дава хоризонтален скрол на всяка страница.
   3. Дълги низове и широки блокове в описанията на продуктите. */

@media (max-width: 768px) {

    /* 1 — колоните на страницата Контакти в една колона */
    .kontakti-rules .ghostkit-grid {
        display: block;
    }
    .kontakti-rules .ghostkit-grid-column {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .kontakti-rules .ghostkit-grid-column + .ghostkit-grid-column {
        margin-top: 32px;
    }

    /* 2 — значката във футъра да се пренася вместо да разпъва страницата */
    .footer-eu {
        white-space: normal;
        flex-wrap: wrap;
        max-width: 100%;
    }
    .footer-eu__text { white-space: normal; }
}

/* 3 — нищо в дългите текстове да не излиза извън екрана */
.entry-content,
.kontakti-rules,
.woocommerce-product-details__short-description,
.woocommerce-Tabs-panel {
    overflow-wrap: break-word;
    word-break: break-word;
}
.entry-content img,
.entry-content iframe,
.entry-content table,
.kontakti-rules img,
.kontakti-rules iframe,
.woocommerce-Tabs-panel img,
.woocommerce-Tabs-panel table {
    max-width: 100%;
    height: auto;
}

/* ══ Продуктова страница на тесен екран ═══════════════════════════
   Правилата на ред ~3296 казват същото, но стоят ПРЕДИ базовите на
   ~4818. При еднаква специфичност печели по-късното, а медия заявката
   не добавя тежест — затова двуколонната подредба важеше и на телефон.
   Тук се повтарят след базовите, за да влязат в сила. */

@media (max-width: 1100px) {
    .dress-single__grid {
        grid-template-columns: 1fr;
        max-width: 680px;
        margin-inline: auto;
    }
    .dress-single__gallery {
        position: static;
        grid-template-columns: 1fr;
    }
    .dress-gallery-thumbs {
        flex-direction: row;
        gap: 8px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 6px;
        order: 1;
    }
    .gallery-thumb {
        width: 64px;
        aspect-ratio: 3/4;
    }
}

@media (max-width: 520px) {
    .dress-single__grid { max-width: 100%; }
}

/* ══ Продукт на телефон — четима подредба ═════════════════════════
   Редовете с данни са ляво-дясно (етикет | стойност, ограничена до
   60%). На тесен екран стойността се смачква на две-три срички.
   Тук етикетът минава отгоре, а стойността взима цялата ширина. */

@media (max-width: 640px) {

    /* галерията: голямата снимка горе, лентата с малките под нея */
    .dress-single__gallery {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .dress-gallery-main { order: 0; width: 100%; }
    .dress-gallery-main__img { width: 100%; }
    .dress-gallery-thumbs {
        order: 1;
        flex-direction: row;
        gap: 8px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .gallery-thumb {
        flex: 0 0 auto;
        width: 60px;
        aspect-ratio: 3/4;
    }

    /* редовете с данни — етикет отгоре, стойност отдолу */
    .dress-spec {
        display: block;
        padding: 14px 0;
    }
    .dress-spec__label {
        display: block;
        margin-bottom: 5px;
    }
    .dress-spec__value {
        display: block;
        text-align: left;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.5;
    }
}

/* ══ Контакти на телефон — съдържанието на цялата ширина ══════════
   Колоните вече се събират, но UAGB блоковете носят собствени
   ширини и отстъпи и текстът остава в тясна лента по средата. */

@media (max-width: 768px) {

    .kontakti-content .container,
    .kontakti-rules > .ghostkit-grid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .kontakti-rules .ghostkit-grid-column,
    .kontakti-rules .uagb-infobox,
    .kontakti-rules .wp-block-uagb-info-box,
    .kontakti-rules .uagb-infobox__content-wrap,
    .kontakti-rules .uagb-ifb-content,
    .kontakti-rules .uagb-ifb-left-title-image,
    .kontakti-rules .uagb-ifb-align-icon-after-title {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
    }

    .kontakti-rules .uagb-ifb-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .kontakti-rules .uagb-ifb-desc,
    .kontakti-rules .uagb-ifb-title {
        max-width: 100% !important;
    }

    /* телефонът и имейлът да не се чупят по средата на числото */
    .kontakti-rules .uagb-ifb-desc a { white-space: nowrap; }

    /* галерията — две снимки на ред, всяка на пълната си колона */
    .kontakti-rules .wp-block-gallery .wp-block-image { width: 100% !important; }
    .kontakti-rules .wp-block-gallery .wp-block-image img { width: 100%; }
}

/* Билдърът записва ширини направо в style="" на отделни блокове.
   На телефон нито един от тях не бива да стеснява текста. */
@media (max-width: 768px) {
    .kontakti-rules [style*="width"],
    .kontakti-rules [style*="max-width"] {
        max-width: 100% !important;
    }
    .kontakti-rules [style*="width"] p,
    .kontakti-rules .uagb-ifb-desc p {
        max-width: 100% !important;
    }
}

/* ══ Контакти — истинската причина ════════════════════════════════
   Колоните на GhostKit тук са .ghostkit-col, не .ghostkit-grid-column.
   Формата е ghostkit-col-6 (50%), а адресът с галерията е
   ghostkit-col-3 (25%) и това важи и на телефон — затова текстът
   стоеше в тясна лента. Под 768px всяка колона заема целия ред. */

@media (max-width: 768px) {

    .kontakti-rules .ghostkit-grid { display: block; }

    .kontakti-rules .ghostkit-grid-inner {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .kontakti-rules .ghostkit-col,
    .kontakti-rules [class*="ghostkit-col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .kontakti-rules .ghostkit-col-content {
        width: 100%;
        max-width: 100%;
    }

    /* формата — полетата на цялата ширина */
    .kontakti-rules .wpcf7 input[type="text"],
    .kontakti-rules .wpcf7 input[type="tel"],
    .kontakti-rules .wpcf7 input[type="email"],
    .kontakti-rules .wpcf7 textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .kontakti-rules .wpcf7 input[type="submit"] { width: 100%; }

    /* галерията — две снимки на ред */
    .kontakti-rules .wp-block-gallery.columns-2 { gap: 8px; }
    .kontakti-rules .wp-block-gallery.columns-2 > .wp-block-image {
        flex: 0 0 calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
    }
    .kontakti-rules .wp-block-gallery figcaption { display: none; }
}

/* Галерията на Контакти — grid вместо flex.
   При flex ширината се смята ръчно (50% минус половин разстояние) и
   ако WordPress реши друго разстояние, снимките излизат вдясно.
   При grid двете колони се делят на равно и препълване няма. */
@media (max-width: 768px) {
    .kontakti-rules .wp-block-gallery.columns-2,
    .kontakti-rules .wp-block-gallery {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .kontakti-rules .wp-block-gallery > .wp-block-image {
        flex: none !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    .kontakti-rules .wp-block-gallery > .wp-block-image a,
    .kontakti-rules .wp-block-gallery > .wp-block-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ═══════════════════════════════════════════════════════════════
   МОБИЛНИ ПОПРАВКИ — събрани накрая

   Темата има мобилни правила, написани ПРЕДИ базовите стилове.
   При равна специфичност печели по-късното, а медия заявката не
   добавя тежест — затова тези правила никога не влизаха в сила.
   Тук се повтарят след базовите. Не пренареждам оригиналите,
   за да не разместя нещо друго в същите блокове.
═══════════════════════════════════════════════════════════════ */

/* ── 1. Количката ────────────────────────────────────────────────
   Базовото правило е с три класа, мобилното беше с два. И двете са
   !important, значи решава специфичността — и печелеше базовото.
   Тук селекторът е същият като базовия, но идва по-късно. */
@media (max-width: 820px) {
    .woocommerce-cart .wc-page-body .woocommerce,
    .woocommerce-cart .woocommerce {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .woocommerce-cart .woocommerce-cart-form { grid-column: 1 !important; }
    .woocommerce-cart .cart-collaterals {
        grid-column: 1 !important;
        position: static !important;
        width: 100% !important;
        margin-top: 0 !important;
    }
    .woocommerce-cart .cart_totals { width: 100% !important; padding: 20px; }
    .woocommerce-cart table.shop_table { width: 100% !important; }
}

/* ── 2. Решетки и дреболии, които не влизаха в сила ───────────── */
@media (max-width: 1100px) {
    .dress-grid { grid-template-columns: repeat(2, 1fr); }
    .related-dresses .dress-grid { grid-template-columns: repeat(2, 1fr); }
    .product-hero { min-height: 55vh; }
}

@media (max-width: 480px) {
    .dress-grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .related-dresses .dress-grid { grid-template-columns: 1fr 1fr; }
    .appt-form__row { grid-template-columns: 1fr; }
    .chat-widget { bottom: 16px; right: 16px; }
    .product-hero { min-height: 60vh; }
    .product-hero__title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
}

/* ── 3. Решетки, които никъде не се събираха ─────────────────── */
@media (max-width: 560px) {
    .dress-single__inquiry-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .qv-box { grid-template-columns: 1fr; }
}

/* ── 4. nowrap на дълъг текст ────────────────────────────────────
   Марките в лентата остават с nowrap — там е нарочно, лентата се
   движи. Останалите могат да разпънат документа. */
@media (max-width: 768px) {
    .tagline-text { white-space: normal; }
    .btn-appointment { white-space: normal; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   КОНТАКТИ — нищо да не излиза извън картата
═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* GhostKit компенсира отстъпа на колоните с отрицателен марж на
       обвивката. Занулих отстъпа, но не и маржа — затова линиите на
       полетата стърчаха от двете страни. */
    .kontakti-rules .ghostkit-grid-inner,
    .kontakti-rules .ghostkit-grid {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* задължителен отстъп отстрани */
    .kontakti-rules > .ghostkit-grid {
        padding: 24px 18px !important;
    }

    /* предпазител: нищо вътре не надхвърля ширината */
    .kontakti-rules,
    .kontakti-rules * {
        max-width: 100%;
        box-sizing: border-box;
    }
    .kontakti-rules { overflow-x: clip; }

    /* галерията — четири равни квадрата, две на ред */
    .kontakti-rules .wp-block-gallery {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .kontakti-rules .wp-block-gallery > .wp-block-image {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        aspect-ratio: 1 / 1;
    }
    .kontakti-rules .wp-block-gallery > .wp-block-image a {
        display: block;
        width: 100%;
        height: 100%;
    }
    .kontakti-rules .wp-block-gallery > .wp-block-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
}

/* ══ КОНТАКТИ — окончателно ограничаване на кутията ═══════════════
   Досегашните правила гонеха класове на GhostKit и на WordPress и
   част от тях не хващаха. Тук ширината се налага изрично на всяко
   ниво — обвивка, карта, колони — без да се разчита на билдъра.
   Идва последно във файла, значи надписва всичко по-горе. */

@media (max-width: 768px) {

    .kontakti-content { overflow-x: hidden; }

    .kontakti-content > .container,
    .kontakti-content .container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    .kontakti-content__grid { display: block !important; }

    .kontakti-rules {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* картата и всеки „широк" блок се вписват в екрана */
    .kontakti-rules .alignwide,
    .kontakti-rules .alignfull,
    .kontakti-rules > .ghostkit-grid,
    .kontakti-rules .ghostkit-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }
    .kontakti-rules > .ghostkit-grid {
        padding: 20px 16px !important;
    }

    .kontakti-rules .ghostkit-grid-inner,
    .kontakti-rules .ghostkit-col,
    .kontakti-rules .ghostkit-col-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* полетата на формата */
    .kontakti-rules .wpcf7 p,
    .kontakti-rules .wpcf7 label,
    .kontakti-rules .wpcf7-form-control-wrap,
    .kontakti-rules .uagb-cf7-styler__outer-wrap,
    .kontakti-rules .wp-block-uagb-cf7-styler {
        width: 100% !important;
        max-width: 100% !important;
        display: block;
        box-sizing: border-box !important;
    }

    /* галерията — четири квадрата, две на ред, на цялата ширина */
    .kontakti-rules figure.wp-block-gallery {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 16px 0 !important;
        padding: 0 !important;
    }
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: none !important;
        margin: 0 !important;
        aspect-ratio: 1 / 1;
    }
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image > a,
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        max-width: none !important;
    }
}

/* Галерията на Контакти — снимките да заемат цялата клетка.
   Досега рамката имаше aspect-ratio и височината определяше
   ширината, затова оставаха дребни. Сега ширината води. */
@media (max-width: 768px) {
    .kontakti-rules figure.wp-block-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        place-items: stretch !important;
    }
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image {
        aspect-ratio: auto !important;
        justify-self: stretch !important;
        align-self: stretch !important;
        display: block !important;
        height: auto !important;
    }
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image > a {
        height: auto !important;
    }
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3;
        object-fit: cover !important;
    }
}

/* Галерията на Контакти — рамката да не се свива до съдържанието.
   min-width спрямо клетката на решетката работи и когато елементът
   по някаква причина се държи като shrink-to-fit. */
@media (max-width: 768px) {
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image {
        min-width: 100% !important;
        box-sizing: border-box !important;
    }
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image > a {
        min-width: 100% !important;
        display: block !important;
    }
    .kontakti-rules figure.wp-block-gallery > figure.wp-block-image img {
        min-width: 100% !important;
    }
}

/* ══ Предпазна мрежа срещу страничен скрол ════════════════════════
   clip вместо hidden: не създава скрол контейнер, значи не чупи
   position: sticky (галерията на продукта е sticky) и не реже текст
   в нормалния поток — спира само онова, което излиза встрани. */

body {
    overflow-x: clip;
}

/* нищо вградено не може да е по-широко от родителя си */
img, svg, video, iframe, embed, object, canvas {
    max-width: 100%;
}

/* дълги адреси и кодове да се пренасят, вместо да разпъват реда */
.entry-content,
.editorial-entry,
.kontakti-rules,
.za-nas-entry,
.post-body,
.dress-single__content,
.woocommerce-Tabs-panel {
    overflow-wrap: break-word;
}

/* таблиците на WooCommerce се плъзгат сами, вместо да носят страницата */
@media (max-width: 768px) {
    .woocommerce table.shop_table,
    .woocommerce-page table.shop_table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Обяснение при рокли без цена — заменя предишното „По заявка".
   Стои под списъка с характеристики, преди описанието. */
.dress-single__offline-note {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.75;
    color: var(--text);
    margin-top: clamp(18px, 2.5vw, 26px);
    padding-left: 16px;
    border-left: 2px solid var(--gold);
}
.dress-single__offline-note--sub {
    margin-top: 10px;
    font-size: 13px;
    color: var(--gray);
}

/* Заключителният ред в „За нас" — подпис, не обикновен абзац. */
.about-text--signature {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-style: italic;
    color: var(--charcoal);
    margin-top: 1.4em;
}

/* ═══════════════════════════════════════════════════════════════
   БИСКВИТКИ — банер за съгласие (inc/biskvitki.php)
   „Отказвам“ и „Приемам всички“ са еднакво видими — изискване на GDPR.
═══════════════════════════════════════════════════════════════ */
.biskvitki {
    position: fixed;
    /* в средата на екрана; сянката затъмнява страницата, без да спира кликовете */
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9000;
    width: min(520px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: var(--white);
    color: var(--charcoal);
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(28,28,28,0.18), 0 0 0 100vmax rgba(28,28,28,0.35);
    padding: 26px 26px 22px;
    font-family: var(--font-sans);
}
.biskvitki[hidden] { display: none; }

.biskvitki__zaglavie {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
}
.biskvitki__tekst {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 18px;
}
.biskvitki__tekst a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }

.biskvitki__kategorii {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 20px;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
}
.biskvitki__kategorii[hidden] { display: none; }
.biskvitki__kategoriya {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--text);
}
.biskvitki__kategoriya input { margin-top: 3px; accent-color: var(--gold-dark); width: 16px; height: 16px; flex-shrink: 0; }
.biskvitki__kategoriya input:disabled { opacity: 0.6; }
.biskvitki__kategoriya strong { display: block; color: var(--charcoal); font-weight: 600; letter-spacing: 0.02em; }

.biskvitki__butoni {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.biskvitki__btn {
    flex: 1 1 0;
    min-width: 120px;
    padding: 13px 16px;
    background: var(--charcoal);
    color: var(--white);
    border: 1px solid var(--charcoal);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
.biskvitki__btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.biskvitki__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.biskvitki__btn--tekst {
    flex: 0 0 100%;
    order: 3;
    background: none;
    color: var(--charcoal);
    border-color: transparent;
    padding: 6px;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.biskvitki__btn--tekst:hover { background: none; border-color: transparent; color: var(--gold-dark); }
.biskvitki__btn[hidden] { display: none; }

@media (max-width: 600px) {
    .biskvitki {
        max-height: 85vh;
        padding: 20px 16px 16px;
    }
    /* Чатът се скрива, докато не се избере — да не е върху банера. */
    .ima-biskvitki .chat-widget { display: none !important; }
}

/* ── Карта, която чака съгласие ─────────────────────────── */
.karta-suglasie {
    min-height: 440px;
    background: var(--section-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    color: var(--gray);
    line-height: 1.6;
}
.karta-suglasie__pokana { max-width: 340px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.karta-suglasie__pokana p { font-size: 13px; margin: 0; }
.karta-suglasie__butoni { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.karta-suglasie__btn {
    padding: 12px 24px;
    background: var(--gold);
    color: var(--white);
    border: 1px solid var(--gold);
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition-fast);
}
.karta-suglasie__btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.karta-suglasie__butoni a { font-size: 12px; color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; }
.kontakti-map .karta-suglasie { line-height: 1.6; min-height: 450px; }

/* ═══════════════════════════════════════════════════════════════
   ФОРМИ ЗА ЗАЯВКИ — записване на час (inc/formi.php, assets/js/formi.js)
═══════════════════════════════════════════════════════════════ */

/* ── Прозорецът ── */
.ab-prozorec {
    position: fixed; inset: 0;
    z-index: 9600; /* над бързия преглед (9500), банера (9000) и чата */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ab-prozorec[hidden] { display: none; }
.ab-prozorec.is-open { opacity: 1; }
.ab-prozorec-otvoren, .ab-prozorec-otvoren body { overflow: hidden; }

.ab-prozorec__fon {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.ab-prozorec__kutiya {
    position: relative;
    z-index: 1;
    background: var(--white);
    width: 100%;
    max-width: 680px;
    max-height: 92vh;
    max-height: 92dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(28px, 4.5vw, 48px);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s var(--ease-out);
}
.ab-prozorec.is-open .ab-prozorec__kutiya { transform: none; }

.ab-prozorec__zatvori {
    position: absolute;
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    font-size: 26px;
    line-height: 1;
    color: var(--gray);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.ab-prozorec__zatvori:hover { color: var(--charcoal); }
.ab-prozorec__zatvori:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }

.ab-prozorec__zaglavie {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 400;
    margin: 8px 0 6px;
    color: var(--charcoal);
}
.ab-prozorec__zaglavie:focus { outline: none; }
.ab-prozorec__pod {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0 0 20px;
}

/* ── Формата ── */
.ab-forma { display: flex; flex-direction: column; gap: 14px; }
.ab-forma[hidden] { display: none; }
.ab-forma__vazhno {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--charcoal);
    background: var(--cream);
    border-left: 2px solid var(--gold);
    padding: 10px 14px;
    margin: 0;
}
.ab-forma__rokla { font-size: 13px; color: var(--gray); margin: 0; }
.ab-forma__rokla strong { color: var(--charcoal); font-weight: 500; }
.ab-forma__rokla[hidden] { display: none; }

.ab-forma__grupa { border: 0; padding: 0; margin: 0; min-width: 0; }
.ab-forma__grupa legend,
.ab-forma__pole label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    padding: 0;
    margin-bottom: 8px;
}
.ab-forma__red { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-forma__pole { display: flex; flex-direction: column; }
.ab-forma__pole label { margin-bottom: 6px; }
.ab-forma__pole input,
.ab-forma__pole textarea {
    border: 1px solid var(--gray-light);
    border-radius: 0;
    padding: 11px 13px;
    font-family: var(--font-sans);
    font-size: 16px; /* без увеличение при фокус на iPhone */
    color: var(--charcoal);
    background: var(--cream);
    width: 100%;
    transition: border-color var(--transition-fast);
}
.ab-forma__pole textarea { resize: vertical; min-height: 76px; }
.ab-forma__pole input:focus,
.ab-forma__pole textarea:focus { outline: none; border-color: var(--gold); }
.ab-forma__pole [aria-invalid="true"] { border-color: #b3261e; }
.ab-forma__belezhka { font-size: 11.5px; color: var(--gray); margin-top: 5px; }
.ab-forma__kapan { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ab-forma__soglasie {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text);
    cursor: pointer;
}
.ab-forma__soglasie input { margin-top: 2px; accent-color: var(--gold-dark); width: 16px; height: 16px; flex-shrink: 0; }
.ab-forma__soglasie > span { flex: 1; }
.ab-forma__soglasie a { color: var(--gold-dark); }
.ab-forma__soglasie input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 1px; }

.ab-forma__greshka { display: block; flex: 0 0 100%; font-size: 11.5px; color: #b3261e; margin-top: 5px; }
.ab-forma__status { font-size: 12.5px; color: #b3261e; min-height: 1em; margin: 0; }
.ab-forma__status:empty { display: none; }
.ab-forma__izprati:disabled { opacity: 0.6; cursor: default; }
.ab-forma__tel { font-size: 12.5px; color: var(--gray); text-align: center; margin: 0; }
.ab-forma__tel a { color: var(--gold-dark); white-space: nowrap; }
.ab-forma button:focus-visible,
.ab-forma a:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }

.ab-forma__gotovo { text-align: center; padding: 12px 0 4px; }
.ab-forma__gotovo[hidden] { display: none; }
.ab-forma__gotovo:focus { outline: none; }
.ab-forma__gotovo-tekst {
    font-size: 14px;
    line-height: 1.65;
    color: #2d7a4f;
    background: #f0faf4;
    border: 1px solid #a8d5b5;
    padding: 16px 18px;
    margin: 0 0 18px;
    text-align: left;
}

/* ── Календарът ── */
.ab-kalendar { max-width: 380px; }
.ab-kalendar[aria-invalid="true"] { outline: 1px solid #b3261e; outline-offset: 4px; }
.ab-kalendar__zarezhda { font-size: 13px; color: var(--gray); margin: 0; padding: 12px 0; }
.ab-kalendar__otnovo {
    background: none;
    border: none;
    padding: 0;
    color: var(--gold-dark);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}
.ab-kalendar__glava {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.ab-kalendar__mesec {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--charcoal);
}
.ab-kalendar__strelka {
    width: 36px; height: 36px;
    font-size: 22px;
    line-height: 1;
    color: var(--charcoal);
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.ab-kalendar__strelka:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-dark); }
.ab-kalendar__strelka:disabled { opacity: 0.3; cursor: default; }
.ab-kalendar__mreja {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.ab-kalendar__imeden {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--gray);
    text-decoration: none;
    padding: 4px 0;
}
.ab-kalendar__den {
    aspect-ratio: 1;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 13px;
}
button.ab-kalendar__den {
    color: var(--charcoal);
    background: var(--cream);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
button.ab-kalendar__den:hover { border-color: var(--gold); }
button.ab-kalendar__den.is-izbran { background: var(--gold); border-color: var(--gold); color: var(--white); }
.ab-kalendar__den.is-zatvoren { color: #c4c4c4; text-decoration: line-through; text-decoration-color: rgba(0,0,0,0.15); }

/* ── Часовете ── */
.ab-chasove {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 6px;
}
.ab-chasove[aria-invalid="true"] { outline: 1px solid #b3261e; outline-offset: 4px; }
.ab-chasove__prazno { grid-column: 1 / -1; font-size: 13px; color: var(--gray); margin: 0; }
.ab-chasove__chas {
    padding: 9px 4px;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--charcoal);
    background: var(--cream);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}
.ab-chasove__chas:hover { border-color: var(--gold); }
.ab-chasove__chas.is-izbran { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ── Страницата /zapazi-chas/ ── */
.ab-stranica-forma { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); }
.ab-stranica-forma__tekst { max-width: 680px; margin: 0 auto 24px; line-height: 1.7; }
.ab-stranica-forma__kutiya {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    padding: clamp(24px, 4.5vw, 48px);
}

/* ── Телефон ── */
@media (max-width: 600px) {
    .ab-prozorec { padding: 0; align-items: stretch; }
    .ab-prozorec__kutiya {
        max-width: none;
        max-height: none;
        height: 100%;
        height: 100dvh;
        padding: 56px 18px 28px;
        transform: translateY(16px);
    }
    .ab-prozorec__zatvori { top: 8px; right: 8px; }
    .ab-prozorec__zaglavie { font-size: 1.45rem; }
    .ab-forma__red { grid-template-columns: 1fr; }
    .ab-kalendar { max-width: none; }
    .ab-stranica-forma__kutiya { border: 0; padding: 0; background: transparent; }
}
