@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-soft: #eef3ff;
    --text: #1f2a37;
    --muted: #6b7b92;
    --primary: #8b5e3c;
    --primary-2: #6f4529;
    --success: #17b26a;
    --danger: #ff4d6d;
    /* Optimia admin palette */
    --admin-primary: #1E2F42;
    --admin-accent: #0D1B2A;
    --admin-accent-mid: #162234;
    --admin-primary-dark: #152436;
    --admin-soft-tint: #E8EEF5;
    --admin-bg-soft: #F1F4F8;
    --admin-border-soft: #E4E9F0;
    --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-admin: var(--font-body);
    --btn-text: #fff9f2;
    --header-bg: #6f4529;
    --header-menu: #fff2e3;
    --header-menu-hover: #ffffff;
    --footer-bg: #3a2b21;
    --footer-text: #e4d5c4;
    --footer-menu: #f0e2d1;
    --footer-menu-hover: #ffffff;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.65;
    background: linear-gradient(180deg, #f8f9fd 0%, var(--bg) 100%);
    color: var(--text);
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
p, li, a, button, input, select, textarea, label {
    font-family: var(--font-body);
}
.is-admin {
    background: #eef2f7;
    color: #1f2a37;
}

.container { width: min(1120px, 92vw); margin: 0 auto; }
.row { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap { gap: 10px; }
.wrap { flex-wrap: wrap; }
.top-gap { margin-top: 14px; }
.grid { display: grid; gap: 14px; }
.full { grid-column: 1 / -1; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 242, 227, .28);
    background: var(--header-bg);
    backdrop-filter: blur(12px);
}
.topbar .container {
    min-height: 78px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
}

.brand { color: var(--header-menu-hover); text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.brand img {
    vertical-align: middle;
    border: 0;
    box-shadow: none;
}
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.nav a { color: var(--header-menu); text-decoration: none; margin-left: 0; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--header-menu-hover); }
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 10px;
    background: rgba(255,255,255,.12);
    padding: 9px 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background: #fff;
}
.topbar .btn-secondary {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.45);
    color: #fff;
}
.topbar .btn-secondary:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
}

main.container { padding: 22px 0 36px; }
.home-main {
    width: min(1480px, calc(100vw - 56px));
    margin: 0 auto;
    padding: 22px 0 36px;
    position: relative;
}
.shop-main {
    width: min(1420px, calc(100vw - 72px));
    margin: 0 auto;
    padding: 22px 0 36px;
}
.home-main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 260px at 10% -2%, rgba(47,109,251,.08), transparent 70%),
        radial-gradient(980px 220px at 90% 18%, rgba(20,70,190,.06), transparent 72%);
    z-index: 0;
}
.home-main > * {
    position: relative;
    z-index: 1;
}
.admin-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #f7f9fc;
    color: #1f2a37;
    min-height: 100vh;
    font-family: var(--font-admin);
}
.admin-main .admin-content {
    font-size: 15px;
    line-height: 1.58;
    font-weight: 400;
}
.admin-main .admin-content h1,
.admin-main .admin-content h2 {
    letter-spacing: -0.02em;
    font-weight: 700;
}
.admin-main .admin-content h3,
.admin-main .admin-content h4 {
    letter-spacing: -0.01em;
    font-weight: 700;
}
.admin-main .admin-content h1 { font-size: 28px; }
.admin-main .admin-content h2 { font-size: 22px; }
.admin-main .admin-content h3 { font-size: 18px; }
.admin-main .admin-content h4 { font-size: 16px; }
.admin-main .admin-content p,
.admin-main .admin-content span,
.admin-main .admin-content li,
.admin-main .admin-content td,
.admin-main .admin-content th,
.admin-main .admin-content strong,
.admin-main .admin-content a,
.admin-main .admin-content button {
    font-size: 14px;
}
.admin-main .admin-content strong {
    font-weight: 600;
}
.hero { margin-bottom: 20px; }
.hero h1 { margin: 0 0 8px; }
.hero p { margin: 0; color: var(--muted); }
.hero-slider {
    position: relative;
    min-height: 70vh;
    width: 100%;
    margin-left: 0;
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e4ebf5;
    box-shadow: 0 16px 36px rgba(15, 35, 70, .12);
}
.hero-slider h1,
.hero-slider p {
    color: #fff;
}
.hero-slider h1 {
    font-size: clamp(42px, 5.5vw, 76px);
    line-height: 1.03;
    margin: 0 0 14px;
    max-width: 920px;
}
.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 13, 24, .58) 0%, rgba(7, 13, 24, .42) 35%, rgba(7, 13, 24, .58) 100%);
    z-index: 1;
}
.hero-slider-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 40px 20px 72px;
}
.hero-slider-subtitle {
    font-size: clamp(18px, 2.1vw, 26px);
    color: rgba(255,255,255,.94) !important;
    margin: 0;
    max-width: 860px;
}
.hero-slider-content-text {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    max-width: 760px;
}
.hero-slider-actions {
    margin-top: 16px;
}
.hero-slider-actions .btn {
    min-width: 180px;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    letter-spacing: .01em;
}
.hero-slider-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.24);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.hero-slider-arrow-left { left: 18px; }
.hero-slider-arrow-right { right: 18px; }
.hero-slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.hero-slider-dots span {
    display: inline-block;
    width: 28px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
}
.hero-slider-dots .is-active {
    background: #fff;
}
.hero-slider-dots button {
    border: 0;
    cursor: pointer;
    width: 28px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
    padding: 0;
}
.hero-meta {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.contact-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 16px;
}
.contact-side-card p {
    margin: 8px 0;
}
.contact-map-wrap {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #dbe5f3;
}
.section-head {
    margin: 18px 0 10px;
    padding-left: 10px;
    border-left: 3px solid #d9e7fd;
}
.section-head h2 {
    margin: 0 0 4px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #dbe6f5;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
}
.breadcrumb a {
    color: #4a607e;
    text-decoration: none;
    font-weight: 600;
}
.breadcrumb a:hover {
    color: #1f2a37;
}
.breadcrumb .sep {
    color: #9ab;
}
.breadcrumb .is-current {
    color: #1f2a37;
    font-weight: 700;
}
.home-steps {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
}
.process-step-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.process-step-card h3 {
    margin: 0;
}
.process-step-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d9e9ff, #eff6ff);
    border: 1px solid #c4dbfa;
}
.process-step-icon svg {
    width: 20px;
    height: 20px;
    stroke: #315884;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-featured-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 12px;
}
.home-featured-cards.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.products,
.home-steps,
.home-featured-cards,
.product-groups-grid,
.why-us-grid,
.references-grid,
.faq-accordion {
    border-radius: 16px;
    padding: 14px;
    border: 1px solid #dde8f8;
}
.products,
.product-groups-grid,
.references-grid {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.home-steps,
.home-featured-cards,
.why-us-grid,
.faq-accordion {
    background: linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%);
}
.featured-card-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #d8e5f8;
    background: linear-gradient(160deg, #ffffff 0%, #f5f9ff 100%);
    min-height: 178px;
}
.featured-card-item h3 {
    margin: 6px 0 8px;
    font-size: 19px;
    line-height: 1.25;
}
.featured-card-item p {
    margin: 0;
    line-height: 1.6;
}
.featured-card-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.featured-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d8e8ff, #eef5ff);
    border: 1px solid #bfd7fb;
}
.featured-card-icon svg {
    width: 20px;
    height: 20px;
    stroke: #315884;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.featured-card-order {
    font-size: 12px;
    font-weight: 700;
    color: #3e5d86;
    background: #e9f1ff;
    border: 1px solid #ccdef8;
    border-radius: 999px;
    padding: 4px 8px;
}
.seven-plan-shell {
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f6f9ff, #eef4ff);
    background-size: cover;
    background-position: center;
    border: 1px solid #dde7f5;
}
.seven-plan-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
}
.seven-plan-card {
    background: #ffffff;
    border-color: #dce7f5;
}
.seven-plan-card h3 {
    margin: 0 0 6px;
}
.seven-plan-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.seven-plan-card-link:hover {
    transform: translateY(-1px);
}
.seven-plan-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d8e4f5;
    margin-bottom: 8px;
}
.seven-plan-card.is-top {
    grid-column: span 4;
}
.seven-plan-card.is-bottom {
    grid-column: span 3;
}
.product-groups-grid {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
}
.product-group-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-group-image {
    width: 100%;
    height: 138px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d8e4f6;
}
.product-group-card h3 {
    margin: 0 0 8px;
}
.product-group-card .btn {
    margin-top: auto;
}
.why-us-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}
.why-us-card h3 {
    margin: 0 0 8px;
}
.service-regions-shell {
    background: linear-gradient(145deg, rgba(17, 33, 52, .88), rgba(13, 24, 38, .9));
}
.service-regions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.service-region-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(143,176,238,.38);
    background: rgba(143,176,238,.12);
    color: #d8e5ff;
    font-weight: 600;
    font-size: 13px;
}
.references-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}
.reference-card {
    border-left: 3px solid rgba(143,176,238,.55);
}
.reference-quote {
    margin: 0 0 8px;
}
.cta-banner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: linear-gradient(125deg, #f9fbff, #eef4ff);
    border: 1px solid #dce7f6;
}
.cta-banner-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.cta-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eaf1ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.cta-banner h2 {
    margin: 6px 0 6px;
}
.cta-banner-badge {
    margin-bottom: 0;
}
.cta-banner-actions {
    flex-wrap: wrap;
}
.brand-carousel-shell {
    overflow: hidden;
}
.brand-carousel-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: brand-scroll 22s linear infinite;
}
.brand-logo-pill {
    min-width: 160px;
    text-align: center;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d7e4f6;
    background: #f8fbff;
    color: #3c4f69;
    text-decoration: none;
    font-weight: 600;
}
.faq-accordion {
    display: grid;
    gap: 10px;
}
.faq-accordion-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}
.faq-accordion-item summary::-webkit-details-marker {
    display: none;
}
.faq-accordion-item p {
    margin: 10px 0 0;
}
.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr);
    gap: 14px;
    align-items: start;
}
.blog-article {
    padding: 16px;
}
.blog-article-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.blog-article-kicker {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 11px;
    font-weight: 700;
    color: #6d4a2f;
}
.blog-article-head h1 {
    margin: 0;
}
.blog-article-meta {
    margin: 8px 0 0;
}
.blog-article-excerpt {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #decab8;
    background: #f9f3ed;
    border-radius: 10px;
    color: #5d4635;
}
.blog-article-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #d7e4f6;
    margin-bottom: 12px;
}
.blog-article-content {
    color: #223042;
    line-height: 1.7;
}
.blog-detail-sidebar {
    display: grid;
    gap: 10px;
    position: sticky;
    top: 92px;
}
.blog-side-card {
    padding: 14px;
}
.blog-side-card h3 {
    margin: 0 0 8px;
}
.blog-contact-list {
    display: grid;
    gap: 8px;
}
.blog-contact-item {
    display: block;
    text-decoration: none;
    border: 1px solid #dbe6f7;
    border-radius: 10px;
    background: #f8fbff;
    color: #294868;
    font-weight: 600;
    padding: 9px 10px;
}
.blog-contact-item:hover {
    background: #edf4ff;
}
.blog-recent-list {
    display: grid;
    gap: 8px;
}
.blog-recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 1px solid #dbe6f7;
    border-radius: 10px;
    background: #fff;
    color: #24364e;
    padding: 9px 10px;
}
.blog-recent-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dbe6f5;
}
.blog-recent-content {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.blog-recent-content strong {
    line-height: 1.25;
}
.blog-recent-item:hover {
    border-color: #c6d9f3;
    background: #f8fbff;
}
.blog-hero-slider {
    min-height: 48vh;
}
.blog-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.blog-list-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
}
.blog-list-image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dbe6f4;
    margin-bottom: 10px;
}
.blog-list-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.blog-list-excerpt {
    min-height: 44px;
    margin: 0;
}
.category-filter-row {
    flex-wrap: wrap;
    margin-top: 12px;
}
.category-filter-spacer {
    flex: 1 1 auto;
}
.category-filter-see-all {
    margin-left: auto;
}
.category-filter-row .btn.is-active {
    outline: 2px solid rgba(47,109,251,.35);
}
.category-filter-accordion {
    padding: 12px 14px;
    margin-bottom: 14px;
}
.category-filter-accordion details > summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}
.category-filter-accordion details > summary::-webkit-details-marker {
    display: none;
}
.category-filter-btn {
    padding: 8px 12px;
}
.dynamic-section h2 {
    margin-top: 0;
}

.products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.products { margin-top: 6px; gap: 16px; }
.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}
.shop-sidebar {
    position: static;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(180px, .8fr) minmax(320px, 1.8fr);
    gap: 10px;
    align-items: end;
}
.shop-sidebar h3 {
    margin: 0;
    grid-column: 1 / -1;
}
.shop-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.shop-category-btn {
    text-align: center;
}
.shop-category-btn.is-active {
    outline: 2px solid rgba(47,109,251,.35);
}
.shop-results-head {
    padding: 10px 14px;
}
.shop-results .products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
    background: var(--surface);
    border: 1px solid #e0e8f5;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(20, 38, 63, 0.06);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dbe6f4;
    margin-bottom: 10px;
}

.product-image-lg {
    height: 280px;
    margin-bottom: 14px;
}

.badge {
    font-size: 12px;
    display: inline-block;
    background: #e9f1ff;
    color: #315884;
    border: 1px solid #c8daf5;
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 8px;
}

.price { font-size: 20px; font-weight: 700; margin: 10px 0; }
.muted { color: var(--muted); }
.product-card {
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.product-alert {
    margin-top: -2px;
}
.product-description {
    margin: 0;
    min-height: 44px;
}
.product-actions-slot {
    margin-top: auto;
}
.product-actions-form {
    display: grid;
    gap: 10px;
    margin-top: 0;
}
.product-region-wrap {
    display: grid;
    gap: 6px;
}
.product-region-wrap label {
    font-size: 12px;
    font-weight: 600;
}
.product-add-btn {
    width: 100%;
}
.product-detail-shell {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 14px;
    align-items: start;
}
.product-detail-media {
    padding: 10px;
}
.product-detail-media .product-image-lg {
    margin-bottom: 0;
    height: clamp(320px, 50vh, 520px);
}
.product-detail-info {
    display: grid;
    gap: 12px;
}
.product-detail-head h1 {
    margin: 8px 0 8px;
}
.product-detail-head p {
    margin: 0;
}
.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #d8e4f5;
    background: #f8fbff;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 12px;
    color: #3b4e67;
}
.product-detail-purchase {
    border: 1px solid #dce7f6;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 12px;
}
.product-detail-purchase .price {
    margin-top: 0;
}
.product-detail-form {
    display: grid;
    gap: 10px;
}
.product-detail-form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #4c607e;
}
.product-detail-content h3 {
    margin-top: 0;
}
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr .72fr;
    gap: 14px;
    align-items: stretch;
}
.product-showcase-gallery {
    padding: 10px;
}
.product-showcase-main-image {
    width: 100%;
    height: clamp(320px, 50vh, 520px);
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #dbe6f4;
}
.product-showcase-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.product-thumb {
    width: 68px;
    height: 68px;
    border: 1px solid #d6e4f7;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    cursor: pointer;
}
.product-thumb.is-active {
    border-color: #7aa7ea;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.product-showcase-main {
    display: grid;
    gap: 10px;
}
.product-showcase-main h1 {
    margin: 0;
}
.product-showcase-kicker {
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 12px;
}
.product-showcase-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-showcase-buybox {
    border: 1px solid #dce7f6;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 12px;
}
.product-showcase-buybox .price {
    margin-top: 0;
}
.product-showcase-form {
    display: grid;
    gap: 10px;
}
.product-showcase-form label {
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #4c607e;
}
.product-showcase-side {
    display: grid;
    gap: 8px;
    height: 100%;
    grid-template-rows: repeat(4, minmax(0, 1fr));
}
.product-side-card {
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-side-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-side-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    border: 1px solid #d5e2f7;
    font-size: 15px;
}
.product-side-card p {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
}
.btn-sm {
    font-size: 12px;
    padding: 7px 10px;
}

.btn {
    border: 0;
    border-radius: 10px;
    background: var(--header-bg);
    color: #fff;
    text-decoration: none;
    padding: 10px 14px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.005em;
}
.btn:hover {
    background: var(--header-bg);
    filter: brightness(0.95);
}
.btn-secondary {
    background: #f3f7ff;
    border: 1px solid #d2e0f3;
    color: #27384f;
}
.btn-secondary:hover,
.btn-secondary.is-active {
    background: var(--header-bg);
    border-color: var(--header-bg);
    color: #fff;
}

.input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1ddef;
    background: #fff;
    color: #1f2a37;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}
.w-120 { width: 120px; }
.form-grid { grid-template-columns: 1fr 1fr; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-wrap { max-width: 560px; margin: 0 auto; }
.auth-shell {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px;
    align-items: stretch;
}
.auth-panel {
    min-height: 100%;
}
.auth-panel-info {
    background: linear-gradient(155deg, #f5f9ff 0%, #ebf2ff 100%);
    border: 1px solid #d7e4f8;
}
.auth-panel-info h1 {
    margin: 10px 0 8px;
    font-size: clamp(24px, 3.2vw, 38px);
    line-height: 1.15;
}
.auth-features {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}
.auth-feature-item {
    display: grid;
    gap: 4px;
    background: #fff;
    border: 1px solid #d9e5f8;
    border-radius: 10px;
    padding: 10px 12px;
}
.auth-feature-item strong {
    font-size: 14px;
    color: #1e2d42;
}
.auth-panel-form h2 {
    margin: 4px 0;
}
.auth-form {
    gap: 10px;
}
.auth-form label {
    display: grid;
    gap: 6px;
}
.auth-divider {
    position: relative;
    text-align: center;
    margin: 10px 0 6px;
}
.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #d6e3f6;
}
.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 10px;
    color: #6d7f9b;
    font-size: 12px;
    font-weight: 600;
}
.auth-social-grid {
    display: grid;
    gap: 8px;
}
.auth-social-btn {
    text-align: center;
    font-weight: 700;
}
.auth-social-google {
    border-color: #d9e2f1;
}
.auth-social-facebook {
    border-color: #cddcf8;
    color: #214a9b;
}

.section-line { padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.15); }
.section-line:last-child { border-bottom: 0; }

.admin-stats { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
}
.admin-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    border-radius: 0;
    padding: 0;
}
.admin-nav {
    display: grid;
    gap: 4px;
    padding: 10px;
}
.admin-menu-title {
    color: #8fa4d3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 12px 14px 2px;
}
.admin-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border-radius: 10px;
    color: #b8c8ef;
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    position: relative;
}
.admin-link::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: transparent;
}
.admin-link:hover {
    color: #fff;
    border-color: rgba(138,168,229,.25);
    background: rgba(138,168,229,.1);
}
.admin-link.active {
    color: #fff;
    border-color: rgba(138, 168, 229, 0.65);
    background: linear-gradient(145deg, rgba(30,47,66,.95), rgba(22,34,52,.85));
    box-shadow: inset 0 0 0 1px rgba(170, 191, 235, 0.08);
}
.admin-link.active::before {
    background: #8fb0ee;
}
.admin-link-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.admin-link-icon svg {
    width: 16px;
    height: 16px;
    stroke: #96acd9;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
.admin-link.active .admin-link-icon,
.admin-link:hover .admin-link-icon {
    background: transparent;
}
.admin-link.active .admin-link-icon svg,
.admin-link:hover .admin-link-icon svg {
    stroke: #d9e6ff;
}
.admin-subnav {
    display: grid;
    gap: 4px;
    margin: -2px 0 4px;
    padding: 0 8px 0 38px;
}
.admin-sublink {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #9eb3df;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
}
.admin-sublink:hover {
    color: #eef4ff;
    border-color: rgba(138, 168, 229, 0.28);
    background: rgba(138, 168, 229, 0.09);
}
.admin-sublink.active {
    color: #fff;
    border-color: rgba(138, 168, 229, 0.55);
    background: rgba(40, 58, 86, 0.85);
}
.admin-content {
    min-width: 0;
    padding: 22px 22px 30px;
    background: #f7f9fc;
}

.admin-main .admin-content h1,
.admin-main .admin-content h2,
.admin-main .admin-content h3,
.admin-main .admin-content h4 {
    color: #1f2a37;
}

.admin-main .muted {
    color: #5f6f87;
    font-weight: 500;
}

.admin-main .card:not(.admin-sidebar):not(.admin-card) {
    background: #ffffff;
    border-color: var(--admin-border-soft);
    color: #1f2a37;
    box-shadow: 0 10px 30px rgba(14, 29, 46, 0.06);
    border-radius: 14px;
}

.admin-main .admin-sidebar {
    background: linear-gradient(180deg, var(--admin-accent) 0%, var(--admin-accent-mid) 100%);
    border-color: rgba(138, 168, 229, 0.16);
    border-right: 1px solid rgba(138, 168, 229, 0.18);
    color: #dce5ff;
    box-shadow: none;
}

.admin-main .admin-sidebar .admin-sidebar-brand {
    padding: 16px 14px 14px;
    border-bottom: 1px solid rgba(138,168,229,.16);
}

.admin-main .admin-sidebar .admin-sidebar-brand strong {
    display: block;
    color: #fff;
    font-size: 16px;
}

.admin-main .admin-sidebar .admin-sidebar-brand span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #9fb2de;
}

.admin-main .admin-link {
    color: #b8c8ef;
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.02);
}

.admin-main .admin-link:hover {
    color: #fff;
    border-color: rgba(255,255,255,.25);
}

.admin-main .admin-content .input {
    background: #ffffff;
    color: #1f2a37;
    border-color: #c9d5e7;
    border-width: 1.5px;
    border-radius: 12px;
    padding: 11px 12px;
    min-height: 46px;
    font-size: 14px;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.admin-main .admin-content .input::placeholder {
    color: #8a99b1;
}

.admin-main .admin-content .input:focus {
    outline: none;
    border-color: #9db5dd;
    box-shadow: 0 0 0 4px rgba(157, 181, 221, .22);
    background: #fff;
}

.admin-main .admin-content textarea.input {
    min-height: 110px;
    resize: vertical;
}

.admin-main .admin-content label {
    display: grid;
    gap: 7px;
    color: #233044;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}
.admin-table-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(220px, 1fr));
    gap: 10px;
    align-items: center;
}
.admin-table-toolbar .w-120 {
    width: 100%;
    min-width: 220px;
}
.admin-orders-filter-form {
    align-items: stretch;
    gap: 10px;
}
.admin-orders-filter-form .admin-orders-filter-select {
    min-width: 240px;
    width: 240px;
}
.admin-orders-filter-form .admin-orders-filter-search {
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 420px;
}
.admin-orders-filter-form .btn {
    white-space: nowrap;
}
.admin-data-row[hidden] {
    display: none !important;
}

.section-builder {
    display: grid;
    gap: 16px;
}
.section-editor-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%) !important;
}
.section-builder-toolbar {
    align-items: flex-start;
}
.section-toolbar-stats {
    margin-top: 8px;
}
.section-toolbar-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d9e4f3;
    background: #f4f8ff;
    color: #41597a;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
}
.section-item {
    border: 1px solid #dbe6f4;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(22, 43, 69, 0.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section-item:hover {
    border-color: #c8d9f0;
    box-shadow: 0 14px 28px rgba(22, 43, 69, 0.09);
    transform: translateY(-1px);
}
.section-item h3 {
    margin: 0;
}
.section-header-row {
    border-bottom: 1px solid #e8eef6;
    padding-bottom: 14px;
    margin-bottom: 12px;
}
.section-row-main {
    gap: 10px;
    padding: 10px 2px;
}
.section-row-left {
    min-width: 0;
}
.section-order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, #f1f6ff, #e7eefb);
    border: 1px solid #d2deef;
    color: #345079;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.section-row-text {
    min-width: 0;
}
.section-row-text .section-live-title {
    font-size: 15px;
    color: #1d2c40;
}
.section-row-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}
.section-inline-toggle {
    margin-right: 6px;
    font-weight: 600 !important;
    font-size: 12px !important;
    background: #f2f6fd;
    border: 1px solid #d5e0ef;
    border-radius: 999px;
    padding: 7px 11px;
}
.section-live-slug {
    display: inline-block;
    margin-top: 4px;
    background: #eef3fa;
    border: 1px solid #d6e0ef;
    color: #4a5d7a;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
}
.section-settings {
    display: none;
    margin-top: 12px;
    border-top: 1px dashed #dbe5f3;
    padding-top: 12px;
    background: #f7faff;
    border-radius: 12px;
    padding: 12px;
}
.section-settings > label {
    background: #fff;
    border: 1px solid #dde7f4;
    border-radius: 10px;
    padding: 10px;
}
.section-card-images-wrap {
    background: #fff;
    border: 1px solid #dde7f4;
    border-radius: 10px;
    padding: 10px;
}
.section-card-images-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.section-card-images-grid > label {
    background: #f8fbff;
    border: 1px solid #dde7f4;
    border-radius: 10px;
    padding: 10px;
}
.section-category-select {
    min-height: 122px;
}
.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.section-auto-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 82px;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    border: 1px solid #d0def0;
    background: #edf4ff;
    color: #1f4976;
}
.section-auto-indicator .indicator-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="10" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="10" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0"/></svg>');
}
.section-auto-indicator .indicator-label {
    line-height: 1;
}
.section-auto-indicator.is-manual {
    border-color: #e5c8c8;
    background: #fff1f1;
    color: #8c2f2f;
}
.section-auto-indicator.is-manual .indicator-icon {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/></svg>');
}
.section-settings.is-open {
    display: grid;
}
.drag-handle {
    cursor: grab;
    user-select: none;
    min-width: 34px;
    padding: 7px 10px;
}
.section-item.dragging {
    opacity: .65;
    border-color: #9bb5de;
    box-shadow: 0 8px 18px rgba(22, 43, 69, 0.1);
}
.section-move-up,
.section-move-down {
    min-width: 34px;
    padding: 7px 10px;
}
.section-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}
.section-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 32, 0.55);
    backdrop-filter: blur(2px);
}
.section-preview-dialog {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    margin: 24px auto;
    border-radius: 16px !important;
    border: 1px solid #d6e3f5 !important;
    box-shadow: 0 20px 45px rgba(12, 28, 48, 0.25) !important;
}
.section-preview-head {
    border-bottom: 1px solid #e3ebf7;
    padding-bottom: 12px;
    margin-bottom: 14px;
}
.section-preview-body {
    display: grid;
    gap: 12px;
}
.section-preview-type {
    display: inline-flex;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #cfdff6;
    background: #edf5ff;
    color: #29466f;
    font-size: 11px;
    font-weight: 700;
}
.section-preview-image-wrap {
    border: 1px solid #dbe7f7;
    border-radius: 12px;
    overflow: hidden;
    background: #f7fbff;
}
.section-preview-image-wrap img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}
.section-preview-meta {
    display: grid;
    gap: 4px;
    font-size: 12px;
    color: #5a6f8d;
}
.section-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 1210;
}
.section-settings-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 32, 0.55);
    backdrop-filter: blur(2px);
}
.section-settings-dialog {
    position: relative;
    width: min(980px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    margin: 24px auto;
    border-radius: 16px !important;
    border: 1px solid #d6e3f5 !important;
    box-shadow: 0 20px 45px rgba(12, 28, 48, 0.25) !important;
}
.section-settings-dialog #section-settings-modal-body {
    display: grid;
}
.section-settings-modal-actions {
    border-top: 1px solid #e3ebf7;
    padding-top: 12px;
}
.section-settings.in-modal {
    display: grid;
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.region-chip {
    display: inline-flex !important;
    align-items: center;
    gap: 8px !important;
    background: #f5f8fd;
    border: 1px solid #dbe5f2;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px !important;
}
.region-chip input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.admin-main .admin-content .btn-secondary {
    background: #fff;
    color: #1f2a37;
    border-color: #d5dfec;
    border-width: 1.5px;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 13px;
}

.admin-main .admin-content .btn-secondary:hover {
    background: #f2f6fb;
}

.admin-main .admin-content .btn:not(.btn-secondary) {
    background: linear-gradient(90deg, var(--admin-primary), var(--admin-accent));
    box-shadow: 0 10px 24px rgba(13,27,42,.28);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 14px;
}

.admin-main .admin-content .btn:not(.btn-secondary):hover {
    background: linear-gradient(90deg, var(--admin-primary-dark), var(--admin-accent));
    color: #fff;
}
.admin-card {
    border-color: #c8d8eb;
    color: #fff !important;
    background: linear-gradient(145deg, rgba(20,35,56,1), rgba(14,28,45,1));
}
.admin-card span,
.admin-card h2 {
    color: #fff;
}
.admin-card h2 { margin: 8px 0 0; }
.admin-card.stat-green {
    background: linear-gradient(145deg, #0f7e55, #0b6a47);
    border-color: #0b6a47;
}
.admin-card.stat-cyan {
    background: linear-gradient(145deg, #0ba5cf, #0891b2);
    border-color: #0891b2;
}

.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e0e8f2;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 8px 24px rgba(15, 34, 58, 0.05);
}
.admin-page-head h1 {
    margin: 0;
    font-size: 27px;
    font-weight: 700;
}
.admin-page-head p {
    margin: 4px 0 0;
    font-size: 14px;
}

.admin-ghost-btn {
    background: #fff !important;
    border: 1px solid #d5dfec;
    color: #1f2a37 !important;
    box-shadow: none !important;
}
.admin-ghost-btn:hover {
    background: #f2f6fb !important;
}
.admin-user-pill {
    border: 1px solid #d5dfec;
    background: #fff;
    color: #1f2a37;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
}

.admin-logout-wrap {
    margin-top: auto;
    padding: 10px;
    border-top: 1px solid rgba(138,168,229,.16);
}
.admin-link-logout {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.admin-main .admin-sidebar {
    display: flex;
    flex-direction: column;
}

.admin-panels {
    grid-template-columns: 1fr 1fr;
}

.footer {
    border-top: 1px solid #e4ebf5;
    color: var(--footer-text);
    padding: 28px 0 30px;
    background: var(--footer-bg);
}
.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.footer-inner p {
    margin: 8px 0 10px;
}
.footer-brand-col {
    display: grid;
    gap: 8px;
}
.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.footer-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
}
.footer .muted {
    color: var(--footer-text);
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
}
.footer-nav a {
    color: var(--footer-menu);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.footer-nav a:hover {
    color: var(--footer-menu-hover);
}
.footer-credit {
    margin-top: 14px;
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 13px;
}
.footer-credit a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}
.footer-credit a:visited,
.footer-credit a:hover,
.footer-credit a:active {
    color: #fff;
}
.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 80;
}
.cookie-banner-inner {
    margin: 0 auto;
    width: min(1120px, 100%);
    border: 1px solid #d7e3f5;
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 34px rgba(15, 33, 58, .18);
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.cookie-banner-content strong {
    color: #1f2a37;
    display: block;
    margin-bottom: 4px;
}
.cookie-banner-content p {
    margin: 0;
    color: #4f6078;
}
.cookie-banner-content a {
    display: inline-block;
    margin-top: 6px;
    color: #285fb8;
    font-weight: 600;
    text-decoration: none;
}
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
}
.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 16, 28, .45);
}
.cookie-modal-dialog {
    position: relative;
    width: min(560px, calc(100vw - 24px));
    margin: 9vh auto 0;
    z-index: 1;
}
.cookie-modal-dialog h3 {
    margin-top: 0;
}
.cookie-modal-dialog label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.menu-row {
    align-items: center;
}
.menu-row .input {
    flex: 1;
}
.menu-drag-handle {
    cursor: grab;
    min-width: 44px;
    padding: 8px 10px;
}
.menu-row.is-dragging {
    opacity: .55;
    transform: scale(.995);
}

.error {
    background: rgba(255,77,109,.18);
    border: 1px solid rgba(255,77,109,.5);
    border-radius: 8px;
    padding: 8px 10px;
}

.success {
    background: rgba(23,178,106,.18);
    border: 1px solid rgba(23,178,106,.5);
    border-radius: 8px;
    padding: 8px 10px;
}

.account-tabs .btn.is-active {
    outline: 2px solid rgba(255,255,255,.3);
}
.account-hero {
    padding: 18px;
    background: linear-gradient(155deg, #f5f9ff 0%, #ebf2ff 100%);
    border: 1px solid #d8e4f8;
}
.account-hero h1 {
    margin: 0 0 4px;
}
.account-hero-stats {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.account-stat {
    padding: 12px;
    background: #fff;
    border: 1px solid #dbe6f7;
    border-radius: 12px;
}
.account-stat strong {
    font-size: 20px;
    color: #1f2a37;
}
.account-list-card {
    padding-top: 8px;
}
.account-order-row {
    display: grid;
    gap: 4px;
}
.account-profile-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 12px;
    align-items: start;
}

.thumb {
    width: 88px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
}
.thumb-lg {
    width: 120px;
    height: 76px;
}
.thumb-xl {
    width: 240px;
    height: 150px;
}
.thumb-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: rgba(255,255,255,.03);
    font-size: 12px;
}

.product-list-head {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 15px;
}
.product-row {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.product-list .section-line {
    border-bottom: 1px solid #e8eef6;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1.4fr .75fr;
    gap: 14px;
    align-items: start;
}
.cart-items-card {
    padding: 10px 14px;
}
.cart-item-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.cart-item-main {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.cart-item-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #dbe6f5;
    background: #f2f7ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cart-item-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
}
.cart-item-line-total {
    font-size: 16px;
    font-weight: 700;
    color: #1f2a37;
}
.cart-qty-form {
    display: flex;
    gap: 8px;
    align-items: center;
}
.cart-summary-card {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 10px;
}
.cart-summary-card h3 {
    margin: 0 0 2px;
}
.cart-total-row {
    border-top: 1px solid #e6edf8;
    padding-top: 10px;
    margin-top: 2px;
}
.cart-checkout-btn {
    width: 100%;
    text-align: center;
}

.admin-main .section-line {
    border-bottom: 1px solid #e8eef6;
}

.admin-main table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e3ebf5;
    border-radius: 12px;
    overflow: hidden;
}
.admin-main table th,
.admin-main table td {
    padding: 12px;
    border-bottom: 1px solid #edf2f8;
    text-align: left;
    font-size: 13px;
}
.admin-main table th {
    background: #f8fbff;
    color: #3b4a63;
    font-weight: 700;
}
.admin-main table tr:last-child td {
    border-bottom: none;
}
.admin-blog-table-wrap {
    overflow-x: auto;
}
.admin-blog-table {
    min-width: 980px;
}
.admin-mini-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4dfef;
    background: #f4f8ff;
    color: #2f4768;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}
.admin-mini-pill.is-success {
    background: #eafbf2;
    border-color: #b9eccf;
    color: #147d4f;
}
.admin-mini-pill.is-warning {
    background: #fff7e7;
    border-color: #f3d8a4;
    color: #9a6c10;
}
.admin-mini-pill.is-muted {
    background: #f3f5f9;
    border-color: #dde3ed;
    color: #556379;
}

.admin-content h2 {
    margin: 0;
    color: #1a2333;
}

.admin-main .card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.admin-stats .admin-card {
    transition: transform .2s ease, box-shadow .2s ease;
}
.admin-stats .admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(11, 24, 40, 0.18);
}

.file-input {
    padding: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
}
.file-input::file-selector-button {
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--admin-primary), var(--admin-accent));
    color: #fff;
    padding: 8px 12px;
    margin-right: 10px;
    cursor: pointer;
}

.json-area {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.faq-items {
    display: grid;
    gap: 10px;
}
.faq-row {
    border-radius: 10px;
}

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

@media (max-width: 768px) {
    .form-grid, .form-grid-3, .form-grid-4, .admin-stats { grid-template-columns: 1fr; }
    .auth-shell {
        grid-template-columns: 1fr;
    }
    .account-hero-stats {
        grid-template-columns: 1fr;
    }
    .account-profile-grid {
        grid-template-columns: 1fr;
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        position: static;
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .admin-table-toolbar {
        grid-template-columns: 1fr;
    }
    .admin-orders-filter-form .admin-orders-filter-select,
    .admin-orders-filter-form .admin-orders-filter-search,
    .admin-orders-filter-form .btn {
        width: 100%;
        min-width: 0;
        max-width: none;
        flex: 1 1 100%;
    }
    .home-main {
        width: min(100vw - 24px, 100%);
        padding: 14px 0;
    }
    .shop-main {
        width: min(100vw - 24px, 100%);
        padding: 14px 0;
    }
    .product-detail-shell {
        grid-template-columns: 1fr;
    }
    .product-detail-media .product-image-lg {
        height: 300px;
    }
    .product-showcase {
        grid-template-columns: 1fr;
    }
    .product-showcase-main-image {
        height: 300px;
    }
    .admin-layout { grid-template-columns: 1fr; background: transparent; }
    .admin-sidebar {
        position: static;
        min-height: auto;
        border-radius: 0;
    }
    .admin-content {
        padding: 14px;
    }
    .admin-page-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-panels {
        grid-template-columns: 1fr;
    }
    .hero-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .home-steps,
    .home-featured-cards {
        grid-template-columns: 1fr;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary-card {
        position: static;
    }
    .cart-item-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cart-item-actions {
        justify-items: stretch;
    }
    .cart-qty-form {
        flex-wrap: wrap;
    }
    .hero-slider {
        min-height: 56vh;
    }
    .hero-slider h1 {
        font-size: clamp(30px, 8vw, 42px);
    }
    .hero-slider-subtitle {
        font-size: 16px;
    }
    .hero-slider-content-text {
        font-size: 14px;
    }
    .hero-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 21px;
    }
    .seven-plan-grid {
        grid-template-columns: 1fr;
    }
    .seven-plan-card.is-top,
    .seven-plan-card.is-bottom {
        grid-column: auto;
    }
    .product-groups-grid {
        grid-template-columns: 1fr;
    }
    .why-us-grid,
    .references-grid {
        grid-template-columns: 1fr;
    }
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .topbar .container {
        min-height: 70px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .nav-toggle { display: flex; }
    .nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 10px;
        left: 10px;
        z-index: 30;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,.28);
        background: rgba(41, 25, 14, .97);
        box-shadow: 0 14px 30px rgba(0,0,0,.24);
    }
    .nav.is-open {
        display: flex;
    }
    .nav a,
    .nav form {
        margin: 0;
    }
    .nav a,
    .nav .btn-secondary {
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 10px 12px;
        border-radius: 10px;
    }
    .footer-inner {
        flex-direction: column;
    }
    .footer-nav {
        justify-content: flex-start;
    }
    .menu-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-banner-actions {
        justify-content: stretch;
    }
    .cookie-banner-actions .btn {
        width: 100%;
        text-align: center;
    }
    .menu-drag-handle {
        width: 100%;
    }
    .blog-grid-4 {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .blog-hero-slider {
        min-height: 38vh;
    }
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
    .blog-detail-sidebar {
        position: static;
    }
}

@media (max-width: 1280px) {
    .shop-results .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .shop-results .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .blog-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
