@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,700;1,500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* =========================================================
   QULET — MASTER STYLESHEET
   Unified Desktop, Tablet, Mobile & Admin
========================================================= */

/* 1. DESIGN TOKENS */
:root {
    --ink: #29271f;
    --muted: #81775f;
    --gold: #d9ad24;
    --gold-dark: #94700b;
    --gold-deep: #755908;
    --yellow: #f2ca42;
    --yellow-soft: #fff3c8;
    --cream: #fff9e8;
    --cream-dark: #f8f0d9;
    --line: #eee4c9;
    --white: #ffffff;
    --success: #39845a;
    --danger: #b83b35;
    --shadow: 0 16px 45px rgba(100, 76, 12, .09);

    --home-ink: #29271f;
    --home-muted: #81775f;
    --home-gold: #c49a17;
    --home-gold-dark: #94700b;
    --home-yellow: #f5d66e;
    --home-cream: #fff9e8;
    --home-line: #eee5ce;
    --home-shadow: 0 18px 48px rgba(100, 76, 12, .10);
}

/* 2. GLOBAL */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
.btn {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.muted {
    color: var(--muted);
}

.right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* 3. ANNOUNCEMENT */
.announcement {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: var(--gold);
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

/* 4. HEADER & NAVIGATION */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #302b1d;
    border-bottom: 1px solid rgba(244, 236, 214, .14);
    box-shadow: 0 5px 24px rgba(0, 0, 0, .16);
}

.nav-wrap {
    min-height: 82px;
    display: grid;
    grid-template-columns: 230px minmax(240px, 390px) minmax(280px, 1fr);
    align-items: center;
    column-gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 230px;
    min-width: 0;
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 1051px) {
    .brand {
        padding-left: 22px;
    }

    .search {
        transform: translateX(40px);
    }
}

.brand-logo {
    display: block;
    width: auto;
    height: 70px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    transform: scaleX(1.90);
    transform-origin: left center;
}

.search {
    display: flex;
    align-items: center;
    width: 450px;
    min-width: 0;
    max-width: 500px;
    padding: 4px 6px 4px 15px;
    border: 1px solid #eee6d2;
    border-radius: 999px;
    background: #fffdf7;
}

.search:focus-within {
    border-color: #dfc66f;
    box-shadow: 0 0 0 4px rgba(217, 173, 36, .82);
}

.search input {
    width: 100%;
    min-width: 0;
    padding: 8px 2px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
}

.search button {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-size: 22px;
}

.search button:hover {
    background: var(--gold-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 20px;
    margin-left: 0;
    font-size: 13px;
    font-weight: 600;
}

.nav-links a {
    color: #f4ecd6;
    white-space: nowrap;
    transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--yellow);
}

.cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: var(--yellow-soft);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 5px 8px;
    border: 1px solid rgba(244, 236, 214, .28);
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #f4ecd6;
    font-size: 22px;
}

/* 5. BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--gold);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}

.btn:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid #e6d7a9;
    background: #fff;
    color: var(--gold-dark);
}

.btn-outline:hover {
    background: var(--yellow-soft);
    color: var(--gold-deep);
}

.btn-small {
    padding: 8px 12px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

/* 6. LEGACY HERO */
.hero {
    overflow: hidden;
    padding: 54px 0 40px;
    background: linear-gradient(120deg, #fff9e8, #fffdf7 65%, #f8efcf);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
    min-height: 360px;
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 16px 0;
    font: 800 clamp(36px, 5vw, 61px)/1.08 Manrope, sans-serif;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--gold-dark);
}

.hero p {
    max-width: 480px;
    margin: 0 0 26px;
    color: var(--muted);
}

.hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 310px;
}

.hero-circle {
    display: grid;
    place-items: center;
    position: relative;
    width: min(340px, 90%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8e8a9, #fff7df);
}

.hero-bag {
    position: relative;
    display: grid;
    place-items: center;
    width: 175px;
    height: 185px;
    border-radius: 28px 28px 36px 36px;
    background: linear-gradient(145deg, #fff, #f1e4bd);
    box-shadow: 20px 28px 40px rgba(120, 93, 19, .18);
    color: var(--gold-dark);
    font: 800 45px Manrope;
    transform: rotate(-7deg);
}

.hero-bag:before {
    position: absolute;
    top: -43px;
    width: 76px;
    height: 70px;
    border: 10px solid #c7a644;
    border-bottom: 0;
    border-radius: 50px 50px 0 0;
    content: '';
}

.floating-note {
    position: absolute;
    padding: 12px 16px;
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 700;
}

.note-one {
    top: 46px;
    left: 0;
}

.note-two {
    right: 0;
    bottom: 35px;
}

/* 7. GENERAL SECTIONS */
.section {
    padding: 55px 0;
}

.section-soft {
    background: var(--cream);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head h2 {
    margin: 4px 0;
    font: 800 27px Manrope, sans-serif;
    letter-spacing: -.8px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.text-link {
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 700;
}

/* 8. CATEGORY - GENERAL */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fffdf7;
    transition: .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.category-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--yellow-soft);
    font-size: 23px;
}

.category-card strong {
    display: block;
    font-size: 14px;
}

.category-card small {
    color: var(--muted);
    font-size: 11px;
}

/* 9. PRODUCT GRID - GENERAL */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.product-image {
    position: relative;
    display: grid;
    place-items: center;
    height: 205px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff8e6, #f6edda);
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    font-size: 60px;
    filter: drop-shadow(0 12px 10px rgba(100, 76, 12, .13));
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: 7px;
    background: #fff;
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 700;
}

.product-info {
    padding: 14px;
}

.product-category {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info h3 {
    margin: 5px 0 8px;
    font-size: 14px;
    line-height: 1.4;
}

.product-price {
    color: var(--gold-dark);
    font: 800 16px Manrope;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
}

.stock-note {
    color: var(--muted);
    font-size: 10px;
}

.add-mini {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: var(--yellow-soft);
    color: var(--gold-dark);
    font-size: 20px;
    font-weight: 800;
}

.add-mini:hover {
    background: var(--gold);
    color: #fff;
}

/* 10. PROMO STRIP */
.promo-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 34px;
    border-radius: 20px;
    background: linear-gradient(115deg, #a47d0c, #d9ad24);
    color: #fff;
}

.promo-strip h2 {
    margin: 0 0 5px;
    font: 800 24px Manrope;
}

.promo-strip p {
    margin: 0;
    color: #fff5d5;
    font-size: 13px;
}

.promo-strip .btn {
    background: #fff;
    color: var(--gold-dark);
}

/* 11. PAGE TOP */
.page-top {
    padding: 35px 0;
    background: var(--cream);
}

.page-top h1 {
    margin: 0 0 5px;
    font: 800 34px Manrope;
    letter-spacing: -1px;
}

.page-top p {
    margin: 0;
    color: var(--muted);
}

/* 12. CATALOG & FILTER */
.catalog-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
}

.filter-panel {
    height: max-content;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.filter-panel h3 {
    margin: 0 0 15px;
    font: 700 16px Manrope;
}

.filter-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #655d49;
    font-size: 13px;
}

.filter-panel input {
    accent-color: var(--gold);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.catalog-toolbar select {
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
}


/* =========================================================
   12B. MINIMALIST CATALOG TABS (SHOPEE / BENBOYS STYLE)
========================================================= */
.catalog-sticky-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(41, 39, 31, .04);
}

.catalog-main-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid #f4eedc;
}

.catalog-main-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 13px 10px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 14px 'DM Sans', sans-serif;
    text-align: center;
    transition: color .2s ease;
}

.catalog-main-tab:hover {
    color: var(--gold-dark);
}

.catalog-main-tab.is-active {
    color: var(--gold-dark);
    font-weight: 700;
}

.catalog-main-tab.is-active::after {
    position: absolute;
    right: 18%;
    bottom: 0;
    left: 18%;
    height: 2.5px;
    border-radius: 3px 3px 0 0;
    background: var(--gold);
    content: '';
}

.catalog-tab-caret {
    font-size: 11px;
    transition: transform .2s ease;
}

.catalog-main-tab[aria-expanded="true"] .catalog-tab-caret {
    transform: rotate(180deg);
}

.catalog-sort-tabs {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    padding: 4px 0;
}

.catalog-sort-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s ease;
}

.catalog-sort-tab:hover {
    color: var(--gold-dark);
}

.catalog-sort-tab.is-active {
    color: var(--gold-dark);
    font-weight: 700;
}

.catalog-sort-tab.is-active::after {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 3px;
    border-radius: 50%;
    background: var(--gold);
    content: '';
    vertical-align: super;
}

.catalog-sort-divider {
    width: 1px;
    height: 15px;
    background: #ece3ca;
}

.price-sort-arrows {
    font-size: 12px;
    line-height: 1;
}

.catalog-category-pills {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 11px 0 13px;
    border-top: 1px solid #f4eedc;
}

.catalog-category-pills.is-open {
    display: flex;
}

.catalog-pill {
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fffdf7;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    transition: .18s ease;
}

.catalog-pill:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.catalog-pill.is-active {
    border-color: var(--gold);
    background: var(--gold);
    color: #fff;
}

.catalog-section-compact {
    padding-top: 22px;
    padding-bottom: 52px;
}

.catalog-search-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 9px 13px;
    border-radius: 10px;
    background: var(--cream);
    color: var(--muted);
    font-size: 12px;
}

/* 13. PRODUCT DETAIL */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
}

.detail-visual {
    display: grid;
    place-items: center;
    min-height: 400px;
    border-radius: 22px;
    background: var(--cream);
    font-size: 130px;
}

.detail-copy h1 {
    margin: 8px 0;
    font: 800 34px/1.2 Manrope;
    letter-spacing: -1px;
}

.detail-copy .price {
    margin: 16px 0;
    color: var(--gold-dark);
    font: 800 27px Manrope;
}

.detail-copy p {
    color: var(--muted);
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.qty-control input {
    width: 75px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

/* 14. FORMS & AUTHENTICATION */
.form-card {
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.form-card h1 {
    margin: 0 0 6px;
    font: 800 28px Manrope;
}

.form-card > p {
    margin-top: 0;
    color: var(--muted);
}

.form-group {
    margin: 16px 0;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #e8dfc8;
    border-radius: 10px;
    outline: none;
    background: #fff;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(217, 173, 36, .13);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.helper {
    color: var(--muted);
    font-size: 12px;
}

/* 15. ALERTS */
.alert {
    margin: 16px 0;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 13px;
}

.alert-success {
    background: #e8f7ed;
    color: #1e6541;
}

.alert-danger {
    background: #fff0ef;
    color: #a52d2d;
}

.alert-warning {
    background: #fff6df;
    color: #805a10;
}

.alert-info {
    background: #eaf3ff;
    color: #24558c;
}

/* 16. CART & CHECKOUT */
.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr .8fr;
    align-items: start;
    gap: 28px;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.data-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 13px;
}

.data-table th {
    background: var(--cream);
    font-size: 11px;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.summary-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.summary-card h3 {
    margin: 0 0 15px;
    font: 700 18px Manrope;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    color: var(--muted);
    font-size: 13px;
}

.summary-total {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
    font-weight: 800;
}

/* 17. EMPTY STATE & STATUS */
.empty-state {
    padding: 55px 20px;
    border: 1px dashed #e1d5b5;
    border-radius: 18px;
    background: #fffdf7;
    text-align: center;
}

.empty-state .empty-icon {
    font-size: 46px;
}

.empty-state h2 {
    margin: 10px 0;
    font: 800 22px Manrope;
}

.empty-state p {
    color: var(--muted);
}

.status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 30px;
    background: var(--yellow-soft);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 700;
}

.notice-box {
    padding: 15px;
    border-radius: 12px;
    background: var(--yellow-soft);
    color: var(--gold-dark);
    font-size: 13px;
}

/* 18. FOOTER */
.site-footer {
    margin-top: 0;
    padding: 52px 0 32px;
    background: #302b1d;
    color: #f4ecd6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1.25fr .85fr;
    gap: 40px;
    align-items: start;
}

.footer-brand-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(242, 202, 66, .45);
}

.footer-brand-name {
    display: block;
    color: var(--yellow);
    font: 700 54px/0.95 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 4.5px;
    text-transform: uppercase;
}

.footer-brand-motto {
    display: block;
    margin-top: 8px;
    color: #f4ecd6;
    font: italic 500 19px/1.25 'Cormorant Garamond', Georgia, serif;
    letter-spacing: .6px;
}

.footer-tagline {
    max-width: 330px;
    margin: 0 0 16px;
    color: #dfd6be;
    font-size: 13px;
    line-height: 1.65;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 1051px) {
    .footer-col-brand {
        max-width: 360px;
    }
}

.footer-address,
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #dfd6be;
    font-size: 13px;
    line-height: 1.5;
}

.footer-address-link {
    width: fit-content;
    max-width: 360px;
    margin-top: 2px;
    text-align: left;
    transition: color .2s ease;
}

.footer-address-link:hover {
    color: var(--yellow);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-contact-email {
    flex-direction: row;
    align-items: center;
    gap: 9px;
}

.footer-col-contact {
    gap: 16px;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--yellow);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
    color: #dfd6be;
    font-size: 13px;
}

.footer-col strong {
    margin-bottom: 4px;
    color: #fff;
    font: 700 14px Manrope, sans-serif;
}

.footer-col a {
    width: fit-content;
    transition: color .2s ease;
}

.footer-col a:hover {
    color: var(--yellow);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials a {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(244, 236, 214, .22);
    border-radius: 50%;
    color: #f4ecd6;
    transition: .2s ease;
}

.footer-socials a:hover {
    border-color: var(--yellow);
    background: rgba(242, 202, 66, .14);
    color: var(--yellow);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(244, 236, 214, .16);
    color: #cfc5a8;
    font-size: 12px;
    text-align: center;
}

/* 19. ADMIN */
.admin-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding: 35px 0;
}

.admin-nav {
    height: max-content;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
}

.admin-nav h3 {
    margin: 0 0 12px;
    font: 800 17px Manrope;
}

.admin-nav a {
    display: block;
    padding: 10px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--yellow-soft);
    color: var(--gold-dark);
}

.admin-content h1 {
    margin: 0 0 5px;
    font: 800 29px Manrope;
}

.admin-content .subhead {
    margin: 0 0 24px;
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.stat-card strong {
    display: block;
    margin-top: 7px;
    font: 800 24px Manrope;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.inline-form {
    display: inline;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.pagination a {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
}

.pagination a.active {
    border-color: var(--gold);
    background: var(--gold);
    color: #fff;
}

/* =========================================================
   20. QULET HOMEPAGE
========================================================= */

.home-hero-image-section {
    display: none;
    width: 100%;
    padding: 20px 0;
}

.home-hero-image-section > .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.home-hero-banner-link {
    display: block;
    width: 100%;
    height: 181px;
    overflow: hidden;
    border-radius: 20px;
}

.home-hero-banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Benefits */
.home-benefits {
    display: none;
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 17px 0;
}

.home-benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 18px;
}

.home-benefit-item + .home-benefit-item {
    border-left: 1px solid var(--home-line);
}

.benefit-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--yellow-soft);
    color: var(--gold-dark);
    font-size: 19px;
}

.home-benefit-item strong,
.home-benefit-item small {
    display: block;
}

.home-benefit-item strong {
    color: var(--home-ink);
    font-size: 12px;
}

.home-benefit-item small {
    margin-top: 3px;
    color: #8a8068;
    font-size: 10px;
}

/* Homepage category section */
.home-category-section {
    display: none;
}

.home-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 23px;
}

.home-section-heading h2 {
    margin: 7px 0;
    color: var(--home-ink);
    font: 800 clamp(23px, 3vw, 31px)/1.2 Manrope;
    letter-spacing: -1px;
}

.home-section-heading p {
    margin: 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.65;
}

.home-section-heading > .text-link {
    flex: 0 0 auto;
    padding-bottom: 4px;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 76px;
    padding: 15px;
    border: 1px solid var(--home-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(100, 76, 12, .025);
    transition: .2s ease;
}

.home-category-card:hover {
    transform: translateY(-3px);
    border-color: #e4d39b;
    box-shadow: var(--home-shadow);
}

.home-category-icon {
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: linear-gradient(145deg, #fff6d9, #f7ebc5);
    color: var(--gold-dark);
    font-size: 21px;
}

.home-category-content {
    display: block;
    min-width: 0;
    padding-right: 10px;
}

.home-category-content strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--home-ink);
    font-size: 11px;
    line-height: 1.45;
}

.home-category-content small {
    display: block;
    margin-top: 4px;
    color: #8b8068;
    font-size: 10px;
}

.home-category-arrow {
    position: absolute;
    top: 10px;
    right: 11px;
    color: #b39b56;
    font-size: 12px;
}

/* Featured products */
.home-featured-section {
    padding: 55px 0 65px;
    background: #fffdf8;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: #fff;
    transition: .2s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);
    border-color: #e7d9ad;
    box-shadow: var(--home-shadow);
}

.home-product-image-link {
    display: block;
}

.home-product-image {
    position: relative;
    display: grid;
    place-items: center;
    height: 205px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff8e7, #f5edda);
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-product-card:hover .home-product-image img {
    transform: scale(1.04);
}

.home-product-placeholder {
    font-size: 60px;
    filter: drop-shadow(0 12px 12px rgba(100, 76, 12, .12));
}

.home-product-badge {
    position: absolute;
    z-index: 1;
    top: 11px;
    left: 11px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 7px;
    background: rgba(255, 255, 255, .92);
    color: var(--gold-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .6px;
}

.home-product-info {
    padding: 13px;
}

.home-product-category {
    display: block;
    overflow: hidden;
    color: #91866c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-product-info h3 {
    min-height: 37px;
    margin: 6px 0 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.home-product-info h3 a {
    color: var(--home-ink);
}

.home-product-info h3 a:hover {
    color: var(--gold-dark);
}

.home-product-price {
    color: var(--gold-dark);
    font: 800 16px Manrope;
    letter-spacing: -.3px;
}

.home-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid #f3eedf;
}

.home-stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #857d69;
    font-size: 9px;
    font-weight: 600;
}

.home-stock-status.is-available {
    color: #49845e;
}

.home-stock-status.is-empty {
    color: #a0a5a1;
}

.stock-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64a878;
}

.is-empty .stock-status-dot {
    background: #b9bfba;
}

.home-add-cart-form {
    margin: 0;
}

.home-add-cart-button {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 0;
    border-radius: 10px;
    background: var(--yellow-soft);
    color: var(--gold-dark);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

.home-add-cart-button:hover:not(:disabled) {
    background: var(--gold);
    color: #fff;
}

.home-add-cart-button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* Homepage empty states */
.home-empty-state,
.home-empty-products {
    padding: 32px;
    border: 1px dashed #e3d7b8;
    border-radius: 17px;
    background: #fff;
    color: #857d69;
    text-align: center;
    font-size: 13px;
}

.home-empty-products {
    padding: 45px 20px;
}

.home-empty-products > span {
    color: var(--gold);
    font-size: 35px;
}

.home-empty-products h3 {
    margin: 10px 0 5px;
    color: var(--home-ink);
    font: 800 20px Manrope;
}

.home-empty-products p {
    margin: 0 0 18px;
    color: var(--home-muted);
    font-size: 13px;
}

/* Homepage CTA */
.home-cta-section {
    padding: 0 0 60px;
}

.home-cta-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    padding: 32px 38px;
    border-radius: 21px;
    background: linear-gradient(115deg, #98720a, #d9ad24);
    color: #fff;
    box-shadow: 0 18px 40px rgba(130, 98, 10, .15);
}

.home-cta-banner:before,
.home-cta-banner:after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-cta-banner:before {
    top: -205px;
    right: 18%;
    width: 280px;
    height: 280px;
}

.home-cta-banner:after {
    right: -180px;
    bottom: -300px;
    width: 390px;
    height: 390px;
}

.home-cta-decoration {
    position: absolute;
    top: 52%;
    right: 20%;
    color: rgba(255, 255, 255, .10);
    font: 800 104px/1 Manrope, sans-serif;
    letter-spacing: -3px;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
    transform: translateY(-50%) rotate(-12deg);
}

.home-cta-copy,
.home-cta-button {
    position: relative;
    z-index: 1;
}

.home-cta-copy h2,
.home-cta-copy .home-cta-headline {
    max-width: 560px;
    margin: 0;
    color: #fff9e6;
    font: 600 clamp(17px, 2vw, 21px)/1.48 'DM Sans', sans-serif;
    letter-spacing: -.2px;
}

.home-cta-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 13px 19px;
    border-radius: 999px;
    background: #fff;
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.home-cta-button:hover {
    background: #fff8e5;
    color: var(--gold-deep);
    transform: translateY(-2px);
}

/* =========================================================
   21. TABLET RESPONSIVE
========================================================= */
@media (max-width: 1050px) {
    .home-hero-image-section {
        display: block;
    }

    .nav-wrap {
        min-height: 82px;
        grid-template-columns: 128px minmax(170px, 1fr) auto;
        column-gap: 12px;
    }

    .brand {
        width: 128px;
        padding-left: 4px;
    }

    .brand-logo {
        width: 118px;
        height: 60px;
        transform: scaleX(1.10);
        transform-origin: left center;
    }

    .search {
        width: 100%;
        max-width: none;
    }

    .nav-links {
        gap: 11px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .home-product-grid,
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-product-image {
        height: 190px;
    }

    .hero-inner {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .footer-brand-name {
        font-size: 48px;
        letter-spacing: 3.8px;
    }

    .home-cta-decoration {
        right: 12%;
        font-size: 86px;
    }

    .home-cta-copy h2,
    .home-cta-copy .home-cta-headline {
        max-width: 440px;
        font-size: 18px;
    }

    .footer-brand-motto {
        font-size: 17.5px;
    }
}

/* =========================================================
   22. MOBILE RESPONSIVE
========================================================= */
@media (max-width: 760px) {
    body {
        font-size: 13px;
    }

    .container {
        width: calc(100% - 28px);
    }

    .announcement {
        min-height: 27px;
        padding: 5px 10px;
        font-size: 9px;
        letter-spacing: .8px;
    }

    .nav-wrap {
        position: relative;
        min-height: 72px;
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr) 54px;
        align-items: center;
        column-gap: 10px;
        row-gap: 9px;
        padding: 9px 0;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
        width: 76px;
        min-width: 0;
        justify-self: start;
        padding-left: 6px;
    }

    .brand-logo {
        width: auto;
        height: 54px;
        max-width: none;
        transform: scaleX(1.52);
        transform-origin: left center;
    }

    .search {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 39px;
        order: 0;
    }

    .menu-toggle {
        display: block;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-left: 0;
    }

    .search input {
        font-size: 12px;
    }

    .search button {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 2px);
        right: 0;
        z-index: 120;
        width: min(230px, calc(100vw - 28px));
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 8px;
        border: 1px solid rgba(244, 236, 214, .16);
        border-radius: 14px;
        background: #302b1d;
        box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 11px 12px;
        border-top: 0;
        border-radius: 8px;
        font-size: 13px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, .08);
    }

    .hero {
        padding: 35px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-art {
        min-height: 250px;
    }

    .hero-circle {
        width: 230px;
    }

    .hero-bag {
        width: 130px;
        height: 145px;
        font-size: 34px;
    }

    .section {
        padding: 36px 0;
    }

    .section-head {
        align-items: flex-start;
        gap: 12px;
    }

    .section-head h2 {
        font-size: 22px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .product-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h3 {
        font-size: 12px;
    }

    .product-price {
        font-size: 14px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .category-card {
        gap: 9px;
        padding: 11px;
    }

    .category-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .category-card strong {
        font-size: 11px;
    }

    .promo-strip {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .filter-panel {
        padding: 15px;
    }

    .filter-panel h3 {
        margin-bottom: 8px;
    }

    .filter-panel form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 10px;
    }

    .filter-panel label {
        padding: 6px 0;
        font-size: 12px;
    }

    .catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 15px;
    }

    .catalog-main-tab {
        padding: 11px 6px;
        font-size: 13px;
    }

    .catalog-main-tab.is-active::after {
        right: 12%;
        left: 12%;
    }

    .catalog-sort-tab {
        padding: 9px 4px;
        font-size: 12px;
    }

    .catalog-section-compact {
        padding-top: 16px;
        padding-bottom: 38px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .detail-visual {
        min-height: 270px;
        font-size: 95px;
    }

    .detail-copy h1 {
        font-size: 27px;
    }

    .form-card {
        margin: 24px auto;
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .summary-card {
        padding: 17px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer {
        padding: 36px 0 26px;
    }

    .footer-brand-lockup {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .footer-brand-name {
        font-size: 44px;
        letter-spacing: 3.5px;
    }

    .footer-brand-motto {
        font-size: 16.5px;
    }

    .footer-address-link {
        max-width: 100%;
    }

    .footer-bottom {
        margin-top: 28px;
        padding-top: 18px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 0;
    }

    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        padding: 12px;
    }

    .admin-nav h3 {
        flex: 0 0 100%;
    }

    .admin-nav a {
        padding: 8px 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-card strong {
        font-size: 20px;
    }

    .home-hero-image-section {
        padding: 13px 0 10px;
    }

    .home-hero-image-section > .container {
        width: calc(100% - 28px);
        max-width: none;
    }

    .home-hero-image-section .home-hero-banner-link {
        height: auto;
        border-radius: 12px;
    }

    .home-hero-image-section .home-hero-banner-image {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .home-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        padding: 12px 0;
    }

    .home-benefit-item {
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        padding: 5px 3px;
        text-align: center;
    }

    .home-benefit-item + .home-benefit-item {
        border-top: 0;
        border-left: 1px solid var(--home-line);
    }

    .benefit-icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 16px;
    }

    .home-benefit-item strong {
        font-size: 9px;
        line-height: 1.35;
    }

    .home-benefit-item small {
        display: none;
    }

    .home-category-section {
        padding: 34px 0;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 17px;
    }

    .home-section-heading h2 {
        font-size: 22px;
    }

    .home-section-heading p {
        font-size: 11px;
    }

    .home-section-heading > .text-link {
        font-size: 11px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .home-category-card {
        min-height: 65px;
        gap: 8px;
        padding: 10px;
        border-radius: 12px;
    }

    .home-category-icon {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
        border-radius: 10px;
        font-size: 17px;
    }

    .home-category-content {
        padding-right: 7px;
    }

    .home-category-content strong {
        font-size: 10px;
    }

    .home-category-content small {
        font-size: 9px;
    }

    .home-category-arrow {
        top: 7px;
        right: 7px;
        font-size: 10px;
    }

    .home-featured-section {
        padding: 35px 0 42px;
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-product-card {
        border-radius: 12px;
    }

    .home-product-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .home-product-badge {
        top: 7px;
        left: 7px;
        padding: 4px 6px;
        font-size: 8px;
    }

    .home-product-info {
        padding: 9px;
    }

    .home-product-info h3 {
        min-height: 34px;
        margin: 5px 0 7px;
        font-size: 10px;
        line-height: 1.45;
    }

    .home-product-price {
        font-size: 13px;
    }

    .home-product-footer {
        gap: 5px;
        margin-top: 9px;
        padding-top: 8px;
    }

    .home-stock-status {
        gap: 4px;
        font-size: 8px;
    }

    .home-add-cart-button {
        flex: 0 0 29px;
        width: 29px;
        height: 29px;
        border-radius: 8px;
        font-size: 19px;
    }

    .home-cta-section {
        padding-bottom: 38px;
    }

    .home-cta-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 23px 19px;
        border-radius: 16px;
    }

    .home-cta-copy h2,
    .home-cta-copy .home-cta-headline {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.48;
    }

    .home-cta-decoration {
        top: 62%;
        right: 5%;
        font-size: 62px;
        letter-spacing: -2px;
    }

    .home-cta-button {
        padding: 11px 15px;
        font-size: 10px;
    }
}

/* =========================================================
   23. SMALL MOBILE
========================================================= */
@media (max-width: 380px) {
    .container {
        width: calc(100% - 24px);
    }

    .nav-wrap {
        grid-template-columns: 68px minmax(0, 1fr) 48px;
        column-gap: 8px;
    }

    .brand {
        width: 68px;
        min-width: 0;
        padding-left: 4px;
    }

    .brand-logo {
        width: auto;
        height: 48px;
        max-width: none;
        transform: scaleX(1.42);
        transform-origin: left center;
    }

    .footer-brand-name {
        font-size: 39px;
        letter-spacing: 3px;
    }

    .footer-brand-motto {
        font-size: 15px;
    }

    .footer-address-link {
        font-size: 12px;
    }

    .home-benefit-item strong {
        font-size: 8px;
    }

    .home-category-card {
        gap: 6px;
        padding: 8px;
    }

    .home-category-icon {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
        font-size: 15px;
    }

    .home-category-content strong {
        font-size: 9px;
    }

    .home-product-grid {
        gap: 8px;
    }

    .home-product-info {
        padding: 8px;
    }

    .home-product-info h3 {
        font-size: 9px;
    }

    .home-product-price {
        font-size: 12px;
    }

    .home-stock-status {
        font-size: 7px;
    }

    .home-add-cart-button {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
    }

    .home-cta-copy h2,
    .home-cta-copy .home-cta-headline {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .home-cta-decoration {
        right: 4%;
        font-size: 52px;
    }

    .catalog-main-tab {
        font-size: 12px;
    }

    .catalog-sort-tab {
        font-size: 11px;
        padding: 8px 2px;
    }

    .catalog-pill {
        padding: 5px 10px;
        font-size: 11px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   24. ACCESSIBILITY & INTERACTION
========================================================= */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(217, 173, 36, .35);
    outline-offset: 2px;
}

.search input:focus,
.search input:focus-visible {
    outline: none;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   25. ADMIN FULL-WIDTH LAYOUT & RESPONSIVE GUARD
========================================================= */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

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

.admin-shell > * {
    min-width: 0;
}

.admin-content {
    min-width: 0;
    max-width: 100%;
}

.admin-content .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-content .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.site-header.is-admin-header .nav-wrap {
    grid-template-columns: 230px 1fr;
}

@media (max-width: 1050px) {
    .site-header.is-admin-header .nav-wrap {
        grid-template-columns: 128px 1fr;
    }

    .admin-content .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header.is-admin-header .nav-wrap {
        grid-template-columns: 76px 1fr 54px;
    }

    .site-header.is-admin-header .menu-toggle {
        grid-column: 3;
    }

    .admin-content h1 {
        font-size: 24px;
    }

    .admin-content .summary-card {
        padding: 16px;
    }

    .admin-content .data-table th,
    .admin-content .data-table td {
        padding: 11px 10px;
        font-size: 12px;
        vertical-align: top;
    }

    .admin-content .data-table td form {
        min-width: 155px;
    }

    .admin-content .data-table td form .form-group {
        margin: 8px 0;
    }

    .admin-content .data-table td form .form-control {
        padding: 8px 10px;
        font-size: 12px;
    }

    .admin-content .data-table td form .btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .admin-content .stats-grid {
        grid-template-columns: 1fr;
    }
}
