@font-face {
    font-family: "Bellfort Draw";
    src: url("../fonts/bellfort-draw.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Bellfort Draw Dark";
    src: url("../fonts/bellfort-draw-dark.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Bellfort Draw Dark Bold";
    src: url("../fonts/bellfort-draw-dark-bold.otf") format("opentype");
    font-display: swap;
}

@font-face {
    font-family: "Moderat Black";
    src: url("../fonts/Moderat-Black.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Moderat Bold";
    src: url("../fonts/Moderat-Bold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Moderat Medium";
    src: url("../fonts/Moderat-Medium.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Moderat Regular";
    src: url("../fonts/Moderat-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --sand: #f6f0e8;
    --ink: #10151d;
    --sky: #dffcff;
    --accent: #f6d525;
    --muted: #6c6f75;
    --font-banner: "Bellfort Draw Dark Bold", "Bebas Neue", sans-serif;
    --font-content: "Montserrat", sans-serif;
    --font-display: "Bebas Neue", sans-serif;
    --font-body: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-content);
    background: linear-gradient(180deg, #fffdfa 0%, #f4efe8 100%);
    color: var(--ink);
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 21, 29, 0.08);
}

.brand-mark,
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-family: var(--font-banner);
    color: var(--ink);
    text-decoration: none;
}

.brand-icon { font-size: 1.3rem; transform: rotate(-12deg); }
.site-brand-logo {
    width: auto;
    height: 52px;
    max-width: 220px;
    object-fit: contain;
    object-position: left center;
}

.site-brand-text {
    display: inline-block;
}

.site-header-start {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-quick-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.site-icon-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    background: rgba(16, 21, 29, 0.05);
    border: 1px solid rgba(16, 21, 29, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-icon-link:hover {
    transform: translateY(-1px);
    color: #fff;
    background: #10151d;
    box-shadow: 0 14px 28px rgba(16, 21, 29, 0.12);
}

.site-icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.site-language-toggle {
    border: 0;
    background: rgba(16, 21, 29, 0.05);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-content);
}

.site-language-toggle span {
    line-height: 1;
}

.site-header-search {
    margin-left: auto;
}

.site-customer-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(16, 21, 29, 0.06);
    border: 1px solid rgba(16, 21, 29, 0.08);
    color: var(--ink);
    line-height: 1;
}

.site-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
}

.site-account-trigger::after {
    margin-left: 0;
}

.site-icon-link-static:hover {
    transform: none;
    color: var(--ink);
    background: rgba(16, 21, 29, 0.05);
    box-shadow: none;
}

.site-account-menu {
    min-width: 220px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(16, 21, 29, 0.14);
    padding: 0.5rem;
}

.site-account-menu .dropdown-item {
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
}

.site-account-menu-user {
    color: var(--muted);
    font-size: 0.88rem;
    padding: 0.55rem 0.85rem 0.7rem;
}

.site-customer-pill-label {
    color: var(--muted);
    font-size: 0.85rem;
}

.search-pill { border-radius: 999px; min-width: 180px; background: #eceae6; border: 0; }
.cart-link { text-decoration: none; font-weight: 600; color: var(--ink); }

.auth-shell {
    padding: 2rem 0 4rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(16, 21, 29, 0.1);
    padding: 2rem;
}

.auth-card-admin {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,242,234,0.96));
}

.auth-card-customer {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,239,232,0.96));
}

.auth-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
}

.auth-brand-logo {
    width: auto;
    max-width: min(240px, 70%);
    max-height: 108px;
    object-fit: contain;
}

.auth-brand-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: #10151d;
    color: #fff;
    font-size: 2rem;
    transform: rotate(-12deg);
}

.auth-footer-copy {
    margin-top: 1rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-footer-copy a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.35rem;
}

.auth-customer-state {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(16, 21, 29, 0.05);
    border: 1px solid rgba(16, 21, 29, 0.08);
    margin-bottom: 1rem;
    text-align: center;
}

.auth-panel-block {
    height: 100%;
    padding: 1.35rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(16, 21, 29, 0.08);
}

.auth-secondary-actions {
    display: grid;
    gap: 0.9rem;
}

.auth-action-disclosure {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(16, 21, 29, 0.04);
    border: 1px solid rgba(16, 21, 29, 0.08);
}

.auth-action-disclosure summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
}

.auth-action-disclosure summary::-webkit-details-marker {
    display: none;
}

.auth-action-disclosure[open] summary {
    margin-bottom: 0.8rem;
}

.auth-orders-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.06);
    color: #27303a;
    font-size: 0.9rem;
    font-weight: 700;
}

.auth-empty-state {
    display: grid;
    gap: 0.35rem;
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(16, 21, 29, 0.04);
    border: 1px dashed rgba(16, 21, 29, 0.14);
    color: var(--muted);
}

.auth-order-list {
    display: grid;
    gap: 1rem;
}

.auth-order-card {
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(16, 21, 29, 0.08);
    box-shadow: 0 14px 34px rgba(16, 21, 29, 0.05);
}

.auth-order-head,
.auth-order-meta,
.auth-order-item-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-order-head {
    align-items: center;
    margin-bottom: 0.85rem;
}

.auth-order-head > div {
    display: grid;
    gap: 0.2rem;
}

.auth-order-head span,
.auth-order-meta span {
    color: var(--muted);
    font-size: 0.94rem;
}

.auth-order-meta {
    margin-bottom: 0.85rem;
}

.auth-order-items {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(16, 21, 29, 0.08);
}

.order-progress-route {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.order-progress-step {
    position: relative;
}

.order-progress-node-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.order-progress-node {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #d0d7de;
    border: 3px solid rgba(16, 21, 29, 0.08);
    box-shadow: 0 0 0 10px rgba(16, 21, 29, 0.04);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.order-progress-node svg {
    width: 10px;
    height: 10px;
    fill: rgba(16, 21, 29, 0.52);
    transition: fill 0.35s ease, transform 0.35s ease;
}

.order-progress-line {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(16, 21, 29, 0.08), rgba(16, 21, 29, 0.04));
    margin-left: 0.7rem;
    position: relative;
    overflow: hidden;
}

.order-progress-line::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #1b8d52, #7ad6a5);
    transition: width 0.45s ease;
}

.order-progress-copy {
    display: grid;
    gap: 0.22rem;
}

.order-progress-copy strong {
    font-size: 0.96rem;
}

.order-progress-copy span {
    color: var(--muted);
    font-size: 0.85rem;
}

.order-progress-tone-ink .order-progress-copy strong {
    color: #18202a;
}

.order-progress-tone-success .order-progress-copy strong {
    color: #16663d;
}

.order-progress-tone-amber .order-progress-copy strong {
    color: #8a6200;
}

.order-progress-tone-sky .order-progress-copy strong {
    color: #1c5f9a;
}

.order-progress-tone-danger .order-progress-copy strong {
    color: #8f2230;
}

.order-progress-tone-success .order-progress-node-wrap::before,
.order-progress-tone-amber .order-progress-node-wrap::before,
.order-progress-tone-sky .order-progress-node-wrap::before,
.order-progress-tone-danger .order-progress-node-wrap::before,
.order-progress-tone-ink .order-progress-node-wrap::before {
    content: "";
    position: absolute;
    left: -0.5rem;
    right: -0.3rem;
    top: -0.65rem;
    bottom: -0.65rem;
    border-radius: 18px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-progress-tone-ink .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(16, 21, 29, 0.06), rgba(16, 21, 29, 0.02));
}

.order-progress-tone-success .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(27, 141, 82, 0.12), rgba(27, 141, 82, 0.03));
}

.order-progress-tone-amber .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(240, 146, 32, 0.14), rgba(240, 146, 32, 0.03));
}

.order-progress-tone-sky .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(28, 95, 154, 0.14), rgba(28, 95, 154, 0.03));
}

.order-progress-tone-danger .order-progress-node-wrap::before {
    background: linear-gradient(180deg, rgba(170, 38, 53, 0.14), rgba(170, 38, 53, 0.03));
}

.order-progress-step-completed .order-progress-node,
.order-progress-step-current .order-progress-node {
    background: #1b8d52;
    border-color: rgba(27, 141, 82, 0.18);
}

.order-progress-step-completed .order-progress-node {
    transform: scale(1.03);
}

.order-progress-step-completed .order-progress-node-wrap::before,
.order-progress-step-current .order-progress-node-wrap::before,
.order-progress-step-cancelled-current .order-progress-node-wrap::before {
    opacity: 1;
}

.order-progress-step-completed .order-progress-node-wrap .order-progress-line::after {
    width: 100%;
}

.order-progress-step-completed .order-progress-node svg,
.order-progress-step-current .order-progress-node svg {
    fill: #fff;
}

.order-progress-step-completed .order-progress-line {
    background: linear-gradient(90deg, #1b8d52, rgba(27, 141, 82, 0.35));
}

.order-progress-step-current .order-progress-node {
    box-shadow: 0 0 0 10px rgba(27, 141, 82, 0.12), 0 0 0 1px rgba(27, 141, 82, 0.16);
    transform: scale(1.08);
    animation: orderProgressPulse 2.2s ease-in-out infinite;
}

.order-progress-step-current .order-progress-copy strong {
    color: #16663d;
}

.order-progress-step-current .order-progress-node svg {
    transform: scale(1.06);
}

.order-progress-step-cancelled-current .order-progress-node {
    background: #aa2635;
    border-color: rgba(170, 38, 53, 0.2);
    box-shadow: 0 0 0 10px rgba(170, 38, 53, 0.1);
}

.order-progress-step-cancelled-current .order-progress-node svg {
    fill: #fff;
}

@keyframes orderProgressPulse {
    0% {
        box-shadow: 0 0 0 10px rgba(27, 141, 82, 0.12), 0 0 0 1px rgba(27, 141, 82, 0.16);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(27, 141, 82, 0.08), 0 0 0 1px rgba(27, 141, 82, 0.18);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(27, 141, 82, 0.12), 0 0 0 1px rgba(27, 141, 82, 0.16);
    }
}

.order-progress-step-cancelled-current .order-progress-copy strong {
    color: #8f2230;
}

.hero-section { padding: 1.5rem 0 2.5rem; }

.about-story-section {
    padding: 4rem 0 4.75rem;
}

.about-hero-panel {
    display: grid;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #fffdfa;
    border: 1px solid rgba(16, 21, 29, 0.08);
    box-shadow: 0 26px 70px rgba(16, 21, 29, 0.12);
}

.about-hero-media {
    min-height: 720px;
    background: #10151d;
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 4rem;
}

.about-brand-logo {
    width: 180px;
    max-width: 58%;
    height: auto;
    display: block;
    margin-top: 1.5rem;
}

.about-brand-fallback {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-story-lead {
    margin: 0.9rem 0 0;
    color: #10151d;
    font-size: 1.35rem;
    font-weight: 700;
}

.about-story-copy {
    margin-top: 2rem;
    display: grid;
    gap: 1.1rem;
    color: #49515b;
    font-size: 1.08rem;
    line-height: 1.75;
    font-weight: 400;
}

.about-story-copy p {
    margin: 0;
}

.about-story-tagline {
    margin-top: 2.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(16, 21, 29, 0.1);
    color: #10151d;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .about-story-section {
        padding: 3.25rem 0;
    }

    .about-hero-panel {
        grid-template-columns: 1fr;
    }

    .about-hero-media {
        min-height: auto;
        aspect-ratio: 4 / 5;
    }

    .about-hero-content {
        padding: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .about-story-section {
        padding: 2rem 0 3rem;
    }

    .about-hero-panel {
        border-radius: 20px;
    }

    .about-hero-content {
        padding: 1.5rem;
    }

    .about-brand-logo {
        width: 136px;
        margin-top: 1.15rem;
    }

    .about-story-lead {
        font-size: 1.1rem;
    }

    .about-story-copy {
        gap: 0.9rem;
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .about-story-tagline {
        margin-top: 1.5rem;
        font-size: 0.84rem;
        letter-spacing: 0.1em;
    }
}

.hero-carousel {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 560px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(16, 21, 29, 0.18);
}

.hero-card {
    position: relative;
    height: 100%;
    min-height: 560px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 340px);
    gap: 1.5rem;
    align-items: end;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity .85s ease, transform 6s ease, visibility .85s ease;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 0;
    opacity: 0.82;
    background: #10151d;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide.is-active .hero-logo,
.hero-slide.is-active .hero-copy,
.hero-slide.is-active .hero-sidecard {
    animation: heroReveal .9s ease both;
}

.hero-ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.75;
    z-index: 1;
}

.hero-ambient-one {
    right: -40px;
    top: 70px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(246, 213, 37, 0.55), rgba(246, 213, 37, 0));
}

.hero-ambient-two {
    left: -30px;
    bottom: 80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(223, 252, 255, 0.35), rgba(223, 252, 255, 0));
}

.hero-logo,
.hero-copy h1,
.hero-mini {
    font-family: var(--font-banner);
}

.hero-logo {
    font-size: clamp(5rem, 16vw, 10rem);
    color: var(--sky);
    line-height: 0.84;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.hero-logo-media {
    display: inline-flex;
    align-items: flex-start;
}

.hero-logo-image {
    width: min(62vw, 760px);
    max-height: 220px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
}

.hero-copy { max-width: 420px; color: white; }
.hero-copy p,
.section-title,
.product-body h3,
.product-category,
.footer-title,
.section-kicker,
.split-heading,
.split-overlay h3,
.detail-title,
.detail-price,
.nav-link,
.cart-link,
.site-footer h5,
.site-footer h4,
.contact-card h3,
.checkout-card h3,
.branch-card h3,
.section-head a,
.product-body strong,
.price-row strong {
    font-family: var(--font-content);
}

.hero-copy p,
.product-body p,
.footer-link,
.site-footer p,
.split-overlay p,
.section-head p {
    font-family: var(--font-content);
}
.hero-tone-dark .hero-copy,
.hero-tone-dark .hero-sidecard,
.hero-tone-dark .hero-logo,
.hero-tone-dark .hero-mini { color: #f7f4ef; }
.hero-tone-contrast .hero-copy,
.hero-tone-contrast .hero-sidecard,
.hero-tone-contrast .hero-logo,
.hero-tone-contrast .hero-mini { color: white; }
.hero-tone-light .hero-copy,
.hero-tone-light .hero-sidecard,
.hero-tone-light .hero-logo,
.hero-tone-light .hero-mini { color: white; }
.hero-mini, .section-kicker, .split-heading { letter-spacing: 0.08em; font-size: 1.15rem; }
.hero-copy h1, .section-title, .product-body h3, .footer-title { letter-spacing: 0.04em; }
.hero-copy h1 { font-size: clamp(2.6rem, 4vw, 4rem); }
.hero-copy p { max-width: 560px; font-size: 1.03rem; }

.hero-button {
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 0;
    padding: 0.85rem 1.4rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.hero-button-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.hero-sidecard {
    align-self: end;
    color: white;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 1.25rem;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.16);
}

.hero-sidecard-label {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-sidecard p {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.88);
}

.hero-sidecard-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.76);
}
.hero-slide-natural .hero-card {
    background: linear-gradient(180deg, rgba(9, 16, 22, 0.08), rgba(9, 16, 22, 0.2));
}

.hero-slide-natural .hero-copy,
.hero-slide-natural .hero-sidecard,
.hero-slide-natural .hero-mini,
.hero-slide-natural .hero-logo {
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero-sidecard-natural {
    background: linear-gradient(180deg, rgba(16, 21, 29, 0.38), rgba(16, 21, 29, 0.2));
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(6px);
}

.admin-inline-panel {
    padding: 1.1rem 1.1rem 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfaf7, #f6f2eb);
}

.admin-form-section {
    margin-bottom: 1rem;
    padding: 1.15rem 1.15rem 1.05rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdfa, #f8f4ec);
    box-shadow: 0 12px 30px rgba(16, 21, 29, 0.04);
}

.admin-form-section:last-child {
    margin-bottom: 0;
}

.admin-form-section-compact {
    padding: 1rem;
}

.admin-form-section-head {
    margin-bottom: 1rem;
}

.admin-form-section-head h4 {
    margin: 0 0 0.35rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: #18202a;
}

.admin-form-section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-inline-panel-head h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 800;
}

.admin-inline-panel-head p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.admin-toggle-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    color: #18202a;
    cursor: pointer;
}

.admin-toggle-card input {
    margin: 0;
}

.admin-brand-logo-card {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: linear-gradient(135deg, #faf7f2, #f0ebe2);
}

.admin-modal-sidecard-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-banner-live-preview {
    position: relative;
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #111820;
    color: #fff;
    box-shadow: 0 18px 42px rgba(16, 21, 29, 0.16);
}

.admin-banner-live-preview-modal {
    min-height: 620px;
}

.admin-banner-live-preview-media,
.admin-banner-live-preview-overlay {
    position: absolute;
    inset: 0;
}

.admin-banner-live-preview-media {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.admin-banner-live-preview-inner {
    position: relative;
    z-index: 2;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem;
}

.admin-banner-live-preview-modal .admin-banner-live-preview-inner {
    min-height: 620px;
    padding: 1.75rem;
}

.admin-banner-live-preview-modal .admin-banner-live-brand-text {
    font-size: clamp(3.4rem, 7vw, 6.8rem);
}

.admin-banner-live-preview-modal .admin-banner-live-brand-logo {
    max-width: 320px;
    max-height: 110px;
}

.admin-banner-live-preview-modal .admin-banner-live-copy strong {
    font-size: 2.2rem;
}

.admin-banner-live-preview-modal .admin-banner-live-copy p {
    font-size: 1.02rem;
    max-width: 620px;
}

.admin-banner-live-preview-modal .admin-banner-live-sidecard {
    width: min(100%, 280px);
    padding: 1rem;
}

.admin-banner-live-brand-text {
    font-family: "Bebas Neue", "Montserrat", sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
    color: #d9fbff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.admin-banner-live-brand-logo {
    max-width: 220px;
    max-height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.admin-banner-live-copy {
    max-width: 78%;
}

.admin-banner-live-eyebrow {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.92;
}

.admin-banner-live-copy strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.45rem;
    line-height: 1.1;
}

.admin-banner-live-copy p {
    margin: 0 0 0.9rem;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.88);
}

.admin-banner-live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.admin-banner-live-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f6d525;
    color: #10151d;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-banner-live-button-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-banner-live-sidecard {
    align-self: flex-end;
    width: min(100%, 220px);
    padding: 0.85rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
}

.admin-banner-live-sidecard-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #f6d525;
    color: #10151d;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-banner-live-sidecard p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-grid-center {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero-grid-center .hero-copy { max-width: 760px; }
.hero-grid-center .hero-actions { justify-content: center; }
.hero-grid-center .hero-sidecard { width: min(100%, 380px); }

.hero-grid-right {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1.2fr);
}

.hero-grid-right .hero-copy {
    order: 2;
    justify-self: end;
    text-align: right;
}

.hero-grid-right .hero-actions { justify-content: flex-end; }
.hero-grid-right .hero-sidecard { order: 1; }

.hero-controls {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 2;
}

.hero-progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    width: min(280px, 48vw);
}

.hero-dots {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.hero-progress {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.2);
}

.hero-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #fff1a2);
    transition: width 6.5s linear;
}

.hero-dot,
.hero-nav {
    border: 0;
    cursor: pointer;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: transform .25s ease, background .25s ease;
}

.hero-dot.is-active {
    background: var(--accent);
    transform: scale(1.2);
}

.hero-nav {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    font-size: 2rem;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.category-split { padding-bottom: 3rem; }
.split-card { position: relative; }
.split-image { width: 100%; object-fit: cover; border-radius: 20px; }
.product-media img {
    width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7f4ef, #ffffff);
}
.detail-main-image,
.detail-thumb {
    width: 100%;
    object-fit: contain;
    border-radius: 20px;
    background: linear-gradient(180deg, #f8f4ec, #ffffff);
}
.split-image { height: 280px; }

.split-overlay {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.split-heading span, .price-row span { color: var(--muted); }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0; }

.product-card,
.contact-card,
.info-banner {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 24px;
    overflow: hidden;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-media {
    position: relative;
    height: 340px;
    flex: 0 0 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f7f4ef, #ffffff);
}

.product-media img {
    height: 100%;
}

.product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
}

.empty-state {
    padding: 3rem 1.5rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(16, 21, 29, 0.06);
    text-align: center;
}

.empty-state h2 {
    margin: 0 0 0.55rem;
    color: #10151d;
    font-size: 1.35rem;
}

.empty-state p {
    max-width: 520px;
    margin: 0 auto;
    color: #6f7782;
}

.product-category {
    display: inline-block;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.product-body h3 {
    min-height: 5.05rem;
    margin-bottom: 0.65rem;
    font-size: 2rem;
    line-height: 1.08;
}

.product-body p {
    min-height: 3.2rem;
    margin-bottom: 1rem;
}

.product-body .d-flex.justify-content-between {
    margin-top: auto;
}

.product-card-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.product-card-cart-button i,
.product-card-cart-button svg {
    color: #fff;
    fill: currentColor;
    font-size: 1.05rem;
    line-height: 1;
}

.product-card-cart-button svg {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
}

.product-size-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.size-guide-trigger {
    border: 0;
    background: transparent;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 800;
    line-height: 1;
}

.size-guide-trigger {
    min-height: 2.2rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(16, 21, 29, 0.12);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 21, 29, 0.06);
    font-size: 0.82rem;
}

.size-guide-trigger:hover {
    color: #000;
    transform: translateY(-1px);
}

.size-guide-trigger svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    flex: 0 0 auto;
}

.size-guide-modal .modal-dialog {
    max-width: min(1120px, calc(100vw - 2rem));
}

.size-guide-shell {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fbfaf7;
    box-shadow: 0 30px 90px rgba(16, 21, 29, 0.28);
}

.size-guide-header {
    align-items: flex-start;
    border: 0;
    padding: 1.5rem 1.6rem 1rem;
    background: #10151d;
    color: #fff;
}

.size-guide-kicker {
    display: block;
    margin-bottom: 0.4rem;
    color: #f5c82f;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.size-guide-header .modal-title {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    line-height: 1.05;
}

.size-guide-close {
    filter: invert(1) grayscale(1);
    opacity: 0.9;
}

.size-guide-body {
    padding: 1.35rem;
}

.size-guide-copy {
    max-width: 760px;
    margin-bottom: 1rem;
    color: #384150;
    font-weight: 600;
}

.size-guide-copy p,
.size-guide-note {
    margin: 0;
}

.size-guide-frame {
    margin: 0;
    padding: 0.75rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 18px 48px rgba(16, 21, 29, 0.08);
}

.size-guide-frame img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    background: #fff;
}

.size-guide-note {
    margin-top: 1rem;
    color: #6f7782;
    font-size: 0.88rem;
    text-align: center;
}

@media (max-width: 575.98px) {
    .product-size-label-row {
        align-items: stretch;
        flex-direction: column;
        gap: 0.55rem;
    }

    .size-guide-trigger {
        width: 100%;
    }

    .size-guide-modal .modal-dialog {
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
    }

    .size-guide-shell {
        border-radius: 20px;
    }

    .size-guide-header {
        padding: 1.15rem 1rem 0.9rem;
    }

    .size-guide-body {
        padding: 1rem;
    }

    .size-guide-frame {
        padding: 0.45rem;
        border-radius: 16px;
    }

    .size-guide-frame img {
        max-height: 68vh;
        border-radius: 12px;
    }
}

.price-row { display: flex; gap: 0.75rem; align-items: center; }
.price-row strong { font-size: 1.2rem; }
.price-row.large strong { font-size: 2rem; }
.price-row span { text-decoration: line-through; }

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--ink);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
}

.info-banner {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.banner-points { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.banner-points span {
    background: var(--ink);
    color: white;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.contact-card,
.footer-bottom { padding: 1.5rem; }

.site-footer { background: var(--ink); color: #faf8f4; }
.footer-link { color: #faf8f4; text-decoration: none; margin-bottom: 0.5rem; }

.footer-commerce-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
    gap: 2rem;
    align-items: start;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-commerce-block {
    display: grid;
    gap: 0.85rem;
}

.footer-social-list,
.footer-payment-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
}

.footer-social-link {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fffdfa;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social-link:hover {
    color: #10151d;
    background: #f6d525;
    border-color: #f6d525;
    transform: translateY(-2px);
}

.footer-social-link img {
    width: 25px;
    height: 25px;
    display: block;
    object-fit: contain;
}

.footer-payment-logo {
    width: 78px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.footer-payment-logo-wide {
    width: 128px;
}

.footer-payment-logo img {
    display: block;
    width: 100%;
    max-width: 86px;
    height: 28px;
    object-fit: contain;
    filter: brightness(1.08) contrast(1.04) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.footer-payment-logo-wide img {
    max-width: 128px;
}

.footer-payment-logo-invert img {
    filter: invert(1) brightness(1.08) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}
.cart-item, .detail-gallery, .product-form { border-radius: 24px; }
.detail-gallery {
    padding: 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 42px rgba(16, 21, 29, 0.06);
}

.detail-main-image {
    height: 520px;
    padding: 0.85rem;
}

.detail-thumb {
    height: 150px;
    cursor: pointer;
    padding: 0.45rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
}
.product-branch-panel {
    padding: 1.35rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 24px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 20px 48px rgba(16, 21, 29, 0.07);
}
.product-branch-grid {
    display: grid;
    gap: 1rem;
}
.product-branch-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,241,233,0.92));
}
.product-branch-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.7rem;
}
.product-branch-status {
    margin-bottom: 0.75rem;
    color: #45505b;
    font-size: 0.94rem;
}
.product-branch-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.product-branch-variant {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 21, 29, 0.06);
    color: #37404a;
    font-size: 0.84rem;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.product-branch-variant.is-highlighted {
    background: rgba(246, 213, 37, 0.24);
    color: #6e5a00;
    transform: translateY(-1px);
}
.checkout-delivery-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}
.checkout-delivery-option {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,241,233,0.92));
    cursor: pointer;
}
.checkout-delivery-option input {
    margin-top: 0.25rem;
}
.checkout-delivery-option strong,
.checkout-branch-card strong {
    display: block;
    color: #18202a;
}
.checkout-delivery-option small {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
}
.checkout-branch-list {
    display: grid;
    gap: 0.8rem;
}
.checkout-branch-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255,255,255,0.82);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.checkout-branch-card span {
    display: block;
    margin-top: 0.2rem;
    color: #45505b;
    font-size: 0.92rem;
}
.checkout-branch-card.is-selected {
    border-color: rgba(246, 213, 37, 0.8);
    box-shadow: 0 16px 34px rgba(246, 213, 37, 0.18);
    transform: translateY(-1px);
}
.small-box .inner h3 { font-size: 2.2rem; }
.admin-search { display: flex; gap: 0.5rem; align-items: center; }
.admin-search .form-control { min-width: 250px; }
.admin-panel-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.admin-panel-subcopy {
    max-width: 560px;
    color: var(--muted);
}
.admin-filters {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: min(100%, 860px);
    margin-left: auto;
}
.admin-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}
.admin-filter-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-filter-grid-wide {
    grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr));
}
.admin-filter-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.admin-image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.admin-image-thumb { width: 100%; height: 90px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(16, 21, 29, 0.12); }
.drag-handle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    color: #6a5c45;
    cursor: grab;
}
.drag-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--muted);
}
[data-banner-sortable] tr {
    cursor: grab;
}
[data-banner-sortable] tr.is-dragging {
    opacity: 0.55;
    background: rgba(246, 213, 37, 0.12);
}
.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}
.admin-page-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9b835f;
    font-weight: 700;
}
.admin-page-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #18202a;
}
.admin-page-copy {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
}
.admin-panel-card {
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(16, 21, 29, 0.06);
}
.admin-panel-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,242,234,0.92));
    border-bottom: 1px solid rgba(16, 21, 29, 0.08);
}
.nav-sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 12px;
    margin: 0.15rem 0.6rem;
}
.nav-sidebar .nav-link .nav-icon {
    font-size: 1rem;
    width: 1.2rem;
}
.nav-sidebar .nav-link p {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.admin-nav-header {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.admin-nav-group-item {
    list-style: none;
    margin: 0 0 0.45rem;
}
.admin-nav-group {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}
.admin-nav-group[open] {
    background: rgba(255, 255, 255, 0.035);
}
.admin-nav-group-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0.85rem 0.3rem;
    cursor: pointer;
    list-style: none;
}
.admin-nav-group-summary::-webkit-details-marker {
    display: none;
}
.admin-nav-group-arrow {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.72rem;
    transition: transform 0.18s ease, color 0.18s ease;
}
.admin-nav-group[open] .admin-nav-group-arrow {
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.72);
}
.admin-nav-group-list {
    padding: 0.2rem 0.35rem 0.35rem;
}
.nav-sidebar .nav-link.active {
    background: linear-gradient(90deg, rgba(219, 227, 95, 0.28), rgba(219, 227, 95, 0.14));
    color: #ffffff;
    box-shadow: inset 3px 0 0 #dbe35f, 0 10px 22px rgba(16, 21, 29, 0.12);
}
.nav-sidebar .nav-link.active .nav-icon,
.nav-sidebar .nav-link.active p {
    color: #ffffff;
}
.nav-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f4f6d0;
}
.nav-sidebar .nav-link:hover .nav-icon,
.nav-sidebar .nav-link:hover p {
    color: #f4f6d0;
}
.admin-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    color: #10151d;
    background: #dbe35f;
    box-shadow: 0 6px 14px rgba(16, 21, 29, 0.14);
}
.admin-nav-badge-warning {
    background: #f6d525;
    color: #10151d;
}
.admin-nav-badge-danger {
    background: #ffb7bf;
    color: #7f1120;
}
.admin-nav-badge-dark {
    background: #f1e4cc;
    color: #4d3b1f;
}
.nav-sidebar .nav-link.active .admin-nav-badge {
    background: #ffffff;
    color: #10151d;
}
.admin-panel-kicker {
    display: inline-block;
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9b835f;
    font-weight: 700;
}
.admin-panel-footer {
    background: rgba(251, 249, 245, 0.9);
}
.admin-table thead th {
    border-bottom: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(247, 243, 236, 0.9);
    color: #5d615f;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.admin-table tbody tr td {
    vertical-align: middle;
}
.admin-status-chip,
.admin-role-chip,
.admin-stock-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}
.admin-status-chip {
    background: rgba(16, 21, 29, 0.08);
    color: #27303a;
}
.admin-status-toggle {
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.admin-status-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(16, 21, 29, 0.08);
}
.admin-status-toggle.is-loading {
    opacity: 0.6;
    pointer-events: none;
}
.admin-role-chip {
    background: #10151d;
    color: white;
}
.admin-role-chip-soft {
    background: rgba(16, 21, 29, 0.08);
    color: #27303a;
}
.admin-stock-pill {
    min-width: 48px;
    background: rgba(246, 213, 37, 0.18);
    color: #6e5a00;
}
.admin-stock-pill-out {
    background: rgba(170, 38, 53, 0.14);
    color: #8c1422;
}
.admin-stock-pill-low {
    background: rgba(240, 146, 32, 0.18);
    color: #9a5200;
}
.admin-stock-pill-healthy {
    background: rgba(27, 141, 82, 0.15);
    color: #16663d;
}
.admin-status-chip-success {
    background: rgba(27, 141, 82, 0.15);
    color: #16663d;
}
.admin-status-chip-muted {
    background: rgba(16, 21, 29, 0.08);
    color: #5f6872;
}
.admin-status-chip-warning {
    background: rgba(246, 213, 37, 0.22);
    color: #705700;
}
.admin-inline-meta {
    color: var(--muted);
    font-size: 0.92rem;
}
.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}
.admin-summary-card {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: white;
    box-shadow: 0 16px 36px rgba(16, 21, 29, 0.05);
}
.admin-summary-card span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.admin-summary-card strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #18202a;
}
.admin-summary-card-success {
    background: linear-gradient(180deg, rgba(230, 247, 239, 0.95), rgba(255,255,255,0.98));
}
.admin-summary-card-warning {
    background: linear-gradient(180deg, rgba(255, 244, 220, 0.96), rgba(255,255,255,0.98));
}
.admin-summary-card-accent {
    background: linear-gradient(180deg, rgba(255, 249, 206, 0.96), rgba(255,255,255,0.98));
}
.admin-summary-card-muted {
    background: linear-gradient(180deg, rgba(241, 243, 246, 0.96), rgba(255,255,255,0.98));
}
.admin-summary-card-dark {
    background: linear-gradient(180deg, rgba(245, 239, 231, 0.98), rgba(255,255,255,0.98));
}
.admin-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}
.admin-mini-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 1rem;
    align-items: end;
}
.admin-mini-chart-item {
    text-align: center;
}
.admin-mini-chart-value {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #37404a;
}
.admin-mini-chart-bar-wrap {
    height: 130px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 0.35rem;
    background: linear-gradient(180deg, rgba(246, 240, 232, 0.7), rgba(255,255,255,0.96));
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
}
.admin-mini-chart-bar {
    width: 100%;
    max-width: 38px;
    border-radius: 16px 16px 8px 8px;
    background: linear-gradient(180deg, #10151d, #f6d525);
}
.admin-mini-chart-item small {
    display: block;
    margin-top: 0.55rem;
    color: var(--muted);
}
.admin-stat-card {
    height: 100%;
    border-radius: 24px;
    padding: 1.35rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(16, 21, 29, 0.14);
}
.admin-stat-card h3 {
    margin: 0.35rem 0 0.2rem;
    font-size: 2.2rem;
    font-weight: 800;
}
.admin-stat-card p {
    margin: 0;
    opacity: 0.88;
}
.admin-stat-label {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.86;
}
.stat-products { background: linear-gradient(135deg, #1e6ea6, #4cb8d8); }
.stat-sales { background: linear-gradient(135deg, #11795a, #37c28d); }
.stat-purchases { background: linear-gradient(135deg, #a96a15, #f1b249); }
.stat-stock { background: linear-gradient(135deg, #74343a, #d46b73); }
.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 420px);
    gap: 1.2rem;
    padding: 1.4rem;
    border-radius: 26px;
    background: linear-gradient(135deg, #10151d, #2f3947 52%, #8b5f20 100%);
    color: white;
    box-shadow: 0 22px 55px rgba(16, 21, 29, 0.18);
}
.dashboard-hero-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.72);
}
.dashboard-hero-copy h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
}
.dashboard-hero-copy p {
    margin: 0;
    max-width: 680px;
    color: rgba(255,255,255,0.8);
}
.dashboard-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}
.dashboard-hero-metrics div {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}
.dashboard-hero-metrics span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.72);
}
.dashboard-hero-metrics strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
}
.dashboard-alert-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.dashboard-alert {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: white;
    box-shadow: 0 14px 34px rgba(16, 21, 29, 0.05);
}
.dashboard-alert strong {
    display: block;
    margin-bottom: 0.3rem;
}
.dashboard-alert p {
    margin: 0;
    color: var(--muted);
}
.dashboard-alert-warning {
    background: linear-gradient(180deg, rgba(255, 244, 220, 0.96), rgba(255,255,255,0.98));
}
.dashboard-alert-accent {
    background: linear-gradient(180deg, rgba(255, 249, 206, 0.96), rgba(255,255,255,0.98));
}
.dashboard-alert-danger {
    background: linear-gradient(180deg, rgba(255, 235, 237, 0.96), rgba(255,255,255,0.98));
}
.dashboard-alert-muted {
    background: linear-gradient(180deg, rgba(241, 243, 246, 0.96), rgba(255,255,255,0.98));
}
.admin-mini-chart-tall .admin-mini-chart-bar-wrap {
    height: 180px;
}
.admin-detail-stack {
    display: grid;
    gap: 1rem;
}
.admin-detail-stack div {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(16, 21, 29, 0.08);
}
.admin-detail-stack div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.admin-detail-stack span {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.admin-detail-stack strong {
    display: block;
    color: #18202a;
}
.admin-payload-box {
    margin: 0;
    padding: 0.85rem;
    border-radius: 14px;
    background: #f6f2eb;
    border: 1px solid rgba(16, 21, 29, 0.08);
    font-size: 0.8rem;
    color: #36404a;
    white-space: pre-wrap;
    word-break: break-word;
}
.admin-timeline {
    display: grid;
    gap: 1rem;
}
.admin-timeline-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 0.9rem;
    align-items: start;
}
.admin-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    margin-top: 0.25rem;
    background: #c5ccd4;
    box-shadow: 0 0 0 6px rgba(16, 21, 29, 0.06);
}
.admin-timeline-copy {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(16, 21, 29, 0.08);
}
.admin-timeline-copy strong {
    display: block;
    margin-bottom: 0.2rem;
}
.admin-timeline-copy span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--muted);
    font-size: 0.86rem;
}
.admin-timeline-copy p {
    margin: 0;
    color: #45505b;
}
.admin-timeline-item-success .admin-timeline-dot {
    background: #1b8d52;
}
.admin-timeline-item-warning .admin-timeline-dot {
    background: #f09220;
}
.admin-timeline-item-danger .admin-timeline-dot {
    background: #aa2635;
}
.admin-timeline-item-dark .admin-timeline-dot {
    background: #10151d;
}
.admin-sale-ops-card {
    background:
        radial-gradient(circle at top left, rgba(255, 219, 125, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,248,250,0.98));
}
.admin-sale-ops-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.95fr);
    gap: 1.4rem;
    align-items: center;
}
.admin-sale-ops-copy {
    display: grid;
    gap: 0.9rem;
}
.admin-sale-ops-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
.admin-sale-ops-title {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: 0.03em;
}
.admin-sale-ops-text {
    max-width: 760px;
    color: #45505b;
    line-height: 1.7;
}
.admin-sale-mode-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}
.admin-sale-mode-pill,
.admin-sale-mode-meta {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255,255,255,0.82);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.admin-sale-mode-pill {
    background: #10151d;
    border-color: #10151d;
    color: #fff;
    font-weight: 800;
}
.admin-sale-mode-meta {
    color: #4f5964;
    font-weight: 700;
}
.admin-sale-ops-action {
    display: flex;
    justify-content: flex-end;
}
.admin-sale-status-form {
    width: 100%;
    max-width: 420px;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 18px 44px rgba(16, 21, 29, 0.06);
}
.admin-sale-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
}
.admin-sale-status-form .form-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5f6872;
}
.admin-sale-status-form .btn {
    min-width: 148px;
}
.admin-sales-order-cell,
.admin-sales-customer-cell,
.admin-sales-delivery-cell,
.admin-sales-payment-cell,
.admin-sales-status-cell,
.admin-sales-total-cell {
    display: grid;
    gap: 0.28rem;
}
.admin-sales-order-cell strong,
.admin-sales-customer-cell strong,
.admin-sales-total-cell strong {
    color: #18202a;
}
.admin-sales-order-cell span,
.admin-sales-order-cell small,
.admin-sales-total-cell span {
    color: #5f6872;
}
.admin-sales-order-cell small {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.admin-sales-total-cell strong {
    font-size: 1.05rem;
}
.admin-sales-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 180px;
}
.admin-table tbody tr:hover .admin-sales-actions .btn-dark {
    transform: translateY(-1px);
}
.admin-sales-actions .btn {
    width: 100%;
}
.admin-sales-brief-card {
    background:
        radial-gradient(circle at top left, rgba(246, 213, 37, 0.18), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,241,234,0.96));
}
.admin-sales-brief-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.admin-sales-brief-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.admin-sales-brief-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}
.admin-sales-brief-item {
    padding: 1rem 1rem 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255,255,255,0.88);
}
.admin-sales-brief-item span {
    display: block;
    margin-bottom: 0.35rem;
    color: #66707a;
    font-size: 0.79rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}
.admin-sales-brief-item strong {
    display: block;
    color: #18202a;
    font-size: 1.5rem;
}
.admin-sales-brief-item small {
    display: block;
    margin-top: 0.4rem;
    color: #58626d;
}
.admin-sales-guide-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(243,246,249,0.96));
}
.admin-sales-guide-list {
    display: grid;
    gap: 0.8rem;
}
.admin-sales-guide-list div {
    padding: 0.9rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255,255,255,0.84);
    color: #45505b;
    line-height: 1.6;
}
.admin-sales-guide-list strong {
    color: #10151d;
    margin-right: 0.25rem;
}
.admin-filters-elevated {
    padding: 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(248,244,237,0.88), rgba(255,255,255,0.98));
    border: 1px solid rgba(16, 21, 29, 0.08);
}
.admin-sales-inline-status-form {
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(247, 243, 236, 0.62);
}
.admin-sales-inline-status-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f6872;
}
.admin-sales-inline-status-form .form-select,
.admin-sales-inline-status-form .btn {
    width: 100%;
}
.admin-inline-meta {
    color: #5f6872;
}
.admin-sales-trace {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #5f6872;
}
.admin-sales-trace small {
    font-size: 0.8rem;
}
.admin-sales-trace-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #cbd3dc;
    box-shadow: 0 0 0 4px rgba(16, 21, 29, 0.05);
}
.admin-sales-trace-dot-success {
    background: #1b8d52;
}
.admin-sales-trace-dot-warning {
    background: #f09220;
}
.admin-sales-trace-dot-danger {
    background: #aa2635;
}
.admin-sales-trace-dot-accent {
    background: #7b5df0;
}
.admin-sales-expand-row td {
    background: transparent;
}
.admin-sales-expand-shell {
    padding: 0 1rem 1rem;
    background: linear-gradient(180deg, rgba(249,246,240,0.92), rgba(255,255,255,0.98));
    border-top: 1px solid rgba(16, 21, 29, 0.06);
}
.admin-sales-expand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.admin-sales-expand-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 14px 34px rgba(16, 21, 29, 0.05);
}
.admin-sales-expand-card h4 {
    margin: 0.1rem 0 0.9rem;
    font-size: 1rem;
    color: #18202a;
}
.admin-sales-expand-card-wide {
    grid-column: span 1;
}
.admin-sales-inline-products {
    display: grid;
    gap: 0.7rem;
}
.admin-sales-inline-product {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: linear-gradient(180deg, rgba(250,247,242,0.96), rgba(255,255,255,0.98));
}
.admin-sales-inline-product strong {
    display: block;
    color: #18202a;
    margin-bottom: 0.18rem;
}
.admin-sales-inline-product span,
.admin-sales-inline-product small {
    display: block;
    color: #59636e;
}
.admin-sales-inline-trace {
    display: grid;
    gap: 0.6rem;
}
.admin-sales-inline-trace p {
    color: #45505b;
    line-height: 1.65;
}
.admin-sale-payload-card {
    padding: 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(250,247,242,0.96), rgba(255,255,255,0.98));
}
.admin-timeline-spacious {
    gap: 1.15rem;
}
.admin-log-list {
    display: grid;
    gap: 1rem;
}
.admin-log-item {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,241,233,0.92));
}
.admin-log-item strong {
    display: block;
    margin-bottom: 0.35rem;
}
.admin-log-item p {
    margin: 0 0 0.5rem;
    color: #45505b;
}
.admin-log-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
}
.admin-log-details {
    margin-top: 0.8rem;
}
.admin-log-details summary {
    cursor: pointer;
    font-weight: 700;
    color: #18202a;
}
.admin-log-details summary::marker {
    color: #9b835f;
}
.admin-message-card {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(16, 21, 29, 0.08);
}
.admin-message-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.settings-shell {
    border: 1px solid rgba(16, 21, 29, 0.08);
    box-shadow: 0 24px 60px rgba(16, 21, 29, 0.08);
}
.settings-shell-header {
    background: linear-gradient(135deg, #fcfaf6, #f0e7d8);
}
.settings-tabs {
    border-bottom: 0;
    gap: 0.75rem;
}
.settings-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    background: #efebe4;
    color: var(--ink);
    padding: 0.8rem 1.2rem;
    font-weight: 700;
}
.settings-tabs .nav-link.active {
    background: var(--ink);
    color: white;
}
.settings-tab-content {
    background: #fffdfa;
}
.settings-panel {
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 22px;
    padding: 1.4rem;
}
.settings-panel-general {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(247,241,233,0.92));
}
.settings-panel-payments {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(240,245,252,0.95));
}
.settings-panel-typography {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,241,235,0.94));
}
.settings-panel-branding {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(244,239,232,0.94));
}
.settings-panel-contact {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(245,240,234,0.94));
}
.settings-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.settings-panel-head h4 {
    margin: 0 0 0.35rem;
    font-weight: 800;
}
.settings-panel-head p {
    margin: 0;
    color: var(--muted);
}
.settings-info-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.settings-info-card strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #18202a;
}
.settings-info-card p {
    color: #56606b;
}
.backslide-swal-progress {
    border-radius: 24px !important;
    box-shadow: 0 28px 70px rgba(16, 21, 29, 0.18) !important;
}
.settings-status-card {
    min-width: 220px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(16,21,29,0.08);
    border-radius: 18px;
    padding: 0.9rem 1rem;
}
.settings-status-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.3rem;
}
.settings-check-card {
    height: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(16,21,29,0.08);
    border-radius: 18px;
}
.settings-pay-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.35rem;
}
.settings-method-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(16,21,29,0.06);
    border: 1px solid rgba(16,21,29,0.08);
    border-radius: 999px;
    padding: 0.7rem 0.95rem;
    font-weight: 600;
}
.settings-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 1.2rem;
}
.banner-edit-card {
    border: 1px solid rgba(210, 124, 26, 0.28);
    box-shadow: 0 18px 40px rgba(210, 124, 26, 0.12);
}
.banner-edit-header {
    background: linear-gradient(135deg, #fff4d6, #ffd36e);
    border-bottom: 1px solid rgba(210, 124, 26, 0.25);
}
.banner-edit-title {
    color: #7a4300;
    font-weight: 700;
}
.admin-modal-shell {
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(16, 21, 29, 0.18);
}
.admin-modal-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,242,234,0.94));
    border-bottom: 1px solid rgba(16, 21, 29, 0.08);
}
.admin-modal-form {
    display: grid;
    gap: 1rem;
}
.admin-modal-sidecard {
    height: 100%;
    padding: 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(250,247,242,0.96), rgba(255,255,255,0.98));
}
.admin-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    position: relative;
    z-index: 2;
}

.admin-preview-modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(16, 21, 29, 0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,242,234,0.94));
}
.admin-banner-preview {
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}
.admin-banner-preview-image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.admin-banner-video-preview {
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: #0c1016;
    padding: 0;
}
.admin-banner-video-player {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #000;
}
.admin-product-preview {
    padding: 0.9rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.85);
}

.admin-product-primary-thumb {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(16, 21, 29, 0.12);
}

.admin-product-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 260px;
}

.admin-product-row-media {
    flex: 0 0 auto;
}

.admin-product-row-thumb {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(16, 21, 29, 0.08);
    box-shadow: 0 10px 20px rgba(16, 21, 29, 0.08);
}

.admin-product-row-copy {
    min-width: 0;
}

.admin-variant-builder {
    display: grid;
    gap: 0.85rem;
}

.admin-variant-builder-head,
.admin-variant-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(120px, 0.7fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.admin-variant-builder-head {
    padding: 0 0.35rem;
    color: #6d727a;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-variant-list {
    display: grid;
    gap: 0.75rem;
}

.admin-variant-row {
    padding: 0.9rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.admin-variant-note {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-existing-gallery {
    display: grid;
    gap: 0.75rem;
}

.admin-existing-gallery-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.8rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.admin-existing-gallery-item.is-primary {
    border-color: rgba(246, 213, 37, 0.55);
    box-shadow: 0 12px 26px rgba(246, 213, 37, 0.14);
    background: linear-gradient(180deg, rgba(255, 250, 214, 0.96), rgba(255, 255, 255, 0.98));
}

.admin-existing-gallery-copy {
    display: grid;
    gap: 0.18rem;
}

.admin-existing-gallery-copy strong {
    color: #18202a;
}

.admin-existing-gallery-copy span {
    color: var(--muted);
    font-size: 0.88rem;
}

.admin-existing-gallery-actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.admin-existing-gallery-actions .btn {
    min-width: 0;
    padding: 0.28rem 0.55rem;
    font-size: 0.72rem;
    line-height: 1.1;
    border-radius: 10px;
}

.admin-existing-gallery-actions .btn-outline-danger {
    border-color: rgba(170, 38, 53, 0.22);
    color: #8f2230;
}

.admin-existing-gallery-actions .btn-outline-danger:hover {
    background: #aa2635;
    border-color: #aa2635;
    color: #fff;
}

.admin-product-preview-placeholder {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(16, 21, 29, 0.16);
    border-radius: 14px;
    color: var(--muted);
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}
.report-print-body {
    background: #fff;
    font-family: "Montserrat", sans-serif;
}
.report-print-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.report-print-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.report-print-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9b835f;
    font-weight: 700;
}
.report-print-head h1 {
    margin: 0 0 0.35rem;
    font-size: 2rem;
    font-weight: 800;
}
.report-print-head p,
.report-print-meta {
    margin: 0;
    color: var(--muted);
}
.report-print-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}
.report-print-highlight {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 16px;
    background: #faf8f4;
}
.report-print-highlight span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.report-print-highlight strong {
    font-size: 1.1rem;
    color: #18202a;
}
.report-print-chart {
    margin-bottom: 1.5rem;
}
.report-print-chart-head h2 {
    margin: 0 0 0.9rem;
    font-size: 1.1rem;
    font-weight: 800;
}
.report-print-chart-bars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 0.85rem;
    align-items: end;
}
.report-print-chart-item {
    text-align: center;
}
.report-print-chart-value {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
}
.report-print-chart-bar-wrap {
    height: 120px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 0.35rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 14px;
    background: #faf8f4;
}
.report-print-chart-bar {
    width: 100%;
    max-width: 34px;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(180deg, #10151d, #f6d525);
}
.report-print-chart-item small {
    display: block;
    margin-top: 0.45rem;
    color: var(--muted);
}
.admin-brand-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-decoration: none !important;
}
.admin-brand-link,
.admin-brand-link:hover,
.admin-brand-link:focus,
.admin-brand-link:active {
    text-decoration: none !important;
}
.admin-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.admin-brand-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #10151d;
}
.admin-brand-wordmark {
    font-family: "Bellfort Draw Dark Bold", "Bebas Neue", sans-serif;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #f6f2e8 !important;
    text-decoration: none !important;
}
.admin-brand-link:hover .admin-brand-wordmark,
.admin-brand-link:focus .admin-brand-wordmark {
    color: #ffffff !important;
    text-decoration: none !important;
}
.admin-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #10151d;
    transition: background 0.18s ease, color 0.18s ease;
}
.admin-sidebar-toggle:hover {
    background: rgba(16, 21, 29, 0.06);
    color: #10151d;
}
.sidebar-mini {
    --admin-sidebar-width: 305px;
    --admin-sidebar-collapsed-width: 4.6rem;
}
.layout-fixed .main-sidebar,
.layout-fixed .main-sidebar::before {
    width: var(--admin-sidebar-width) !important;
}
.layout-fixed .brand-link {
    width: var(--admin-sidebar-width) !important;
}
.layout-fixed .main-sidebar .brand-text {
    white-space: nowrap;
}
body.sidebar-mini:not(.sidebar-collapse) .content-wrapper,
body.sidebar-mini:not(.sidebar-collapse) .main-footer,
body.sidebar-mini:not(.sidebar-collapse) .main-header {
    margin-left: var(--admin-sidebar-width) !important;
}
.sidebar-mini.sidebar-collapse .content-wrapper,
.sidebar-mini.sidebar-collapse .main-footer,
.sidebar-mini.sidebar-collapse .main-header {
    margin-left: var(--admin-sidebar-collapsed-width) !important;
}
.sidebar-mini.sidebar-collapse .main-sidebar,
.sidebar-mini.sidebar-collapse .main-sidebar::before,
.sidebar-mini.sidebar-collapse .brand-link {
    width: var(--admin-sidebar-collapsed-width) !important;
}
.sidebar-mini.sidebar-collapse .admin-brand-link {
    justify-content: center;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}
.sidebar-mini.sidebar-collapse .admin-brand-link .brand-text,
.sidebar-mini.sidebar-collapse .admin-nav-header,
.sidebar-mini.sidebar-collapse .admin-nav-badge {
    display: none;
}
.sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p {
    justify-content: center;
}
.sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p span:first-child {
    display: none;
}
.sidebar-mini.sidebar-collapse .nav-sidebar .nav-link {
    justify-content: center;
}
.sidebar-mini.sidebar-collapse .nav-sidebar .nav-link .nav-icon {
    margin-right: 0;
}
@media (max-width: 991.98px) {
    .layout-fixed .main-sidebar,
    .layout-fixed .main-sidebar::before,
    .layout-fixed .brand-link {
        width: 280px !important;
    }
    body.sidebar-mini .content-wrapper,
    body.sidebar-mini .main-footer,
    body.sidebar-mini .main-header {
        margin-left: 0 !important;
    }
}
.settings-logo-card {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 18px;
    background: linear-gradient(135deg, #faf7f2, #f4efe6);
}
.settings-logo-preview {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 0.5rem;
}
.settings-logo-placeholder {
    width: 100%;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(16, 21, 29, 0.16);
    border-radius: 14px;
    color: var(--muted);
    font-weight: 600;
}

.settings-font-preview {
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 20px;
    background: linear-gradient(135deg, #faf7f2, #f0ebe2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.settings-font-preview-kicker {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9b835f;
    font-weight: 700;
}

.settings-font-preview h4 {
    margin: 0 0 0.45rem;
    font-size: 2rem;
    font-family: var(--preview-font-banner, var(--font-banner));
    line-height: 0.95;
}

.settings-font-preview-stack strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    font-family: var(--preview-font-content, var(--font-content));
}

.settings-font-preview p {
    margin: 0;
    font-family: var(--preview-font-content, var(--font-content));
    color: #3f4650;
}

.admin-feedback-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    box-shadow: 0 16px 34px rgba(16, 21, 29, 0.06);
}

.admin-feedback-alert strong {
    display: inline-block;
    margin-right: 0.4rem;
}

.admin-feedback-alert-success {
    background: linear-gradient(180deg, rgba(231, 252, 241, 0.96), rgba(255, 255, 255, 0.98));
    color: #135f39;
    border-color: rgba(27, 141, 82, 0.18);
}

.admin-feedback-alert-error {
    background: linear-gradient(180deg, rgba(255, 238, 240, 0.96), rgba(255, 255, 255, 0.98));
    color: #8f2230;
    border-color: rgba(170, 38, 53, 0.2);
}

.admin-feedback-alert-inline {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    box-shadow: none;
}

.footer-brand-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.footer-brand-logo {
    width: auto;
    height: 52px;
    max-width: 160px;
    object-fit: contain;
}

.footer-brand-tagline {
    display: grid;
    gap: 0.45rem;
    max-width: 300px;
    color: #faf8f4;
    text-transform: uppercase;
}

.footer-brand-tagline span {
    font-family: var(--font-banner);
    font-size: 1.35rem;
    line-height: 1.05;
    letter-spacing: 0.08em;
}

.footer-brand-tagline strong {
    font-family: var(--font-content);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.58em;
}

.label-designer-topbar {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(250, 247, 242, 0.98));
}

.label-designer-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.label-designer-page-grid label,
.label-control-grid label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #545d67;
}

.label-designer-shell {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.label-designer-sidebar {
    max-height: 900px;
    overflow: auto;
    padding-right: 0.25rem;
}

.label-control-stack {
    display: grid;
    gap: 1.1rem;
}

.label-control-group {
    display: grid;
    gap: 0.8rem;
}

.label-control-group-head {
    padding: 0.2rem 0.1rem 0;
}

.label-control-group-head strong {
    display: block;
    font-size: 0.96rem;
    color: #10151d;
    margin-bottom: 0.18rem;
}

.label-control-group-head p {
    margin: 0;
    font-size: 0.82rem;
    color: #67707a;
}

.label-control-group-stack {
    display: grid;
    gap: 0.8rem;
}

.label-control-card {
    padding: 0.9rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: #fffdfa;
    box-shadow: 0 12px 28px rgba(16, 21, 29, 0.05);
}

.label-control-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.label-control-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: #4a525c;
}

.label-control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.label-control-grid:last-child {
    margin-bottom: 0;
}

.label-designer-stage-wrap {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 1.25rem;
}

.label-designer-stage-head {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: #fffdfa;
}

.label-designer-stage {
    display: flex;
    justify-content: center;
    padding: 0.65rem;
    border-radius: 20px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: linear-gradient(180deg, rgba(241, 238, 233, 0.8), rgba(255, 255, 255, 0.98));
}

.label-preview-frame {
    position: relative;
    width: min(100%, 430px);
    max-width: 430px;
    overflow: hidden;
    flex: 0 0 auto;
}

.label-preview-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 1181px;
    height: 1772px;
    transform-origin: top center;
    border: 2px solid #1c1c1c;
    background: #fff;
    overflow: hidden;
}

.label-preview-canvas::after {
    content: "";
    position: absolute;
    inset: 26px;
    border: 1px solid #d2d2d2;
    pointer-events: none;
}

.label-preview-guide {
    position: absolute;
    left: 35px;
    right: 35px;
    height: 2px;
    background: #1c1c1c;
    opacity: 0.55;
    pointer-events: none;
}

.label-preview-logo,
.label-preview-node,
.label-preview-barcode,
.label-preview-qr {
    position: absolute;
    cursor: grab;
    user-select: none;
    z-index: 2;
    outline: 1px dashed rgba(16, 21, 29, 0.22);
    outline-offset: 2px;
}

.label-preview-logo::before,
.label-preview-node::before,
.label-preview-barcode::before,
.label-preview-qr::before {
    display: none;
}

.label-preview-logo.is-dragging,
.label-preview-node.is-dragging,
.label-preview-barcode.is-dragging,
.label-preview-qr.is-dragging {
    cursor: grabbing;
}

.label-preview-logo.is-selected::before,
.label-preview-node.is-selected::before,
.label-preview-barcode.is-selected::before,
.label-preview-qr.is-selected::before {
    display: none;
}

.label-preview-logo:hover,
.label-preview-node:hover,
.label-preview-barcode:hover,
.label-preview-qr:hover,
.label-preview-logo.is-selected,
.label-preview-node.is-selected,
.label-preview-barcode.is-selected,
.label-preview-qr.is-selected {
    outline-color: rgba(16, 21, 29, 0.48);
    background-color: rgba(255, 250, 240, 0.16);
}

.label-preview-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.label-preview-node {
    min-width: 0;
    line-height: 1.15;
    color: #111;
    background: transparent;
    padding: 0;
}

.label-preview-node.is-muted {
    color: #585858;
}

.label-preview-barcode {
    background:
        repeating-linear-gradient(
            90deg,
            #161616 0,
            #161616 3px,
            transparent 3px,
            transparent 7px,
            #161616 7px,
            #161616 9px,
            transparent 9px,
            transparent 12px
        );
    border: 1px solid rgba(16, 21, 29, 0.14);
}

.label-preview-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    background:
        linear-gradient(90deg, rgba(25,25,25,0.92) 14%, transparent 14%, transparent 28%, rgba(25,25,25,0.92) 28%, rgba(25,25,25,0.92) 42%, transparent 42%),
        linear-gradient(rgba(25,25,25,0.92) 14%, transparent 14%, transparent 28%, rgba(25,25,25,0.92) 28%, rgba(25,25,25,0.92) 42%, transparent 42%);
    background-size: 22% 22%;
    border: 1px solid rgba(16, 21, 29, 0.14);
}

.label-preview-logo.is-hidden,
.label-preview-node.is-hidden,
.label-preview-barcode.is-hidden,
.label-preview-qr.is-hidden,
.label-preview-guide.is-hidden {
    display: none;
}

.settings-panel-labels .settings-logo-card {
    min-height: 180px;
}
.report-print-table thead th {
    background: #f5efe7;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

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

@media (max-width: 991px) {
    .hero-card { min-height: 500px; padding: 2rem; }
    .info-banner { flex-direction: column; align-items: flex-start; }
    .admin-search { width: 100%; }
    .admin-search .form-control { min-width: 0; flex: 1; }
    .admin-filters {
        width: 100%;
    }
    .dashboard-hero,
    .dashboard-alert-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-filter-grid,
    .admin-filter-grid-compact,
    .admin-filter-grid-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-page-head {
        align-items: flex-start;
    }
    .hero-carousel,
    .hero-card { min-height: 500px; }
    .hero-carousel {
        aspect-ratio: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        align-items: end;
    }
    .hero-grid-right .hero-copy,
    .hero-grid-right .hero-sidecard {
        order: initial;
        justify-self: initial;
        text-align: left;
    }
    .hero-grid-right .hero-actions {
        justify-content: flex-start;
    }
    .hero-sidecard {
        max-width: 340px;
    }
    .admin-toggle-grid {
        grid-template-columns: 1fr;
    }
    .admin-banner-live-copy {
        max-width: 100%;
    }
    .settings-panel-head {
        flex-direction: column;
    }
    .settings-status-card {
        min-width: 0;
        width: 100%;
    }
    .label-designer-page-grid,
    .label-control-grid,
    .label-designer-shell {
        grid-template-columns: 1fr;
    }
    .label-designer-stage-wrap {
        position: static;
    }
    .admin-variant-builder-head,
    .admin-variant-row {
        grid-template-columns: 1fr 1fr;
    }
    .admin-existing-gallery-item {
        grid-template-columns: 82px 1fr;
    }
    .admin-existing-gallery-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
    .admin-variant-builder-head span:last-child {
        display: none;
    }
    .admin-variant-row .btn {
        grid-column: 1 / -1;
    }
    .checkout-delivery-switch {
        grid-template-columns: 1fr;
    }
    .admin-sale-ops-shell {
        grid-template-columns: 1fr;
    }
    .admin-sale-ops-action {
        justify-content: stretch;
    }
    .admin-sale-status-form {
        max-width: none;
    }
    .admin-sales-brief-head {
        flex-direction: column;
    }
    .admin-sales-brief-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-sales-expand-grid {
        grid-template-columns: 1fr;
    }
    .admin-sales-expand-card-wide {
        grid-column: auto;
    }
}

@media (max-width: 576px) {
    .admin-sale-status-row {
        grid-template-columns: 1fr;
    }
    .admin-sale-status-form .btn {
        width: 100%;
    }
    .admin-sales-brief-grid {
        grid-template-columns: 1fr;
    }
    .hero-section {
        padding: 0.75rem 0 1.5rem;
    }
    .hero-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .hero-carousel,
    .hero-card {
        min-height: min(82vh, 620px);
    }
    .hero-carousel {
        border-radius: 18px;
        box-shadow: 0 18px 44px rgba(16, 21, 29, 0.16);
    }
    .hero-slide {
        background-position: center top;
    }
    .hero-slide-video {
        background-size: cover;
        background-position: center;
    }
    .hero-slide-video .hero-video {
        inset: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center center;
        opacity: 1;
        background: #10151d;
    }
    .hero-slide-video .hero-card {
        background:
            linear-gradient(180deg, rgba(9, 16, 22, 0.08) 0%, rgba(9, 16, 22, 0.28) 36%, rgba(9, 16, 22, 0.82) 100%);
    }
    .hero-card {
        padding: 1.2rem;
        justify-content: flex-end;
        gap: 1rem;
    }
    .hero-logo {
        font-size: clamp(3.1rem, 18vw, 4.6rem);
        line-height: 0.9;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .hero-logo-image {
        width: min(70vw, 360px);
        max-height: 120px;
    }
    .hero-grid {
        gap: 0.85rem;
    }
    .hero-copy {
        max-width: 100%;
    }
    .hero-mini {
        display: inline-block;
        margin-bottom: 0.3rem;
        font-size: 0.78rem;
        letter-spacing: 0.04em;
        line-height: 1.2;
    }
    .hero-copy h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
        line-height: 1.02;
        margin-bottom: 0.45rem;
    }
    .hero-copy p {
        max-width: 100%;
        font-size: 0.92rem;
        line-height: 1.45;
        margin-bottom: 0;
    }
    .hero-actions {
        gap: 0.55rem;
        margin-top: 0.9rem;
    }
    .hero-button {
        flex: 1 1 132px;
        min-height: 44px;
        padding: 0.7rem 0.85rem;
        font-size: 0.82rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: normal;
        line-height: 1.15;
    }
    .hero-sidecard {
        display: none;
    }
    .site-header-start {
        gap: 0.65rem;
    }
    .site-brand-logo {
        height: 42px;
        max-width: 170px;
    }
    .site-icon-link {
        width: 38px;
        height: 38px;
    }
    .site-customer-pill {
        display: none;
    }
    .site-account-trigger::after {
        display: none;
    }
    .footer-brand-block {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-commerce-row {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    .footer-social-link {
        width: 42px;
        height: 42px;
    }
    .footer-social-link img {
        width: 23px;
        height: 23px;
    }
    .footer-payment-list {
        gap: 0.55rem;
    }
    .footer-payment-logo {
        width: 68px;
        min-height: 30px;
    }
    .footer-payment-logo-wide {
        width: 112px;
    }
    .footer-payment-logo img {
        max-width: 68px;
        height: 26px;
    }
    .footer-payment-logo-wide img {
        max-width: 112px;
    }
    .product-media {
        height: 280px;
        flex-basis: 280px;
    }
    .product-body h3 {
        min-height: auto;
    }
    .product-body p {
        min-height: auto;
    }
    .detail-main-image {
        height: 360px;
    }
    .detail-thumb {
        height: 110px;
    }
    .dashboard-hero-metrics {
        grid-template-columns: 1fr;
    }
    .admin-summary-grid,
    .report-print-highlights {
        grid-template-columns: 1fr;
    }
    .admin-filter-grid,
    .admin-filter-grid-compact,
    .admin-filter-grid-wide {
        grid-template-columns: 1fr;
    }
    .admin-filter-actions {
        justify-content: stretch;
    }
    .admin-filter-actions .btn {
        width: 100%;
    }
    .admin-product-row {
        align-items: flex-start;
    }
    .admin-product-row-thumb {
        width: 56px;
        height: 56px;
    }
    .admin-existing-gallery-item {
        grid-template-columns: 1fr;
    }
    .admin-variant-builder-head,
    .admin-variant-row {
        grid-template-columns: 1fr;
    }
    .hero-controls {
        left: 1rem;
        right: 1rem;
        bottom: 0.75rem;
    }
    .hero-nav {
        width: 38px;
        height: 38px;
        font-size: 1.45rem;
    }
    .hero-progress-wrap {
        width: 100%;
    }
}

@media print {
    .report-print-shell {
        max-width: none;
        padding: 0;
    }
}

.admin-compact-list {
    display: grid;
    gap: 0.75rem;
}

.admin-compact-item {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 21, 29, 0.04);
}

.customer-address-grid {
    display: grid;
    gap: 1rem;
}

.customer-address-card {
    padding: 1.15rem 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: #fff;
    box-shadow: 0 14px 28px rgba(16, 21, 29, 0.05);
}

.customer-address-card.is-primary {
    border-color: rgba(132, 161, 42, 0.38);
    box-shadow: 0 18px 36px rgba(132, 161, 42, 0.12);
}

.customer-address-copy {
    color: #10151d;
    line-height: 1.6;
}

.customer-primary-check {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: #faf7f2;
}

.admin-panel-note {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(16, 21, 29, 0.04);
    color: #49515b;
    font-size: 0.92rem;
    line-height: 1.5;
}

.admin-inventory-variant-cell,
.admin-inventory-stock-cell {
    display: grid;
    gap: 0.18rem;
}

.admin-inventory-variant-cell strong,
.admin-inventory-stock-cell strong {
    color: #18202a;
}

.admin-inventory-variant-cell span,
.admin-inventory-stock-cell small {
    color: var(--muted);
    font-size: 0.78rem;
}

.admin-inventory-branch-inline-list {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-inventory-branch-inline-item {
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(255, 255, 255, 0.88);
}

.admin-inventory-branch-inline-item span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-inventory-branch-inline-item strong {
    color: #18202a;
    font-size: 1rem;
}

.admin-inventory-expand-card-wide {
    grid-column: span 2;
}

.admin-inventory-detail-hero {
    background: linear-gradient(180deg, rgba(247, 242, 235, 0.96), rgba(255, 255, 255, 0.98));
}

.admin-inventory-detail-hero-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-inventory-detail-hero-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-inventory-detail-hero-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.admin-inventory-detail-hero-item {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(16, 21, 29, 0.08);
}

.admin-inventory-detail-hero-item span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.admin-inventory-detail-hero-item strong {
    display: block;
    color: #18202a;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.admin-inventory-detail-hero-item small {
    color: var(--muted);
    font-size: 0.76rem;
}

.admin-inventory-branch-panel {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: rgba(247, 248, 250, 0.72);
}

.admin-inventory-branch-panel:last-child {
    margin-bottom: 0;
}

.admin-inventory-branch-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

@media (max-width: 991.98px) {
    .admin-inventory-detail-hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-inventory-expand-card-wide {
        grid-column: span 1;
    }
}

@media (max-width: 767.98px) {
    .admin-inventory-detail-hero-head,
    .admin-inventory-branch-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-inventory-detail-hero-grid {
        grid-template-columns: 1fr;
    }
}

.settings-panel-bimi .settings-status-card,
.settings-panel-bimi .settings-bimi-preview-card,
.settings-panel-bimi .settings-code-card {
    border-radius: 18px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: #fff;
    box-shadow: 0 14px 26px rgba(16, 21, 29, 0.04);
}

.settings-panel-bimi .settings-bimi-preview-card,
.settings-panel-bimi .settings-code-card {
    padding: 1rem 1.1rem;
}

.settings-bimi-preview-asset {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.65rem;
}

.settings-bimi-preview-image {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(16, 21, 29, 0.08);
    background: #f8f5ef;
    padding: 0.55rem;
}

.settings-code-card code {
    display: block;
    margin-top: 0.45rem;
    white-space: normal;
    word-break: break-word;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: #f7f3eb;
    color: #10151d;
}

.settings-checklist {
    display: grid;
    gap: 0.45rem;
    color: #49515b;
}

@media (max-width: 767.98px) {
    .settings-bimi-preview-asset {
        flex-direction: column;
        align-items: flex-start;
    }
}

.promotion-spotlight {
    padding: 0 0 1.5rem;
}

.promotion-spotlight-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, .9fr);
    gap: 1.25rem;
    align-items: center;
    padding: 1.35rem 1.5rem;
    border-radius: 1.4rem;
    background: linear-gradient(135deg, #10151d 0%, #1d2530 48%, #f6d525 180%);
    color: #fffdfa;
    box-shadow: 0 22px 56px rgba(16, 21, 29, 0.18);
}

.promotion-spotlight-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(246, 213, 37, 0.14);
    color: #f6d525;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.promotion-spotlight-copy h2 {
    margin: 0 0 0.55rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.96;
}

.promotion-spotlight-copy p {
    margin: 0;
    max-width: 56ch;
    color: rgba(255, 253, 250, 0.82);
}

.promotion-spotlight-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.promotion-timer {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 253, 250, 0.88);
}

.promotion-countdown {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.95rem;
    background: rgba(16, 21, 29, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 190px;
}

.promotion-countdown-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 253, 250, 0.74);
}

.promotion-countdown-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fffdfa;
    line-height: 1;
}

.promotion-products-section {
    position: relative;
}

.promotion-product-card {
    border: 1px solid rgba(16, 21, 29, 0.06);
    box-shadow: 0 20px 44px rgba(16, 21, 29, 0.08);
}

.promotion-inline-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.promotion-inline-note small {
    color: #5f6470;
}

.promotion-product-picker {
    max-height: 580px;
    overflow: auto;
    display: grid;
    gap: 0.8rem;
    padding-right: 0.2rem;
}

.promotion-product-option {
    display: grid;
    grid-template-columns: auto 72px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(16, 21, 29, 0.08);
    border-radius: 1rem;
    background: #fffdfa;
    cursor: pointer;
}

.promotion-product-option input {
    width: 1rem;
    height: 1rem;
}

.promotion-product-thumb {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 0.95rem;
    overflow: hidden;
    background: #f5f1e8;
}

.promotion-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-product-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.promotion-product-copy strong {
    color: #10151d;
}

.promotion-product-copy small {
    color: #6b7280;
}

.hero-promo-ribbon {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1.15rem;
    background: rgba(12, 18, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 42px rgba(9, 16, 22, 0.2);
    backdrop-filter: blur(12px);
}

.hero-promo-ribbon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(246, 213, 37, 0.14);
    color: #f6d525;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-promo-ribbon-copy {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
    min-width: 0;
}

.hero-promo-ribbon-copy strong {
    color: #fffdfa;
    font-size: 1rem;
    line-height: 1.1;
}

.hero-promo-ribbon-copy span {
    color: rgba(255, 253, 250, 0.78);
    font-size: 0.88rem;
}

.hero-promo-ribbon-countdown {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 140px;
    padding: 0.65rem 0.75rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-promo-ribbon-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 253, 250, 0.68);
}

.hero-promo-ribbon-countdown strong {
    color: #fffdfa;
    font-size: 1rem;
    line-height: 1;
}

.hero-promo-ribbon-button {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .promotion-spotlight-shell {
        grid-template-columns: 1fr;
    }

    .hero-promo-ribbon {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .hero-promo-ribbon-countdown {
        min-width: 0;
        width: 100%;
    }
}
