:root {
    --ink: #2c3e50;
    --muted: #6c757d;
    --line: #e2e7ed;
    --paper: #f5f7fa;
    --white: #fff;
    --green: #0d6efd;
    --green-deep: #0b5ed7;
    --lime: #ffc107;
    --orange: #b85a18;
    --shadow: 0 8px 24px rgba(44, 62, 80, .08);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Trebuchet MS", "Segoe UI", sans-serif; }
a { color: inherit; }
.store-header { position: sticky; top: 0; z-index: 1000; background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%); box-shadow: 0 4px 20px rgba(13, 110, 253, .15); }
.store-topline { min-height: 68px; max-width: none; margin: auto; padding: 10px 24px; display: flex; gap: 28px; align-items: center; }
.store-brand { display: flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; font-size: 14px; line-height: 1.05; font-weight: 800; white-space: nowrap; }
.store-brand small { display: block; margin-top: 4px; color: #e7efff; font-size: 9px; font-weight: 600; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; background: var(--lime); color: var(--green-deep); font: 900 22px Georgia, serif; }
.catalog-filters input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; padding: 0 14px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 19px; color: white; font-size: 13px; font-weight: 600; white-space: nowrap; }
.header-actions a { text-decoration: none; }
.header-actions a { color: white; }
.cart-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; margin-left: 3px; background: var(--lime); color: var(--green-deep); font-size: 11px; border-radius: 50%; }
.store-subnav { display: none; }
.public-layout { width: 100%; margin: 0; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; align-items: stretch; }
.public-sidebar { position: sticky; top: 68px; height: calc(100vh - 68px); max-height: none; overflow-y: auto; margin: 0; padding: 28px 15px; background: var(--white); border: 0; border-right: 1px solid var(--line); }
.public-sidebar > summary { display: none; }
.public-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.public-sidebar h2 { margin: 22px 0 7px; padding: 0 13px; color: #8993a0; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.sidebar-link { display: block; padding: 12px 14px; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none; }
.sidebar-link:hover, .sidebar-link.active { border-left-color: var(--green); background: #eef5ff; color: var(--green-deep); }
.sidebar-staff { margin-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.store-main { width: 100%; min-width: 0; margin: 0; padding: 30px 40px 60px; min-height: calc(100vh - 68px); background: var(--paper); }
.store-hero { position: relative; min-height: 0; padding: 24px 28px; display: block; overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 8px; }
.store-hero:after { display: none; }
.store-hero > div:first-child { max-width: 760px; }
.eyebrow { margin: 0 0 9px; color: var(--orange); font-size: 11px; font-weight: 700; }
.store-hero .eyebrow { color: var(--green-deep); }
.store-hero h1 { max-width: 740px; margin: 0 0 8px; color: var(--ink); font-size: 30px; line-height: 1.2; font-weight: 700; }
.store-hero p:not(.eyebrow) { max-width: 600px; margin-bottom: 15px; color: var(--muted); font-size: 14px; }
.store-hero .btn { border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.hero-stamp { position: absolute; z-index: 1; right: 16%; top: 107px; width: 148px; height: 148px; padding: 21px; display: flex; flex-direction: column; justify-content: space-between; color: var(--green-deep); background: var(--lime); transform: rotate(7deg); font: 700 16px/1.1 Georgia, serif; }
.hero-stamp b { align-self: flex-end; font: 900 23px "Trebuchet MS", sans-serif; }
.catalog { padding: 52px 0 0; }
.catalog-heading, .page-heading, .account-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.catalog-heading { margin-bottom: 21px; }
.catalog-heading h2, .page-heading h1 { margin: 0; font: 700 34px/1.05 Georgia, serif; }
.catalog-heading > span { color: var(--muted); font-size: 13px; }
.catalog-filters { display: flex; gap: 9px; margin-bottom: 23px; padding: 9px; background: #edf1f6; }
.catalog-filters input, .catalog-filters select { height: 42px; border: 1px solid #d6ded5; background: var(--white); }
.catalog-filters select { padding: 0 30px 0 12px; color: var(--ink); }
.btn { border-radius: 2px; font-weight: 700; }
.btn-dark { background: var(--green-deep); border-color: var(--green-deep); }
.btn-dark:hover { background: #225e45; border-color: #225e45; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.product-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 8px; transition: box-shadow .18s ease, transform .18s ease; animation: enter .35s ease both; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-image { position: relative; height: 206px; display: grid; place-items: center; overflow: hidden; background: #f0f3f7; text-decoration: none; }
.product-image img, .detail-image img, .cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.image-fallback { width: 95px; height: 95px; display: grid; place-items: center; background: #e4edfc; color: var(--green); font: 700 46px Georgia, serif; }
.stock-tag { position: absolute; left: 10px; top: 10px; padding: 5px 8px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 800; }
.product-info { padding: 14px; }
.product-meta { min-height: 16px; color: var(--orange); text-transform: uppercase; font-size: 10px; font-weight: 900; }
.product-info h3 { min-height: 42px; margin: 5px 0 2px; font-size: 15px; line-height: 1.3; font-weight: 800; }
.product-info h3 a { text-decoration: none; }
.product-model { height: 18px; margin: 0; overflow: hidden; color: var(--muted); font-size: 11px; }
.product-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 5px; margin: 12px 0; }
.product-card-bottom strong { font-size: 16px; }
.stock-label { color: var(--green); font-size: 10px; }
.card-add-form { margin-top: 10px; }
.card-add-form .btn { padding: 9px; font-size: 12px; }
.page-heading { margin: 45px 0 26px; }
.page-heading p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 55px; padding: 26px 0 45px; }
.detail-gallery { min-width: 0; }
.detail-image { height: min(520px, 55vw); min-height: 340px; display: grid; place-items: center; background: #e9eee7; }
.detail-thumbnails { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
.detail-gallery-thumb { width: 72px; height: 66px; padding: 4px; overflow: hidden; background: var(--white); border: 1px solid var(--line); cursor: pointer; }
.detail-gallery-thumb.active, .detail-gallery-thumb:focus-visible { border-color: var(--green-deep); outline: 2px solid var(--green-deep); outline-offset: 1px; }
.detail-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-image .large { width: 150px; height: 150px; font-size: 75px; }
.detail-copy { align-self: center; }
.back-link { display: inline-block; margin-bottom: 32px; color: var(--muted); font-size: 12px; text-decoration: none; }
.detail-copy h1 { margin: 0 0 8px; font: 700 40px/1.05 Georgia, serif; }
.detail-brand { color: var(--muted); }
.detail-price { margin-top: 22px; font-size: 27px; font-weight: 900; }
.availability { margin: 7px 0 22px; font-size: 13px; font-weight: 700; }
.available { color: var(--green); }.unavailable-text { color: var(--orange); }
.spec-list { border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 145px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-list span { color: var(--muted); }.spec-list strong { overflow-wrap: anywhere; }
.detail-description { margin: 20px 0; line-height: 1.55; }
.detail-add { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.detail-add label { font-size: 12px; }.detail-add input { width: 76px; }.detail-add .btn { min-height: 42px; padding: 0 22px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 335px; gap: 24px; align-items: start; }
.cart-lines, .summary-panel, .checkout-form, .order-detail-panel, .account-details { padding: 20px; background: var(--white); border: 1px solid var(--line); }
.cart-auto-save-note { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.cart-line { display: grid; grid-template-columns: 75px minmax(130px, 1fr) 82px 110px 65px; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 75px; height: 70px; display: grid; place-items: center; overflow: hidden; background: #edf1e9; text-decoration: none; }.cart-thumb span { font: 30px Georgia, serif; color: var(--green); }
.cart-line-name a { font-size: 13px; font-weight: 800; text-decoration: none; }.cart-line-name small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.quantity-input { max-width: 82px; }.remove-button { padding: 0; border: 0; background: none; color: #a33d2a; font-size: 11px; }
.summary-panel { position: sticky; top: 18px; }.summary-panel h2, .form-section h2, .account-details h2 { margin: 0 0 17px; font-size: 17px; font-weight: 800; }
.summary-panel > div:not(.checkout-item) { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0; font-size: 13px; }.summary-total { font-size: 16px !important; }
.summary-panel > p { margin: 15px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.checkout-item { display: flex; justify-content: space-between; gap: 13px; padding: 10px 0; font-size: 12px; }
.checkout-item strong { white-space: nowrap; }
.checkout-form .form-control { border-radius: 2px; padding: 10px 12px; }
.form-section { margin-bottom: 25px; }.form-section .form-label { font-size: 12px; font-weight: 700; }
.payment-note { padding: 15px; background: #f0f5e9; border-left: 3px solid var(--lime); }.payment-note p { margin: 0; font-size: 13px; }
.auth-layout { min-height: 500px; display: grid; grid-template-columns: 1fr minmax(350px, .8fr); background: var(--white); border: 1px solid var(--line); }
.auth-aside { padding: 70px 9%; display: flex; flex-direction: column; justify-content: center; background: var(--green); color: white; }
.auth-aside .eyebrow { color: var(--lime); }.auth-aside h1 { max-width: 420px; font: 700 43px/1.04 Georgia, serif; }.auth-aside p:not(.eyebrow) { max-width: 340px; color: #dae4dc; }
.auth-form { align-self: center; width: min(390px, calc(100% - 48px)); margin: 40px auto; }.auth-form h2 { margin-bottom: 24px; font: 700 27px Georgia, serif; }.auth-form .form-control { border-radius: 2px; padding: 11px; }.auth-switch { margin: 20px 0 8px; color: var(--muted); font-size: 13px; }.auth-switch a, .staff-login-inline { color: var(--green); font-weight: 700; }.staff-login-inline { font-size: 12px; }
.orders-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); }.orders-table-wrap table { min-width: 680px; margin: 0; }.orders-table-wrap th { color: var(--muted); font-size: 11px; text-transform: uppercase; }.orders-table-wrap td { font-size: 13px; }.status-pill { display: inline-block; padding: 5px 8px; background: #edf3e7; color: var(--green); font-size: 11px; font-weight: 800; }
.account-details { margin-bottom: 20px; }.account-details p { color: var(--muted); }
.order-status-line { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }.order-status-line > span:last-child { margin-left: auto; color: var(--muted); }.delivery-address { margin: 18px 0; white-space: normal; font-size: 13px; }
.order-tracker { margin-bottom: 20px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.order-tracker-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.order-tracker-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.order-tracker-heading .eyebrow { margin: 0 0 5px; }.order-tracker-heading h2 { margin: 0; font-size: 20px; font-weight: 800; }
.order-tracker-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 25px 0 12px; padding: 0; list-style: none; }
.order-tracker-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; color: var(--muted); text-align: center; font-size: 11px; }
.order-tracker-steps li:not(:last-child):before { position: absolute; top: 15px; left: calc(50% + 16px); width: calc(100% - 32px); height: 2px; background: var(--line); content: ""; }
.order-tracker-steps li.complete:not(:last-child):before { background: var(--green); }
.tracker-marker { z-index: 1; display: grid; width: 32px; height: 32px; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--white); font-weight: 800; }
.order-tracker-steps li.complete { color: var(--green); }.order-tracker-steps li.complete .tracker-marker { border-color: var(--green); background: var(--green); color: var(--white); }
.order-tracker-steps li.current .tracker-marker { outline: 3px solid rgba(13, 110, 253, .16); }
.order-tracker-message { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.order-items-heading { margin: 4px 0 12px; font-size: 17px; font-weight: 800; }
.order-product { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.order-product-info { display: grid; gap: 5px; }.order-product-info h3 { margin: 0; font-size: 14px; font-weight: 700; }.order-product-info span { color: var(--muted); font-size: 12px; }
.order-product > strong { white-space: nowrap; font-size: 13px; }
.receipt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.order-receipt { max-width: 900px; margin: 20px auto; padding: 38px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(18, 42, 76, .08); color: var(--ink); }
.receipt-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 22px; border-bottom: 2px solid var(--green-deep); }
.receipt-header .eyebrow { margin: 0 0 7px; color: var(--green); font-weight: 800; letter-spacing: .12em; }
.receipt-header h2 { margin: 0; font-size: 28px; font-weight: 800; }
.receipt-reference { display: grid; gap: 4px; text-align: right; }.receipt-reference span, .receipt-meta span, .receipt-customer span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.receipt-reference strong { color: var(--green-deep); font-size: 19px; }
.receipt-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.receipt-meta > div, .receipt-customer > div { display: grid; align-content: start; gap: 6px; }
.receipt-meta strong, .receipt-customer strong { font-size: 13px; }
.receipt-customer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 0; }
.receipt-customer small { color: var(--muted); font-size: 12px; }
.receipt-table-wrap { overflow-x: auto; }.receipt-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.receipt-table th { padding: 11px 8px; background: #f1f5fa; color: #4d5b6d; font-size: 10px; text-align: left; text-transform: uppercase; letter-spacing: .05em; }
.receipt-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }.receipt-table th:nth-child(n+2), .receipt-table td:nth-child(n+2) { white-space: nowrap; }
.receipt-table .receipt-amount { text-align: right; }
.receipt-product-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; white-space: normal; }
.receipt-product-detail b { color: var(--ink); font-weight: 700; }
.receipt-total { display: flex; justify-content: space-between; max-width: 300px; margin: 18px 0 0 auto; padding: 14px 0; border-top: 2px solid var(--green-deep); font-size: 16px; }
.receipt-notes { margin: 14px 0; color: var(--muted); font-size: 12px; }
.receipt-footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; text-align: center; }
.order-payment-panel { margin-top: 18px; padding: 16px; background: #f3f7ff; border: 1px solid #d7e5ff; font-size: 13px; }
.momo-payment-details > summary { color: #0b5ed7; font-weight: 800; cursor: pointer; }
.momo-payment-content { padding-top: 14px; }.momo-payment-content p { margin: 0 0 10px; }
.momo-payment-number { font-size: 21px; font-weight: 800; letter-spacing: .04em; }
.payment-reference-status { padding: 10px; background: #fff; border-left: 3px solid #0d6efd; }
.payment-reference-form { max-width: 430px; }.payment-reference-form .form-label { font-size: 12px; font-weight: 700; }
.empty-state { grid-column: 1/-1; padding: 45px 20px; text-align: center; background: var(--white); border: 1px dashed #cbd6c8; }.empty-state h2, .empty-state h3 { font-family: Georgia, serif; }.empty-state p { color: var(--muted); }.page-state { margin-top: 60px; }
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 28px 0 10px; }
.catalog-pagination .page-link { width: auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); font-size: 12px; text-decoration: none; }
.catalog-pagination .page-link:hover, .catalog-pagination .page-link.current { border-color: var(--green-deep); background: var(--green-deep); color: var(--white); }
.catalog-pagination .page-link.disabled { color: #98a198; pointer-events: none; }
.page-ellipsis { padding: 0 3px; color: var(--muted); }
.page-count { margin-left: 9px; color: var(--muted); font-size: 11px; }
.store-footer { min-height: 76px; padding: 20px max(28px, calc((100% - 1264px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--green-deep); color: white; font-size: 12px; }.store-footer a { text-decoration: none; font-weight: 700; }.store-footer span { color: #cbd9cd; }
.admin-footer { min-height: 76px; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%); color: white; font-size: 12px; }
.admin-footer a { color: white; font-weight: 700; text-decoration: none; }
.admin-footer span { color: #e7efff; }
.admin-footer a:focus-visible { outline: 2px solid #ffc107; outline-offset: 3px; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) { .store-topline { gap: 17px; }.header-actions { gap: 11px; }.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.store-hero h1 { font-size: 48px; }.hero-stamp { right: 9%; }.cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 290px; } }
@media (max-width: 720px) { .store-topline { padding: 12px 17px; flex-wrap: wrap; gap: 12px; }.store-brand { flex: 1; }.header-actions { margin-left: 0; width: 100%; justify-content: space-between; order: 3; }.header-search { max-width: none; order: 2; flex-basis: 100%; }.store-subnav { padding: 0 17px; gap: 17px; }.store-subnav span { display: none; }.store-main { width: calc(100% - 32px); margin-top: 16px; }.store-hero { min-height: 310px; padding: 35px 25px; }.store-hero h1 { font-size: 43px; }.store-hero:after { right: -150px; top: 50px; }.hero-stamp { right: 22px; top: auto; bottom: 22px; width: 93px; height: 93px; padding: 13px; font-size: 11px; }.hero-stamp b { font-size: 16px; }.store-hero > div:first-child { max-width: 70%; }.store-hero p:not(.eyebrow) { font-size: 13px; }.catalog { padding-top: 36px; }.catalog-heading h2 { font-size: 27px; }.catalog-filters { display: grid; grid-template-columns: 1fr 1fr; }.catalog-filters input, .catalog-filters select { width: 100%; min-width: 0; }.catalog-filters input { grid-column: 1/-1; height: 42px; background: white; }.catalog-filters .btn { min-height: 41px; }.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.product-image { height: 150px; }.product-info { padding: 10px; }.product-info h3 { font-size: 13px; }.product-card-bottom { align-items: flex-start; flex-direction: column; }.product-detail { grid-template-columns: 1fr; gap: 24px; }.detail-image { height: 75vw; min-height: 260px; }.detail-copy h1 { font-size: 32px; }.back-link { margin-bottom: 20px; }.cart-layout, .checkout-layout { grid-template-columns: 1fr; }.cart-line { grid-template-columns: 54px minmax(100px, 1fr) 60px; gap: 9px; }.cart-thumb { width: 54px; height: 55px; }.cart-line > strong { grid-column: 2; }.remove-button { grid-column: 3; grid-row: 2; }.quantity-input { grid-column: 3; grid-row: 1; width: 60px; }.summary-panel { position: static; }.auth-layout { grid-template-columns: 1fr; }.auth-aside { min-height: 220px; padding: 32px 25px; }.auth-aside h1 { font-size: 34px; }.auth-form { margin: 32px auto; }.page-heading h1 { font-size: 29px; }.order-status-line { align-items: flex-start; flex-wrap: wrap; }.order-status-line > span:last-child { margin-left: 0; width: 100%; }.store-footer { padding: 18px; flex-wrap: wrap; }.store-footer span { order: 3; width: 100%; } }
@media (max-width: 720px) { .admin-footer { padding: 18px; flex-wrap: wrap; }.admin-footer span { order: 3; width: 100%; } }
@media (max-width: 720px) {
    .order-tracker { padding: 17px; }
    .order-tracker-heading { align-items: flex-start; flex-direction: column; }
    .order-tracker-badges { justify-content: flex-start; }
    .order-tracker-steps { margin-top: 20px; }
    .order-tracker-steps li { font-size: 8px; overflow-wrap: anywhere; }
    .order-tracker-steps li:not(:last-child):before { top: 13px; left: calc(50% + 10px); width: calc(100% - 20px); }
    .tracker-marker { width: 24px; height: 24px; }
    .order-receipt { padding: 22px 16px; }
    .receipt-header h2 { font-size: 23px; }
    .receipt-meta { grid-template-columns: 1fr 1fr; }
    .receipt-customer { grid-template-columns: 1fr; gap: 16px; }
}
@media print {
    body * { visibility: hidden !important; }
    #order-receipt, #order-receipt * { visibility: visible !important; }
    #order-receipt { position: absolute; top: 0; left: 0; width: 100%; max-width: none; margin: 0; padding: 12mm; border: 0; box-shadow: none; }
    .receipt-actions { display: none !important; }
    @page { size: A4; margin: 10mm; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
body { font-family: "Poppins", "Segoe UI", sans-serif; }
.store-hero h1, .catalog-heading h2, .page-heading h1, .detail-copy h1, .auth-aside h1, .auth-form h2, .empty-state h2, .empty-state h3 { font-family: "Poppins", "Segoe UI", sans-serif; font-weight: 600; }
.auth-layout { overflow: hidden; border-radius: 14px; box-shadow: 0 18px 50px rgba(23, 40, 30, .1); }
.auth-aside { background: linear-gradient(145deg, #163c32, #286c57); }
.auth-payment-warning { display: flex; align-items: flex-start; gap: 12px; max-width: 410px; margin-top: 24px; padding: 15px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 9px; background: rgba(255, 255, 255, .1); }
.payment-warning-icon { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; font-weight: 800; line-height: 1; }
.auth-payment-warning .payment-warning-icon { margin-top: 1px; color: #f5d58a; }
.auth-aside .auth-payment-warning p { margin: 0; color: #f2f6f3; font-size: 12px; line-height: 1.6; }
.auth-payment-warning strong { display: block; margin-bottom: 3px; color: #fff; font-size: 13px; }
.auth-form h2 { color: var(--ink); }
.auth-form .form-control { border-radius: 7px; }
.auth-form .btn { min-height: 46px; border-radius: 7px; font-weight: 600; }
.payment-confirmation-warning { display: flex; align-items: flex-start; gap: 11px; margin: 14px 0; padding: 13px 14px; border: 1px solid #f1d18a; border-radius: 8px; background: #fff8e8; color: #684d13; }
.payment-confirmation-warning .payment-warning-icon { margin-top: 1px; color: #a16e08; }
.payment-confirmation-warning p { margin: 0; font-size: 12px; line-height: 1.55; }
.payment-confirmation-warning strong { color: #563c08; }
@media (max-width: 1000px) {
    .public-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 720px) {
    .public-layout { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); gap: 0; }
    .public-sidebar { position: static; height: auto; max-height: none; margin-top: 14px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
    .public-sidebar > summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
    .public-sidebar > summary::-webkit-details-marker { display: none; }
    .public-sidebar > summary::after { content: "+"; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #eef5ff; color: var(--green-deep); font-size: 18px; }
    .public-sidebar[open] > summary::after { content: "−"; }
    .public-sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; padding: 0 12px 12px; }
    .public-sidebar h2 { grid-column: 1 / -1; margin-top: 11px; }
    .sidebar-link { min-width: 0; overflow-wrap: anywhere; }
    .sidebar-staff { margin-top: 0; border-top: 0; }
    .store-main { width: 100%; margin-top: 16px; }
    .store-hero { min-height: 0; padding: 22px; }
    .store-hero > div:first-child { max-width: none; }
    .store-hero h1 { font-size: 30px; line-height: 1.2; }
    .catalog-pagination { gap: 4px; }
    .catalog-pagination .page-link { padding: 8px 9px; }
    .page-count { width: 100%; margin: 5px 0 0; text-align: center; }
}
