﻿/**
 * Brightway App UI — homepage, shop & membership shell
 */

:root {
    --app-blue: #5c2dd2;
    --app-blue-light: #8b5cf6;
    --app-blue-dark: #1C008A;
    --app-blue-pale: #ede9fe;
    --app-green: #12b886;
    --app-shop: #c20000;
    --app-shop-light: #ff2b2b;
    --app-shop-dark: #7a0000;
    --app-service: #12b886;
    --app-service-light: #38d9a9;
    --app-service-dark: #0ca678;
    --app-radius: 16px;
    --app-radius-lg: 22px;
    --app-header-h: 56px;
    --app-bottom-nav-h: 64px;
    --app-shadow: 0 8px 32px rgba(26, 115, 178, 0.12);
    --app-glass: rgba(255, 255, 255, 0.72);
    --app-glass-border: rgba(255, 255, 255, 0.55);
    --anim-header-flash: 14s;
    --anim-header-logo-shine: 12s;
    --anim-logo-ring-spin: 10s;
    --anim-logo-glow: 4.5s;
    --header-scroll-transition: 0.85s cubic-bezier(0.4, 0, 0.2, 1);
    --header-logo-size: 42px;
    --header-logo-disc: 36px;
    --anim-cart-flash: 16s;
    --anim-cart-glaze: 18s;
    --anim-cart-orb: 14s;
}

/* Reset app body */
.bw-app-body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: #f0f4f8;
    color: #212529;
    padding-top: var(--app-header-h);
    padding-bottom: calc(var(--app-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
    :root {
        --header-logo-size: 46px;
        --header-logo-disc: 40px;
    }
}

@media (min-width: 768px) {
    .bw-app-body {
        padding-bottom: 0;
    }
}

.bw-app-body--home {
    padding-top: 0;
}

.bw-app-body--home .bw-app-header {
    background: transparent;
}

/* ─── Homepage vivid glass marquee (Brightway-style) ─── */
.bw-marquee {
    position: relative;
    z-index: 900;
    padding: calc(var(--app-header-h) + 10px) 0 12px;
}

.bw-marquee__wrap {
    padding: 0 10px;
}

.bw-hero-stack {
    margin-top: 0;
    padding-top: 0;
}

.bw-app-body--home .bw-promo-slider {
    margin-top: 0;
    padding-top: 0;
}

.bw-marquee__frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 8px 28px rgba(8, 36, 64, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: perspective(800px) rotateX(1deg);
}

.bw-marquee__vivid {
    position: absolute;
    inset: -50%;
    background: linear-gradient(
        115deg,
        #061a2e 0%,
        #0d4f7c 14%,
        #1864ab 28%,
        #0b4f6c 42%,
        #0f5132 56%,
        #1a365d 70%,
        #2b1d5c 84%,
        #061a2e 100%
    );
    background-size: 200% 200%;
    animation: bwMarqueeVivid 10s ease infinite;
    opacity: 1;
    z-index: 0;
}

.bw-marquee__vivid--alt {
    background: linear-gradient(
        -35deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.06) 45%,
        rgba(255, 255, 255, 0) 90%
    );
    background-size: 250% 250%;
    animation: bwMarqueeVividAlt 6s ease-in-out infinite;
    mix-blend-mode: soft-light;
    opacity: 0.55;
}

.bw-marquee__flash {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 44%,
        rgba(255, 255, 255, 0.04) 48%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.04) 52%,
        transparent 56%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: bwMarqueeFlashSweep 4.5s ease-in-out infinite;
    pointer-events: none;
}

.bw-marquee__glass {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 54px;
    padding: 0.7rem 1rem 0.7rem 0.85rem;
    background: linear-gradient(
        135deg,
        rgba(6, 26, 46, 0.55) 0%,
        rgba(13, 79, 124, 0.35) 50%,
        rgba(6, 26, 46, 0.5) 100%
    );
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.bw-marquee__glass::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.28));
    pointer-events: none;
}

.bw-marquee__live {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    animation: bwMarqueeLivePulse 2.2s ease-in-out infinite;
}

.bw-marquee__live i {
    font-size: 0.45rem;
    color: #fa5252;
    animation: bwMarqueeLiveDot 1.6s ease-in-out infinite;
}

.bw-marquee__viewport {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.bw-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    animation: bwMarqueeScroll 32s linear infinite;
    will-change: transform;
}

.bw-marquee__track:hover {
    animation-play-state: paused;
}

.bw-marquee__chunk {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.bw-marquee__text {
    font-size: clamp(0.95rem, 2.8vw, 1.15rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.bw-marquee__star {
    color: #d4a017;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(212, 160, 23, 0.45);
    animation: bwMarqueeStarTwinkle 2.2s ease-in-out infinite;
}

.bw-marquee__star:last-child {
    animation-delay: 0.75s;
}

@media (min-width: 768px) {
    .bw-marquee__wrap {
        padding: 0 16px;
    }

    .bw-marquee__glass {
        min-height: 60px;
        padding: 0.8rem 1.2rem 0.8rem 1rem;
    }

    .bw-marquee__text {
        font-size: 1.125rem;
    }

    .bw-marquee__live {
        font-size: 0.72rem;
        padding: 0.45rem 0.85rem;
    }
}

@keyframes bwMarqueeVivid {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bwMarqueeVividAlt {
    0%, 100% { background-position: 0% 0%; opacity: 0.6; }
    50% { background-position: 100% 100%; opacity: 1; }
}

@keyframes bwMarqueeFlashSweep {
    0% { background-position: 220% 0; }
    100% { background-position: -220% 0; }
}

@keyframes bwMarqueeLivePulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
    50% { box-shadow: 0 4px 18px rgba(250, 82, 82, 0.2); }
}

@keyframes bwMarqueeLiveDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

@keyframes bwMarqueeStarTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(1.15); }
}

@keyframes bwMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .bw-marquee__track,
    .bw-marquee__vivid,
    .bw-marquee__vivid--alt,
    .bw-marquee__flash,
    .bw-marquee__live,
    .bw-marquee__live i,
    .bw-marquee__star,
    .bw-app-header__logo-orbit,
    .bw-app-header__logo-glow {
        animation: none;
    }
}

.bw-app-shell {
    max-width: 100%;
    overflow-x: hidden;
}

.bw-app-shell a:hover,
.bw-app-shell a:focus-visible {
    text-decoration: none;
}

/* ─── Sticky glass header ─── */
.bw-app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--app-header-h);
    transition: height var(--header-scroll-transition);
}

.bw-app-header__glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(19, 0, 105, 0.97) 0%, rgba(28, 0, 138, 0.95) 45%, rgba(61, 26, 158, 0.93) 100%);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(19, 0, 105, 0.35);
    transition:
        background var(--header-scroll-transition),
        backdrop-filter var(--header-scroll-transition),
        border-color var(--header-scroll-transition),
        box-shadow var(--header-scroll-transition);
}

.bw-app-body--home .bw-app-header:not(.is-scrolled) .bw-app-header__glass {
    background: linear-gradient(120deg, rgba(19, 0, 105, 0.78), rgba(28, 0, 138, 0.62));
    backdrop-filter: blur(12px) saturate(1.15);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
    box-shadow: 0 2px 16px rgba(19, 0, 105, 0.22);
}

.bw-app-header:not(.is-scrolled) .bw-app-header__flash {
    opacity: 0.22;
}

.bw-app-header__flash {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 45%,
        rgba(139, 92, 246, 0.16) 50%,
        rgba(255, 255, 255, 0.04) 55%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: appHeaderFlash var(--anim-header-flash) ease-in-out infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--header-scroll-transition);
}

.bw-app-header.is-scrolled .bw-app-header__glass {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    border-bottom-color: rgba(28, 0, 138, 0.1);
    box-shadow: 0 4px 28px rgba(28, 0, 138, 0.12);
}

.bw-app-header.is-scrolled .bw-app-header__flash {
    opacity: 0.48;
}

.bw-app-header__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--app-header-h);
    gap: 0.75rem;
}

/* Round logo ring with animated border */
.bw-app-header__brand {
    text-decoration: none !important;
    flex-shrink: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: calc(100% - 120px);
}

@media (min-width: 576px) {
    .bw-app-header__brand {
        max-width: none;
        gap: 0.65rem;
    }
}

.bw-app-header__site-name {
    min-width: 0;
    font-weight: 800;
    font-size: 0.98rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
    transition:
        color var(--header-scroll-transition),
        text-shadow var(--header-scroll-transition),
        -webkit-text-fill-color var(--header-scroll-transition);
}

.bw-app-header__site-name-full,
.bw-app-header__site-name-short {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bw-app-header__site-name-short {
    display: none;
}

@media (max-width: 575.98px) {
    .bw-app-header__site-name-full {
        display: none;
    }

    .bw-app-header__site-name-short {
        display: block;
        max-width: 6.75rem;
    }

    .bw-app-header__site-name:not(:has(.bw-app-header__site-name-short)) .bw-app-header__site-name-full {
        display: block;
        max-width: 6.75rem;
    }
}

@media (min-width: 576px) {
    .bw-app-header__site-name {
        font-size: 1.1rem;
        max-width: 12rem;
    }

    .bw-app-header__site-name-full {
        max-width: 12rem;
    }
}

@media (min-width: 768px) {
    .bw-app-header__site-name {
        font-size: 1.2rem;
        max-width: 15rem;
    }

    .bw-app-header__site-name-full {
        max-width: 15rem;
    }
}

.bw-app-header.is-scrolled .bw-app-header__site-name {
    color: transparent;
    text-shadow: none;
    background: linear-gradient(120deg, #130069 0%, var(--app-blue-dark) 50%, var(--app-blue-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bw-app-header__logo-ring {
    position: relative;
    width: var(--header-logo-size);
    height: var(--header-logo-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bw-app-header__brand:hover .bw-app-header__logo-ring,
.bw-app-header__brand:focus-visible .bw-app-header__logo-ring {
    transform: scale(1.06);
}

.bw-app-header__logo-glow {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.45) 0%, rgba(194, 0, 0, 0.12) 45%, transparent 72%);
    animation: caliconLogoGlow var(--anim-logo-glow) ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.bw-app-header__logo-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #130069,
        var(--app-blue-dark),
        var(--app-blue-light),
        #c20000,
        #fab005,
        #130069
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 1.5px));
    animation: caliconLogoRingSpin var(--anim-logo-ring-spin) linear infinite;
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 14px rgba(77, 171, 247, 0.28);
}

.bw-app-header.is-scrolled .bw-app-header__logo-orbit {
    box-shadow: 0 0 18px rgba(92, 45, 210, 0.35);
}

.bw-app-header__logo-disc {
    position: relative;
    z-index: 2;
    width: var(--header-logo-disc);
    height: var(--header-logo-disc);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(28, 0, 138, 0.12),
        0 4px 12px rgba(19, 0, 105, 0.2);
    transition:
        box-shadow var(--header-scroll-transition),
        background var(--header-scroll-transition),
        transform var(--header-scroll-transition);
}

.bw-app-header.is-scrolled .bw-app-header__logo-disc {
    background: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(28, 0, 138, 0.14),
        0 6px 16px rgba(92, 45, 210, 0.22);
    transform: translateY(-1px);
}

.bw-app-header__logo-img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(26, 115, 178, 0.15));
    transition: filter var(--header-scroll-transition), transform 0.45s ease;
}

.bw-app-header__brand:hover .bw-app-header__logo-img {
    transform: scale(1.04);
}

.bw-app-header.is-scrolled .bw-app-header__logo-img {
    filter: drop-shadow(0 2px 4px rgba(26, 115, 178, 0.22));
}

.bw-app-header__nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.bw-app-header__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    text-decoration: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.bw-app-header__link i.fa-chevron-down {
    font-size: 0.62rem;
    opacity: 0.85;
    line-height: 1;
    margin-top: 1px;
}

.bw-app-header.is-scrolled .bw-app-header__link {
    color: var(--app-blue-dark);
    text-shadow: none;
}

.bw-app-header__link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.bw-app-header__link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.bw-app-header__link.is-active:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.bw-app-header.is-scrolled .bw-app-header__link:hover {
    background: rgba(92, 45, 210, 0.08);
    color: var(--app-blue-dark);
}

.bw-app-header.is-scrolled .bw-app-header__link.is-active {
    background: rgba(92, 45, 210, 0.12);
    color: var(--app-blue-dark);
}

.bw-app-header.is-scrolled .bw-app-header__link.is-active:hover {
    background: rgba(92, 45, 210, 0.16);
    color: var(--app-blue-dark);
}

.bw-app-header__actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.bw-app-header__register-btn,
.bw-app-header__login-btn,
.bw-app-header__account-btn,
.bw-app-header__admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.bw-app-header__register-btn {
    background: linear-gradient(135deg, #20c997 0%, #12b886 45%, #0ca678 100%);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 4px 14px rgba(12, 166, 120, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.bw-app-header__register-btn:hover {
    transform: translateY(-1px) scale(1.03);
    color: #fff !important;
    box-shadow:
        0 6px 18px rgba(12, 166, 120, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bw-app-header.is-scrolled .bw-app-header__register-btn {
    border-color: rgba(12, 166, 120, 0.35);
    box-shadow: 0 4px 14px rgba(12, 166, 120, 0.35);
}

.bw-app-header__login-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bw-app-header__login-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff !important;
    transform: scale(1.03);
}

.bw-app-header.is-scrolled .bw-app-header__login-btn {
    background: #fff;
    color: var(--app-blue) !important;
    border-color: rgba(26, 115, 178, 0.2);
    box-shadow: 0 2px 8px rgba(26, 115, 178, 0.12);
}

.bw-app-header.is-scrolled .bw-app-header__login-btn:hover {
    background: var(--app-blue-pale);
    color: var(--app-blue-dark) !important;
}

.bw-app-header__account-btn {
    background: linear-gradient(135deg, #4dabf7 0%, #1a73b2 50%, #1864ab 100%);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 14px rgba(26, 115, 178, 0.4);
}

.bw-app-header__account-btn:hover {
    transform: translateY(-1px) scale(1.03);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(26, 115, 178, 0.5);
}

.bw-app-header.is-scrolled .bw-app-header__account-btn {
    box-shadow: 0 4px 14px rgba(26, 115, 178, 0.3);
}

.bw-app-header__admin-btn {
    background: linear-gradient(135deg, #7950f2 0%, #6741d9 50%, #5f3dc4 100%);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 14px rgba(103, 65, 217, 0.45);
}

.bw-app-header__admin-btn:hover {
    transform: translateY(-1px) scale(1.03);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(103, 65, 217, 0.55);
}

.bw-app-header.is-scrolled .bw-app-header__admin-btn {
    box-shadow: 0 4px 14px rgba(103, 65, 217, 0.35);
}

@media (max-width: 575.98px) {
    .bw-app-header__brand {
        max-width: calc(100% - 210px);
    }

    .bw-app-header__career-btn {
        padding: 0.4rem 0.55rem;
        font-size: 0.68rem;
        min-height: 34px;
        gap: 0.25rem;
    }

    .bw-app-header__career-btn-label {
        display: inline !important;
    }

    .bw-app-header__register-btn span,
    .bw-app-header__login-btn span,
    .bw-app-header__account-btn span,
    .bw-app-header__admin-btn span {
        display: none !important;
    }

    .bw-app-header__register-btn,
    .bw-app-header__login-btn,
    .bw-app-header__account-btn,
    .bw-app-header__admin-btn {
        width: 38px;
        min-width: 38px;
        padding: 0;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .bw-app-header__register-btn {
        padding: 0.45rem 0.65rem;
    }

    .bw-app-header__register-btn span {
        display: none;
    }

    .bw-app-header__account-btn span,
    .bw-app-header__admin-btn span {
        display: inline;
    }
}

.bw-app-header__icon-btn,
.bw-app-header__cart,
.bw-app-header__menu {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    text-decoration: none !important;
    transition:
        background var(--header-scroll-transition),
        transform 0.2s,
        color var(--header-scroll-transition),
        border-color var(--header-scroll-transition);
    position: relative;
}

.bw-app-header.is-scrolled .bw-app-header__icon-btn,
.bw-app-header.is-scrolled .bw-app-header__cart,
.bw-app-header.is-scrolled .bw-app-header__menu {
    background: #fff;
    border-color: rgba(26, 115, 178, 0.15);
    color: var(--app-blue);
}

.bw-app-header__icon-btn:hover,
.bw-app-header__cart:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.28);
}

.bw-app-header.is-scrolled .bw-app-header__icon-btn:hover,
.bw-app-header.is-scrolled .bw-app-header__cart:hover {
    background: var(--app-blue-pale);
}

.bw-app-header__menu {
    border: none;
    cursor: pointer;
}

.bw-app-header__cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e03131;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bw-app-header__mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 115, 178, 0.1);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: var(--app-shadow);
}

.bw-app-header__mobile-menu[hidden] {
    display: none !important;
}

.bw-app-header__mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    color: var(--app-blue-dark);
    font-weight: 600;
    text-decoration: none !important;
}

.bw-app-header__mobile-menu a:hover {
    background: var(--app-blue-pale);
    color: var(--app-blue);
}

.bw-app-header__logout-form {
    margin: 0;
    padding: 0;
}

.bw-app-header__logout-form button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e03131;
    cursor: pointer;
    text-align: left;
    border-radius: 10px;
    transition: background 0.2s;
}

.bw-app-header__logout-form button:hover {
    background: #fff5f5;
}

/* Hide legacy floating cart on app pages */
.bw-app-body .bw-cart-btn {
    display: none !important;
}

/* ─── Pathao-style promo slider ─── */
.bw-promo-slider {
    padding: calc(var(--app-header-h) + 12px) 0 0;
    position: relative;
}

.bw-promo-slider__track {
    display: flex;
    gap: 12px;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bw-promo-slider__track::-webkit-scrollbar {
    display: none;
}

.bw-promo-slide {
    flex: 0 0 calc(100% - 32px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

@media (min-width: 576px) {
    .bw-promo-slide {
        flex: 0 0 calc(85% - 16px);
    }
}

@media (min-width: 768px) {
    .bw-promo-slide {
        flex: 0 0 calc(70% - 16px);
    }
}

.bw-promo-slide__card {
    position: relative;
    border-radius: var(--app-radius-lg);
    overflow: hidden;
    aspect-ratio: 2.2 / 1;
    min-height: 160px;
    box-shadow:
        0 12px 40px rgba(26, 115, 178, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.96);
    opacity: 0.7;
    transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.45s;
}

.bw-promo-slide.is-active .bw-promo-slide__card {
    transform: scale(1);
    opacity: 1;
}

.bw-promo-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bw-promo-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 79, 124, 0.75) 0%, rgba(26, 115, 178, 0.45) 50%, transparent 100%);
}

.bw-promo-slide__content {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 1.25rem 1.5rem;
    color: #fff;
    z-index: 1;
}

.bw-promo-slide__content h2 {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bw-promo-slide__content p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.92;
    max-width: 280px;
}

.bw-promo-slider__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
}

.bw-promo-slider__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(26, 115, 178, 0.25);
    cursor: pointer;
    transition: width 0.3s, background 0.3s;
}

.bw-promo-slider__dot.is-active {
    width: 20px;
    background: var(--app-blue);
}

/* ─── Quick action buttons ─── */
.bw-quick-actions {
    padding: 1rem 0 0.5rem;
}

.bw-quick-actions__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bw-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--app-radius);
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s;
    box-shadow: var(--app-shadow);
}

.bw-action-btn__flash {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-blue), var(--app-blue-light), #74c0fc, var(--app-blue-dark));
    background-size: 300% 300%;
    animation: appLogoBorderFlash 3s ease infinite;
    z-index: 0;
}

.bw-action-btn__icon,
.bw-action-btn__text,
.bw-action-btn__arrow {
    position: relative;
    z-index: 1;
}

.bw-action-btn--shop {
    background: linear-gradient(145deg, var(--app-shop-light), var(--app-shop));
    color: #fff;
    box-shadow: 0 8px 28px rgba(247, 103, 7, 0.35);
}

.bw-action-btn--shop .bw-action-btn__flash {
    background: linear-gradient(135deg, var(--app-shop), #ffa94d, var(--app-shop-light), var(--app-shop-dark));
    background-size: 300% 300%;
    opacity: 0.85;
}

.bw-action-btn--service {
    background: linear-gradient(145deg, var(--app-service-light), var(--app-service));
    color: #fff;
    box-shadow: 0 8px 28px rgba(18, 184, 134, 0.35);
}

.bw-action-btn--service .bw-action-btn__flash {
    background: linear-gradient(135deg, var(--app-service-dark), var(--app-service-light), #63e6be, var(--app-service));
    background-size: 300% 300%;
    opacity: 0.85;
}

.bw-action-btn--shop .bw-action-btn__icon {
    background: rgba(255, 255, 255, 0.95);
    color: var(--app-shop);
}

.bw-action-btn--service .bw-action-btn__icon {
    background: rgba(255, 255, 255, 0.95);
    color: var(--app-service-dark);
}

.bw-action-btn--shop .bw-action-btn__text small,
.bw-action-btn--service .bw-action-btn__text small {
    opacity: 0.88;
    color: rgba(255, 255, 255, 0.92);
}

.bw-action-btn--shop .bw-action-btn__arrow,
.bw-action-btn--service .bw-action-btn__arrow {
    color: #fff;
    opacity: 0.75;
}

.bw-action-btn--shop:hover {
    box-shadow: 0 16px 40px rgba(247, 103, 7, 0.4);
}

.bw-action-btn--service:hover {
    box-shadow: 0 16px 40px rgba(18, 184, 134, 0.4);
}

.bw-action-btn__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.bw-action-btn__text {
    flex: 1;
    min-width: 0;
}

.bw-action-btn__text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.bw-action-btn__text small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.75;
    margin-top: 2px;
}

.bw-action-btn__arrow {
    font-size: 0.75rem;
    opacity: 0.5;
}

.bw-action-btn:hover {
    transform: translateY(-4px) scale(1.02);
}

/* ─── Sections ─── */
.bw-app-section {
    padding: 1.25rem 0;
}

.bw-app-section--alt {
    background: linear-gradient(180deg, transparent, rgba(26, 115, 178, 0.04));
}

.bw-app-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bw-app-section__head h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0;
}

.bw-app-section__head a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--app-blue);
    text-decoration: none !important;
}

/* Horizontal category scroll */
.bw-hscroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bw-hscroll::-webkit-scrollbar {
    display: none;
}

.bw-cat-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    min-width: 88px;
    border-radius: var(--app-radius);
    background: #fff;
    box-shadow: 0 4px 16px rgba(26, 115, 178, 0.08);
    text-decoration: none !important;
    scroll-snap-align: start;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(26, 115, 178, 0.06);
}

.bw-cat-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 115, 178, 0.15);
}

.bw-cat-chip__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--chip-accent, var(--app-blue)) 12%, white);
    color: var(--chip-accent, var(--app-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.bw-cat-chip__name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #343a40;
    text-align: center;
    line-height: 1.25;
    max-width: 76px;
}

/* Product / service rows */
.bw-product-row,
.bw-service-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .bw-product-row,
    .bw-service-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .bw-product-row,
    .bw-service-row {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Flash animated cards */
.bw-app-card {
    position: relative;
    border-radius: var(--app-radius);
    padding: 2px;
    text-decoration: none !important;
    display: block;
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bw-app-card__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-blue), var(--app-blue-light), #74c0fc, var(--app-green), var(--app-blue));
    background-size: 400% 400%;
    animation: appLogoBorderFlash 4s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.bw-app-card:hover .bw-app-card__flash {
    opacity: 1;
}

.bw-app-card:hover {
    transform: translateY(-5px);
}

.bw-app-card__inner {
    position: relative;
    background: #fff;
    border-radius: calc(var(--app-radius) - 2px);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bw-app-card__img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--app-blue-pale);
}

.bw-app-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.bw-app-card:hover .bw-app-card__img-wrap img {
    transform: scale(1.06);
}

.bw-app-card__badge,
.bw-app-card__rating {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    background: #e03131;
    color: #fff;
}

.bw-app-card__rating {
    background: rgba(0, 0, 0, 0.55);
}

.bw-app-card__body {
    padding: 0.65rem 0.75rem 0.75rem;
    flex: 1;
}

.bw-app-card__body h3 {
    font-size: 0.78rem;
    font-weight: 600;
    color: #343a40;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.bw-app-card__price {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--app-blue);
    margin: 0;
}

/* Trust strip */
.bw-trust-strip {
    padding: 1.5rem 0 2rem;
    margin-top: 0.5rem;
}

.bw-trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .bw-trust-strip__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bw-trust-strip__grid div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #495057;
    box-shadow: 0 2px 12px rgba(26, 115, 178, 0.06);
}

.bw-trust-strip__grid i {
    color: var(--app-blue);
}

/* ─── Bottom nav (mobile app) ─── */
.bw-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    height: calc(var(--app-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-top: 1px solid rgba(26, 115, 178, 0.1);
    display: flex;
    align-items: stretch;
    box-shadow: 0 -4px 24px rgba(26, 115, 178, 0.08);
}

.bw-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #868e96;
    text-decoration: none !important;
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.bw-bottom-nav__item:hover,
.bw-bottom-nav__item:focus-visible {
    color: var(--app-blue);
    background: rgba(26, 115, 178, 0.06);
    text-decoration: none !important;
}

.bw-bottom-nav__item i {
    font-size: 1.25rem;
}

.bw-bottom-nav__item.is-active {
    color: var(--app-blue-dark);
    font-weight: 700;
    background: rgba(92, 45, 210, 0.1);
}

.bw-bottom-nav__item.is-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--app-blue-dark), var(--app-blue));
}

.bw-bottom-nav__item.is-active i {
    transform: scale(1.12);
    color: var(--app-blue);
}

.bw-bottom-nav__dot {
    position: absolute;
    top: 6px;
    right: calc(50% - 22px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e03131;
    color: #fff;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Marketplace app pages (shop / services) ─── */
.bw-mp-hero {
    position: relative;
    padding: 1.5rem 0 2rem;
    overflow: hidden;
}

.bw-mp-hero--shop {
    background: linear-gradient(160deg, #0d4f7c 0%, var(--app-blue) 55%, var(--app-blue-light) 100%);
}

.bw-mp-hero--services {
    background: linear-gradient(160deg, #1864ab 0%, var(--app-green) 55%, var(--app-blue-light) 100%);
}

.bw-mp-hero__orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bw-mp-hero__orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: appOrbFloat 8s ease-in-out infinite;
}

.bw-mp-hero__orb:nth-child(1) { width: 200px; height: 200px; top: -60px; right: -40px; }
.bw-mp-hero__orb:nth-child(2) { width: 120px; height: 120px; bottom: 20px; left: -30px; animation-delay: -3s; }

.bw-mp-hero__inner {
    position: relative;
    z-index: 1;
    color: #fff;
}

.bw-mp-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-left: -0.75rem;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease;
}

.bw-mp-hero__back:hover,
.bw-mp-hero__back:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none !important;
}

.bw-mp-hero__title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.bw-mp-hero__sub {
    opacity: 0.9;
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
    max-width: 480px;
}

.bw-mp-search {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 520px;
}

.bw-mp-search input {
    flex: 1;
    border: none;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
}

.bw-mp-search button {
    border: none;
    background: var(--app-blue);
    color: #fff;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: background 0.2s;
}

.bw-mp-search button:hover {
    background: var(--app-blue-dark);
}

.bw-mp-page {
    padding: 1.25rem 0 2rem;
}

.bw-mp-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.bw-mp-steps::-webkit-scrollbar { display: none; }

.bw-mp-step {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #fff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #495057;
    box-shadow: 0 2px 12px rgba(26, 115, 178, 0.08);
}

.bw-mp-step span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--app-blue-pale);
    color: var(--app-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

.bw-mp-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .bw-mp-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .bw-mp-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bw-mp-cat {
    position: relative;
    border-radius: var(--app-radius);
    overflow: hidden;
    aspect-ratio: 1.15;
    text-decoration: none !important;
    box-shadow: var(--app-shadow);
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bw-mp-cat:hover {
    transform: translateY(-6px) scale(1.02);
}

.bw-mp-cat__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.bw-mp-cat:hover .bw-mp-cat__bg {
    transform: scale(1.08);
}

.bw-mp-cat__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.bw-mp-cat__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: #fff;
    z-index: 1;
}

.bw-mp-cat__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.bw-mp-cat__body h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

.bw-mp-cat__body p {
    font-size: 0.7rem;
    opacity: 0.85;
    margin: 0;
    line-height: 1.35;
}

.bw-mp-section-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 1.5rem 0 1rem;
}

/* ─── Category pages (shop/services) ─── */
.bw-mp-cat-hero {
    position: relative;
    padding: 1.25rem 0 2rem;
    overflow: hidden;
    color: #fff;
}

.bw-mp-cat-hero__banner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}

.bw-mp-cat-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--mp-accent, var(--app-blue)) 88%, #000) 0%, rgba(6, 26, 46, 0.82) 55%, rgba(6, 26, 46, 0.92) 100%);
}

.bw-mp-cat-hero--shop .bw-mp-cat-hero__overlay {
    background:
        linear-gradient(135deg, rgba(13, 79, 124, 0.92) 0%, color-mix(in srgb, var(--mp-accent, var(--app-shop)) 75%, #000) 45%, rgba(6, 26, 46, 0.9) 100%);
}

.bw-mp-cat-hero--services .bw-mp-cat-hero__overlay {
    background:
        linear-gradient(135deg, rgba(24, 100, 171, 0.9) 0%, color-mix(in srgb, var(--mp-accent, var(--app-green)) 70%, #000) 50%, rgba(6, 26, 46, 0.9) 100%);
}

.bw-mp-cat-hero__inner {
    position: relative;
    z-index: 2;
}

.bw-mp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.bw-mp-crumb {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease;
}

.bw-mp-crumb:hover,
.bw-mp-crumb:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.bw-mp-crumb--current {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    font-weight: 700;
}

.bw-mp-crumb-sep {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
}

.bw-mp-cat-hero__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.bw-mp-cat-hero__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.bw-mp-cat-hero__title {
    font-size: clamp(1.5rem, 4.5vw, 2.1rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.bw-mp-cat-hero__sub {
    margin: 0;
    opacity: 0.92;
    font-size: 0.92rem;
    max-width: 560px;
    line-height: 1.5;
}

.bw-mp-cat-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.bw-mp-cat-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.bw-mp-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .bw-mp-layout {
        grid-template-columns: 240px 1fr;
        gap: 1.5rem;
        align-items: start;
    }
}

.bw-mp-sidebar {
    background: #fff;
    border-radius: var(--app-radius);
    padding: 1rem;
    box-shadow: var(--app-shadow);
    border: 1px solid rgba(26, 115, 178, 0.08);
}

@media (max-width: 991.98px) {
    .bw-mp-layout__sidebar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .bw-mp-layout__sidebar::-webkit-scrollbar {
        display: none;
    }

    .bw-mp-sidebar {
        display: flex;
        flex-direction: column;
        min-width: max-content;
    }

    .bw-mp-sidebar__list {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .bw-mp-sidebar__list > li {
        flex: 0 0 auto;
    }

    .bw-mp-sidebar__sub {
        display: none !important;
    }

    .bw-mp-sidebar__title {
        margin-bottom: 0.65rem;
    }
}

.bw-mp-sidebar__title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--app-blue-dark);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.bw-mp-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bw-mp-sidebar__list > li {
    margin-bottom: 0.25rem;
}

.bw-mp-sidebar__list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    white-space: nowrap;
}

.bw-mp-sidebar__list a i {
    width: 18px;
    text-align: center;
    color: var(--app-blue);
}

.bw-mp-sidebar__list a:hover {
    background: var(--app-blue-pale);
    color: var(--app-blue-dark);
}

.bw-mp-sidebar__list > li.is-active > a {
    background: linear-gradient(135deg, var(--app-blue-pale), #fff);
    color: var(--app-blue-dark);
    box-shadow: inset 0 0 0 1px rgba(26, 115, 178, 0.12);
}

.bw-mp-sidebar--services .bw-mp-sidebar__list > li.is-active > a {
    background: linear-gradient(135deg, #e6fcf5, #fff);
    color: var(--app-service-dark);
}

.bw-mp-sidebar__sub {
    list-style: none;
    margin: 0.25rem 0 0.5rem;
    padding: 0 0 0 0.65rem;
    border-left: 2px solid var(--app-blue-pale);
}

.bw-mp-sidebar__sub a {
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
}

.bw-mp-sidebar__sub li.is-active a {
    color: var(--app-blue);
    font-weight: 700;
}

.bw-mp-rich {
    background: #fff;
    border-radius: var(--app-radius);
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--app-shadow);
    border-left: 4px solid var(--mp-accent, var(--app-blue));
}

.bw-mp-rich--services {
    border-left-color: var(--mp-accent, var(--app-green));
}

.bw-mp-subcats {
    margin-bottom: 1rem;
}

.bw-mp-subcats__title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.bw-mp-subcats__scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
}

.bw-mp-subcats__scroll::-webkit-scrollbar {
    display: none;
}

.bw-mp-subcat-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(26, 115, 178, 0.12);
    box-shadow: 0 2px 10px rgba(26, 115, 178, 0.08);
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none !important;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}

.bw-mp-subcat-chip:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--mp-accent, var(--app-blue)) 40%, #fff);
    box-shadow: 0 6px 18px rgba(26, 115, 178, 0.12);
}

.bw-mp-subcat-chip.is-active {
    background: color-mix(in srgb, var(--mp-accent, var(--app-blue)) 12%, #fff);
    border-color: color-mix(in srgb, var(--mp-accent, var(--app-blue)) 35%, #fff);
    color: var(--app-blue-dark);
}

.bw-mp-subcat-chip__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-blue-pale);
    color: var(--app-blue);
    font-size: 0.75rem;
}

.bw-mp-subcat-chip.is-active .bw-mp-subcat-chip__icon {
    background: color-mix(in srgb, var(--mp-accent, var(--app-blue)) 22%, #fff);
    color: var(--app-blue-dark);
}

.bw-mp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
}

.bw-mp-toolbar__search {
    display: flex;
    flex: 1;
    min-width: min(100%, 280px);
    background: #f1f3f5;
    border-radius: 12px;
    overflow: hidden;
}

.bw-mp-toolbar__search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 0.85rem;
    font-size: 0.88rem;
    outline: none;
}

.bw-mp-toolbar__search button {
    border: none;
    background: var(--app-blue);
    color: #fff;
    padding: 0 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.bw-mp-toolbar__search button:hover {
    background: var(--app-blue-dark);
}

.bw-mp-toolbar__count {
    font-size: 0.82rem;
    color: #868e96;
    font-weight: 600;
}

.bw-mp-toolbar__count strong {
    color: var(--app-blue-dark);
}

.bw-mp-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    background: #fff;
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
}

.bw-mp-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--app-blue);
    background: var(--app-blue-pale);
}

.bw-mp-empty h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 0.5rem;
}

.bw-mp-empty p {
    color: #868e96;
    font-size: 0.9rem;
    max-width: 360px;
    margin: 0 auto 1.25rem;
}

.bw-mp-empty__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--app-blue), var(--app-blue-light));
    color: #fff !important;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(26, 115, 178, 0.25);
    transition: transform 0.25s, box-shadow 0.25s;
}

.bw-mp-empty__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(26, 115, 178, 0.3);
}

.bw-mp-pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.bw-mp-pagination .pagination {
    gap: 0.35rem;
    margin: 0;
}

.bw-mp-pagination .page-link {
    border-radius: 10px !important;
    border: none;
    box-shadow: 0 2px 8px rgba(26, 115, 178, 0.08);
    color: var(--app-blue-dark);
    font-weight: 600;
    font-size: 0.85rem;
}

.bw-mp-pagination .page-item.active .page-link {
    background: var(--app-blue);
}

/* ─── Product / Service detail pages ─── */
.bw-mp-detail-hero {
    position: relative;
    padding: 1rem 0 1.35rem;
    overflow: hidden;
    color: #fff;
}

.bw-mp-detail-hero__banner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(18px);
    transform: scale(1.12);
    opacity: 0.55;
}

.bw-mp-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 26, 46, 0.92) 0%, color-mix(in srgb, var(--mp-accent, var(--app-blue)) 55%, #061a2e) 100%);
}

.bw-mp-detail-hero--shop .bw-mp-detail-hero__overlay {
    background: linear-gradient(135deg, rgba(13, 79, 124, 0.94) 0%, color-mix(in srgb, var(--mp-accent, var(--app-shop)) 50%, #061a2e) 100%);
}

.bw-mp-detail-hero--services .bw-mp-detail-hero__overlay {
    background: linear-gradient(135deg, rgba(24, 100, 171, 0.92) 0%, color-mix(in srgb, var(--mp-accent, var(--app-green)) 50%, #061a2e) 100%);
}

.bw-mp-detail-hero__inner {
    position: relative;
    z-index: 2;
}

.bw-mp-detail {
    margin-top: -0.5rem;
}

.bw-mp-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .bw-mp-detail__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 1.5rem;
        align-items: start;
    }
}

.bw-mp-detail__media-frame {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 3px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(26, 115, 178, 0.16);
}

.bw-mp-detail--shop .bw-mp-detail__media-flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-shop-light), var(--app-shop), var(--app-blue-light), var(--app-shop-light));
    background-size: 300% 300%;
    animation: appLogoBorderFlash 8s ease infinite;
    z-index: 0;
}

.bw-mp-detail--services .bw-mp-detail__media-flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-service-light), var(--app-service), var(--app-blue-light), var(--app-service-light));
    background-size: 300% 300%;
    animation: appLogoBorderFlash 8s ease infinite;
    z-index: 0;
}

.bw-mp-detail__media-inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: calc(var(--app-radius-lg) - 3px);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.bw-mp-detail__media-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bw-mp-detail__media-frame:hover .bw-mp-detail__media-inner img {
    transform: scale(1.03);
}

.bw-mp-detail__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    z-index: 2;
}

.bw-mp-detail__badge--sale {
    background: linear-gradient(135deg, #fa5252, #e03131);
    box-shadow: 0 4px 14px rgba(224, 49, 49, 0.35);
}

.bw-mp-detail__badge--featured {
    top: auto;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--app-blue), var(--app-blue-light));
}

.bw-mp-detail__badge--rating {
    top: auto;
    bottom: 12px;
    right: 12px;
    left: auto;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.bw-mp-detail__panel {
    background: #fff;
    border-radius: var(--app-radius-lg);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--app-shadow);
    border: 1px solid rgba(26, 115, 178, 0.08);
}

@media (min-width: 992px) {
    .bw-mp-detail__panel {
        padding: 1.5rem 1.65rem;
        position: sticky;
        top: calc(var(--app-header-h) + 12px);
    }
}

.bw-mp-detail__cat {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--app-shop-dark);
    background: #fff4e6;
    text-decoration: none !important;
    margin-bottom: 0.65rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bw-mp-detail__cat:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 103, 7, 0.15);
}

.bw-mp-detail__cat--service {
    color: var(--app-service-dark);
    background: #e6fcf5;
}

.bw-mp-detail__title {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
    font-weight: 800;
    color: #212529;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.bw-mp-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.bw-mp-detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #495057;
    background: #f1f3f5;
}

.bw-mp-detail__meta span i {
    color: var(--app-green);
}

.bw-mp-detail__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.bw-mp-detail__price {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--app-blue-dark);
    line-height: 1;
}

.bw-mp-detail--shop .bw-mp-detail__price {
    color: var(--app-shop-dark);
}

.bw-mp-detail--services .bw-mp-detail__price {
    color: var(--app-service-dark);
}

.bw-mp-detail__price-old {
    font-size: 1rem;
    color: #adb5bd;
    text-decoration: line-through;
    font-weight: 600;
}

.bw-mp-detail__price-save {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e03131;
    background: #fff5f5;
    padding: 0.25rem 0.55rem;
    border-radius: 8px;
}

.bw-mp-detail__lead {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.bw-mp-detail__stock {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bw-mp-detail__stock.is-in {
    color: #087f5b;
    background: #d3f9d8;
}

.bw-mp-detail__stock.is-out {
    color: #c92a2a;
    background: #ffe3e3;
}

.bw-mp-detail__perks {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
}

@media (min-width: 576px) {
    .bw-mp-detail__perks {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bw-mp-detail__perks li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #495057;
    padding: 0.55rem 0.65rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.bw-mp-detail__perks li i {
    color: var(--app-shop);
}

.bw-mp-detail__perks--service li i {
    color: var(--app-service);
}

.bw-mp-detail__form {
    margin-top: 0.5rem;
}

.bw-mp-detail__qty {
    margin-bottom: 1rem;
}

.bw-mp-detail__qty label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 0.45rem;
}

.bw-mp-qty-control {
    display: inline-flex;
    align-items: center;
    background: #f1f3f5;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 178, 0.1);
}

.bw-mp-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: #fff;
    color: var(--app-blue-dark);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.bw-mp-qty-btn:hover {
    background: var(--app-blue-pale);
}

.bw-mp-qty-input {
    width: 56px;
    height: 44px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    outline: none;
    -moz-appearance: textfield;
}

.bw-mp-qty-input::-webkit-outer-spin-button,
.bw-mp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.bw-mp-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

@media (min-width: 576px) {
    .bw-mp-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bw-mp-field {
    margin-bottom: 0.85rem;
}

.bw-mp-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 0.4rem;
}

.bw-mp-field input,
.bw-mp-field select,
.bw-mp-field textarea {
    width: 100%;
    border: 1px solid rgba(26, 115, 178, 0.15);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bw-mp-field input:focus,
.bw-mp-field select:focus,
.bw-mp-field textarea:focus {
    outline: none;
    border-color: var(--app-blue-light);
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.15);
}

.bw-mp-detail__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s;
}

.bw-mp-detail__cta--shop {
    background: linear-gradient(135deg, var(--app-shop-light), var(--app-shop));
    box-shadow: 0 10px 28px rgba(247, 103, 7, 0.35);
}

.bw-mp-detail__cta--shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(247, 103, 7, 0.4);
    color: #fff;
}

.bw-mp-detail__cta--service {
    background: linear-gradient(135deg, var(--app-service-light), var(--app-service));
    box-shadow: 0 10px 28px rgba(18, 184, 134, 0.32);
}

.bw-mp-detail__cta--service:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(18, 184, 134, 0.38);
    color: #fff;
}

.bw-mp-detail__cta--outline {
    background: transparent;
    color: var(--app-shop-dark) !important;
    border: 2px solid var(--app-shop);
    box-shadow: none;
}

.bw-mp-detail__content {
    background: #fff;
    border-radius: var(--app-radius-lg);
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--app-shadow);
    border-left: 4px solid var(--app-shop);
}

.bw-mp-detail__content--service {
    border-left-color: var(--app-green);
}

.bw-mp-detail__content h2 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.bw-mp-detail__prose {
    color: #495057;
    font-size: 0.92rem;
    line-height: 1.75;
}

.bw-mp-detail__related {
    margin-bottom: 0.5rem;
}

/* ─── Cart page — 3D glass UI ─── */
.bw-app-body--cart {
    background: linear-gradient(180deg, #eef4fa 0%, #f0f4f8 40%, #e8f0f8 100%);
}

.bw-cart-hero {
    position: relative;
    padding: 1.25rem 0 2rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #0d4f7c 0%, #1a73b2 40%, #6741d9 100%);
}

.bw-cart-hero__orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bw-cart-hero__orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    animation: caliconCartOrbFloat var(--anim-cart-orb) ease-in-out infinite;
}

.bw-cart-hero__orb:nth-child(1) { width: 220px; height: 220px; top: -70px; right: -50px; }
.bw-cart-hero__orb:nth-child(2) { width: 140px; height: 140px; bottom: -30px; left: -40px; animation-delay: -4s; }
.bw-cart-hero__orb:nth-child(3) { width: 90px; height: 90px; top: 40%; left: 55%; animation-delay: -7s; }

.bw-cart-hero__flash,
.bw-cart-hero__glaze {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bw-cart-hero__flash {
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 42%,
        rgba(255, 255, 255, 0.06) 48%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.06) 52%,
        transparent 58%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: appHeaderFlash var(--anim-cart-flash) ease-in-out infinite;
}

.bw-cart-hero__glaze {
    background: linear-gradient(
        125deg,
        transparent 30%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(116, 192, 252, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 55%,
        transparent 70%
    );
    background-size: 300% 300%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    mix-blend-mode: soft-light;
}

.bw-cart-hero__inner {
    position: relative;
    z-index: 2;
}

.bw-cart-hero__head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.bw-cart-hero__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transform: perspective(500px) rotateX(8deg) rotateY(-6deg);
}

.bw-cart-hero__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.bw-cart-hero__sub {
    margin: 0;
    opacity: 0.92;
    font-size: 0.92rem;
}

.bw-cart-page {
    padding: 0 0 2rem;
    margin-top: -0.75rem;
}

.bw-cart-alert {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.88rem;
    backdrop-filter: blur(12px);
}

.bw-cart-alert--success {
    background: rgba(212, 250, 232, 0.85);
    color: #087f5b;
    border: 1px solid rgba(18, 184, 134, 0.25);
    box-shadow: 0 8px 24px rgba(18, 184, 134, 0.12);
}

.bw-cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 992px) {
    .bw-cart-layout {
        grid-template-columns: 1fr 340px;
        gap: 1.5rem;
    }
}

.bw-cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bw-cart-item {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    transform-style: preserve-3d;
    perspective: 900px;
    animation: caliconCartItemIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) both;
    transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bw-cart-item:hover {
    transform: translateY(-4px) rotateX(1deg);
}

.bw-cart-item__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-blue), var(--app-blue-light), #74c0fc, var(--app-green), var(--app-blue));
    background-size: 320% 320%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
    z-index: 0;
}

.bw-cart-item__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        120deg,
        transparent 35%,
        rgba(255, 255, 255, 0.35) 48%,
        rgba(255, 255, 255, 0.08) 52%,
        transparent 65%
    );
    background-size: 250% 250%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    opacity: 0.55;
}

.bw-cart-item__inner {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow:
        0 12px 36px rgba(26, 115, 178, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.bw-cart-item__thumb {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: perspective(400px) rotateY(-4deg);
    transition: transform 0.35s;
}

.bw-cart-item:hover .bw-cart-item__thumb {
    transform: perspective(400px) rotateY(0deg) scale(1.03);
}

.bw-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bw-cart-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}

.bw-cart-item__top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.bw-cart-item__type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.35rem;
}

.bw-cart-item__type--product {
    background: #fff4e6;
    color: var(--app-shop-dark);
}

.bw-cart-item__type--service {
    background: #e6fcf5;
    color: var(--app-service-dark);
}

.bw-cart-item__name {
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.bw-cart-item__name a {
    color: #212529;
    text-decoration: none !important;
    transition: color 0.2s;
}

.bw-cart-item__name a:hover {
    color: var(--app-blue);
}

.bw-cart-item__meta {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    font-size: 0.78rem;
    color: #868e96;
}

.bw-cart-item__meta li {
    margin-bottom: 0.15rem;
}

.bw-cart-item__remove button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 12px;
    background: #fff5f5;
    color: #e03131;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.bw-cart-item__remove button:hover {
    background: #ffe3e3;
    transform: scale(1.06);
}

.bw-cart-item__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.bw-cart-item__unit {
    font-size: 0.8rem;
    color: #868e96;
    font-weight: 600;
}

.bw-cart-item__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.bw-cart-qty {
    display: inline-flex;
    align-items: center;
    background: #f1f3f5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(26, 115, 178, 0.1);
}

.bw-cart-qty__btn {
    width: 34px;
    height: 34px;
    border: none;
    background: #fff;
    color: var(--app-blue-dark);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.bw-cart-qty__btn:hover {
    background: var(--app-blue-pale);
}

.bw-cart-qty__input {
    width: 42px;
    height: 34px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 0.88rem;
    outline: none;
    -moz-appearance: textfield;
}

.bw-cart-qty__input::-webkit-outer-spin-button,
.bw-cart-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.bw-cart-qty__update {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--app-blue-pale);
    color: var(--app-blue);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.bw-cart-qty__update:hover {
    background: var(--app-blue);
    color: #fff;
}

.bw-cart-item__qty-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #495057;
    padding: 0.35rem 0.65rem;
    background: #f1f3f5;
    border-radius: 10px;
}

.bw-cart-item__total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    min-width: 4.5rem;
    text-align: right;
}

.bw-cart-summary {
    position: relative;
}

@media (min-width: 992px) {
    .bw-cart-summary {
        position: sticky;
        top: calc(var(--app-header-h) + 12px);
    }
}

.bw-cart-summary__glass {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 3px;
    transform: perspective(800px) rotateX(2deg);
    transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
    box-shadow: 0 20px 50px rgba(26, 115, 178, 0.18);
}

.bw-cart-summary:hover .bw-cart-summary__glass {
    transform: perspective(800px) rotateX(0deg) translateY(-4px);
}

.bw-cart-summary__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #6741d9, var(--app-blue-light), var(--app-green), #fab005, #6741d9);
    background-size: 350% 350%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
    z-index: 0;
}

.bw-cart-summary__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.45) 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 100%
    );
    background-size: 200% 200%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    animation-delay: -6s;
}

.bw-cart-summary__inner {
    position: relative;
    z-index: 2;
    padding: 1.35rem 1.4rem;
    border-radius: calc(var(--app-radius-lg) - 3px);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

.bw-cart-summary__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.bw-cart-summary__rows {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.bw-cart-summary__rows li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    font-size: 0.88rem;
    color: #495057;
    border-bottom: 1px dashed rgba(26, 115, 178, 0.12);
}

.bw-cart-summary__rows li:last-child {
    border-bottom: none;
}

.bw-cart-summary__total-row {
    margin-top: 0.35rem;
    padding-top: 0.85rem !important;
    border-top: 2px solid var(--app-blue-pale) !important;
    font-size: 1rem !important;
}

.bw-cart-summary__total-row strong {
    font-size: 1.35rem;
    color: var(--app-blue-dark);
}

.bw-cart-summary__note {
    font-size: 0.75rem;
    color: #868e96;
    margin: 0 0 1rem;
}

.bw-cart-summary__checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--app-blue-dark), var(--app-blue), var(--app-blue-light));
    color: #fff !important;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(26, 115, 178, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bw-cart-summary__checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(26, 115, 178, 0.42);
    color: #fff !important;
}

.bw-cart-summary__links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1rem;
}

.bw-cart-summary__links a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--app-blue);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.bw-cart-summary__links a:hover {
    color: var(--app-blue-dark);
}

.bw-cart-empty {
    max-width: 520px;
    margin: 0 auto;
}

.bw-cart-empty__glass {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 3px;
    box-shadow: 0 24px 60px rgba(26, 115, 178, 0.15);
}

.bw-cart-empty__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-blue), #6741d9, var(--app-green), var(--app-blue-light));
    background-size: 300% 300%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
}

.bw-cart-empty__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 50%, rgba(255,255,255,0.15));
    background-size: 250% 250%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.bw-cart-empty__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: calc(var(--app-radius-lg) - 3px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.bw-cart-empty__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--app-blue);
    background: var(--app-blue-pale);
    box-shadow: 0 10px 30px rgba(26, 115, 178, 0.15);
    transform: perspective(500px) rotateX(10deg);
}

.bw-cart-empty h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 0.5rem;
}

.bw-cart-empty p {
    color: #868e96;
    font-size: 0.92rem;
    margin: 0 0 1.25rem;
}

.bw-cart-empty__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (min-width: 480px) {
    .bw-cart-empty__actions {
        flex-direction: row;
        justify-content: center;
    }
}

.bw-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none !important;
    transition: transform 0.25s, box-shadow 0.25s;
}

.bw-cart-btn--shop {
    background: linear-gradient(135deg, var(--app-shop-light), var(--app-shop));
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(247, 103, 7, 0.3);
}

.bw-cart-btn--service {
    background: linear-gradient(135deg, var(--app-service-light), var(--app-service));
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(18, 184, 134, 0.28);
}

.bw-cart-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

@media (max-width: 575.98px) {
    .bw-cart-item__inner {
        flex-direction: column;
    }

    .bw-cart-item__thumb {
        width: 100%;
        height: 160px;
        transform: none;
    }

    .bw-cart-item__controls {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bw-cart-hero__flash,
    .bw-cart-hero__glaze,
    .bw-cart-hero__orb,
    .bw-cart-item__flash,
    .bw-cart-item__glaze,
    .bw-cart-summary__flash,
    .bw-cart-summary__glaze,
    .bw-cart-empty__flash,
    .bw-cart-empty__glaze,
    .bw-cart-item,
    .bw-checkout-panel__flash,
    .bw-checkout-panel__glaze,
    .bw-checkout-success__flash,
    .bw-checkout-success__glaze {
        animation: none;
    }
}

/* ─── Checkout page ─── */
.bw-app-body--checkout {
    background: linear-gradient(180deg, #eef4fa 0%, #f0f4f8 45%, #e8f0f8 100%);
}

.bw-cart-hero--checkout {
    background: linear-gradient(145deg, #1864ab 0%, #1a73b2 35%, #12b886 100%);
}

.bw-cart-hero--checkout.bw-cart-hero--success {
    padding-bottom: 1rem;
}

.bw-cart-hero__icon--checkout {
    background: rgba(255, 255, 255, 0.2);
}

.bw-checkout-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.85rem 0 1rem;
}

.bw-checkout-step {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bw-checkout-step span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.15);
}

.bw-checkout-step.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.bw-checkout-step.is-active span {
    background: #fff;
    color: var(--app-blue-dark);
}

.bw-checkout-step.is-done {
    color: rgba(255, 255, 255, 0.92);
}

.bw-checkout-step.is-done span {
    background: rgba(255, 255, 255, 0.92);
    color: var(--app-green);
}

a.bw-checkout-step {
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

a.bw-checkout-step:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
}

.bw-checkout-steps--success {
    justify-content: center;
    margin-bottom: 0;
}

.bw-cart-alert--error {
    background: rgba(255, 245, 245, 0.9);
    color: #c92a2a;
    border: 1px solid rgba(224, 49, 49, 0.25);
    box-shadow: 0 8px 24px rgba(224, 49, 49, 0.1);
}

.bw-checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 992px) {
    .bw-checkout-layout {
        grid-template-columns: 1fr 340px;
        gap: 1.5rem;
    }
}

.bw-checkout-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bw-checkout-panel {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bw-checkout-panel:hover {
    transform: translateY(-3px);
}

.bw-checkout-panel__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-blue), var(--app-blue-light), var(--app-green), #74c0fc, var(--app-blue));
    background-size: 320% 320%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
    z-index: 0;
}

.bw-checkout-panel__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.35) 48%, rgba(255, 255, 255, 0.08) 52%, transparent 65%);
    background-size: 250% 250%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    opacity: 0.5;
}

.bw-checkout-panel__inner {
    position: relative;
    z-index: 2;
    padding: 1.25rem 1.35rem;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.bw-checkout-panel__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.bw-checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 576px) {
    .bw-checkout-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bw-checkout-field--full {
    grid-column: 1 / -1;
}

.bw-checkout-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 0.4rem;
}

.bw-checkout-optional {
    font-weight: 500;
    color: #adb5bd;
}

.bw-checkout-field input,
.bw-checkout-field textarea,
.bw-checkout-field select {
    width: 100%;
    border: 1px solid rgba(26, 115, 178, 0.15);
    border-radius: 12px;
    padding: 0.72rem 0.85rem;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bw-checkout-field input:focus,
.bw-checkout-field textarea:focus {
    outline: none;
    border-color: var(--app-blue-light);
    box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.15);
}

.bw-checkout-field input.is-invalid,
.bw-checkout-field textarea.is-invalid {
    border-color: #fa5252;
    box-shadow: 0 0 0 3px rgba(250, 82, 82, 0.12);
}

.bw-checkout-error {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: #e03131;
    font-weight: 600;
}

.bw-checkout-error--block {
    margin-bottom: 0.75rem;
}

.bw-checkout-payments {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .bw-checkout-payments {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bw-checkout-payment {
    cursor: pointer;
    margin: 0;
}

.bw-checkout-payment input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bw-checkout-payment__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 1rem 0.75rem;
    border-radius: 14px;
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
    height: 100%;
    position: relative;
}

.bw-checkout-payment__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-blue-pale);
    color: var(--app-blue);
    font-size: 1.1rem;
}

.bw-checkout-payment__text strong {
    display: block;
    font-size: 0.82rem;
    color: #212529;
}

.bw-checkout-payment__text small {
    display: block;
    font-size: 0.68rem;
    color: #868e96;
    margin-top: 0.15rem;
}

.bw-checkout-payment__check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--app-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s, transform 0.2s;
}

.bw-checkout-payment input:checked + .bw-checkout-payment__box {
    border-color: var(--app-blue);
    background: #fff;
    box-shadow: 0 8px 24px rgba(26, 115, 178, 0.12);
    transform: translateY(-2px);
}

.bw-checkout-payment input:checked + .bw-checkout-payment__box .bw-checkout-payment__check {
    opacity: 1;
    transform: scale(1);
}

.bw-checkout-payment input:focus-visible + .bw-checkout-payment__box {
    outline: 2px solid var(--app-blue-light);
    outline-offset: 2px;
}

.bw-checkout-summary {
    position: relative;
}

@media (min-width: 992px) {
    .bw-checkout-summary {
        position: sticky;
        top: calc(var(--app-header-h) + 12px);
    }
}

.bw-checkout-order-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
}

.bw-checkout-order-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed rgba(26, 115, 178, 0.1);
}

.bw-checkout-order-item:last-child {
    border-bottom: none;
}

.bw-checkout-order-item img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.bw-checkout-order-item__body {
    min-width: 0;
}

.bw-checkout-order-item__body strong {
    display: block;
    font-size: 0.82rem;
    color: #212529;
    line-height: 1.3;
}

.bw-checkout-order-item__body span {
    font-size: 0.75rem;
    color: #868e96;
    font-weight: 600;
}

.bw-checkout-order-item > strong {
    font-size: 0.82rem;
    color: var(--app-blue-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.bw-checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 1rem 1.25rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--app-green), var(--app-service-light));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(18, 184, 134, 0.32);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
}

.bw-checkout-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(18, 184, 134, 0.38);
    color: #fff;
}

.bw-checkout-submit--inline {
    margin-top: 1.25rem;
}

.bw-checkout-back-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--app-blue);
    text-decoration: none !important;
}

.bw-checkout-back-cart:hover {
    color: var(--app-blue-dark);
}

/* ─── Checkout premium upgrade ─── */
.bw-app-body--checkout-premium {
    background: linear-gradient(180deg, #e8f0f8 0%, #eef4fa 40%, #f4f7fb 100%);
}

.bw-checkout-hero {
    background: linear-gradient(145deg, #0d2847 0%, #1864ab 30%, #1a73b2 55%, #0ca678 100%);
    padding-bottom: 1.5rem;
}

.bw-checkout-hero__icon {
    animation: caliconCheckoutIconPulse 3s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.bw-checkout-steps--premium {
    align-items: center;
    gap: 0;
    margin: 1rem 0 1.15rem;
}

.bw-checkout-step__line {
    width: 28px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    transition: background 0.3s, box-shadow 0.3s;
}

.bw-checkout-step__line.is-active,
.bw-checkout-step__line.is-done {
    background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.9));
    box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.bw-checkout-step.is-done span {
    font-size: 0.6rem;
}

.bw-checkout-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.bw-checkout-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    animation: caliconRegFadeUp 0.6s ease both;
}

.bw-checkout-trust span:nth-child(2) { animation-delay: 0.1s; }
.bw-checkout-trust span:nth-child(3) { animation-delay: 0.2s; }

.bw-checkout-page--premium {
    position: relative;
    padding-bottom: 2.5rem;
}

.bw-checkout-page__mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 10% 20%, rgba(26,115,178,0.06), transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 60%, rgba(18,184,134,0.06), transparent 45%);
}

.bw-checkout-page--premium .container {
    position: relative;
    z-index: 1;
}

.bw-checkout-panel {
    animation: caliconCheckoutPanelIn 0.55s ease both;
    animation-delay: calc(0.1s + var(--panel-i, 0) * 0.12s);
}

.bw-checkout-panel__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.bw-checkout-panel__num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--app-blue), #4dabf7);
    box-shadow: 0 4px 12px rgba(26,115,178,0.35);
    flex-shrink: 0;
}

.bw-checkout-panel__head .bw-checkout-panel__title {
    margin-bottom: 0;
}

.bw-checkout-field--premium {
    animation: caliconRegFieldIn 0.5s ease both;
    animation-delay: calc(0.15s + var(--fi, 0) * 0.06s);
}

.bw-checkout-field--premium label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.bw-checkout-field--premium label i {
    color: var(--app-blue);
    font-size: 0.85rem;
}

.bw-checkout-field--premium input,
.bw-checkout-field--premium textarea {
    border: 2px solid #e9ecef;
    background: #f8f9fa;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, transform 0.2s;
}

.bw-checkout-field--premium input:focus,
.bw-checkout-field--premium textarea:focus {
    border-color: var(--app-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26,115,178,0.12), 0 4px 16px rgba(26,115,178,0.08);
    transform: translateY(-1px);
    outline: none;
}

.bw-checkout-payments--premium {
    gap: 0.75rem;
}

.bw-checkout-payment__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--pay-accent, var(--app-blue)), transparent, var(--pay-accent, var(--app-green)));
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.35s;
    animation: appLogoBorderFlash 8s ease infinite;
}

.bw-checkout-payment input:checked + .bw-checkout-payment__box .bw-checkout-payment__flash {
    opacity: 0.35;
}

.bw-checkout-payment__box {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s, border-color 0.3s;
}

.bw-checkout-payment input:checked + .bw-checkout-payment__box {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--pay-accent, var(--app-green));
    box-shadow: 0 12px 28px rgba(26,115,178,0.15);
}

.bw-checkout-payment__icon {
    transition: transform 0.3s, background 0.3s;
}

.bw-checkout-payment input:checked + .bw-checkout-payment__box .bw-checkout-payment__icon {
    background: linear-gradient(135deg, var(--pay-accent, var(--app-green)), color-mix(in srgb, var(--pay-accent, #12b886) 70%, #fff));
    transform: scale(1.08);
}

.bw-checkout-summary--premium .bw-checkout-summary__card {
    transform: perspective(800px) rotateY(-2deg);
    transition: transform 0.4s ease;
}

.bw-checkout-summary--premium .bw-checkout-summary__card:hover {
    transform: perspective(800px) rotateY(0deg) translateY(-4px);
}

.bw-checkout-summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bw-checkout-summary__head .bw-cart-summary__title {
    margin-bottom: 0;
}

.bw-checkout-summary__badge {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--app-blue-pale);
    color: var(--app-blue);
}

.bw-checkout-order-item {
    animation: caliconCheckoutItemIn 0.45s ease both;
    animation-delay: calc(0.1s + var(--oi, 0) * 0.07s);
}

.bw-checkout-total-box {
    margin: 1rem 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(26,115,178,0.06), rgba(18,184,134,0.08));
    border: 1px solid rgba(26,115,178,0.12);
}

.bw-checkout-total-box__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: #495057;
}

.bw-checkout-total-box__row--grand {
    margin-top: 0.5rem;
    padding-top: 0.65rem;
    border-top: 2px dashed rgba(26,115,178,0.2);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--app-blue-dark);
}

.bw-checkout-total-box__row--grand strong {
    font-size: 1.35rem;
    color: var(--app-green-dark, #0ca678);
}

.bw-checkout-secure-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.85rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #495057;
    background: rgba(18,184,134,0.08);
    border: 1px solid rgba(18,184,134,0.15);
}

.bw-checkout-secure-note i {
    color: var(--app-green);
    font-size: 1rem;
}

.bw-checkout-submit--premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0ca678 0%, #12b886 40%, #20c997 100%);
    background-size: 200% auto;
    animation: caliconCheckoutBtnGlow 3s ease-in-out infinite;
}

.bw-checkout-submit__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: caliconRegShine 2.5s ease-in-out infinite;
}

.bw-checkout-submit__text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bw-checkout-submit--premium.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

@keyframes caliconCheckoutIconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
    50% { transform: scale(1.05); box-shadow: 0 12px 32px rgba(0,0,0,0.28); }
}

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

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

@keyframes caliconCheckoutBtnGlow {
    0%, 100% { box-shadow: 0 12px 32px rgba(18,184,134,0.32); }
    50% { box-shadow: 0 16px 44px rgba(18,184,134,0.48), 0 0 20px rgba(56,217,169,0.2); }
}

@media (prefers-reduced-motion: reduce) {
    .bw-checkout-hero__icon,
    .bw-checkout-panel,
    .bw-checkout-field--premium,
    .bw-checkout-order-item,
    .bw-checkout-submit--premium,
    .bw-checkout-submit__shine,
    .bw-checkout-payment__flash {
        animation: none !important;
    }
}

.bw-checkout-success {
    max-width: 560px;
    margin: 0 auto;
}

.bw-checkout-success__glass {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 3px;
    box-shadow: 0 24px 60px rgba(18, 184, 134, 0.15);
}

.bw-checkout-success__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-green), var(--app-blue-light), #fab005, var(--app-green));
    background-size: 300% 300%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
}

.bw-checkout-success__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.45), transparent 50%, rgba(255,255,255,0.2));
    background-size: 250% 250%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.bw-checkout-success__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.25rem 1.5rem;
    border-radius: calc(var(--app-radius-lg) - 3px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.bw-checkout-success__icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--app-green);
    background: #e6fcf5;
    box-shadow: 0 12px 32px rgba(18, 184, 134, 0.2);
    animation: caliconCheckoutSuccessPop 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bw-checkout-success h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 0.5rem;
}

.bw-checkout-success p {
    color: #495057;
    margin: 0 0 1.25rem;
}

.bw-checkout-success__details {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: #f8f9fa;
    text-align: left;
}

.bw-checkout-success__details div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
}

.bw-checkout-success__details span {
    color: #868e96;
    font-weight: 600;
}

.bw-checkout-success__details strong {
    color: #212529;
}

.bw-checkout-success__items {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    font-size: 0.82rem;
    color: #495057;
    text-align: left;
}

.bw-checkout-success__items li {
    padding: 0.35rem 0;
    border-bottom: 1px dashed rgba(26, 115, 178, 0.1);
}

.bw-checkout-success__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (min-width: 480px) {
    .bw-checkout-success__actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ─── Account dashboard ─── */
.bw-app-body--account {
    background: linear-gradient(180deg, #eef2f8 0%, #f4f7fb 100%);
}

.bw-account-hero {
    position: relative;
    padding: 1.25rem 0 1.75rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1a365d 0%, #1a73b2 45%, #6741d9 100%);
}

.bw-account-hero__flash,
.bw-account-hero__glaze {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bw-account-hero__flash {
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
    background-size: 220% 100%;
    animation: appHeaderFlash var(--anim-cart-flash) ease-in-out infinite;
}

.bw-account-hero__glaze {
    background: linear-gradient(125deg, transparent, rgba(255,255,255,0.1) 50%, transparent);
    background-size: 300% 300%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    mix-blend-mode: soft-light;
}

.bw-account-hero__inner { position: relative; z-index: 2; }

.bw-account-hero__head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bw-account-hero__avatar {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.22);
    transform: perspective(500px) rotateY(-8deg);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.bw-account-hero__eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    font-weight: 700;
}

.bw-account-hero__title {
    margin: 0;
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
}

.bw-account-hero__sub {
    margin: 0.25rem 0 0;
    opacity: 0.9;
    font-size: 0.88rem;
}

.bw-account-page {
    padding: 0 0 2rem;
    margin-top: -0.5rem;
}

.bw-account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 992px) {
    .bw-account-layout {
        grid-template-columns: 240px 1fr;
    }
}

.bw-account-nav__glass {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    box-shadow: 0 16px 40px rgba(26, 115, 178, 0.14);
}

.bw-account-nav__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #6741d9, var(--app-blue-light), var(--app-green), #6741d9);
    background-size: 320% 320%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
}

.bw-account-nav__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 55%);
    background-size: 200% 200%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.bw-account-nav__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
}

@media (max-width: 991.98px) {
    .bw-account-nav__inner {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .bw-account-nav__inner::-webkit-scrollbar { display: none; }
    .bw-account-nav__link,
    .bw-account-nav__logout button {
        white-space: nowrap;
        flex: 0 0 auto;
    }
}

.bw-account-nav__link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.bw-account-nav__link:hover {
    background: var(--app-blue-pale);
    color: var(--app-blue-dark);
}

.bw-account-nav__link.is-active {
    background: linear-gradient(135deg, var(--app-blue-pale), #fff);
    color: var(--app-blue);
    box-shadow: inset 0 0 0 1px rgba(26, 115, 178, 0.12);
}

.bw-account-nav__logout button {
    width: 100%;
    border: none;
    background: #fff5f5;
    color: #e03131;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.35rem;
}

@media (max-width: 991.98px) {
    .bw-account-nav__logout { margin-top: 0; }
    .bw-account-nav__logout button { width: auto; margin-top: 0; }
}

.bw-account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bw-account-stat {
    position: relative;
    padding: 1rem;
    border-radius: var(--app-radius);
    text-align: center;
    background: rgba(255,255,255,0.85);
    box-shadow: var(--app-shadow);
    transform: perspective(600px) rotateX(2deg);
    transition: transform 0.3s;
}

.bw-account-stat:hover {
    transform: perspective(600px) rotateX(0deg) translateY(-3px);
}

.bw-account-stat__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--app-blue-dark);
}

.bw-account-stat__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #868e96;
}

.bw-account-panel {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    margin-bottom: 1rem;
    transition: transform 0.35s;
}

.bw-account-panel:hover {
    transform: translateY(-2px);
}

.bw-account-panel__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-blue), #74c0fc, var(--app-green), var(--app-blue));
    background-size: 300% 300%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
    z-index: 0;
}

.bw-account-panel__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
    background-size: 250% 250%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    opacity: 0.45;
}

.bw-account-panel__inner {
    position: relative;
    z-index: 2;
    padding: 1.25rem 1.35rem;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
}

.bw-account-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bw-account-panel__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.bw-account-panel__head .bw-account-panel__title {
    margin-bottom: 0;
}

.bw-account-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.bw-account-filter {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #495057;
    background: #f1f3f5;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}

.bw-account-filter.is-active,
.bw-account-filter:hover {
    background: var(--app-blue-pale);
    color: var(--app-blue-dark);
}

.bw-account-order-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.bw-account-order-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #f8f9fa;
    text-decoration: none !important;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.bw-account-order-row:hover {
    transform: translateX(4px);
    background: #fff;
    box-shadow: 0 6px 18px rgba(26, 115, 178, 0.1);
}

.bw-account-order-row__main strong {
    display: block;
    color: #212529;
    font-size: 0.92rem;
}

.bw-account-order-row__main span {
    font-size: 0.78rem;
    color: #868e96;
}

.bw-account-order-row__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bw-account-order-row__meta strong {
    color: var(--app-blue-dark);
    font-size: 0.95rem;
}

.bw-account-status {
    display: inline-flex;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bw-account-status--lg {
    font-size: 0.78rem;
    padding: 0.35rem 0.85rem;
}

.bw-account-status.is-pending { background: #fff3bf; color: #e67700; }
.bw-account-status.is-confirmed { background: #d0ebff; color: #1864ab; }
.bw-account-status.is-processing { background: #e7f5ff; color: #1a73b2; }
.bw-account-status.is-completed { background: #d3f9d8; color: #087f5b; }
.bw-account-status.is-cancelled { background: #ffe3e3; color: #c92a2a; }

.bw-account-link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--app-blue);
    text-decoration: none !important;
}

.bw-account-quick {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .bw-account-quick { grid-template-columns: 1fr 1fr; }
}

.bw-account-quick__card {
    padding: 1rem 1.1rem;
    border-radius: var(--app-radius);
    background: rgba(255,255,255,0.9);
    box-shadow: var(--app-shadow);
    text-decoration: none !important;
    transition: transform 0.25s;
}

.bw-account-quick__card:hover {
    transform: translateY(-3px);
}

.bw-account-quick__card i {
    font-size: 1.25rem;
    color: var(--app-blue);
    margin-bottom: 0.35rem;
}

.bw-account-quick__card strong {
    display: block;
    color: #212529;
    font-size: 0.92rem;
}

.bw-account-quick__card span {
    font-size: 0.78rem;
    color: #868e96;
}

.bw-account-form .bw-checkout-field {
    margin-bottom: 1rem;
}

.bw-account-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--app-blue-dark), var(--app-blue));
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(26, 115, 178, 0.28);
    transition: transform 0.25s;
}

.bw-account-submit:hover {
    transform: translateY(-2px);
}

.bw-account-empty-inline {
    text-align: center;
    padding: 1.5rem 0.5rem;
    color: #868e96;
}

.bw-account-empty-inline__actions {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.bw-account-order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bw-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.2s;
}

.bw-account-btn--ghost {
    background: #fff;
    color: var(--app-blue-dark);
    box-shadow: var(--app-shadow);
}

.bw-account-btn:hover {
    transform: translateY(-1px);
}

.bw-account-track__title {
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0 0 1rem;
    color: var(--app-blue-dark);
}

.bw-account-track__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .bw-account-track__steps { grid-template-columns: repeat(4, 1fr); }
}

.bw-account-track__step {
    text-align: center;
    opacity: 0.45;
}

.bw-account-track__step.is-done,
.bw-account-track__step.is-active {
    opacity: 1;
}

.bw-account-track__dot {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.45rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    color: #868e96;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.bw-account-track__step.is-done .bw-account-track__dot {
    background: #d3f9d8;
    color: #087f5b;
}

.bw-account-track__step.is-active .bw-account-track__dot {
    background: linear-gradient(135deg, var(--app-blue), var(--app-blue-light));
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 115, 178, 0.3);
    animation: caliconAccountPulse 2.5s ease-in-out infinite;
}

.bw-account-track__step.is-cancelled .bw-account-track__dot {
    background: #ffe3e3;
    color: #c92a2a;
}

.bw-account-track__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #495057;
}

.bw-account-order-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.bw-account-order-head .bw-account-panel__title {
    margin-bottom: 0.25rem;
}

.bw-account-order-head__date {
    margin: 0;
    font-size: 0.82rem;
    color: #868e96;
}

.bw-account-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bw-account-detail-grid { grid-template-columns: 1.2fr 0.8fr; }
}

.bw-account-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bw-account-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(26, 115, 178, 0.12);
}

.bw-account-item:last-child { border-bottom: none; }

.bw-account-item__type {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--app-blue);
    margin-left: 0.35rem;
}

.bw-account-item__price {
    text-align: right;
    flex-shrink: 0;
}

.bw-account-item__price span {
    display: block;
    font-size: 0.75rem;
    color: #868e96;
}

.bw-account-dl {
    margin: 0;
}

.bw-account-dl div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(26, 115, 178, 0.1);
    font-size: 0.88rem;
}

.bw-account-dl dt {
    font-weight: 700;
    color: #868e96;
    margin: 0;
}

.bw-account-dl dd {
    margin: 0;
    color: #212529;
}

.bw-account-dl__total dd {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--app-blue-dark);
}

@keyframes caliconAccountPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(26, 115, 178, 0.3); }
    50% { box-shadow: 0 8px 28px rgba(26, 115, 178, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
    .bw-account-hero__flash,
    .bw-account-hero__glaze,
    .bw-account-nav__flash,
    .bw-account-nav__glaze,
    .bw-account-panel__flash,
    .bw-account-panel__glaze,
    .bw-account-track__step.is-active .bw-account-track__dot {
        animation: none;
    }
}

/* Animations */
@keyframes appHeaderFlash {
    0%, 100% { background-position: 160% 0; }
    50% { background-position: -160% 0; }
}

@keyframes appLogoBorderFlash {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes caliconLogoRingSpin {
    to { transform: rotate(360deg); }
}

@keyframes caliconLogoGlow {
    0%, 100% { opacity: 0.5; transform: scale(0.96); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes caliconCartGlaze {
    0%, 100% { background-position: 0% 0%; opacity: 0.45; }
    50% { background-position: 100% 100%; opacity: 0.85; }
}

@keyframes caliconCartOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -18px) scale(1.06); }
}

@keyframes caliconCartItemIn {
    from { opacity: 0; transform: translateY(16px) rotateX(4deg); }
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

@keyframes caliconCheckoutSuccessPop {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes appOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -15px) scale(1.05); }
}

/* ─── App footer — showcase + bento grid ─── */
.bw-app-footer {
    margin-top: 1.5rem;
    padding: 0 0 1.25rem;
}

@media (max-width: 767px) {
    .bw-app-footer { padding-bottom: 0.5rem; }
}

.bw-footer-showcase {
    position: relative;
    overflow: hidden;
    margin: 0 0.65rem 1rem;
    border-radius: var(--app-radius-lg);
    color: #fff;
    background: linear-gradient(145deg, #130069 0%, #1C008A 38%, #3d1a9e 72%, #5c2dd2 100%);
    box-shadow: 0 24px 60px rgba(19, 0, 105, 0.38);
}

.bw-footer-showcase__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background-image:
        radial-gradient(circle at 18% 28%, rgba(139, 92, 246, 0.5) 0%, transparent 45%),
        radial-gradient(circle at 82% 68%, rgba(194, 0, 0, 0.28) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(250, 176, 5, 0.18) 0%, transparent 50%);
    animation: caliconFooterMesh 14s ease-in-out infinite;
}

.bw-footer-showcase__flash {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.12) 50%, transparent 65%);
    background-size: 240% 100%;
    animation: appHeaderFlash var(--anim-cart-flash) ease-in-out infinite;
}

.bw-footer-showcase__glaze {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(125deg, transparent, rgba(255,255,255,0.08) 50%, transparent);
    background-size: 300% 300%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    mix-blend-mode: soft-light;
}

.bw-footer-showcase__orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bw-footer-showcase__orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: caliconFooterOrb 18s ease-in-out infinite;
}

.bw-footer-showcase__orbs span:nth-child(1) {
    width: 200px; height: 200px;
    top: -60px; right: 10%;
    background: rgba(139, 92, 246, 0.45);
}

.bw-footer-showcase__orbs span:nth-child(2) {
    width: 160px; height: 160px;
    bottom: -40px; left: 5%;
    background: rgba(194, 0, 0, 0.32);
    animation-delay: -6s;
}

.bw-footer-showcase__orbs span:nth-child(3) {
    width: 120px; height: 120px;
    top: 40%; left: 45%;
    background: rgba(250, 176, 5, 0.28);
    animation-delay: -10s;
}

.bw-footer-showcase .container {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
    padding-bottom: 1.35rem;
}

.bw-footer-showcase__hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

@media (min-width: 768px) {
    .bw-footer-showcase__hero {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }
}

/* Animated SVG scenes */
.bw-footer-anim {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.bw-footer-anim__scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.14);
    transform: perspective(600px) rotateY(-6deg);
    transition: transform 0.4s;
}

.bw-footer-anim__scene:hover {
    transform: perspective(600px) rotateY(0deg) translateY(-4px);
}

.bw-footer-anim__scene--service {
    transform: perspective(600px) rotateY(6deg);
}

.bw-footer-anim__scene--service:hover {
    transform: perspective(600px) rotateY(0deg) translateY(-4px);
}

.bw-footer-anim__svg {
    width: 100px;
    height: 100px;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

.bw-footer-anim__label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.9);
}

.bw-footer-anim__label--premium {
    background: linear-gradient(90deg, #fab005, #ff922b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bw-footer-anim__divider {
    width: 2px;
    height: 70px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.35), transparent);
    border-radius: 2px;
}

.bw-footer-anim__cart-body {
    animation: caliconFooterCartShake 3s ease-in-out infinite;
    transform-origin: 60px 70px;
}

.bw-footer-anim__cart-item {
    animation: caliconFooterCartDrop 2.8s cubic-bezier(0.34, 1.4, 0.64, 1) infinite;
    transform-origin: 57px 30px;
}

.bw-footer-anim__cart-spark circle:nth-child(1) { animation: caliconFooterSpark 2s ease-in-out infinite; }
.bw-footer-anim__cart-spark circle:nth-child(2) { animation: caliconFooterSpark 2s ease-in-out infinite 0.4s; }
.bw-footer-anim__cart-spark circle:nth-child(3) { animation: caliconFooterSpark 2s ease-in-out infinite 0.8s; }

.bw-footer-anim__service-ring {
    animation: caliconFooterRingSpin 12s linear infinite;
    transform-origin: 60px 58px;
}

.bw-footer-anim__service-badge {
    animation: caliconFooterServicePulse 3s ease-in-out infinite;
    transform-origin: 60px 58px;
}

.bw-footer-anim__service-spark circle {
    animation: caliconFooterSpark 2.5s ease-in-out infinite;
}

.bw-footer-anim__service-spark circle:nth-child(2) { animation-delay: 0.5s; }
.bw-footer-anim__service-spark circle:nth-child(3) { animation-delay: 1s; }
.bw-footer-anim__service-spark circle:nth-child(4) { animation-delay: 1.5s; }

.bw-footer-showcase__pitch { text-align: center; }

@media (min-width: 768px) {
    .bw-footer-showcase__pitch { text-align: left; }
}

.bw-footer-showcase__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

.bw-footer-showcase__title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.25rem, 3.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
}

.bw-footer-showcase__sub {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    opacity: 0.88;
    line-height: 1.55;
    max-width: 28rem;
}

.bw-footer-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .bw-footer-showcase__actions { justify-content: flex-start; }
}

.bw-footer-showcase__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.25s, box-shadow 0.25s;
}

.bw-footer-showcase__btn--shop {
    background: linear-gradient(135deg, #c20000, #ff2b2b);
    color: #fff;
    box-shadow: 0 6px 20px rgba(194, 0, 0, 0.38);
}

.bw-footer-showcase__btn--service {
    background: linear-gradient(135deg, #5c2dd2, #8b5cf6);
    color: #fff;
    box-shadow: 0 6px 20px rgba(92, 45, 210, 0.35);
}

.bw-footer-showcase__btn:hover {
    transform: translateY(-3px) scale(1.03);
    color: #fff;
}

/* Brightway footer info cards (distinct from Calicon bento) */
.bw-footer-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bw-footer-info {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        align-items: stretch;
    }
}

.bw-footer-info__card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    padding: 1.15rem 1.2rem 1.25rem;
    background: #fff;
    box-shadow: 0 10px 32px rgba(19, 0, 105, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bw-footer-info__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(19, 0, 105, 0.18);
}

.bw-footer-info__card--address {
    border-top: 4px solid #e67700;
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 42%);
}

.bw-footer-info__card--contact {
    border-top: 4px solid #c20000;
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 42%);
}

.bw-footer-info__card--links {
    border-top: 4px solid #1C008A;
    background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 42%);
}

.bw-footer-info__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(28, 0, 138, 0.12);
}

.bw-footer-info__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #fff;
    flex-shrink: 0;
}

.bw-footer-info__card--address .bw-footer-info__icon {
    background: linear-gradient(145deg, #e67700, #fab005);
    box-shadow: 0 6px 16px rgba(230, 119, 0, 0.28);
}

.bw-footer-info__card--contact .bw-footer-info__icon {
    background: linear-gradient(145deg, #7a0000, #ff2b2b);
    box-shadow: 0 6px 16px rgba(194, 0, 0, 0.28);
}

.bw-footer-info__card--links .bw-footer-info__icon {
    background: linear-gradient(145deg, #130069, #5c2dd2);
    box-shadow: 0 6px 16px rgba(28, 0, 138, 0.28);
}

.bw-footer-info__head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #212529;
    line-height: 1.2;
}

.bw-footer-info__tag {
    margin: 0.2rem 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: #868e96;
    letter-spacing: 0.02em;
}

.bw-footer-info__body {
    flex: 1;
    font-size: 0.84rem;
    line-height: 1.65;
    color: #495057;
}

.bw-footer-info__body p { margin: 0 0 0.35rem; }

.bw-footer-info__line {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
}

.bw-footer-info__line i {
    color: #c20000;
    margin-top: 0.15rem;
}

.bw-footer-info__action {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.45rem;
    border-radius: 12px;
    background: rgba(194, 0, 0, 0.06);
    border: 1px solid rgba(194, 0, 0, 0.1);
    color: #343a40;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.bw-footer-info__action:hover {
    background: rgba(194, 0, 0, 0.1);
    border-color: rgba(194, 0, 0, 0.2);
    color: #7a0000;
    transform: translateX(3px);
}

.bw-footer-info__action i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #7a0000, #ff2b2b);
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bw-footer-info__social {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.bw-footer-info__social a {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1C008A;
    color: #fff;
    text-decoration: none !important;
    transition: transform 0.2s, background 0.2s;
}

.bw-footer-info__social a:hover {
    transform: scale(1.08);
    background: #5c2dd2;
}

.bw-footer-info__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.bw-footer-info__links a {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.55rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, padding 0.2s;
}

.bw-footer-info__links a::before {
    content: '›';
    font-size: 1rem;
    font-weight: 800;
    color: #1C008A;
    opacity: 0.55;
    transition: opacity 0.2s, transform 0.2s;
}

.bw-footer-info__links a:hover {
    background: rgba(92, 45, 210, 0.08);
    color: #1C008A;
    padding-left: 0.75rem;
}

.bw-footer-info__links a:hover::before {
    opacity: 1;
    transform: translateX(2px);
}

/* Bento info grid */
.bw-footer-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .bw-footer-bento {
        grid-template-columns: 1.15fr 1fr 0.95fr;
        gap: 14px;
    }
}

.bw-footer-bento__cell {
    position: relative;
    border-radius: var(--app-radius);
    padding: 2px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bw-footer-bento__cell:hover {
    transform: translateY(-5px);
}

.bw-footer-bento__border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-size: 320% 320%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
    z-index: 0;
}

.bw-footer-bento__cell--address .bw-footer-bento__border {
    background: linear-gradient(135deg, #4dabf7, #1a73b2, #74c0fc, #1864ab, #4dabf7);
}

.bw-footer-bento__cell--contact .bw-footer-bento__border {
    background: linear-gradient(135deg, #38d9a9, #12b886, #20c997, #0ca678, #38d9a9);
    animation-delay: -5s;
}

.bw-footer-bento__cell--links .bw-footer-bento__border {
    background: linear-gradient(135deg, #b197fc, #7950f2, #e64980, #fab005, #b197fc);
    animation-delay: -10s;
}

.bw-footer-bento__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
    background-size: 250% 250%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    opacity: 0.5;
}

.bw-footer-bento__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 1rem 1.05rem 1.1rem;
    border-radius: calc(var(--app-radius) - 2px);
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    color: #212529;
}

.bw-footer-bento__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.bw-footer-bento__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.bw-footer-bento__cell--address .bw-footer-bento__icon {
    background: linear-gradient(135deg, var(--app-blue-dark), var(--app-blue-light));
}

.bw-footer-bento__cell--contact .bw-footer-bento__icon {
    background: linear-gradient(135deg, var(--app-service-dark), var(--app-service-light));
}

.bw-footer-bento__cell--links .bw-footer-bento__icon {
    background: linear-gradient(135deg, #6741d9, #e64980);
}

.bw-footer-bento__head h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
}

.bw-footer-bento__body {
    font-size: 0.84rem;
    line-height: 1.6;
    color: #495057;
}

.bw-footer-bento__body p { margin: 0 0 0.3rem; }

.bw-footer-bento__label {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--app-blue-dark);
    margin-top: 0.5rem !important;
}

.bw-footer-bento__label:first-child { margin-top: 0 !important; }

.bw-footer-bento__link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.35rem;
    border-radius: 10px;
    background: rgba(18,184,134,0.06);
    color: #343a40;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.2s, color 0.2s;
}

.bw-footer-bento__link:hover {
    background: rgba(18,184,134,0.14);
    color: var(--app-service-dark);
    transform: translateX(4px);
}

.bw-footer-bento__link i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--app-service-dark), var(--app-service-light));
    color: #fff;
    font-size: 0.85rem;
}

.bw-footer-bento__social {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.bw-footer-bento__social a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6741d9, #e64980);
    color: #fff;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bw-footer-bento__social a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(121,80,242,0.4);
}

.bw-footer-bento__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.5rem;
    max-height: 200px;
    overflow-y: auto;
}

.bw-footer-bento__links a {
    display: block;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: color 0.2s, background 0.2s;
}

.bw-footer-bento__links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #7950f2, #e64980);
    transform: scaleY(0);
    transition: transform 0.25s;
}

.bw-footer-bento__links a:hover {
    background: rgba(121,80,242,0.08);
    color: #6741d9;
    padding-left: 0.75rem;
}

.bw-footer-bento__links a:hover::before {
    transform: scaleY(1);
}

@keyframes caliconFooterMesh {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.08) translate(2%, -2%); }
}

@keyframes caliconFooterOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(15px, -20px) scale(1.1); }
}

@keyframes caliconFooterCartDrop {
    0%, 15% { transform: translateY(-28px) scale(0.7); opacity: 0; }
    35%, 55% { transform: translateY(0) scale(1); opacity: 1; }
    70% { transform: translateY(2px) scale(0.95); }
    85%, 100% { transform: translateY(-28px) scale(0.7); opacity: 0; }
}

@keyframes caliconFooterCartShake {
    0%, 30%, 100% { transform: rotate(0deg); }
    38% { transform: rotate(-3deg); }
    46% { transform: rotate(3deg); }
    54% { transform: rotate(-2deg); }
    62% { transform: rotate(0deg); }
}

@keyframes caliconFooterServicePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(18,184,134,0.4)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 16px rgba(250,176,5,0.5)); }
}

@keyframes caliconFooterRingSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes caliconFooterSpark {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3); }
}

@media (prefers-reduced-motion: reduce) {
    .bw-footer-showcase__mesh,
    .bw-footer-showcase__flash,
    .bw-footer-showcase__glaze,
    .bw-footer-showcase__orbs span,
    .bw-footer-bento__border,
    .bw-footer-bento__glaze,
    .bw-footer-anim__cart-body,
    .bw-footer-anim__cart-item,
    .bw-footer-anim__service-ring,
    .bw-footer-anim__service-badge,
    .bw-footer-anim__cart-spark circle,
    .bw-footer-anim__service-spark circle {
        animation: none !important;
    }
}

.bw-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    text-align: center;
    background: #fff;
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
}

@media (min-width: 768px) {
    .bw-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.bw-footer-bottom__logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 4px 14px rgba(26, 115, 178, 0.12);
}

.bw-footer-bottom__logo-img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    max-width: none !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.bw-footer-bottom__copy {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
}

.bw-footer-bottom__credits {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
    color: #868e96;
}

.bw-footer-bottom__credits a {
    color: var(--app-blue);
}

/* PWA-like on mobile */
@media (max-width: 767px) {
    .bw-app-body {
        overscroll-behavior-y: contain;
    }

    .bw-quick-actions__grid {
        gap: 10px;
    }

    .bw-action-btn {
        padding: 0.85rem 0.75rem;
    }

    .bw-action-btn__text strong {
        font-size: 0.85rem;
    }
}

/* ─── Content pages (blog, CMS pages, auth) ─── */
.bw-app-body--content {
    background: linear-gradient(180deg, #eef2f8 0%, #f4f7fb 100%);
}

.bw-content-hero {
    position: relative;
    padding: 1.25rem 0 1.75rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #1a365d 0%, var(--app-blue) 45%, #6741d9 100%);
}

.bw-content-hero__banner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.bw-content-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,54,93,0.85), rgba(26,115,178,0.75));
}

.bw-content-hero__flash,
.bw-content-hero__glaze {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.bw-content-hero__flash {
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
    background-size: 220% 100%;
    animation: appHeaderFlash var(--anim-cart-flash) ease-in-out infinite;
}

.bw-content-hero__glaze {
    background: linear-gradient(125deg, transparent, rgba(255,255,255,0.1) 50%, transparent);
    background-size: 300% 300%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    mix-blend-mode: soft-light;
}

.bw-content-hero__inner { position: relative; z-index: 2; }

.bw-content-hero__title {
    margin: 0.35rem 0 0;
    font-size: clamp(1.5rem, 4.5vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
}

.bw-content-hero__sub {
    margin: 0.5rem 0 0;
    opacity: 0.92;
    font-size: 0.92rem;
    max-width: 36rem;
    line-height: 1.55;
}

.bw-content-page {
    padding: 0 0 2rem;
    margin-top: -0.35rem;
}

.bw-glass-panel {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    margin-bottom: 1rem;
    transition: transform 0.35s;
}

.bw-glass-panel:hover { transform: translateY(-2px); }

.bw-glass-panel__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-blue), #74c0fc, var(--app-green), var(--app-blue));
    background-size: 300% 300%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
    z-index: 0;
}

.bw-glass-panel__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
    background-size: 250% 250%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    opacity: 0.45;
}

.bw-glass-panel__inner {
    position: relative;
    z-index: 2;
    padding: 1.35rem 1.45rem;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
}

.bw-glass-panel__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.bw-prose {
    color: #343a40;
    line-height: 1.75;
    font-size: 0.95rem;
}

.bw-prose h1, .bw-prose h2, .bw-prose h3,
.bw-prose h4, .bw-prose h5, .bw-prose h6 {
    color: var(--app-blue-dark);
    font-weight: 800;
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
}

.bw-prose p { margin-bottom: 1rem; }
.bw-prose img { max-width: 100%; height: auto; border-radius: var(--app-radius); }
.bw-prose a { color: var(--app-blue); font-weight: 600; }
.bw-prose ul, .bw-prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }

.bw-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    padding: 0.35rem;
    background: rgba(255,255,255,0.85);
    border-radius: 999px;
    box-shadow: var(--app-shadow);
    width: fit-content;
    max-width: 100%;
}

.bw-blog-filter {
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none !important;
    color: #495057;
}

.bw-blog-filter.is-active {
    background: linear-gradient(135deg, var(--app-blue), #74c0fc);
    color: #fff;
}

.bw-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) { .bw-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .bw-blog-grid { grid-template-columns: repeat(3, 1fr); } }

.bw-blog-card {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    height: 100%;
    transition: transform 0.35s;
}

.bw-blog-card:hover { transform: translateY(-4px); }

.bw-blog-card__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-green), var(--app-blue), #6741d9, var(--app-green));
    background-size: 320% 320%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
}

.bw-blog-card__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255,255,255,0.35), transparent 55%);
    background-size: 200% 200%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
}

.bw-blog-card__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.bw-blog-card__media-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.bw-blog-card__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.bw-blog-card:hover .bw-blog-card__media { transform: scale(1.05); }

.bw-blog-card__category {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(255,255,255,0.92);
    color: var(--app-blue-dark);
}

.bw-blog-card__body { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; }

.bw-blog-card__meta {
    font-size: 0.75rem;
    color: #868e96;
    margin-bottom: 0.45rem;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.bw-blog-card__title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.45rem;
}

.bw-blog-card__title a { color: var(--app-blue-dark); text-decoration: none !important; }

.bw-blog-card__excerpt {
    font-size: 0.85rem;
    color: #495057;
    flex: 1;
    margin: 0 0 0.75rem;
}

.bw-blog-card__read {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--app-blue);
    text-decoration: none !important;
}

.bw-blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    background: rgba(255,255,255,0.85);
    border-radius: var(--app-radius-lg);
}

.bw-blog-empty__icon { font-size: 2.5rem; color: var(--app-blue); display: block; margin-bottom: 0.75rem; }

.bw-blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #868e96;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(26,115,178,0.1);
}

.bw-blog-article__featured { margin-bottom: 1.25rem; border-radius: var(--app-radius); overflow: hidden; }
.bw-blog-article__featured img { width: 100%; height: auto; display: block; }
.bw-blog-article__footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(26,115,178,0.1); }

.bw-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 992px) { .bw-contact-grid { grid-template-columns: 1.2fr 0.8fr; } }

.bw-contact-map__intro { color: #495057; margin: 0 0 1rem; font-size: 0.9rem; }
.bw-contact-map__frame { border-radius: var(--app-radius); overflow: hidden; }

.bw-contact-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 576px) { .bw-contact-form__grid { grid-template-columns: 1fr 1fr; } }
.bw-checkout-field--full { grid-column: 1 / -1; }

.bw-contact-info {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bw-contact-info li { display: flex; gap: 0.75rem; }

.bw-contact-info__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--app-blue-pale);
    color: var(--app-blue);
    flex-shrink: 0;
}

.bw-gallery-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }

.bw-gallery-filter {
    border: none;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255,255,255,0.85);
    box-shadow: var(--app-shadow);
}

.bw-gallery-filter.is-active {
    background: linear-gradient(135deg, var(--app-blue), #74c0fc);
    color: #fff;
}

.bw-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) { .bw-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .bw-gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.bw-gallery-item {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    transition: transform 0.35s;
}

.bw-gallery-item__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #6741d9, var(--app-blue), var(--app-green), #6741d9);
    background-size: 320% 320%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
}

.bw-gallery-item__inner {
    position: relative;
    z-index: 2;
    border-radius: calc(var(--app-radius-lg) - 2px);
    overflow: hidden;
    background: #fff;
}

.bw-gallery-item__inner img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.bw-gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26,54,93,0.88));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.bw-gallery-item:hover .bw-gallery-item__overlay { opacity: 1; }
.bw-gallery-item__overlay h3 { color: #fff; font-size: 0.95rem; margin: 0 0 0.5rem; }

.bw-gallery-item__btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none !important;
}

.bw-auth-page .container { max-width: 520px; }

.bw-auth-panel {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
}

.bw-auth-panel__head { text-align: center; margin-bottom: 1.25rem; }

.bw-auth-panel__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--app-blue-pale);
    color: var(--app-blue);
    margin-bottom: 0.65rem;
}

.bw-auth-panel__head h2 { margin: 0 0 0.35rem; font-weight: 800; color: var(--app-blue-dark); }

.bw-auth-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.bw-auth-password-wrap { position: relative; }
.bw-auth-password-wrap input { padding-right: 2.75rem; }

.bw-auth-password-toggle {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #868e96;
    cursor: pointer;
}

.bw-mgmt-page .mgmt-team-section .container { padding: 0; max-width: none; }

.bw-cta-panel__inner { text-align: center; }
.bw-cta-panel__inner p { color: #495057; margin-bottom: 1rem; }

/* Registration */
.bw-auth-page--register .container { max-width: 920px; }

.bw-register-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .bw-register-layout { grid-template-columns: 0.95fr 1.05fr; }
}

.bw-register-benefits {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    color: #fff;
    overflow: hidden;
    min-height: 100%;
}

.bw-register-benefits__flash {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--app-green), var(--app-blue), #6741d9, var(--app-green));
    background-size: 320% 320%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
}

.bw-register-benefits__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.22), transparent 55%);
    background-size: 200% 200%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.bw-register-benefits__inner {
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.35rem;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: linear-gradient(145deg, rgba(26,54,93,0.94), rgba(18,184,134,0.88));
    backdrop-filter: blur(12px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: perspective(800px) rotateY(3deg);
    box-shadow: 0 20px 48px rgba(18,184,134,0.2);
}

.bw-register-benefits__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    opacity: 0.85;
}

.bw-register-benefits__inner h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
}

.bw-register-benefits__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bw-register-benefits__list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.bw-register-benefits__list i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.16);
    flex-shrink: 0;
}

.bw-auth-panel__badge--register {
    background: rgba(18,184,134,0.12);
    color: var(--app-green-dark, #0ca678);
}

.bw-auth-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: #868e96;
}

.bw-account-submit--register {
    background: linear-gradient(135deg, var(--app-green-dark, #0ca678), var(--app-green, #12b886));
    box-shadow: 0 8px 24px rgba(18,184,134,0.35);
}

.bw-account-submit--register:hover {
    box-shadow: 0 12px 32px rgba(18,184,134,0.45);
    transform: translateY(-2px);
}

.bw-auth-switch {
    margin: 1.15rem 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: #868e96;
}

.bw-auth-switch a {
    color: var(--app-blue);
    font-weight: 700;
    text-decoration: none !important;
}

.bw-auth-switch a:hover { color: var(--app-blue-dark); }

/* ─── Premium Registration Page ─── */
.bw-app-body--register-premium {
    background: #0a1628;
}

.bw-app-body--register-premium .bw-app-shell {
    padding-top: 0;
}

.bw-reg {
    position: relative;
    min-height: calc(100vh - var(--app-bottom-nav-h, 0px));
    padding: 2.5rem 0 3.5rem;
    overflow: hidden;
    color: #fff;
}

@media (min-width: 768px) {
    .bw-reg {
        padding: 3.5rem 0 4.5rem;
    }
}

.bw-reg__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, #0a1628 0%, #1a365d 35%, #0d3d56 65%, #0a2540 100%);
}

.bw-reg__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(18, 184, 134, 0.35), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(26, 115, 178, 0.4), transparent 45%),
        radial-gradient(ellipse 50% 50% at 50% 90%, rgba(103, 65, 217, 0.3), transparent 50%);
    animation: caliconRegMesh 20s ease-in-out infinite;
}

.bw-reg__flash {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.06) 50%, transparent 62%);
    background-size: 250% 100%;
    animation: appHeaderFlash var(--anim-cart-flash) ease-in-out infinite;
    pointer-events: none;
}

.bw-reg__glaze {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent, rgba(255,255,255,0.04) 50%, transparent);
    background-size: 300% 300%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.bw-reg__orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: caliconRegOrb 22s ease-in-out infinite;
}

.bw-reg__orbs span:nth-child(1) { width: 280px; height: 280px; top: -80px; right: 5%; background: rgba(18,184,134,0.45); }
.bw-reg__orbs span:nth-child(2) { width: 220px; height: 220px; bottom: 10%; left: -60px; background: rgba(26,115,178,0.5); animation-delay: -7s; }
.bw-reg__orbs span:nth-child(3) { width: 160px; height: 160px; top: 45%; right: 25%; background: rgba(250,176,5,0.25); animation-delay: -12s; }
.bw-reg__orbs span:nth-child(4) { width: 120px; height: 120px; top: 15%; left: 30%; background: rgba(230,73,128,0.2); animation-delay: -4s; }

.bw-reg__particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    left: calc(8% + var(--i) * 7.5%);
    top: calc(15% + (var(--i) * 6.5%));
    animation: caliconRegParticle 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.35s);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.bw-reg__container {
    position: relative;
    z-index: 2;
    max-width: 1040px;
}

.bw-reg__back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.75rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    transition: background 0.25s, transform 0.25s, color 0.25s;
}

.bw-reg__back:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateX(-3px);
}

.bw-reg__hero {
    text-align: center;
    padding: 0 0.5rem 2.25rem;
    max-width: 640px;
    margin: 0 auto;
}

.bw-reg__hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, rgba(18,184,134,0.25), rgba(26,115,178,0.2));
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    overflow: hidden;
}

.bw-reg__pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: caliconRegPulse 2.5s ease-in-out infinite;
}

.bw-reg__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 5.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
}

.bw-reg__title-line {
    display: block;
    opacity: 0.92;
    animation: caliconRegFadeUp 0.8s ease both;
}

.bw-reg__title-gradient {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0.1rem auto 0;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #63e6be;
    text-shadow:
        0 0 28px rgba(56, 217, 169, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.2);
    animation: caliconRegFadeUp 0.8s ease 0.1s both, caliconRegTitleGlow 4s ease-in-out infinite;
}

.bw-reg--login .bw-reg__title-gradient {
    color: #91d5ff;
    text-shadow:
        0 0 28px rgba(77, 171, 247, 0.55),
        0 2px 10px rgba(0, 0, 0, 0.2);
}

.bw-reg__subtitle {
    margin: 0 0 1.35rem;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.78);
    animation: caliconRegFadeUp 0.8s ease 0.2s both;
}

.bw-reg__stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    animation: caliconRegFadeUp 0.8s ease 0.3s both;
}

.bw-reg__stat {
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 90px;
    transition: transform 0.3s, background 0.3s;
}

.bw-reg__stat:hover {
    transform: translateY(-3px) scale(1.03);
    background: rgba(255,255,255,0.1);
}

.bw-reg__stat strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #38d9a9;
}

.bw-reg__stat span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
}

.bw-reg__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 900px) {
    .bw-reg__layout {
        grid-template-columns: 0.92fr 1.08fr;
        gap: 1.5rem;
    }
}

/* Perks panel */
.bw-reg__perks-card {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    height: 100%;
}

.bw-reg__perks-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #12b886, #1a73b2, #6741d9, #fab005, #12b886);
    background-size: 400% 400%;
    animation: appLogoBorderFlash var(--anim-cart-flash) ease infinite;
}

.bw-reg__perks-glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255,255,255,0.2), transparent 55%);
    background-size: 200% 200%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
}

.bw-reg__perks-inner {
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.35rem;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    height: 100%;
}

.bw-reg__perks-inner h2 {
    margin: 0 0 1.15rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.bw-reg__perk-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bw-reg__perk {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    animation: caliconRegPerkIn 0.6s ease both;
    animation-delay: var(--d, 0s);
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.bw-reg__perk:hover {
    transform: translateX(6px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.12);
}

.bw-reg__perk-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    animation: caliconRegIconFloat 3s ease-in-out infinite;
}

.bw-reg__perk-icon--shop { background: linear-gradient(135deg, #1a73b2, #4dabf7); animation-delay: 0s; }
.bw-reg__perk-icon--service { background: linear-gradient(135deg, #fab005, #ff922b); animation-delay: -0.5s; }
.bw-reg__perk-icon--track { background: linear-gradient(135deg, #12b886, #38d9a9); animation-delay: -1s; }
.bw-reg__perk-icon--secure { background: linear-gradient(135deg, #6741d9, #e64980); animation-delay: -1.5s; }

.bw-reg__perk strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.1rem;
}

.bw-reg__perk span {
    font-size: 0.78rem;
    opacity: 0.72;
    line-height: 1.4;
}

.bw-reg__trust {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    opacity: 0.7;
    text-align: center;
}

.bw-reg__trust i { color: #38d9a9; margin-right: 0.25rem; }

/* Form card */
.bw-reg__form-card {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 3px;
    transform: perspective(1200px) rotateX(0deg);
    transition: transform 0.5s ease;
}

.bw-reg__form-card:hover {
    transform: perspective(1200px) rotateX(1deg) translateY(-4px);
}

.bw-reg__form-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #38d9a9, #4dabf7, #fab005, #12b886, #38d9a9);
    background-size: 350% 350%;
    animation: appLogoBorderFlash 12s ease infinite;
}

.bw-reg__form-glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
    background-size: 250% 250%;
    animation: caliconCartGlaze var(--anim-cart-glaze) ease-in-out infinite;
    opacity: 0.5;
}

.bw-reg__form-inner {
    position: relative;
    z-index: 2;
    padding: 1.65rem 1.5rem 1.5rem;
    border-radius: calc(var(--app-radius-lg) - 3px);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(24px);
    box-shadow: 0 32px 64px rgba(0,0,0,0.25);
    color: #212529;
}

.bw-reg__form-head {
    text-align: center;
    margin-bottom: 1.35rem;
}

.bw-reg__form-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, rgba(18,184,134,0.15), rgba(26,115,178,0.1));
    color: #0ca678;
    animation: caliconRegBadgePop 2s ease-in-out infinite;
}

.bw-reg__form-head h2 {
    margin: 0 0 0.3rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a365d;
}

.bw-reg__form-head p {
    margin: 0;
    font-size: 0.88rem;
    color: #868e96;
}

.bw-reg__field {
    margin-bottom: 1rem;
    animation: caliconRegFieldIn 0.55s ease both;
    animation-delay: calc(0.15s + var(--fi, 0) * 0.08s);
}

.bw-reg__field label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #495057;
}

.bw-reg__field label i {
    color: var(--app-blue);
    font-size: 0.85rem;
}

.bw-reg__field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    font-size: 0.92rem;
    background: #f8f9fa;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, transform 0.2s;
}

.bw-reg__field input:focus {
    outline: none;
    border-color: var(--app-green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(18,184,134,0.15), 0 4px 16px rgba(18,184,134,0.1);
    transform: translateY(-1px);
}

.bw-reg__field input.is-invalid {
    border-color: #e03131;
    box-shadow: 0 0 0 3px rgba(224,49,49,0.12);
}

.bw-reg__field .bw-auth-password-wrap input {
    padding-right: 2.75rem;
}

.bw-reg__strength {
    display: flex;
    gap: 4px;
    margin-top: 0.45rem;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

.bw-reg__strength[aria-hidden="false"] { opacity: 1; }

.bw-reg__strength span {
    flex: 1;
    border-radius: 4px;
    background: #e9ecef;
    transition: background 0.3s, transform 0.3s;
}

.bw-reg__strength[data-score="1"] span:nth-child(1) { background: #ff922b; }
.bw-reg__strength[data-score="2"] span:nth-child(-n+2) { background: #fab005; }
.bw-reg__strength[data-score="3"] span:nth-child(-n+3) { background: #12b886; }
.bw-reg__strength[data-score="4"] span { background: linear-gradient(90deg, #12b886, #38d9a9); }

.bw-reg__submit {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.95rem 1.25rem;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(135deg, #0ca678 0%, #12b886 40%, #20c997 100%);
    background-size: 200% auto;
    box-shadow:
        0 8px 28px rgba(12,166,120,0.45),
        inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform 0.25s, box-shadow 0.25s;
    animation: caliconRegBtnGlow 5s ease-in-out infinite;
}

.bw-reg__submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(12,166,120,0.55);
}

.bw-reg__submit:active { transform: translateY(-1px) scale(0.99); }

.bw-reg__submit.is-loading {
    pointer-events: none;
    cursor: wait;
    animation: none;
}

.bw-reg__submit.is-loading .bw-reg__submit-shine {
    opacity: 0;
    animation: none;
}

.bw-reg__submit-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: caliconRegShine 6s ease-in-out infinite;
}

.bw-reg__submit-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.bw-reg__submit-loading {
    display: none;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 800;
}

.bw-reg__submit.is-loading .bw-reg__submit-text {
    display: none;
}

.bw-reg__submit.is-loading .bw-reg__submit-loading {
    display: flex;
}

.bw-reg__submit-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    border-right-color: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    flex-shrink: 0;
    animation: caliconRegSpinner 0.85s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.bw-reg__submit-text i {
    animation: caliconRegRocket 3s ease-in-out infinite;
}

.bw-reg__switch {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: #868e96;
}

.bw-reg__switch a {
    color: var(--app-blue);
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s, gap 0.2s;
}

.bw-reg__switch a:hover { color: var(--app-blue-dark); }
.bw-reg__switch a i { transition: transform 0.25s; }
.bw-reg__switch a:hover i { transform: translateX(4px); }

@keyframes caliconRegMesh {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
}

@keyframes caliconRegOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -25px) scale(1.08); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes caliconRegParticle {
    0%, 100% { opacity: 0.2; transform: translateY(0) scale(1); }
    50% { opacity: 0.9; transform: translateY(-20px) scale(1.3); }
}

@keyframes caliconRegGradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

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

@keyframes caliconRegTitleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}

@keyframes caliconRegPulse {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes caliconRegPerkIn {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes caliconRegIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

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

@keyframes caliconRegBadgePop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes caliconRegShine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes caliconRegBtnGlow {
    0%, 100% { box-shadow: 0 8px 28px rgba(12,166,120,0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
    50% { box-shadow: 0 12px 36px rgba(12,166,120,0.6), 0 0 24px rgba(56,217,169,0.25), inset 0 1px 0 rgba(255,255,255,0.3); }
}

@keyframes caliconRegSpinner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes caliconRegRocket {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce) {
    .bw-reg__mesh, .bw-reg__flash, .bw-reg__glaze,
    .bw-reg__orbs span, .bw-reg__particles span,
    .bw-reg__perks-border, .bw-reg__perks-glaze,
    .bw-reg__form-border, .bw-reg__form-glaze,
    .bw-reg__title-gradient, .bw-reg__pulse,
    .bw-reg__perk-icon, .bw-reg__submit,
    .bw-reg__submit-shine, .bw-reg__submit-text i,
    .bw-reg__submit-spinner,
    .bw-reg__form-badge {
        animation: none !important;
    }
}

/* Login page — blue premium variant */
.bw-reg--login .bw-reg__bg {
    background: linear-gradient(160deg, #0a1628 0%, #0d2847 30%, #1a365d 55%, #1a4d7a 100%);
}

.bw-reg--login .bw-reg__mesh {
    background:
        radial-gradient(ellipse 80% 50% at 25% 25%, rgba(77, 171, 247, 0.4), transparent 50%),
        radial-gradient(ellipse 60% 40% at 75% 35%, rgba(103, 65, 217, 0.35), transparent 45%),
        radial-gradient(ellipse 50% 50% at 50% 90%, rgba(26, 115, 178, 0.35), transparent 50%);
}

.bw-reg--login .bw-reg__orbs span:nth-child(1) { background: rgba(77, 171, 247, 0.5); }
.bw-reg--login .bw-reg__orbs span:nth-child(2) { background: rgba(26, 115, 178, 0.55); }
.bw-reg--login .bw-reg__orbs span:nth-child(3) { background: rgba(103, 65, 217, 0.3); }

.bw-reg--login .bw-reg__hero-badge {
    background: linear-gradient(135deg, rgba(26,115,178,0.3), rgba(103,65,217,0.2));
}

.bw-reg--login .bw-reg__stat strong {
    color: #74c0fc;
}

.bw-reg--login .bw-reg__perks-border {
    background: linear-gradient(135deg, #1a73b2, #4dabf7, #6741d9, #1864ab, #1a73b2);
}

.bw-reg--login .bw-reg__form-border {
    background: linear-gradient(135deg, #4dabf7, #1a73b2, #7950f2, #74c0fc, #4dabf7);
}

.bw-reg--login .bw-reg__form-badge {
    background: linear-gradient(135deg, rgba(26,115,178,0.15), rgba(103,65,217,0.1));
    color: #1864ab;
}

.bw-reg--login .bw-reg__field input:focus {
    border-color: var(--app-blue);
    box-shadow: 0 0 0 4px rgba(26,115,178,0.15), 0 4px 16px rgba(26,115,178,0.12);
}

.bw-reg--login .bw-reg__trust i { color: #74c0fc; }

.bw-reg__form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}

.bw-reg__remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    user-select: none;
}

.bw-reg__remember input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.bw-reg__remember-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid #ced4da;
    background: #f8f9fa;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.bw-reg__remember-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s;
}

.bw-reg__remember input:checked + .bw-reg__remember-box {
    background: linear-gradient(135deg, #1a73b2, #4dabf7);
    border-color: #1a73b2;
    box-shadow: 0 2px 8px rgba(26,115,178,0.3);
}

.bw-reg__remember input:checked + .bw-reg__remember-box::after {
    transform: rotate(45deg) scale(1);
}

.bw-reg__forgot {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--app-blue);
    text-decoration: none !important;
    transition: color 0.2s;
}

.bw-reg__forgot:hover { color: var(--app-blue-dark); }

.bw-reg__submit--login {
    background: linear-gradient(135deg, #1864ab 0%, #1a73b2 40%, #4dabf7 100%);
    box-shadow: 0 8px 28px rgba(26,115,178,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    animation: caliconLoginBtnGlow 5s ease-in-out infinite;
}

.bw-reg__submit--login:hover {
    box-shadow: 0 14px 40px rgba(26,115,178,0.55);
}

.bw-reg--login .bw-reg__submit-text i {
    animation: caliconLoginIconPulse 3s ease-in-out infinite;
}

@keyframes caliconLoginBtnGlow {
    0%, 100% { box-shadow: 0 8px 28px rgba(26,115,178,0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
    50% { box-shadow: 0 12px 36px rgba(26,115,178,0.6), 0 0 24px rgba(77,171,247,0.3), inset 0 1px 0 rgba(255,255,255,0.3); }
}

@keyframes caliconLoginIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

@media (min-width: 900px) {
    .bw-reg__layout--login {
        grid-template-columns: 0.95fr 1fr;
    }
}

/* ─── Mobile polish (sitewide) ─── */
@media (max-width: 767.98px) {
    .bw-app-header__actions {
        gap: 0.35rem;
    }

    /* 5-item bottom nav when logged in */
    .bw-bottom-nav:has(.bw-bottom-nav__item:nth-child(5)) .bw-bottom-nav__item {
        font-size: 0.58rem;
        gap: 2px;
        min-width: 0;
        padding: 0 1px;
    }

    .bw-bottom-nav:has(.bw-bottom-nav__item:nth-child(5)) .bw-bottom-nav__item i {
        font-size: 1.1rem;
    }

    .bw-bottom-nav:has(.bw-bottom-nav__item:nth-child(5)) .bw-bottom-nav__dot {
        right: calc(50% - 18px);
        font-size: 0.58rem;
        min-width: 15px;
        height: 15px;
        line-height: 15px;
    }

    .bw-footer-showcase {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .bw-footer-anim__svg {
        width: 84px;
        height: 84px;
    }

    .bw-footer-anim__divider {
        height: 50px;
    }

    .bw-glass-panel__inner {
        padding: 1.1rem 1rem;
    }

    .bw-mp-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .bw-mp-toolbar__search {
        min-width: 0;
        width: 100%;
    }

    .bw-mp-toolbar__count {
        text-align: center;
    }

    .bw-mp-cat-hero__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .bw-mp-detail__panel {
        padding: 1rem;
    }

    .bw-mp-detail__cta {
        width: 100%;
        justify-content: center;
    }

    .bw-cart-hero,
    .bw-mp-hero,
    .bw-content-hero {
        padding-top: 1.15rem;
        padding-bottom: 1.35rem;
    }

    .bw-cart-hero__head {
        align-items: center;
    }

    .bw-cart-hero__icon {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
        transform: none;
    }

    .bw-checkout-page--premium {
        padding-bottom: 1.5rem;
    }

    .bw-checkout-panel__inner {
        padding: 1rem;
    }

    .bw-checkout-panel__title {
        font-size: 0.95rem;
    }

    .bw-checkout-submit--premium {
        font-size: 0.92rem;
        padding: 0.85rem 1rem;
    }

    .bw-blog-filters {
        width: 100%;
        border-radius: 14px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .bw-blog-filters::-webkit-scrollbar {
        display: none;
    }

    .bw-blog-filter {
        flex: 0 0 auto;
    }

    /* Auth pages */
    .bw-reg {
        min-height: calc(100vh - var(--app-bottom-nav-h) - env(safe-area-inset-bottom, 0px));
        padding: 1.15rem 0 2.25rem;
    }

    .bw-reg__back {
        margin-bottom: 1.1rem;
    }

    .bw-reg__hero {
        padding: 0 0.25rem 1.15rem;
    }

    .bw-reg__title {
        font-size: clamp(1.45rem, 6.5vw, 1.9rem);
    }

    .bw-reg__stats {
        gap: 0.45rem 0.55rem;
    }

    .bw-reg__stat {
        min-width: 0;
        flex: 1 1 calc(33.333% - 0.4rem);
        padding: 0.4rem 0.35rem;
    }

    .bw-reg__stat strong {
        font-size: 0.92rem;
    }

    .bw-reg__stat span {
        font-size: 0.58rem;
        letter-spacing: 0.04em;
    }

    .bw-reg__form-inner {
        padding: 1.2rem 1rem 1.1rem;
    }

    .bw-reg__form-head h2 {
        font-size: 1.25rem;
    }

    .bw-reg__perks-inner {
        padding: 1.1rem 1rem;
    }

    .bw-account-stat {
        padding: 0.85rem 0.65rem;
        transform: none;
    }

    .bw-account-stat__value {
        font-size: 1.25rem;
    }

    .bw-account-stat__label {
        font-size: 0.68rem;
    }

    .bw-account-panel__inner {
        padding: 1rem;
    }
}

@media (max-width: 479.98px) {
    .bw-account-stats {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .bw-account-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 0.75rem;
    }

    .bw-account-stat__value {
        font-size: 1.35rem;
    }

    .bw-checkout-steps--premium {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding: 0 0.25rem 0.35rem;
    }

    .bw-checkout-steps--premium::-webkit-scrollbar {
        display: none;
    }

    .bw-checkout-steps--premium .bw-checkout-step {
        flex-shrink: 0;
        font-size: 0.68rem;
        padding: 0.38rem 0.6rem;
    }

    .bw-checkout-steps--premium .bw-checkout-step__line {
        flex-shrink: 0;
        width: 16px;
    }

    .bw-checkout-trust {
        gap: 0.4rem;
    }

    .bw-checkout-trust span {
        font-size: 0.62rem;
        padding: 0.28rem 0.5rem;
    }

    .bw-checkout-payment__box {
        padding: 0.75rem 0.65rem;
    }

    .bw-checkout-payment__text strong {
        font-size: 0.82rem;
    }

    .bw-checkout-payment__text small {
        font-size: 0.68rem;
    }

    .bw-mp-crumb {
        font-size: 0.68rem;
        padding: 0.22rem 0.5rem;
    }

    .bw-content-hero__title {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    }
}

/* Rich content overflow safety (blog, CMS pages, product detail) */
.bw-prose,
.bw-mp-detail__prose {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bw-prose table,
.bw-mp-detail__prose table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bw-prose pre,
.bw-mp-detail__prose pre,
.bw-prose iframe,
.bw-prose video,
.bw-prose embed {
    max-width: 100%;
}

.bw-prose pre,
.bw-mp-detail__prose pre {
    overflow-x: auto;
    white-space: pre-wrap;
}

.bw-app-shell .container {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
}

.bw-app-shell img,
.bw-app-shell video,
.bw-app-shell iframe {
    max-width: 100%;
    height: auto;
}

/* CMS sections rendered inside app shell */
.bw-app-shell .gasgl-section,
.bw-app-shell .pk-section {
    max-width: 100%;
    overflow-x: hidden;
}

/* Disable hover lift on touch devices */
@media (hover: none) {
    .bw-checkout-panel:hover,
    .bw-glass-panel:hover,
    .bw-blog-card:hover,
    .bw-footer-bento__cell:hover,
    .bw-account-panel:hover,
    .bw-account-stat:hover,
    .bw-checkout-summary--premium .bw-checkout-summary__card:hover {
        transform: none;
    }
}

/* ─── PWA Install App (homepage) ─── */
.bw-pwa-install {
    position: relative;
    margin: 0.5rem 0 1rem;
    padding: 1rem 0 1.25rem;
    overflow: hidden;
    color: #fff;
}

.bw-pwa-install[hidden] {
    display: none !important;
}

.bw-pwa-install__mesh {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, #061a2e 0%, #0d2847 30%, #1a365d 55%, #0b3d56 80%, #061a2e 100%);
    z-index: 0;
}

.bw-pwa-install__mesh::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 25%, rgba(18, 184, 134, 0.35), transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 70%, rgba(26, 115, 178, 0.45), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(103, 65, 217, 0.3), transparent 45%);
    animation: BrightwayPwaMesh 16s ease-in-out infinite;
}

.bw-pwa-install__orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    animation: caliconRegOrb 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.bw-pwa-install__orbs span:nth-child(1) { width: 200px; height: 200px; top: -40px; left: 8%; background: rgba(18,184,134,0.4); }
.bw-pwa-install__orbs span:nth-child(2) { width: 160px; height: 160px; bottom: -30px; right: 10%; background: rgba(77,171,247,0.45); animation-delay: -7s; }
.bw-pwa-install__orbs span:nth-child(3) { width: 120px; height: 120px; top: 40%; right: 35%; background: rgba(250,176,5,0.25); animation-delay: -12s; }

.bw-pwa-install__particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
    animation: BrightwayPwaParticle 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.bw-pwa-install__particles span:nth-child(1) { top: 20%; left: 12%; animation-delay: 0s; }
.bw-pwa-install__particles span:nth-child(2) { top: 35%; left: 78%; animation-delay: 0.6s; }
.bw-pwa-install__particles span:nth-child(3) { top: 65%; left: 22%; animation-delay: 1.2s; }
.bw-pwa-install__particles span:nth-child(4) { top: 75%; left: 65%; animation-delay: 1.8s; }
.bw-pwa-install__particles span:nth-child(5) { top: 15%; left: 55%; animation-delay: 2.4s; }
.bw-pwa-install__particles span:nth-child(6) { top: 50%; left: 45%; animation-delay: 3s; }

.bw-pwa-install__inner {
    position: relative;
    z-index: 2;
}

.bw-pwa-install__card {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    margin: 0 0.35rem;
}

.bw-pwa-install__border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #12b886, #1a73b2, #6741d9, #fab005, #38d9a9, #12b886);
    background-size: 400% 400%;
    animation: appLogoBorderFlash 10s ease infinite;
}

.bw-pwa-install__glaze {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, transparent, rgba(255,255,255,0.12) 50%, transparent);
    background-size: 300% 300%;
    animation: caliconCartGlaze 14s ease-in-out infinite;
    mix-blend-mode: soft-light;
    z-index: 1;
    pointer-events: none;
}

.bw-pwa-install__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: stretch;
    padding: 0.95rem 1rem;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(10, 22, 40, 0.82);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

@media (min-width: 768px) {
    .bw-pwa-install__content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.85rem 1.15rem;
        gap: 1rem;
    }
}

.bw-pwa-install__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.65rem;
    margin-bottom: 0.4rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
}

.bw-pwa-install__badge-pulse {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: caliconRegPulse 2.5s ease-in-out infinite;
}

.bw-pwa-install__copy h2 {
    margin: 0 0 0.25rem;
    font-size: clamp(1.05rem, 3.5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.bw-pwa-install__copy p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.8);
    max-width: 28rem;
}

.bw-pwa-install__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-top: 0.55rem;
}

.bw-pwa-install__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.bw-pwa-install__chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.bw-pwa-install__chips span i {
    color: #38d9a9;
    font-size: 0.62rem;
}

.bw-pwa-install__platforms {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.bw-pwa-install__platforms span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    animation: BrightwayPwaPlatformFloat 3s ease-in-out infinite;
}

.bw-pwa-install__platforms span:nth-child(2) { animation-delay: -0.5s; }
.bw-pwa-install__platforms span:nth-child(3) { animation-delay: -1s; }
.bw-pwa-install__platforms span:nth-child(4) { animation-delay: -1.5s; }

.bw-pwa-install__action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .bw-pwa-install__action {
        width: auto;
        min-width: 220px;
    }
}

.bw-pwa-install__btn {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: transparent;
    overflow: visible;
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (min-width: 768px) {
    .bw-pwa-install__btn {
        max-width: 240px;
    }
}

.bw-pwa-install__btn:hover {
    transform: translateY(-4px) scale(1.02);
}

.bw-pwa-install__btn:active {
    transform: translateY(-1px) scale(0.99);
}

.bw-pwa-install__btn-border {
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, #38d9a9, #12b886, #1a73b2, #4dabf7, #38d9a9);
    background-size: 300% 300%;
    animation: appLogoBorderFlash 6s ease infinite;
    z-index: 0;
}

.bw-pwa-install__btn-glow {
    position: absolute;
    inset: -6px;
    border-radius: 18px;
    background: radial-gradient(ellipse at center, rgba(18,184,134,0.5), transparent 70%);
    animation: BrightwayPwaBtnGlow 2.5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.bw-pwa-install__btn-shine {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%);
    background-size: 220% 100%;
    animation: caliconRegShine 5s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.bw-pwa-install__btn-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #0ca678 0%, #12b886 35%, #1a73b2 100%);
    background-size: 200% auto;
    animation: BrightwayPwaBtnGradient 4s ease infinite;
    box-shadow:
        0 10px 28px rgba(12,166,120,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.bw-pwa-install__btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.25);
    animation: BrightwayPwaDownloadBounce 2s ease-in-out infinite;
}

.bw-pwa-install__btn-text {
    text-align: left;
    color: #fff;
}

.bw-pwa-install__btn-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.bw-pwa-install__btn-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.88;
    margin-top: 0.1rem;
}

.bw-pwa-install__btn.is-ready .bw-pwa-install__btn-icon {
    animation: BrightwayPwaDownloadBounce 1s ease-in-out infinite, BrightwayPwaReadyPulse 1.5s ease-in-out infinite;
}

.bw-pwa-install__btn.is-loading {
    pointer-events: none;
    opacity: 0.9;
}

.bw-pwa-install__btn.is-loading .bw-pwa-install__btn-icon {
    animation: caliconRegSpinner 0.85s linear infinite;
}

.bw-pwa-install__btn.is-installed .bw-pwa-install__btn-inner {
    background: linear-gradient(135deg, #1864ab, #12b886);
}

/* PWA install modal */
.bw-pwa-modal[hidden] {
    display: none !important;
}

.bw-pwa-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

body.bw-pwa-modal-open {
    overflow: hidden;
}

.bw-pwa-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 26, 46, 0.65);
    backdrop-filter: blur(6px);
}

.bw-pwa-modal__panel {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: var(--app-radius-lg);
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    text-align: center;
    animation: BrightwayPwaModalIn 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.bw-pwa-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: #f1f3f5;
    color: #495057;
    cursor: pointer;
}

.bw-pwa-modal__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #1a73b2, #12b886);
}

.bw-pwa-modal__panel h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a365d;
}

.bw-pwa-modal__panel p {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: #495057;
    line-height: 1.55;
}

.bw-pwa-modal__steps {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    text-align: left;
    display: grid;
    gap: 0.5rem;
}

.bw-pwa-modal__steps li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #343a40;
    background: #f8f9fa;
}

.bw-pwa-modal__steps li i {
    color: var(--app-blue);
    width: 18px;
    text-align: center;
}

.bw-pwa-modal__ok {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #1a73b2, #12b886);
}

@keyframes BrightwayPwaMesh {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

@keyframes BrightwayPwaParticle {
    0%, 100% { opacity: 0.2; transform: translateY(0) scale(1); }
    50% { opacity: 1; transform: translateY(-12px) scale(1.4); }
}

@keyframes BrightwayPwaPlatformFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes BrightwayPwaPhoneGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes BrightwayPwaPhoneBob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-2deg); }
}

@keyframes BrightwayPwaRing {
    0% { transform: scale(0.85); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes BrightwayPwaBtnGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes BrightwayPwaBtnGradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes BrightwayPwaDownloadBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes BrightwayPwaReadyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

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

@media (prefers-reduced-motion: reduce) {
    .bw-pwa-install__border,
    .bw-pwa-install__glaze,
    .bw-pwa-install__mesh::after,
    .bw-pwa-install__orbs span,
    .bw-pwa-install__particles span,
    .bw-pwa-install__btn-border,
    .bw-pwa-install__btn-shine,
    .bw-pwa-install__btn-glow,
    .bw-pwa-install__btn-inner,
    .bw-pwa-install__btn-icon,
    .bw-pwa-install__platforms span {
        animation: none !important;
    }
}

/* ─── PWA premium splash (app launch) ─── */
.bw-pwa-splash[hidden] {
    display: none !important;
}

body.bw-pwa-splash-active {
    overflow: hidden;
}

.bw-pwa-splash {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.bw-pwa-splash.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.bw-pwa-splash__mesh {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #061a2e 0%, #0d2847 40%, #1a73b2 100%);
}

.bw-pwa-splash__mesh::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 35%, rgba(56,217,169,0.35), transparent 55%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(77,171,247,0.3), transparent 50%);
    animation: BrightwayPwaMesh 14s ease-in-out infinite;
}

.bw-pwa-splash__orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    animation: caliconRegOrb 18s ease-in-out infinite;
    pointer-events: none;
}

.bw-pwa-splash__orbs span:nth-child(1) { width: 220px; height: 220px; top: 10%; left: 10%; background: rgba(18,184,134,0.45); }
.bw-pwa-splash__orbs span:nth-child(2) { width: 180px; height: 180px; bottom: 15%; right: 8%; background: rgba(77,171,247,0.4); animation-delay: -6s; }
.bw-pwa-splash__orbs span:nth-child(3) { width: 140px; height: 140px; top: 55%; left: 55%; background: rgba(103,65,217,0.3); animation-delay: -10s; }

.bw-pwa-splash__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem;
    animation: BrightwayPwaSplashIn 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

.bw-pwa-splash__logo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bw-pwa-splash__logo-glow {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,217,169,0.55), transparent 70%);
    animation: BrightwayPwaPhoneGlow 2.2s ease-in-out infinite;
}

.bw-pwa-splash__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(56,217,169,0.55);
    animation: BrightwayPwaRing 2.4s ease-out infinite;
}

.bw-pwa-splash__ring--2 {
    animation-delay: 1.2s;
}

.bw-pwa-splash__logo {
    position: relative;
    z-index: 2;
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 22px;
    background: rgba(255,255,255,0.12);
    padding: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    animation: BrightwayPwaPhoneBob 2.8s ease-in-out infinite;
}

.bw-pwa-splash__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.bw-pwa-splash__sub {
    margin: 0 0 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
}

.bw-pwa-splash__loader {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.bw-pwa-splash__loader span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38d9a9, #4dabf7);
    animation: BrightwayPwaSplashDot 1.2s ease-in-out infinite;
}

.bw-pwa-splash__loader span:nth-child(2) { animation-delay: 0.15s; }
.bw-pwa-splash__loader span:nth-child(3) { animation-delay: 0.3s; }

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

@keyframes BrightwayPwaSplashDot {
    0%, 80%, 100% { transform: scale(0.65); opacity: 0.45; }
    40% { transform: scale(1.15); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .bw-pwa-splash__mesh::after,
    .bw-pwa-splash__orbs span,
    .bw-pwa-splash__logo-glow,
    .bw-pwa-splash__ring,
    .bw-pwa-splash__logo,
    .bw-pwa-splash__loader span,
    .bw-pwa-splash__content {
        animation: none !important;
    }
}

/* ─── PWA offline fallback page ─── */
.bw-pwa-offline-page {
    background: #f0f4f8;
    padding-bottom: 2rem;
}

.bw-pwa-offline-hero {
    position: relative;
    padding: 1.25rem 0 1rem;
    color: #fff;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.bw-pwa-offline-hero__mesh {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #061a2e 0%, #1a73b2 55%, #12b886 100%);
}

.bw-pwa-offline-hero__inner {
    position: relative;
    z-index: 1;
}

.bw-pwa-offline-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    margin-bottom: 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
}

.bw-pwa-offline-hero h1 {
    margin: 0 0 0.3rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.bw-pwa-offline-hero p {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.88;
}

.bw-pwa-offline-body {
    padding-bottom: 1.5rem;
}

.bw-pwa-offline-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: var(--app-radius-lg);
    box-shadow: var(--app-shadow);
}

.bw-pwa-offline-empty i {
    font-size: 2rem;
    color: var(--app-blue);
    margin-bottom: 0.75rem;
}

.bw-pwa-offline-empty p {
    margin: 0;
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ─── PWA splash phases (brand 2s → loader) ─── */
.bw-pwa-splash.is-brand .bw-pwa-splash__loader {
    display: none;
}

.bw-pwa-splash.is-loading .bw-pwa-splash__logo-wrap {
    transform: scale(0.92);
    transition: transform 0.5s ease;
}

.bw-pwa-splash.is-loading .bw-pwa-splash__ring {
    animation-duration: 1.6s;
}

/* ─── PWA instant route bar (SPA navigation) ─── */
.bw-pwa-route-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1100;
    background: linear-gradient(90deg, #12b886, #1a73b2, #4dabf7);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.bw-pwa-route-bar.is-active {
    opacity: 1;
    animation: BrightwayPwaRouteBar 0.55s ease-out forwards, BrightwayPwaRouteShimmer 1s linear infinite;
}

@keyframes BrightwayPwaRouteBar {
    from { transform: scaleX(0); }
    to { transform: scaleX(0.85); }
}

@keyframes BrightwayPwaRouteShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.bw-app-content {
    min-height: 1px;
}

/* ─── PWA client-rendered detail pages ─── */
.bw-detail-hero {
    padding: 1.25rem 0 0.5rem;
    background: linear-gradient(180deg, #e8f4fc 0%, #f0f4f8 100%);
}

.bw-detail-page {
    padding: 1rem 0 2.5rem;
}

.bw-detail-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .bw-detail-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.bw-detail-media img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 1;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26,115,178,0.12);
}

.bw-detail-info h1 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #0d2847;
}

.bw-detail-price {
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
}

.bw-detail-price__was {
    margin-left: 0.5rem;
    color: #868e96;
    font-size: 0.9rem;
}

.bw-detail-lead {
    color: #495057;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.bw-detail-body {
    color: #495057;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.bw-detail-meta {
    color: #1a73b2;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.bw-detail-stock {
    font-weight: 600;
    margin-bottom: 1rem;
}

.bw-detail-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a73b2, #1864ab);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(26,115,178,0.28);
}

.bw-detail-cta--service {
    background: linear-gradient(135deg, #12b886, #0ca678);
    box-shadow: 0 8px 24px rgba(18,184,134,0.28);
}

.bw-pwa-empty,
.bw-pwa-offline-hint {
    text-align: center;
    color: #868e96;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.bw-pwa-offline-hint {
    text-align: left;
    padding: 0.75rem 0 0;
}

.bw-pwa-offline-page {
    text-align: center;
    padding: 3rem 1rem;
}

.bw-pwa-offline-page i {
    font-size: 2.5rem;
    color: #1a73b2;
    margin-bottom: 1rem;
}

.bw-account-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: inherit;
    text-decoration: none !important;
}

.bw-account-order strong {
    flex: 1;
}

.bw-account-order span {
    text-transform: capitalize;
    font-size: 0.82rem;
    color: #868e96;
}

.bw-account-order em {
    font-style: normal;
    font-weight: 700;
    color: #1a73b2;
}

/* ── Careers / Apply for Job ── */
:root {
    --app-career: #e879f9;
    --app-career-2: #a855f7;
    --app-career-3: #f472b6;
}

@keyframes careerBtnGlow {
    0%, 100% {
        box-shadow:
            0 0 12px rgba(232, 121, 249, 0.55),
            0 0 28px rgba(168, 85, 247, 0.35),
            0 4px 14px rgba(244, 114, 182, 0.4);
    }
    50% {
        box-shadow:
            0 0 20px rgba(244, 114, 182, 0.75),
            0 0 40px rgba(232, 121, 249, 0.5),
            0 6px 22px rgba(168, 85, 247, 0.45);
    }
}

@keyframes careerBtnFlash {
    0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
    30% { opacity: 0.85; }
    100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}

@keyframes careerCardFlash {
    0% { transform: translateX(-110%) skewX(-12deg); opacity: 0; }
    40% { opacity: 0.6; }
    100% { transform: translateX(210%) skewX(-12deg); opacity: 0; }
}

.bw-app-header__career-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, #f472b6 0%, #e879f9 40%, #a855f7 100%);
    animation: careerBtnGlow 2.4s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(80, 20, 100, 0.25);
    transition: transform 0.25s ease;
}

.bw-app-header__career-btn-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(244,114,182,0.5), rgba(168,85,247,0.5));
    filter: blur(8px);
    z-index: 0;
    opacity: 0.7;
    pointer-events: none;
}

.bw-app-header__career-btn-flash {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
    animation: careerBtnFlash 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.bw-app-header__career-btn i,
.bw-app-header__career-btn-label {
    position: relative;
    z-index: 2;
}

.bw-app-header__career-btn:hover {
    transform: translateY(-2px) scale(1.04);
    color: #fff !important;
}

.bw-app-header__mobile-career {
    background: linear-gradient(135deg, rgba(244,114,182,0.15), rgba(168,85,247,0.15)) !important;
    border-left: 3px solid #e879f9 !important;
    font-weight: 700 !important;
}

.bw-footer-showcase__btn--career {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fab005, #f59f00);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 159, 0, 0.32);
}

.bw-footer-showcase__btn-glow {
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(244,114,182,0.45), rgba(168,85,247,0.45));
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.bw-footer-showcase__btn--career i {
    position: relative;
    z-index: 1;
}

/* Career listing page */
.bw-app-body--careers-list {
    background:
        radial-gradient(ellipse 75% 45% at 10% 0%, rgba(244, 114, 182, 0.1), transparent 55%),
        radial-gradient(ellipse 65% 40% at 95% 5%, rgba(168, 85, 247, 0.08), transparent 50%);
}

.bw-careers-page {
    position: relative;
    padding-bottom: 2.5rem;
}

.bw-careers-page__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 90%);
    pointer-events: none;
}

.bw-careers-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bw-careers-list-head__count {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #7c3aed;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.bw-careers-list-head__hint {
    margin: 0;
    font-size: 0.85rem;
    color: #868e96;
}

/* Vertical stack of horizontal cards */
.bw-careers-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .bw-careers-list {
        gap: 1rem;
    }
}

/* Horizontal row card */
.bw-career-row {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bw-career-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(232, 121, 249, 0.16);
}

.bw-career-row__border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(244,114,182,0.35), rgba(168,85,247,0.2), rgba(232,121,249,0.3));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 4;
}

.bw-career-row__flash {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.35) 50%, transparent 62%);
    animation: careerCardFlash 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

.bw-career-row__glaze {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,0.4), transparent 55%);
    pointer-events: none;
    z-index: 2;
}

.bw-career-row__inner {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 118px;
}

/* Mobile: compact horizontal thumb + content */
.bw-career-row__media {
    position: relative;
    flex: 0 0 108px;
    width: 108px;
    min-height: 118px;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
}

.bw-career-row__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bw-career-row:hover .bw-career-row__img {
    transform: scale(1.06);
}

.bw-career-row__badge {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    padding: 0.2rem 0.45rem;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    background: linear-gradient(135deg, rgba(244,114,182,0.95), rgba(168,85,247,0.95));
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bw-career-row__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.85rem 0.8rem;
    gap: 0.35rem;
}

.bw-career-row__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.bw-career-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    font-size: 0.72rem;
    color: #868e96;
}

.bw-career-row__meta time,
.bw-career-row__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.bw-career-row__salary {
    color: #15803d;
    font-weight: 600;
}

.bw-career-row__deadline {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #c2410c;
    background: rgba(251, 146, 60, 0.12);
    border: 1px solid rgba(251, 146, 60, 0.2);
}

.bw-career-row__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
}

.bw-career-row__title a {
    color: #212529;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bw-career-row:hover .bw-career-row__title a {
    color: #7c3aed;
}

.bw-career-row__excerpt {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #495057;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bw-career-row__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

.bw-career-row__apply {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    overflow: hidden;
    background: linear-gradient(135deg, #f472b6, #e879f9, #a855f7);
    animation: careerBtnGlow 2.6s ease-in-out infinite;
    transition: transform 0.25s;
    white-space: nowrap;
}

.bw-career-row__apply-glow {
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: inherit;
    filter: blur(8px);
    opacity: 0.45;
    z-index: 0;
}

.bw-career-row__apply-flash {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
    animation: careerBtnFlash 3s ease-in-out infinite;
    z-index: 1;
}

.bw-career-row__apply-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.bw-career-row__apply:hover {
    transform: scale(1.04);
    color: #fff !important;
}

.bw-career-row__details {
    font-size: 0.75rem;
    font-weight: 600;
    color: #868e96;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s;
}

.bw-career-row__details:hover {
    color: #a855f7;
}

/* Tablet+: wider horizontal layout */
@media (min-width: 576px) {
    .bw-career-row__inner {
        min-height: 140px;
    }

    .bw-career-row__media {
        flex: 0 0 140px;
        width: 140px;
        min-height: 140px;
    }

    .bw-career-row__content {
        padding: 1rem 1.15rem;
        gap: 0.45rem;
    }

    .bw-career-row__title {
        font-size: 1.08rem;
    }

    .bw-career-row__excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .bw-career-row__badge {
        font-size: 0.68rem;
        bottom: 8px;
        left: 8px;
        right: auto;
        max-width: calc(100% - 16px);
    }
}

@media (min-width: 768px) {
    .bw-careers-list {
        gap: 1.1rem;
    }

    .bw-career-row__inner {
        min-height: 168px;
    }

    .bw-career-row__media {
        flex: 0 0 240px;
        width: 240px;
        min-height: 168px;
    }

    .bw-career-row__content {
        padding: 1.15rem 1.35rem 1.2rem;
        gap: 0.5rem;
    }

    .bw-career-row__meta {
        font-size: 0.8rem;
    }

    .bw-career-row__title {
        font-size: 1.2rem;
    }

    .bw-career-row__excerpt {
        font-size: 0.88rem;
        -webkit-line-clamp: 2;
    }

    .bw-career-row__apply {
        padding: 0.55rem 1.1rem;
        font-size: 0.85rem;
    }

    .bw-career-row__details {
        font-size: 0.82rem;
    }
}

@media (min-width: 992px) {
    .bw-career-row__media {
        flex: 0 0 280px;
        width: 280px;
        min-height: 180px;
    }

    .bw-career-row__inner {
        min-height: 180px;
    }

    .bw-career-row__excerpt {
        -webkit-line-clamp: 3;
    }
}

.bw-careers-empty {
    text-align: center;
    padding: 3rem 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.6);
    border: 1px dashed rgba(168, 85, 247, 0.25);
}

.bw-careers-empty__icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(244,114,182,0.15), rgba(168,85,247,0.15));
    color: #a855f7;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Career detail page — balanced glass + clear borders */
.bw-app-body--career-detail {
    background:
        radial-gradient(ellipse 70% 40% at 15% 0%, rgba(244, 114, 182, 0.07), transparent 55%),
        radial-gradient(ellipse 60% 35% at 90% 8%, rgba(168, 85, 247, 0.06), transparent 50%);
}

.bw-career-detail {
    position: relative;
    padding-bottom: 3rem;
}

.bw-career-detail__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent 88%);
    pointer-events: none;
}

/* Shared static gradient border for detail panels */
.bw-career-quickbar,
.bw-career-article,
.bw-career-apply {
    position: relative;
    isolation: isolate;
    border: none;
    box-shadow:
        0 8px 32px rgba(168, 85, 247, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.bw-career-quickbar::before,
.bw-career-article::before,
.bw-career-apply::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, #f0abfc 0%, #c084fc 50%, #e879f9 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

/* Quick bar */
.bw-career-quickbar {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
}

.bw-career-quickbar__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    padding: 0.85rem 1.1rem;
}

.bw-career-quickbar__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
    border: 1.5px solid rgba(168, 85, 247, 0.28);
}

.bw-career-quickbar__chip--salary {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border-color: rgba(34, 197, 94, 0.35);
}

.bw-career-quickbar__chip--deadline {
    background: rgba(251, 146, 60, 0.1);
    color: #c2410c;
    border-color: rgba(251, 146, 60, 0.35);
}

.bw-career-quickbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #e879f9, #9333ea);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bw-career-quickbar__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(147, 51, 234, 0.35);
    color: #fff !important;
}

/* Two-column layout */
.bw-career-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 992px) {
    .bw-career-detail__grid {
        grid-template-columns: 1fr 420px;
        gap: 1.75rem;
    }
}

@media (min-width: 1200px) {
    .bw-career-detail__grid {
        grid-template-columns: 1fr 460px;
    }
}

/* Job article panel */
.bw-career-article {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
}

.bw-career-article__inner {
    position: relative;
    z-index: 1;
    padding: 1.35rem 1.4rem 1.5rem;
}

.bw-career-article__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.bw-career-article__head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #5b21b6;
}

.bw-career-article__head time {
    font-size: 0.78rem;
    color: #868e96;
}

.bw-career-article__featured {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.15rem;
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.bw-career-article__featured img {
    width: 100%;
    height: auto;
    display: block;
}

.bw-career-article__content {
    font-size: 0.95rem;
    line-height: 1.7;
}

.bw-career-article__empty {
    color: #868e96;
    font-style: italic;
}

.bw-career-article__foot {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1.5px dashed rgba(168, 85, 247, 0.35);
}

.bw-career-article__jump {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #7c3aed !important;
    text-decoration: none !important;
    background: rgba(168, 85, 247, 0.1);
    border: 1.5px solid rgba(168, 85, 247, 0.35);
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.bw-career-article__jump:hover {
    transform: translateY(-1px);
    background: rgba(168, 85, 247, 0.14);
    border-color: rgba(168, 85, 247, 0.5);
}

/* Apply form panel */
.bw-career-apply {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.3s;
}

@media (min-width: 992px) {
    .bw-career-apply {
        position: sticky;
        top: 88px;
    }
}

.bw-career-apply.is-highlighted {
    box-shadow:
        0 0 0 3px rgba(192, 132, 252, 0.45),
        0 10px 36px rgba(168, 85, 247, 0.14);
}

.bw-career-apply__inner {
    position: relative;
    z-index: 1;
    padding: 1.35rem 1.25rem 1.5rem;
}

.bw-career-apply__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.bw-career-apply__icon-ring {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e879f9, #9333ea);
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.25);
}

.bw-career-apply__eyebrow {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a855f7;
}

.bw-career-apply__title {
    margin: 0.1rem 0 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #6b21a8;
}

.bw-career-apply__role {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: #495057;
    line-height: 1.35;
}

.bw-career-apply__success {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.bw-career-apply__success-icon {
    color: #15803d;
    font-size: 1.35rem;
}

.bw-career-apply__success p {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
    color: #166534;
}

.bw-career-apply__error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
    font-size: 0.88rem;
    font-weight: 600;
}

/* Form blocks */
.bw-career-form__block {
    margin-bottom: 1rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1.5px solid rgba(192, 132, 252, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.bw-career-form__block:focus-within {
    border-color: rgba(147, 51, 234, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 0 0 3px rgba(192, 132, 252, 0.15);
}

.bw-career-form__block-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #6b21a8;
}

.bw-career-form__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #d946ef, #9333ea);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.bw-career-form__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

@media (min-width: 480px) {
    .bw-career-form__fields {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bw-career-field--full {
    grid-column: 1 / -1;
}

.bw-career-field label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #495057;
}

.bw-career-field label em {
    color: #e879f9;
    font-style: normal;
}

.bw-career-field__wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.bw-career-field__wrap > i.fa {
    position: absolute;
    left: 0.75rem;
    color: #a855f7;
    font-size: 0.85rem;
    opacity: 0.75;
    pointer-events: none;
    z-index: 1;
}

.bw-career-field__wrap input,
.bw-career-field__wrap select {
    width: 100%;
    padding: 0.62rem 0.85rem 0.62rem 2.15rem;
    border-radius: 12px;
    border: 1.5px solid rgba(168, 85, 247, 0.28);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.88rem;
    color: #212529;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.bw-career-field__wrap input:focus,
.bw-career-field__wrap select:focus {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.22);
    background: #fff;
}

.bw-career-field__wrap input.is-invalid,
.bw-career-field__wrap select.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.bw-career-field__wrap select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgba(248, 249, 250, 0.9);
}

.bw-career-field__error {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #dc2626;
}

/* Submit button */
.bw-career-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, #e879f9, #9333ea);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bw-career-submit__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.bw-career-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(147, 51, 234, 0.38);
}

.bw-career-submit:active {
    transform: translateY(0);
}

.bw-career-form__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    font-size: 0.75rem;
    color: #868e96;
    text-align: center;
}

@media (max-width: 991.98px) {
    .bw-career-quickbar__cta {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* ─── Brightway extras: header dropdown, page parts, member CTA ─── */
.bw-app-header__dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: auto;
}

.bw-app-header__dropdown > .bw-app-header__link {
    white-space: nowrap;
}

.bw-app-header__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    margin-top: 0.35rem;
    padding: 0.5rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(28,0,138,0.18);
    border: 1px solid rgba(255,255,255,0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1200;
}

.bw-app-header__dropdown:hover .bw-app-header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.bw-app-header__dropdown-item {
    display: block;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    color: #343a40;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}
.bw-app-header__dropdown-item:hover {
    background: var(--app-blue-pale);
    color: var(--app-blue-dark);
}

.bw-loading-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 160px;
    border-radius: var(--app-radius);
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(237,233,254,0.8));
    box-shadow: var(--app-shadow);
    color: var(--app-blue-dark);
    font-weight: 600;
}
.bw-loading-card i { font-size: 1.75rem; color: var(--app-blue); }

.bw-page-parts { padding: 1rem 0 2rem; }
.bw-page-parts__inner { display: flex; flex-direction: column; gap: 1.25rem; }
.bw-page-part-card {
    border-radius: var(--app-radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 32px rgba(28,0,138,0.08);
    border: 1px solid rgba(92,45,210,0.08);
}
.bw-page-part-card__body { padding: 1.25rem 1.5rem; }
.bw-page-part-card__body img { max-width: 100%; height: auto; border-radius: 12px; }

.bw-member-cta { padding: 0 0 2rem; }
.bw-member-cta__card {
    position: relative;
    padding: 2rem 1.5rem;
    border-radius: var(--app-radius-lg);
    background: linear-gradient(135deg, #1C008A 0%, #5c2dd2 50%, #c20000 100%);
    overflow: hidden;
    text-align: center;
}
.bw-member-cta__glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: bwMemberGlow 4s ease-in-out infinite;
}
@keyframes bwMemberGlow {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(10%, -5%); }
}
.bw-member-cta__btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}
.bw-member-cta__btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
    color: #fff;
    text-decoration: none;
}
.bw-member-cta__btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    font-size: 1.25rem;
}
.bw-member-cta__btn-text { text-align: left; }
.bw-member-cta__btn-text strong { display: block; font-size: 1.05rem; }
.bw-member-cta__btn-text small { opacity: 0.85; font-size: 0.8rem; }
.bw-member-cta__arrow { opacity: 0.7; }
.bw-member-cta__bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    width: 80px; height: 80px;
    top: 20%; left: 10%;
    animation: bwBubble 6s ease-in-out infinite;
}
.bw-member-cta__bubble--2 { width: 50px; height: 50px; top: 60%; right: 15%; left: auto; animation-delay: 2s; }
.bw-member-cta__bubble--3 { width: 30px; height: 30px; bottom: 20%; left: 40%; top: auto; animation-delay: 4s; }
@keyframes bwBubble {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-20px); opacity: 0.9; }
}

.bw-marquee__vivid {
    background: linear-gradient(115deg, #130069 0%, #1C008A 20%, #7a0000 40%, #c20000 55%, #5c2dd2 75%, #130069 100%) !important;
}

.bw-promo-slide__link { text-decoration: none; color: inherit; display: block; }

.bw-app-content .container-fluid { max-width: 1200px; margin: 0 auto; padding-left: 12px; padding-right: 12px; }

/* Shop index */
.bw-shop-page { padding-bottom: 2rem; }
.bw-shop-page__hero {
    padding: 1.5rem 0 1.25rem;
    background: linear-gradient(135deg, #130069, #1C008A 45%, #5c2dd2);
    color: #fff;
    margin-bottom: 1.25rem;
}
.bw-shop-page__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.35rem;
}
.bw-shop-page__title { font-size: 1.75rem; font-weight: 800; margin: 0 0 0.35rem; }
.bw-shop-page__sub { margin: 0; opacity: 0.88; font-size: 0.95rem; }
.bw-shop-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.bw-shop-category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--app-radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(28,0,138,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bw-shop-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(28,0,138,0.16);
    text-decoration: none;
    color: inherit;
}
.bw-shop-category-card__img-wrap { aspect-ratio: 16/10; overflow: hidden; background: var(--app-blue-pale); }
.bw-shop-category-card__img { width: 100%; height: 100%; object-fit: cover; }
.bw-shop-category-card__body { padding: 1rem 1.1rem 1.15rem; }
.bw-shop-category-card__body h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.25rem; color: var(--app-blue-dark); }
.bw-shop-category-card__body p { margin: 0 0 0.5rem; font-size: 0.82rem; color: #868e96; }
.bw-shop-category-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--app-blue);
}

.bw-shop-page__search {
    display: flex;
    gap: 0.5rem;
    max-width: 420px;
    margin-top: 1rem;
}
.bw-shop-page__search input {
    flex: 1;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
}
.bw-shop-page__search button {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.bw-shop-section { margin-bottom: 2rem; }
.bw-shop-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}
.bw-shop-section__head h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    color: var(--app-blue-dark);
}
.bw-shop-section__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--app-blue);
    text-decoration: none;
}

.bw-shop-category-banner {
    position: relative;
    display: block;
    border-radius: var(--app-radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(28,0,138,0.12);
}
.bw-shop-category-banner__img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}
.bw-shop-category-banner__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.85rem 1rem;
    background: linear-gradient(transparent, rgba(19,0,105,0.85));
    color: #fff;
    font-weight: 700;
}

.bw-subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.bw-subcat-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(28,0,138,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}
.bw-subcat-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}
.bw-subcat-card__img-wrap {
    aspect-ratio: 4/3;
    background: var(--app-blue-pale);
    overflow: hidden;
}
.bw-subcat-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bw-subcat-card__body {
    padding: 0.65rem 0.75rem 0.75rem;
}
.bw-subcat-card__body h3 {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--app-blue-dark);
}
.bw-subcat-card__body span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--app-blue);
}

.bw-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem;
}
.bw-product-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.bw-product-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(28,0,138,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}
.bw-product-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}
.bw-product-card__img-wrap {
    aspect-ratio: 1;
    background: #f8f9fa;
    overflow: hidden;
}
.bw-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bw-product-card__body { padding: 0.7rem 0.75rem 0.85rem; }
.bw-product-card__body h3 {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #212529;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bw-product-card__price {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--app-shop-dark);
}

.bw-subcat-products { margin: 1rem 0 1.25rem; }
.bw-subcat-products__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #495057;
    margin: 0 0 0.65rem;
}
.bw-subcat-products__more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--app-blue);
    text-decoration: none;
}

.bw-shop-category-card__border,
.bw-shop-category-card__glaze {
    pointer-events: none;
}

/* Blog index & article */
.bw-blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    text-decoration: none !important;
}

.bw-blog-back:hover { color: #fff; }

.bw-blog-featured { margin-bottom: 1.35rem; }

.bw-blog-featured__card {
    position: relative;
    border-radius: var(--app-radius-lg);
    padding: 2px;
    overflow: hidden;
}

.bw-blog-featured__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: calc(var(--app-radius-lg) - 2px);
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

@media (min-width: 768px) {
    .bw-blog-featured__inner { grid-template-columns: 1.1fr 0.9fr; }
}

.bw-blog-featured__media-link {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

@media (min-width: 768px) {
    .bw-blog-featured__media-link { aspect-ratio: auto; min-height: 280px; }
}

.bw-blog-featured__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bw-blog-featured__body {
    padding: 1.25rem 1.35rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bw-blog-featured__badge {
    display: inline-block;
    width: fit-content;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--app-blue-pale);
    color: var(--app-blue-dark);
    margin-bottom: 0.55rem;
}

.bw-blog-featured__title {
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 800;
    margin: 0 0 0.55rem;
    line-height: 1.25;
}

.bw-blog-featured__title a {
    color: var(--app-blue-dark);
    text-decoration: none !important;
}

.bw-blog-featured__excerpt {
    font-size: 0.9rem;
    color: #495057;
    margin: 0 0 0.85rem;
    line-height: 1.6;
}

.bw-blog-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 992px) {
    .bw-blog-detail { grid-template-columns: 1fr 280px; }
}

.bw-blog-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bw-blog-sidebar-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.bw-blog-sidebar-item__thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

.bw-blog-sidebar-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bw-blog-sidebar-item__title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--app-blue-dark);
    text-decoration: none !important;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.bw-blog-sidebar-item__meta {
    font-size: 0.72rem;
    color: #868e96;
}

.bw-blog-related { margin-top: 1.75rem; }

.bw-blog-related__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0 0 1rem;
}

.bw-content-hero .bw-blog-article__meta {
    color: rgba(255,255,255,0.88);
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bw-content-hero .bw-blog-article__meta i { opacity: 0.85; }

/* Shop breadcrumbs, category pages, product gallery */
.bw-shop-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    opacity: 0.92;
}

.bw-shop-breadcrumb a {
    color: inherit;
    text-decoration: none !important;
}

.bw-shop-breadcrumb a:hover { text-decoration: underline !important; }

.bw-shop-breadcrumb__sep {
    opacity: 0.55;
    font-size: 0.62rem;
}

.bw-shop-breadcrumb--light { color: rgba(255,255,255,0.9); }

.bw-shop-page__hero--category {
    padding-bottom: 1.5rem;
}

.bw-shop-category-banner--page {
    display: block;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.bw-shop-section__count {
    font-size: 0.82rem;
    font-weight: 700;
    color: #868e96;
}

.bw-product-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.bw-product-gallery__thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s, transform 0.2s;
}

.bw-product-gallery__thumb.is-active,
.bw-product-gallery__thumb:hover {
    border-color: var(--app-shop);
    transform: translateY(-2px);
}

.bw-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bw-mp-detail--shop {
    padding-bottom: 2rem;
}

.bw-mp-detail__related .bw-shop-section__head {
    margin-bottom: 1rem;
}

.bw-mp-detail__related .bw-shop-section__head h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--app-blue-dark);
    margin: 0;
}

