/* ═══════════════════════════════════════════════════════════════
   VOLGO FRONTEND — v2.0  Modern Retail Design System
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
    /* Brand (fallback — overridden by inline PHP vars in layout.php) */
    --site-primary: #0f6b5f;
    --site-accent:  #c58a2a;
    --site-ink:     #17211f;
    --site-muted:   #64716d;
    --site-bg:      #f7f8f6;

    /* Surface hierarchy */
    --surface-0:      #ffffff;
    --surface-1:      #f5f8f6;
    --surface-2:      #edf3ef;
    --surface-border: rgba(15,30,26,.08);

    /* Layered shadows */
    --shadow-xs: 0 1px 3px rgba(15,30,26,.06), 0 1px 2px rgba(15,30,26,.04);
    --shadow-sm: 0 2px 10px rgba(15,30,26,.07), 0 1px 4px rgba(15,30,26,.05);
    --shadow-md: 0 4px 22px rgba(15,30,26,.09), 0 2px 8px rgba(15,30,26,.06);
    --shadow-lg: 0 8px 40px rgba(15,30,26,.11), 0 4px 14px rgba(15,30,26,.07);
    --shadow-xl: 0 16px 60px rgba(15,30,26,.13), 0 8px 22px rgba(15,30,26,.08);
    --shadow-btn: 0 6px 24px color-mix(in srgb, var(--site-primary) 30%, transparent),
                  0 2px 8px  color-mix(in srgb, var(--site-primary) 16%, transparent);

    /* Motion */
    --ease-out:    cubic-bezier(.16,1,.3,1);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --dur-fast:    150ms;
    --dur-base:    260ms;
    --dur-slow:    420ms;

    /* Section spacing */
    --section-pad: clamp(3rem, 5.5vw, 5rem);
}

.block-anchor {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.content-anchor {
    display: block;
    position: relative;
    scroll-margin-top: 5rem;
}

/* ─── 2. BASE ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

body {
    color: var(--site-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1,h2,h3,h4,h5,h6 {
    letter-spacing: -.024em;
    line-height: 1.18;
}

p { line-height: 1.72; }

a { transition: color var(--dur-fast) ease, opacity var(--dur-fast) ease; }

::selection {
    background: color-mix(in srgb, var(--site-primary) 22%, transparent);
    color: var(--site-ink);
}

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

/* Rich text content */
.content-narrow { max-width: 780px; }
.content-narrow > p   { line-height: 1.78; }
.content-narrow > h2  { margin-top: 2.2rem; letter-spacing: -.022em; }
.content-narrow > h3  { margin-top: 1.8rem; }
.content-narrow > ul,
.content-narrow > ol  { padding-left: 1.6rem; line-height: 1.78; }
.content-narrow blockquote {
    border-left: 3px solid var(--site-primary);
    margin-left: 0; padding: .55rem 1.25rem;
    color: var(--site-muted); font-style: italic;
    background: color-mix(in srgb, var(--site-primary) 4%, transparent);
    border-radius: 0 .5rem .5rem 0;
}

/* ─── 3. KEYFRAME ANIMATIONS ───────────────────────────────── */
@keyframes shimmer {
    0%   { transform: translateX(-130%) skewX(-20deg); }
    100% { transform: translateX(230%)  skewX(-20deg); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(.95) translateY(-6px); }
    to   { opacity: 1; transform: scale(1)  translateY(0); }
}
/* Dropdown popovers (.login-popover/.account-popover) are positioned by Popper
   via an inline `transform: translate(...)`. Animating `transform` on the same
   element fights that positioning for the animation's duration — the menu can
   render in the wrong spot and "swallow" the user's first click before it
   snaps into place. Fade only `opacity`/`filter` so Popper's transform is
   never overridden. */
@keyframes popover-fade-in {
    from { opacity: 0; filter: blur(3px); }
    to   { opacity: 1; filter: blur(0); }
}
@keyframes hero-gradient {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}
@keyframes ken-burns {
    0%   { transform: scale(1)    translate(0, 0); }
    100% { transform: scale(1.06) translate(-.8%, -.8%); }
}
@keyframes card-shimmer {
    0%   { transform: translateX(-200%) skewX(-20deg); }
    100% { transform: translateX(300%)  skewX(-20deg); }
}
@keyframes pulse-glow {
    0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--site-primary) 38%, transparent); }
    60%     { box-shadow: 0 0 0 12px color-mix(in srgb, var(--site-primary) 0%, transparent); }
}

/* ─── 4. HEADER & NAVIGATION ──────────────────────────────── */
.site-header {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(15,30,26,.055);
    transition: box-shadow var(--dur-base) var(--ease-out);
    z-index: 1030;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.site-top-strip {
    background: color-mix(in srgb, var(--site-header-bg, #fff) 82%, #000 18%);
    border-bottom: 1px solid color-mix(in srgb, var(--site-header-bg, #fff) 68%, #000 32%);
}

.site-top-nav {
    min-height: 34px;
    display: flex; align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap; gap: .9rem;
}
.site-top-nav a {
    display: inline-flex; align-items: center; gap: .35rem;
    text-decoration: none;
    color: #fff; font-size: .88rem; font-weight: 500;
    opacity: .88;
    transition: opacity var(--dur-fast) ease;
}
.site-top-nav a:hover {
    color: var(--site-header-link-hover, var(--site-accent));
    opacity: 1;
}

.site-brand {
    font-weight: 750;
    text-decoration: none;
    transition: opacity var(--dur-fast) ease;
}
.site-brand:hover { opacity: .8; }

.site-nav a {
    font-size: .96rem; font-weight: 600;
    letter-spacing: .005em;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    color: var(--site-header-link, #64716d);
    text-decoration: none;
    position: relative;
    transition: color var(--dur-base) var(--ease-out),
                background-color var(--dur-base) var(--ease-out);
}
.site-nav a:hover {
    color: var(--site-header-link-hover, var(--site-primary));
    background-color: color-mix(in srgb, var(--site-primary) 9%, transparent);
}

.footer-menu a {
    display: inline-flex; align-items: center; gap: .38rem;
    transition: opacity var(--dur-fast) ease;
}
.footer-menu a:hover { opacity: .72; }

.menu-item-icon { font-size: 1.15rem; line-height: 1; }

/* Icon sits inline with the label as ONE unified element — no separate
   badge/circle, no own color: it simply inherits the link's color (and
   hover color) via currentColor, so icon and text always read as a single
   unit and the icon can never blend into the header background. */
.site-nav a .menu-item-icon {
    font-size: 1.12rem;
    line-height: 1;
    color: inherit;
    opacity: .8;
    transition: opacity var(--dur-base) ease, filter var(--dur-base) ease;
}
.site-nav a:hover .menu-item-icon {
    opacity: 1;
    filter: drop-shadow(0 0 5px currentColor);
}

/* Menu effects — refine the hover accent layered on top of the chip base above */
.menu-effect-underline .site-nav a::after {
    content: "";
    position: absolute; left: 50%; bottom: 5px;
    width: 16px; height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--site-header-link-hover, var(--site-primary)), var(--site-accent));
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform var(--dur-base) var(--ease-spring), opacity var(--dur-fast) ease;
}
.menu-effect-underline .site-nav a:hover::after { transform: translateX(-50%) scaleX(1); opacity: 1; }

.menu-effect-fade .site-nav a { opacity: .68; }
.menu-effect-fade .site-nav a:hover { opacity: 1; }

.menu-effect-slide .site-nav a::after {
    content: "";
    position: absolute; left: 10px; right: 10px; bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--site-header-link-hover, var(--site-primary)), var(--site-accent));
    transform: scaleX(0) translateY(6px);
    transform-origin: left;
    opacity: 0;
    transition: transform var(--dur-base) var(--ease-spring), opacity var(--dur-fast) ease;
}
.menu-effect-slide .site-nav a:hover::after { transform: scaleX(1) translateY(0); opacity: 1; }

.menu-effect-pill .site-nav a:hover {
    color: #fff;
    background-color: var(--site-header-link-hover, var(--site-primary));
    box-shadow: var(--shadow-sm);
}

.menu-effect-glow .site-nav a:hover {
    text-shadow: 0 0 18px color-mix(in srgb, var(--site-header-link-hover, var(--site-primary)) 55%, transparent);
}
.menu-effect-none .site-nav a::after { display: none; }

.site-actions {
    margin-left: auto;
    display: flex; align-items: center; justify-content: flex-end; gap: 1rem;
}

.login-icon {
    width: 38px; height: 38px;
    border: 1.5px solid color-mix(in srgb, var(--site-header-link, #64716d) 30%, transparent);
    border-radius: 999px; background: transparent;
    color: var(--site-header-link, #64716d);
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: border-color var(--dur-fast) ease,
                background-color var(--dur-fast) ease,
                transform var(--dur-fast) var(--ease-spring);
}
/* Same recipe as .social-link: brighten the icon's OWN color into a soft
   halo + scale — never swap to a theme color, so it can never blend into
   the header background regardless of the palette chosen */
.login-icon:hover {
    border-color: currentColor;
    background-color: color-mix(in srgb, currentColor 16%, transparent);
    transform: scale(1.1);
}
.login-icon svg, .login-popover svg { width: 18px; height: 18px; fill: currentColor; }
.mobile-menu-toggle svg { width: 20px; height: 20px; }

.login-popover {
    width: min(320px, calc(100vw - 2rem));
    border: 1px solid rgba(15,30,26,.09) !important;
    box-shadow: var(--shadow-xl) !important;
    border-radius: 16px !important;
    animation: popover-fade-in var(--dur-base) var(--ease-out);
}
.account-popover {
    width: min(260px, calc(100vw - 2rem));
    border: 1px solid rgba(15,30,26,.09) !important;
    box-shadow: var(--shadow-xl) !important;
    border-radius: 16px !important;
    overflow: hidden;
    animation: popover-fade-in var(--dur-base) var(--ease-out);
}
.account-popover-head {
    display: grid; gap: .1rem;
    background: color-mix(in srgb, var(--site-primary) 6%, transparent);
    padding: .8rem 1rem;
}
.account-popover-head span { color: var(--site-muted); font-size: .84rem; overflow-wrap: anywhere; }
.account-popover .dropdown-item {
    border-radius: .5rem;
    display: flex; align-items: center; gap: .55rem;
    font-weight: 600;
    transition: background var(--dur-fast) ease;
}
.account-popover form { margin: 0; }

.site-mobile-menu {
    background: var(--site-header-bg, #fff);
    color: var(--site-header-link, #64716d);
    width: min(86vw, 330px);
}
.site-mobile-menu .offcanvas-header {
    border-bottom: 1px solid color-mix(in srgb, var(--site-header-link, #64716d) 15%, transparent);
    display: flex; align-items: center; justify-content: space-between;
}
.site-mobile-menu .offcanvas-title { color: var(--site-header-link, #64716d); margin: 0; }

.mobile-menu-close {
    width: 34px; height: 34px;
    border: 0; border-radius: 999px;
    background: color-mix(in srgb, var(--site-header-link, #64716d) 10%, transparent);
    color: var(--site-header-link, #64716d);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; margin-left: auto; flex: 0 0 auto;
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.mobile-menu-close:hover {
    color: var(--site-header-link-hover, var(--site-primary));
    background: color-mix(in srgb, var(--site-header-link-hover, var(--site-primary)) 12%, transparent);
}

.mobile-menu-nav { display: grid; gap: .08rem; }
.mobile-menu-nav a {
    display: flex; align-items: center; gap: .55rem;
    text-decoration: none;
    color: var(--site-header-link, #64716d);
    font-weight: 650;
    padding: .82rem .2rem;
    border-bottom: 1px solid color-mix(in srgb, var(--site-header-link, #64716d) 12%, transparent);
    transition: color var(--dur-fast) ease, padding-left var(--dur-fast) var(--ease-out);
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
    color: var(--site-header-link-hover, var(--site-primary));
    padding-left: .45rem;
}
.mobile-menu-nav a:last-child { border-bottom: 0; }
.mobile-menu-nav a .menu-item-icon { margin-right: .3rem; }

/* ─── 5. BUTTONS ───────────────────────────────────────────── */
.btn-site {
    background-image: linear-gradient(160deg,
        rgba(255,255,255,.16) 0%,
        rgba(255,255,255,.0)  45%,
        rgba(0,0,0,.08)       100%
    );
    font-weight: 650;
    letter-spacing: .014em;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-fast) var(--ease-out),
                background-color var(--dur-fast) ease,
                color var(--dur-fast) ease;
}

/* Shimmer sweep */
.btn-site::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255,255,255,.26) 46%,
        rgba(255,255,255,.30) 54%,
        transparent 80%
    );
    transform: translateX(-130%) skewX(-20deg);
    transition: transform 1.05s cubic-bezier(.4,0,.2,1);
    z-index: 1; pointer-events: none;
}
.btn-site:hover::before { transform: translateX(230%) skewX(-20deg); }

.btn-site:hover {
    box-shadow: var(--shadow-btn);
    background-image: linear-gradient(160deg,
        rgba(255,255,255,.18) 0%,
        rgba(255,255,255,.02) 45%,
        rgba(0,0,0,.10)       100%
    );
}
.btn-site:active {
    transform: scale(.97);
    box-shadow: none;
    transition-duration: 80ms;
}
.btn-site > * { position: relative; z-index: 2; }

/* Outline/ghost buttons */
.btn-outline-primary,
.btn-outline-secondary {
    transition: transform var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-fast) ease,
                background-color var(--dur-fast) ease;
}
.btn-outline-primary:hover,
.btn-outline-secondary:hover { box-shadow: var(--shadow-xs); }

/* Download block button */
.btn-outline-primary[download] { font-weight: 600; }

/* ─── 6. CARDS ─────────────────────────────────────────────── */
.card-clean {
    border: 1px solid rgba(15,30,26,.08);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out),
                border-color var(--dur-base) ease;
    position: relative;
    overflow: hidden;
}
.card-clean::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 25%,
        rgba(255,255,255,.3) 47%,
        rgba(255,255,255,.35) 53%,
        transparent 75%
    );
    transform: translateX(-200%) skewX(-20deg);
    transition: transform .7s var(--ease-out);
    pointer-events: none;
}
.card-clean:hover::after { transform: translateX(300%) skewX(-20deg); }
.card-clean:hover {
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--site-primary) 20%, transparent);
}

/* Plain white containers (customer portal, auth screens): no hover lift/shimmer — these are
   informational boxes, not clickable cards */
.customer-portal-content > .card-clean,
.customer-portal-sidebar.card-clean,
.customer-portal-mobile.card-clean,
.customer-auth-card.card-clean {
    transition: border-color var(--dur-base) ease;
}
.customer-portal-content > .card-clean::after,
.customer-portal-sidebar.card-clean::after,
.customer-portal-mobile.card-clean::after,
.customer-auth-card.card-clean::after {
    display: none;
}
.customer-portal-content > .card-clean:hover,
.customer-portal-sidebar.card-clean:hover,
.customer-portal-mobile.card-clean:hover,
.customer-auth-card.card-clean:hover {
    transform: none;
    box-shadow: var(--shadow-xs);
    border-color: rgba(15,30,26,.08);
}

/* Auth card — frosted glass over the gradient backdrop */
.customer-auth-card.card-clean {
    background: color-mix(in srgb, var(--site-surface, #fff) 84%, transparent);
    border: 1px solid rgba(255,255,255,.55);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.customer-auth-card.card-clean::before {
    content: '';
    position: absolute; inset: 0 0 auto 0;
    height: 4px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--site-primary), var(--site-accent));
}

/* Blog post cards */
article.card-clean {
    display: flex; flex-direction: column; gap: .1rem;
}
article.card-clean .img-fluid {
    border-radius: calc(var(--site-card-radius, 8px) - 2px);
    transition: transform var(--dur-slow) var(--ease-out);
    display: block;
}
article.card-clean:hover .img-fluid { transform: scale(1.035); }
article.card-clean h2 { margin-top: .3rem; }
article.card-clean h2 a {
    color: var(--site-ink);
    text-decoration: none;
    transition: color var(--dur-fast) ease;
}
article.card-clean h2 a:hover { color: var(--site-primary); }

/* Overflow clip for image zoom */
article.card-clean > .img-fluid {
    overflow: hidden;
}

/* Columns / stats / features */
.row .card-clean h3 { margin-top: 0; }
.row .card-clean h3.h5 {
    font-size: 1.08rem;
    font-weight: 700;
}

/* ─── 7. BLOCK SECTIONS ────────────────────────────────────── */
.block { position: relative; }
.block-hero, .block-carousel, .block-video { padding: 0; }

/* Separator */
hr { border-color: rgba(15,30,26,.09); opacity: 1; }

/* ─── 8. HERO ──────────────────────────────────────────────── */
.hero-shell,
.video-banner {
    position: relative; overflow: hidden;
    min-height: var(--hero-height, 78vh);
    background: #111;
}
.video-banner { min-height: var(--video-height, 62vh); }

.hero-media,
.hero-gradient,
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item { position: absolute; inset: 0; }

/* Animated gradient mode */
.hero-gradient {
    background-size: 220% 220% !important;
    animation: hero-gradient 14s ease infinite;
}

.hero-media-image,
.hero-media-video,
.video-banner-media {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

/* Ken Burns slow zoom */
.hero-media-image {
    transform-origin: center center;
    animation: ken-burns 24s ease-in-out infinite alternate;
}

.hero-overlay,
.video-banner-overlay,
.carousel-overlay {
    position: absolute; inset: 0; z-index: 1;
}

.slide-responsive-overlay {
    background: var(--slide-overlay-desktop);
}

@media (max-width: 767.98px) {
    .slide-responsive-overlay {
        background: var(--slide-overlay-mobile, var(--slide-overlay-desktop));
    }
}

.hero-content,
.video-banner-content {
    position: relative; z-index: 2;
    min-height: var(--hero-height, 78vh);
    display: flex; align-items: center;
    color: #fff;
    padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}
.video-banner-content { min-height: var(--video-height, 62vh); }

.hero-content h1,
.hero-content .lead,
.video-banner-content h2,
.video-banner-content .lead { color: #fff; }

/* Eyebrow pill badge */
.hero-eyebrow {
    display: inline-block;
    background: color-mix(in srgb, var(--site-accent) 20%, transparent);
    border: 1px solid color-mix(in srgb, var(--site-accent) 45%, transparent);
    color: var(--site-accent) !important;
    padding: .3rem 1rem;
    border-radius: 999px;
    font-size: .78rem !important;
    font-weight: 700 !important;
    letter-spacing: .09em;
    text-transform: uppercase !important;
    margin-bottom: 1.1rem !important;
    backdrop-filter: blur(4px);
}

/* Light-bg hero (gradient mode) */
.hero-content.hero-content-ink { color: var(--site-ink); }
.hero-content.hero-content-ink h1,
.hero-content.hero-content-ink .lead { color: var(--site-heading, var(--site-ink)); }
.hero-content.hero-content-ink .hero-eyebrow {
    color: var(--site-primary) !important;
    border-color: color-mix(in srgb, var(--site-primary) 32%, transparent);
    background: color-mix(in srgb, var(--site-primary) 10%, transparent);
}

/* Gradient text on light-bg h1 */
.hero-content.hero-content-ink h1 {
    background: linear-gradient(
        138deg,
        var(--site-primary) 0%,
        color-mix(in srgb, var(--site-primary) 55%, var(--site-accent)) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Hero h1 sizing */
.block-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 820;
    line-height: 1.06;
    letter-spacing: -.035em;
}

.hero-text-preserve { white-space: pre-wrap; }

/* Slideshow hero */
.hero-carousel .carousel-item {
    min-height: var(--hero-height, 78vh);
    background: #111;
}
.hero-carousel .hero-content {
    position: absolute; inset: 0; padding: 0;
}
.hero-carousel .hero-content .container {
    display: flex; align-items: center;
}
.hero-carousel h1,
.hero-carousel .lead { color: #fff; }

/* ─── 9. CAROUSEL BLOCK ────────────────────────────────────── */
.site-carousel .carousel-item {
    position: relative;
    height: min(var(--carousel-height, 78vh), 860px);
    min-height: 460px;
    background: #111;
}
.site-carousel .carousel-item img,
.site-carousel .carousel-media-video {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.site-carousel .carousel-caption {
    left: 8%; right: auto; bottom: 12%;
    z-index: 2;
    max-width: min(700px, 84vw);
    text-align: left;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(6px);
    border-radius: 1rem;
    padding: 1.1rem 1.4rem;
    border: 1px solid rgba(255,255,255,.12);
}
.site-carousel .carousel-caption h2,
.site-carousel .carousel-caption p { color: #fff; }

/* ─── 10. IMAGE BLOCKS ─────────────────────────────────────── */
.block figure { margin: 0; }
.block figure img {
    border-radius: var(--site-card-radius, 8px);
    box-shadow: var(--shadow-md);
    transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) ease;
}
.block figure:hover img {
    transform: scale(1.016);
    box-shadow: var(--shadow-lg);
}
.block figure figcaption {
    font-size: .88rem; color: var(--site-muted); margin-top: .65rem;
}

/* Image + text */
.block-image_text .img-fluid {
    border-radius: var(--site-card-radius, 8px);
    box-shadow: var(--shadow-md);
    transition: transform var(--dur-slow) var(--ease-out);
}
.block-image_text:hover .img-fluid { transform: scale(1.012); }

/* ─── 11. GALLERY ──────────────────────────────────────────── */
.block-gallery .row > div {
    overflow: hidden;
    border-radius: var(--site-card-radius, 8px);
}
.block-gallery img {
    border-radius: var(--site-card-radius, 8px);
    transition: transform var(--dur-slow) var(--ease-out),
                box-shadow var(--dur-slow) ease;
    display: block; width: 100%;
    box-shadow: var(--shadow-sm);
}
.block-gallery img:hover {
    transform: scale(1.07);
    box-shadow: var(--shadow-md);
}

/* ─── 12. TABLE ────────────────────────────────────────────── */
.table-responsive { border-radius: var(--site-card-radius, 8px); overflow: hidden; }
.table { border-color: rgba(15,30,26,.08); }
.table thead th {
    background: color-mix(in srgb, var(--site-primary) 8%, #fff);
    color: var(--site-ink);
    font-weight: 700;
    letter-spacing: -.01em;
}
.table-bordered { border: 1px solid rgba(15,30,26,.08); }

/* ─── 13. FAQ / ACCORDION ──────────────────────────────────── */
.accordion { display: grid; gap: .55rem; }
.accordion-item {
    border: 1px solid rgba(15,30,26,.08) !important;
    border-radius: var(--site-card-radius, 8px) !important;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--dur-base) ease, border-color var(--dur-base) ease;
}
.accordion-item:has(.accordion-collapse.show) {
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--site-primary) 28%, transparent) !important;
}
.accordion-button {
    font-weight: 650; letter-spacing: -.012em;
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.accordion-button:not(.collapsed) {
    color: var(--site-primary);
    background-color: color-mix(in srgb, var(--site-primary) 5%, #fff);
    box-shadow: none;
}
.accordion-button::after {
    transition: transform var(--dur-base) var(--ease-out);
}
.accordion-button:focus {
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--site-primary) 20%, transparent);
}
.accordion-body {
    color: var(--site-muted); line-height: 1.76;
}

/* ─── 14. FORMS ────────────────────────────────────────────── */
.form-control,
.form-select {
    border-color: rgba(15,30,26,.14);
    transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--site-primary);
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--site-primary) 20%, transparent);
}
.form-label { font-weight: 600; font-size: .93rem; }
.form-check-input:checked {
    background-color: var(--site-primary);
    border-color: var(--site-primary);
}
.form-check-input:focus {
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--site-primary) 20%, transparent);
}
.input-group .btn-outline-secondary {
    border-color: rgba(15,30,26,.14);
}

/* Alert flash */
.alert-success {
    background: color-mix(in srgb, var(--site-primary) 8%, #fff);
    border-color: color-mix(in srgb, var(--site-primary) 28%, transparent);
    color: color-mix(in srgb, var(--site-primary) 82%, #000);
    border-radius: var(--site-card-radius, 8px);
    box-shadow: var(--shadow-xs);
}

/* ─── 15. VIDEO BANNER ─────────────────────────────────────── */
.ratio iframe { border: 0; }

/* ─── 16. FOOTER ───────────────────────────────────────────── */
.site-footer {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        160deg,
        rgba(255,255,255,.04) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    gap: 1.5rem; align-items: center;
    position: relative; z-index: 1;
}
.footer-brand .small { opacity: .58; font-size: .82rem; margin-top: .35rem; }

.footer-logo {
    display: inline-flex; align-items: center;
    color: inherit; text-decoration: none;
    transition: opacity var(--dur-fast) ease;
}
.footer-logo:hover { opacity: .8; }
.footer-logo img {
    height: var(--site-logo-height, 38px);
    max-height: var(--site-logo-height, 38px);
    width: auto; object-fit: contain; display: block;
}

.footer-menu,
.social-links {
    display: flex; align-items: center;
    flex-wrap: wrap; justify-content: flex-end; gap: .85rem;
}
.footer-menu a { text-decoration: none; font-weight: 600; font-size: .9rem; }

.social-link {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid currentColor;
    border-radius: 999px; text-decoration: none;
    opacity: .72;
    transition: opacity var(--dur-fast) ease,
                transform var(--dur-fast) var(--ease-spring),
                background var(--dur-fast) ease;
}
.social-link:hover {
    opacity: 1;
    background-color: color-mix(in srgb, currentColor 16%, transparent);
    transform: scale(1.1);
}
.social-link svg { width: 17px; height: 17px; fill: currentColor; }

/* ─── 17. FLYER PAGE ───────────────────────────────────────── */
.flyer-main {
    background: color-mix(in srgb, var(--site-primary) 16%, #f3f7fb);
    padding-bottom: 2.4rem; overflow-x: hidden;
}
.flyer-headband {
    background: #fff;
    border-bottom: 1px solid rgba(15,30,26,.07);
    box-shadow: var(--shadow-xs);
}
.flyer-viewer { display: grid; gap: .8rem; overflow-x: hidden; }
.flyer-stage {
    border-radius: 0; background: transparent;
    min-height: 0; overflow: hidden; border: 0;
}
.flyer-carousel { overflow: hidden; }
.flyer-page { min-height: 0; align-items: center; justify-content: center; padding: .15rem; }
.flyer-carousel .carousel-item { display: none; }
.flyer-carousel .carousel-item.active,
.flyer-carousel .carousel-item.carousel-item-start,
.flyer-carousel .carousel-item.carousel-item-end,
.flyer-carousel .carousel-item.carousel-item-next,
.flyer-carousel .carousel-item.carousel-item-prev { display: flex; }

.flyer-page img {
    max-width: min(100%, 900px);
    max-height: calc(100dvh - 255px);
    width: auto; height: auto;
    object-fit: contain;
    border-radius: .75rem;
    box-shadow: var(--shadow-xl);
    background: #fff;
    transform-origin: center center;
    transition: transform .16s ease, opacity .2s ease;
    user-select: none; -webkit-user-drag: none;
}

.flyer-floating-controls {
    display: flex; justify-content: space-between; align-items: center; gap: .8rem;
}
.flyer-nav-buttons  { display: inline-flex; gap: .65rem; margin-left: auto; }
.flyer-zoom-buttons { display: inline-flex; flex-direction: row; gap: .55rem; }

.flyer-round-btn {
    width: 44px; height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(15,30,26,.12);
    background: rgba(255,255,255,.98);
    color: #23302b;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.65rem; font-weight: 700; line-height: 1;
    box-shadow: var(--shadow-md);
    transition: transform var(--dur-fast) var(--ease-spring),
                box-shadow var(--dur-fast) ease,
                background var(--dur-fast) ease;
}
.flyer-round-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}
.flyer-round-btn:active { transform: scale(.95); }

.flyer-thumbs {
    display: flex; gap: .65rem; overflow-x: auto;
    padding-bottom: .25rem;
    scrollbar-width: none; -ms-overflow-style: none;
}
.flyer-thumbs::-webkit-scrollbar { display: none; }
.flyer-switch-row { display: flex; justify-content: center; padding-top: .2rem; }

.flyer-thumb {
    border: 1.5px solid rgba(15,30,26,.1);
    background: #fff; border-radius: .6rem;
    padding: .35rem; min-width: 92px;
    display: grid; gap: .25rem;
    text-align: center; color: var(--site-muted); font-size: .78rem;
    cursor: pointer;
    transition: border-color var(--dur-fast) ease,
                box-shadow var(--dur-fast) ease,
                transform var(--dur-fast) var(--ease-spring);
}
.flyer-thumb:hover { transform: scale(1.04); box-shadow: var(--shadow-sm); }
.flyer-thumb.active {
    border-color: var(--site-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--site-primary) 20%, transparent);
    color: var(--site-ink);
}
.flyer-thumb img { width: 82px; height: 114px; object-fit: cover; border-radius: .4rem; }

/* ─── 18. STORES PAGE ──────────────────────────────────────── */
.stores-main {
    background: color-mix(in srgb, var(--site-primary) 13%, #edf5fb);
    padding-bottom: 2rem;
}
.stores-intro {
    background: #fff;
    border-bottom: 1px solid rgba(15,30,26,.06);
    box-shadow: var(--shadow-xs);
}
.stores-searchbar {
    background: #fff;
    border: 1px solid rgba(15,30,26,.1);
    border-radius: 1rem;
    padding: .7rem;
    display: grid; grid-template-columns: 1fr auto; gap: .6rem;
    box-shadow: var(--shadow-md);
}
.stores-map-shell {
    border: 1px solid rgba(15,30,26,.08);
    border-radius: 1rem; overflow: hidden; background: #fff;
    box-shadow: var(--shadow-sm);
}
.stores-map { width: 100%; height: clamp(300px, 45vh, 560px); }
.stores-accordion { display: grid; gap: .8rem; }

.store-province {
    background: color-mix(in srgb, var(--site-primary) 12%, #d8eafb);
    border: 1px solid color-mix(in srgb, var(--site-primary) 16%, transparent);
    border-radius: 1rem; overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--dur-base) ease;
}
.store-province:has([aria-expanded="true"]) { box-shadow: var(--shadow-md); }

.store-province-toggle {
    width: 100%; border: 0; background: transparent;
    display: flex; align-items: center; justify-content: space-between;
    padding: .92rem 1rem;
    font-size: 1.2rem; font-weight: 760;
    color: color-mix(in srgb, var(--site-primary) 40%, #0d2b44);
    transition: background var(--dur-fast) ease;
}
.store-province-toggle:hover {
    background: color-mix(in srgb, var(--site-primary) 8%, transparent);
}

.store-province-content { padding: 0 .8rem .8rem; display: grid; gap: .7rem; }

.store-card {
    background: #fff;
    border: 1px solid rgba(15,30,26,.07);
    border-radius: .85rem; padding: 1.1rem;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) ease,
                border-color var(--dur-base) ease;
}
.store-card:hover {
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--site-primary) 20%, transparent);
}
.store-card h3 { font-size: 1.25rem; margin: 0 0 .35rem; }
.store-address { margin: 0 0 .6rem; color: var(--site-ink); }
.store-meta-row,
.store-hours-row {
    display: flex; gap: .42rem; align-items: baseline;
    color: var(--site-ink); margin-bottom: .2rem;
}
.store-meta-row a { color: inherit; text-decoration: none; transition: color var(--dur-fast) ease; }
.store-meta-row a:hover { color: var(--site-primary); }
.store-hours-row span { color: var(--site-muted); }
.stores-empty {
    background: #fff; border: 1px solid rgba(15,30,26,.08);
    border-radius: .8rem; padding: 1rem; color: var(--site-muted);
}

/* ─── 19. CUSTOMER AUTH ────────────────────────────────────── */
.customer-auth-main {
    background:
        radial-gradient(circle at 14% 18%, color-mix(in srgb, var(--site-accent) 28%, transparent) 0%, transparent 42%),
        radial-gradient(circle at 86% 84%, color-mix(in srgb, var(--site-primary) 34%, transparent) 0%, transparent 46%),
        linear-gradient(135deg,
            color-mix(in srgb, var(--site-primary) 20%, #eef5fb) 0%,
            color-mix(in srgb, var(--site-accent) 12%, #f8f5ee) 50%,
            color-mix(in srgb, var(--site-primary) 16%, #eef5fb) 100%);
    background-size: 160% 160%, 160% 160%, 220% 220%;
    animation: auth-aurora 20s ease-in-out infinite alternate;
    min-height: calc(100dvh - 120px);
    padding: 1.2rem 0 2rem;
}
@keyframes auth-aurora {
    0%   { background-position: 0% 0%,   100% 100%, 0%   50%; }
    100% { background-position: 26% 22%, 74% 78%,   100% 50%; }
}
.customer-auth-wrap { max-width: 760px; }
.customer-auth-card {
    max-width: 680px; margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(15,30,26,.08);
    box-shadow: var(--shadow-xl);
    overflow: visible;
    animation: fade-up var(--dur-slow) var(--ease-out);
}
.customer-auth-brand { text-align: center; margin-bottom: 1rem; }
.customer-auth-brand img {
    max-height: 62px; width: auto; object-fit: contain;
    margin: 0 auto .75rem; display: block;
}
.customer-auth-brand h1 {
    display: inline-block;
    background: linear-gradient(138deg, var(--site-primary) 0%, color-mix(in srgb, var(--site-primary) 55%, var(--site-accent)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.customer-flash-stack { margin-bottom: 1rem; }
.customer-form-grid { display: grid; gap: .85rem; }
.customer-scan-btn { display: inline-flex; align-items: center; gap: .35rem; }
.customer-auth-links { margin-top: 1rem; display: grid; gap: .38rem; }
.customer-auth-links a {
    text-decoration: none; font-weight: 600;
    color: var(--site-primary);
    transition: opacity var(--dur-fast) ease;
}
.customer-auth-links a:hover { opacity: .72; }

.customer-choice-grid { display: grid; gap: .85rem; }
.customer-choice-card {
    display: grid; gap: .3rem;
    border: 1.5px solid rgba(15,30,26,.1);
    border-radius: 14px;
    padding: 1.1rem 1rem;
    background: #fff; color: var(--site-ink);
    text-decoration: none;
    transition: border-color var(--dur-base) ease,
                box-shadow var(--dur-base) ease,
                transform var(--dur-base) var(--ease-out);
}
.customer-choice-card:hover {
    border-color: var(--site-primary);
    box-shadow: 0 6px 28px color-mix(in srgb, var(--site-primary) 16%, transparent);
    color: var(--site-ink);
}
.customer-choice-card i { font-size: 1.4rem; color: var(--site-primary); }
.customer-choice-card span { color: var(--site-muted); font-size: .92rem; }

/* Scanner */
.customer-scanner-modal { position: fixed; inset: 0; z-index: 1200; }
.customer-scanner-backdrop {
    position: absolute; inset: 0;
    background: rgba(6,12,18,.72);
    backdrop-filter: blur(5px);
}
.customer-scanner-panel {
    position: relative;
    width: min(94vw, 520px); margin: 6vh auto 0;
    background: #fff; border-radius: 20px;
    border: 1px solid rgba(15,30,26,.08);
    overflow: hidden; box-shadow: var(--shadow-xl);
    animation: scale-in var(--dur-base) var(--ease-out);
}
.customer-scanner-head {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding: .8rem .9rem; border-bottom: 1px solid rgba(15,30,26,.07);
}
.customer-scanner-video-wrap { background: #111; width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.customer-scanner-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.customer-scanner-status { padding: .8rem .9rem; font-size: .92rem; color: var(--site-muted); }
.customer-scanner-status.is-error { color: #b4232c; }
body.customer-scanner-open { overflow: hidden; }

/* ─── 20. CUSTOMER PORTAL ──────────────────────────────────── */
.customer-portal-main {
    background: color-mix(in srgb, var(--site-primary) 12%, #eef5fb);
    min-height: calc(100dvh - 120px);
}
.customer-portal-grid {
    display: grid;
    grid-template-columns: minmax(230px, 280px) minmax(0,1fr);
    gap: 1.1rem; align-items: start;
}
.customer-portal-sidebar { position: sticky; top: 92px; border-radius: 14px; }
.customer-portal-mobile { display: none; }
.customer-portal-mobile-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: .85rem;
}
.customer-portal-menu-toggle {
    width: 42px; height: 42px; border-radius: 999px;
    border: 1.5px solid color-mix(in srgb, var(--site-primary) 26%, white);
    background: color-mix(in srgb, var(--site-primary) 9%, white);
    color: var(--site-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.18rem; flex: 0 0 auto;
    transition: background var(--dur-fast) ease, transform var(--dur-fast) var(--ease-spring);
}
.customer-portal-menu-toggle:hover {
    background: color-mix(in srgb, var(--site-primary) 14%, white);
    transform: scale(1.07);
}
.customer-portal-offcanvas { background: #fff; color: var(--site-ink); }
.customer-portal-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(15,30,26,.07); }
.customer-portal-offcanvas-close {
    width: 36px; height: 36px; border-radius: 999px;
    border: 1px solid rgba(15,30,26,.1);
    background: #fff; color: #2e3d38;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background var(--dur-fast) ease;
}

.customer-portal-user { display: flex; align-items: center; gap: .7rem; }
.customer-portal-avatar { font-size: 2rem; line-height: 1; color: var(--site-primary); }
.customer-portal-name { font-weight: 700; }
.customer-portal-cardcode { font-size: .82rem; color: var(--site-muted); }
.customer-portal-points { margin: .9rem 0; font-size: .95rem; }

.customer-portal-nav { display: grid; gap: .35rem; }
.customer-portal-nav a {
    border: 1px solid rgba(15,30,26,.09); border-radius: 10px;
    padding: .62rem .72rem;
    display: inline-flex; align-items: center; gap: .52rem;
    color: var(--site-ink); text-decoration: none; font-weight: 600;
    transition: border-color var(--dur-fast) ease,
                background var(--dur-fast) ease,
                transform var(--dur-fast) ease;
}
.customer-portal-nav a:hover {
    border-color: color-mix(in srgb, var(--site-primary) 28%, transparent);
    background: color-mix(in srgb, var(--site-primary) 5%, #fff);
    transform: translateX(3px);
    color: var(--site-ink);
}
.customer-portal-nav a i { color: var(--site-primary); }
.customer-portal-nav a.is-active {
    border-color: var(--site-primary);
    background: color-mix(in srgb, var(--site-primary) 10%, #fff);
    color: color-mix(in srgb, var(--site-primary) 88%, #000);
}

.customer-metric-featured {
    border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--site-primary) 9%, #fff), #fff);
    border: 1px solid color-mix(in srgb, var(--site-primary) 16%, transparent);
    padding: 1.3rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
    margin-bottom: .8rem;
}
.customer-metric-value-featured {
    font-size: 2.7rem; font-weight: 800;
    line-height: 1.05; letter-spacing: -.03em;
    color: var(--site-primary);
    margin: .15rem 0 1rem;
}
.customer-open-card-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    width: 100%; max-width: 320px;
}
.customer-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .8rem;
}
.customer-metrics-secondary .customer-metric-value { font-size: 1.3rem; }
.customer-metric {
    border-radius: 14px; background: #fff;
    border: 1px solid rgba(15,30,26,.07);
    padding: 1.1rem;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease;
}
.customer-metric:hover { box-shadow: var(--shadow-sm); }
.customer-metric-label { color: var(--site-muted); font-size: .88rem; margin-bottom: .3rem; }
.customer-metric-value {
    font-size: 1.65rem; font-weight: 780;
    line-height: 1.1; letter-spacing: -.025em;
}
.customer-code-value { font-size: 1.18rem; word-break: break-all; }

.customer-points-ledger { display: grid; gap: .15rem; }
.customer-points-ledger-item {
    display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    padding: .7rem .15rem;
    border-bottom: 1px solid rgba(15,30,26,.06);
}
.customer-points-ledger-item:last-child { border-bottom: none; }
.customer-points-ledger-info { display: grid; gap: .15rem; min-width: 0; }
.customer-points-ledger-reason { font-weight: 650; }
.customer-points-ledger-meta { color: var(--site-muted); font-size: .85rem; }
.customer-points-ledger-delta {
    flex-shrink: 0;
    font-size: 1.1rem; font-weight: 780; letter-spacing: -.02em;
}

.customer-profile-form { border-radius: 14px; }
.customer-checkbox-group { display: grid; gap: .35rem; }

/* Fidelity card */
.customer-card-wrap { display: grid; place-items: center; margin-bottom: .8rem; }
.customer-fidelity-card {
    width: min(100%, 620px);
    border-radius: 22px;
    padding: 1.1rem 1.1rem .95rem;
    background: linear-gradient(140deg, #f6f9fc, #e4f1ff);
    border: 1px solid rgba(15,30,26,.08);
    box-shadow: var(--shadow-xl);
    position: relative; overflow: hidden;
    transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) ease;
}
.customer-fidelity-card:hover {
    box-shadow: 0 22px 64px rgba(8,16,24,.18);
}
.customer-fidelity-card::before {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--customer-card-bg);
    background-size: cover; background-position: center;
    opacity: .32; pointer-events: none;
}
/* Shimmer on fidelity card */
.customer-fidelity-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 35%; height: 200%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.2), transparent);
    transform: skewX(-20deg);
    animation: card-shimmer 5s ease-in-out 2s infinite;
    pointer-events: none;
}

.customer-fidelity-head,
.customer-fidelity-barcode,
.customer-fidelity-foot { position: relative; z-index: 1; }

.customer-fidelity-head {
    display: flex; justify-content: space-between;
    gap: .8rem; align-items: baseline;
    margin-bottom: 1.65rem;
}
.customer-fidelity-head strong { font-size: 1.08rem; }
.customer-fidelity-head span { color: var(--site-muted); font-size: .9rem; text-align: right; }

.customer-fidelity-barcode {
    background: #fff;
    border: 1px solid rgba(15,30,26,.1);
    border-radius: 14px; padding: .75rem .65rem .4rem;
    box-shadow: inset 0 1px 3px rgba(15,30,26,.06);
}
.customer-fidelity-barcode svg { width: 100%; height: auto; display: block; }

.customer-fidelity-foot {
    margin-top: 2.6rem;
    display: flex; justify-content: space-between; align-items: flex-end; gap: .6rem;
}
.customer-fidelity-foot span { color: var(--site-muted); font-size: .85rem; }
.customer-fidelity-foot strong { font-size: 1.05rem; }
.customer-fidelity-foot-item { display: flex; flex-direction: column; gap: .2rem; }
.customer-fidelity-foot-item-end { align-items: flex-end; text-align: right; }

.customer-card-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.customer-card-focus-close-fab { display: none; }

body.customer-card-focus-open { overflow: hidden; }
body.customer-card-focus-open .customer-card-wrap {
    position: fixed; inset: 0; z-index: 1150;
    background: rgba(5,10,16,.92);
    padding: 1rem;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}
body.customer-card-focus-open .customer-fidelity-card {
    width: min(94vh, 860px); max-width: none;
    transform: rotate(90deg);
    transform-origin: center center;
}
body.customer-card-focus-open .customer-card-focus-close-fab {
    display: inline-flex;
    position: fixed;
    left: 50%; bottom: max(1rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 1161;
    width: 50px; height: 50px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.36);
    background: rgba(16,24,34,.88);
    color: #fff;
    align-items: center; justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: transform var(--dur-fast) var(--ease-spring),
                background var(--dur-fast) ease;
}
body.customer-card-focus-open .customer-card-focus-close-fab:hover {
    transform: translateX(-50%) scale(1.1);
    background: rgba(16,24,34,.96);
}

/* ─── 21. AOS EASING OVERRIDE ──────────────────────────────── */
[data-aos] {
    transition-timing-function: var(--ease-out) !important;
}

/* ─── 22. REDUCED MOTION ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .hero-media-image             { animation: none; }
    .hero-gradient                { animation: none; }
    .customer-auth-main           { animation: none; }
    .customer-fidelity-card::after { animation: none; }
    .btn-site::before             { transition: none; }
    .card-clean::after            { transition: none; }
    [data-aos]                    { transition: none !important; animation: none !important; }
    *                             { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ─── 23. RESPONSIVE ───────────────────────────────────────── */
@media (min-width: 820px) and (max-width: 1100px) and (orientation: portrait) {
    .flyer-page img {
        max-width: min(97vw, 980px);
        max-height: calc(100dvh - 210px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .site-nav { gap: .3rem !important; }
    .site-nav a { padding: .42rem .65rem; font-size: .88rem; gap: .4rem; }
    .site-nav a .menu-item-icon { font-size: .98rem; }
}

@media (max-width: 767px) {
    .site-top-nav {
        justify-content: flex-start; gap: .72rem;
        min-height: 32px;
        overflow-x: auto; white-space: nowrap;
        scrollbar-width: none;
    }
    .site-top-nav::-webkit-scrollbar { display: none; }
    .site-top-nav a { font-size: .82rem; }

    .block-hero h1 { letter-spacing: -.025em; }

    .footer-grid { grid-template-columns: 1fr; align-items: flex-start; }
    .footer-menu, .social-links { justify-content: flex-start; }

    .flyer-page img { max-height: calc(100dvh - 265px); }
    .flyer-floating-controls { padding-bottom: .1rem; }

    .stores-searchbar { grid-template-columns: 1fr; }
    .stores-map { height: min(56vh, 480px); }
    .store-province-toggle { font-size: 1.1rem; }

    .customer-auth-main { padding: 1rem 0 1.4rem; }
    .customer-auth-card { border-radius: 14px; }
    .customer-choice-card { padding: .9rem .85rem; }

    .customer-portal-grid { grid-template-columns: 1fr; gap: .85rem; }
    .customer-portal-mobile { display: block; }

    .customer-metrics-secondary { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .customer-metric-value-featured { font-size: 2.3rem; }
    .customer-open-card-btn { max-width: none; }
    .customer-card-actions { justify-content: center; }

    body.customer-card-focus-open .customer-card-wrap { padding: .05rem; }
    body.customer-card-focus-open .customer-fidelity-card {
        width: min(99vh, 920px);
        transform: rotate(90deg) scale(1.14);
    }

    .site-carousel .carousel-caption {
        padding: .8rem 1rem;
        bottom: 8%; left: 5%;
    }
}

/* Carosello promo — riquadri curati a mano, scorrimento orizzontale */
.promo-carousel {
    margin: 0 -.25rem;
}
.promo-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: .25rem;
    padding: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.promo-carousel-track::-webkit-scrollbar {
    height: 8px;
}
.promo-carousel-track::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--site-primary) 35%, transparent);
    border-radius: 999px;
}
.promo-carousel-card {
    flex: 0 0 auto;
    width: min(78vw, 320px);
    scroll-snap-align: start;
    background: var(--site-surface, #fff);
    border: 1px solid rgba(15,30,26,.08);
    border-radius: var(--site-card-radius, 8px);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out),
                border-color var(--dur-base) ease;
}
.promo-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--site-primary) 20%, transparent);
}
.promo-carousel-media {
    aspect-ratio: 4 / 3;
    height: var(--promo-media-height, auto);
    overflow: hidden;
}
.promo-carousel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease-out);
}
.promo-carousel-card:hover .promo-carousel-media img {
    transform: scale(1.05);
}
.promo-carousel-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
}
.promo-carousel-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.promo-carousel-btn {
    align-self: flex-start;
}

@media (max-width: 575.98px) {
    .promo-carousel-card { width: min(82vw, 280px); }
}

.customer-install-app {
    border: 1px solid color-mix(in srgb, var(--site-primary) 24%, transparent);
    background: color-mix(in srgb, var(--site-primary) 5%, var(--site-surface, #fff));
}
.customer-install-app-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    border-radius: .85rem;
    background: var(--site-primary);
    color: #fff;
    font-size: 1.35rem;
}
.customer-install-app[hidden] { display: none !important; }

/* ─── 24. MOBILE APP EXPERIENCE ───────────────────────────── */
.app-notice {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 1.3rem 3rem 1.3rem 1.35rem;
    border-left: 5px solid var(--mobile-nav-active, var(--site-primary));
    border-radius: 12px;
    background: var(--site-surface, #fff);
    box-shadow: var(--shadow-sm);
}
.app-notice-label { color: var(--mobile-nav-active, var(--site-primary)); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.app-notice h2 { margin: .45rem 0 .65rem; font-size: 1.1rem; }
.app-notice-copy { line-height: 1.48; }
.app-notice > a { display: inline-flex; gap: .35rem; margin-top: .75rem; font-weight: 700; }
.app-notice-close { position: absolute; right: .8rem; top: .7rem; border: 0; background: transparent; color: var(--site-muted); font-size: 1rem; }

.app-link-grid { display: grid; gap: 1rem; }
.app-link-card {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: var(--site-surface, #fff);
    color: var(--site-ink);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.app-link-media { display: block; overflow: hidden; }
.app-link-media img, .app-link-media video { display: block; width: 100%; height: auto; }
.app-link-body { display: grid; gap: .35rem; padding: 1rem 1.1rem; text-align: center; }
.app-link-body strong { font-size: 1.05rem; }
.app-link-body span { color: var(--site-muted); }
.app-link-body b { color: var(--mobile-nav-active, var(--site-primary)); }

.mobile-app-nav,
.mobile-install-prompt { display: none; }

@media (max-width: 767.98px) {
    body.mobile-app-shell {
        background: var(--mobile-app-bg, #eaf4fb);
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }
    body.mobile-app-hide-header .site-header,
    body.mobile-app-hide-header .site-mobile-menu { display: none !important; }
    body.mobile-app-hide-footer .site-footer { display: none !important; }
    body.mobile-app-shell .block { padding-bottom: 1rem; }
    body.mobile-app-shell .block > .container { padding-inline: .5rem; }
    body.mobile-app-shell .block-hero > .container-fluid,
    body.mobile-app-shell .block-carousel > .container-fluid,
    body.mobile-app-shell .block-video > .container-fluid { padding-inline: 0; }
    body.mobile-app-shell .hero-shell,
    body.mobile-app-shell .site-carousel { min-height: min(88svh, 760px); }
    body.mobile-app-shell .hero-media-image,
    body.mobile-app-shell .hero-media-video,
    body.mobile-app-shell .site-carousel .carousel-item > img,
    body.mobile-app-shell .site-carousel .carousel-media-video { object-fit: cover; }
    .app-link-grid { gap: .85rem; }
    .app-link-card { border-radius: 12px; }
    .app-notice { margin-inline: .5rem; border-radius: 10px; }
    .mobile-app-nav {
        position: fixed;
        z-index: 1080;
        left: 0; right: 0; bottom: 0;
        display: grid !important;
        grid-template-columns: repeat(var(--mobile-nav-count, 5), minmax(0, 1fr));
        min-height: calc(64px + env(safe-area-inset-bottom));
        padding: .35rem .2rem max(.35rem, env(safe-area-inset-bottom));
        background: var(--mobile-nav-bg, #fff);
        box-shadow: 0 -4px 22px rgba(15, 30, 26, .12);
        border-top: 1px solid rgba(15, 30, 26, .08);
    }
    .mobile-app-nav a {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .15rem;
        color: var(--mobile-nav-color, #4b5563);
        text-decoration: none;
        font-size: .68rem;
        line-height: 1.1;
    }
    .mobile-app-nav a i { font-size: 1.35rem; line-height: 1; }
    .mobile-app-nav a span { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-app-nav a.is-active { color: var(--mobile-nav-active, #00a8e0); font-weight: 700; }
    .mobile-install-prompt {
        position: fixed;
        z-index: 1090;
        right: .75rem;
        bottom: calc(70px + env(safe-area-inset-bottom));
        display: flex;
        align-items: center;
        border-radius: 999px;
        overflow: hidden;
        background: var(--mobile-nav-active, var(--site-primary));
        color: #fff;
        box-shadow: var(--shadow-lg);
    }
    .mobile-install-prompt[hidden] { display: none !important; }
    .mobile-install-prompt button { border: 0; background: transparent; color: inherit; padding: .72rem .85rem; font-weight: 700; }
    .mobile-install-prompt button + button { padding-left: .3rem; }
}

/* Assistenza clienti */
.public-support-widget{position:fixed;right:20px;bottom:24px;z-index:1065;font-family:var(--site-font-base)}
.mobile-app-shell .public-support-widget{bottom:92px}
.public-support-launcher{width:58px;height:58px;border:0;border-radius:50%;background:#fff;color:var(--site-primary);box-shadow:0 12px 30px rgba(0,0,0,.24);font-size:1.45rem}
.public-support-panel{position:absolute;right:0;bottom:72px;width:min(390px,calc(100vw - 24px));height:min(600px,calc(100vh - 150px));background:#fff;border:0;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.25);overflow:hidden;grid-template-rows:auto 1fr auto}
.public-support-panel:not([hidden]){display:grid}
.public-support-panel>header{padding:14px 16px;background:var(--site-primary);color:#fff;display:flex;justify-content:space-between;align-items:center}.public-support-panel>header small{display:block;opacity:.85}.public-support-panel>header button{border:0;background:transparent;color:#fff;font-size:1.1rem}
.public-support-messages{overflow-y:auto;padding:16px;background:#f4f7f6;display:flex;flex-direction:column;gap:10px}.support-system-message{font-size:.9rem;color:#5e6b67;text-align:center}
.public-support-message{max-width:84%;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #dfe4e2;align-self:flex-start}.public-support-message.is-visitor{background:color-mix(in srgb,var(--site-primary) 12%,white);align-self:flex-end}.public-support-message strong,.public-support-message time{display:block;font-size:.72rem}.public-support-message time{color:#6b7280;margin-top:4px}
.public-support-panel form{padding:12px;background:#fff;border-top:1px solid #e5e7eb}
@media(max-width:575px){.public-support-widget{right:12px;bottom:18px}.mobile-app-shell .public-support-widget{bottom:82px}.public-support-panel{position:fixed;inset:12px 12px 86px;width:auto;height:auto}}
.customer-coupon{height:100%;padding:1rem;border:1px dashed var(--site-primary);border-radius:12px;display:flex;flex-direction:column;gap:.25rem}.customer-coupon code{font-size:1.1rem;font-weight:800;color:var(--site-primary)}.customer-coupon p{margin:.35rem 0;color:var(--site-muted)}
.footer-consent-link{border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer;display:inline-flex;align-items:center;gap:.38rem;font:inherit;font-weight:600;font-size:.9rem;transition:opacity var(--dur-fast) ease}.footer-consent-link:hover,.footer-consent-link:focus-visible{opacity:.72}.footer-consent-link i{font-size:1.05rem;line-height:1}
.privacy-banner{position:fixed;z-index:1095;left:1rem;right:1rem;bottom:1rem;max-width:900px;margin:auto;display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.15rem;align-items:start;background:linear-gradient(145deg,#fff 0%,color-mix(in srgb,var(--site-primary) 5%,#fff) 100%);color:#17211f;border:1px solid color-mix(in srgb,var(--site-primary) 20%,#dce3e0);border-radius:24px;box-shadow:0 24px 80px rgba(14,31,47,.24);padding:1.55rem 3.4rem 1.55rem 1.55rem;overflow:hidden}
.privacy-banner::after{content:"";position:absolute;right:-80px;bottom:-110px;width:250px;height:250px;border-radius:50%;background:color-mix(in srgb,var(--site-primary) 9%,transparent);pointer-events:none}.privacy-banner-icon{position:relative;z-index:1;width:54px;height:54px;border-radius:17px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--site-primary) 13%,#fff);color:var(--site-primary);font-size:1.55rem;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--site-primary) 15%,transparent)}.privacy-banner-copy{position:relative;z-index:1}.privacy-banner-kicker{margin-bottom:.2rem;color:var(--site-primary);font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.privacy-banner h2{margin-bottom:.4rem;font-weight:800}.privacy-banner p{max-width:720px;margin-bottom:1.05rem;color:#52605b;line-height:1.55}.privacy-banner-actions{display:flex;gap:.6rem;flex-wrap:wrap}.privacy-banner-actions .btn{display:inline-flex;align-items:center;gap:.45rem;border-radius:11px;font-weight:700}.privacy-banner-close{position:absolute;z-index:2;right:.85rem;top:.85rem;width:38px;height:38px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.78);color:#283532;font-size:1.05rem;transition:background .16s ease,transform .16s ease}.privacy-banner-close:hover,.privacy-banner-close:focus-visible{background:#fff;transform:rotate(4deg)}.consent-choice{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border:1px solid #e0e6e3;border-radius:12px;padding:1rem}.consent-choice p{margin:.25rem 0 0;color:#66736e;font-size:.88rem}.consent-choice .form-check-input{flex:0 0 auto;font-size:1.25rem}
.cookie-preferences-launcher{position:fixed;z-index:1064;left:20px;bottom:24px;width:58px;height:58px;border:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--site-primary);box-shadow:0 12px 30px rgba(0,0,0,.24);font-size:1.4rem;transition:transform .16s ease,box-shadow .16s ease,color .16s ease}.cookie-preferences-launcher:hover,.cookie-preferences-launcher:focus-visible{color:color-mix(in srgb,var(--site-primary) 82%,#000);transform:translateY(-2px);box-shadow:0 16px 38px rgba(0,0,0,.28)}.mobile-app-shell .cookie-preferences-launcher{bottom:92px}
.push-subscribe-launcher{position:fixed;z-index:1064;right:92px;bottom:24px;min-height:58px;padding:0 1.05rem;border:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:var(--site-primary);color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.24);font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease}.push-subscribe-launcher:hover,.push-subscribe-launcher:focus-visible{transform:translateY(-2px);box-shadow:0 16px 38px rgba(0,0,0,.28)}.push-subscribe-launcher i{font-size:1.15rem}.mobile-app-shell .push-subscribe-launcher{bottom:92px}
.customer-staff-login-note{padding:.85rem 1rem;border:1px solid color-mix(in srgb,var(--site-primary) 18%,#dfe6e4);border-radius:12px;background:color-mix(in srgb,var(--site-primary) 6%,#fff);color:#53615c;font-size:.88rem;line-height:1.45}
.functional-consent-placeholder{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem;text-align:center;background:#f2f5f4;border:1px dashed #b8c4bf;border-radius:12px}.functional-consent-placeholder i{font-size:1.8rem}html[data-functional="1"] .functional-consent-placeholder{display:none}html:not([data-functional="1"]) .g-recaptcha{display:none}
@media(max-width:575px){.privacy-banner{left:.6rem;right:.6rem;bottom:calc(.6rem + env(safe-area-inset-bottom));grid-template-columns:1fr;gap:.7rem;padding:1.15rem 2.8rem 1.15rem 1.15rem;border-radius:20px}.privacy-banner-icon{width:44px;height:44px;border-radius:14px;font-size:1.25rem}.privacy-banner-actions>*{flex:1 1 100%}.cookie-preferences-launcher{left:12px;bottom:18px;width:54px;height:54px}.mobile-app-shell .cookie-preferences-launcher{bottom:82px}.push-subscribe-launcher{right:82px;bottom:18px;min-height:54px;padding:0;width:54px}.push-subscribe-launcher span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mobile-app-shell .push-subscribe-launcher{bottom:82px}}
