:root {
    --blue-950: #0b2545;
    --blue-900: #13315c;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --white: #ffffff;
    --bg: #f4f6f9;
    --border: #e5e7eb;
    --text: #111827;
    --muted: #6b7280;
    --success-bg: #ecfdf5;
    --success-text: #065f46;
    --danger-bg: #fef2f2;
    --danger-text: #b91c1c;
    --warn-bg: #fffbeb;
    --warn-text: #92400e;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--blue-700);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Topbar & Header */
.topbar {
    background: #070b12;
    color: #94a3b8;
    font-size: 0.76rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar-rate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-rate strong {
    color: #38bdf8;
    font-weight: 700;
}

.topbar-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
    flex-shrink: 0;
}

.topbar-sep {
    color: #475569;
    margin: 0 2px;
}

.topbar-links {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.topbar-links a {
    color: #94a3b8;
    font-weight: 500;
}

.topbar-links a:hover {
    color: #f8fafc;
    text-decoration: none;
}

.site-header {
    background-color: #0b111e;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    max-width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo {
    height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo {
    height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #60a5fa;
    margin-top: 2px;
}

.search-form {
    flex: 1;
    min-width: 0;
    max-width: 440px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: #131c2e;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-form:focus-within {
    border-color: #3b82f6;
    background: #162036;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
}

.search-icon {
    display: inline-flex;
    align-items: center;
    padding-left: 13px;
    color: #64748b;
    flex-shrink: 0;
}

.search-form input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 10px 10px;
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
}

.search-form input::placeholder {
    color: #94a3b8;
}

.search-kbd {
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 2px 6px;
    margin-right: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-form button {
    border: none;
    background: #2563eb;
    color: var(--white);
    padding: 10px 15px;
    margin: 3px;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.search-form button:hover {
    background: #3b82f6;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #e2e8f0;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    text-decoration: none;
}

.nav-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.nav-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.nav-outline-btn:hover {
    border-color: #3b82f6;
    background: rgba(37, 99, 235, 0.14);
    color: var(--white);
    text-decoration: none;
}

.nav-rates {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav-rate-item {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-rate-top {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.flag-icon {
    width: 15px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}

.nav-rate-item strong {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--white);
    margin-top: 2px;
    white-space: nowrap;
}

.nav-rate-slash {
    color: rgba(255, 255, 255, 0.22);
    font-size: 1.1rem;
    font-weight: 300;
}

.nav-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: #2563eb;
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0b111e;
}

.nav-admin-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(59, 130, 246, 0.35);
    padding: 5px 10px;
    border-radius: 7px;
}

.nav-admin-pill:hover {
    background: rgba(37, 99, 235, 0.28);
    color: var(--white);
    text-decoration: none;
}

.nav-link {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.86rem;
    padding: 6px 8px;
    border-radius: 6px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    text-decoration: none;
}

.cat-bar {
    background: #090e19;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.cat-bar-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 9px 16px;
    font-size: 0.85rem;
}

.cat-top-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.cat-top-links a {
    color: #cbd5e1;
    font-weight: 500;
    white-space: nowrap;
}

.cat-top-links a:hover {
    color: #60a5fa;
    text-decoration: none;
}

.cat-dropdown-wrap {
    position: relative;
    flex-shrink: 0;
}

.cat-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
}

.cat-all-btn:hover,
.cat-dropdown-wrap.open .cat-all-btn {
    background: rgba(37, 99, 235, 0.22);
    border-color: rgba(59, 130, 246, 0.5);
}

.cat-mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 640px;
    max-width: calc(100vw - 32px);
    background: #0b111e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    z-index: 80;
}

.cat-dropdown-wrap:hover .cat-mega-menu,
.cat-dropdown-wrap.open .cat-mega-menu {
    display: block;
}

.cat-mega-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.cat-mega-head a {
    color: #60a5fa;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.82rem;
}

.cat-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 12px;
    max-height: 320px;
    overflow-y: auto;
}

.cat-mega-grid a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 7px;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 500;
}

.cat-mega-grid a:hover {
    background: rgba(37, 99, 235, 0.18);
    color: var(--white);
    text-decoration: none;
}

.cat-mega-grid a small {
    color: #64748b;
    font-size: 0.74rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.15s ease;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background: var(--blue-700);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-600);
}

.btn-outline {
    background: var(--white);
    color: var(--blue-700);
    border-color: #bfdbfe;
}

.btn-outline:hover {
    background: var(--blue-50);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.84rem;
    border-radius: 6px;
}

.btn-danger {
    background: #dc2626;
    color: var(--white);
}

/* Store Promo Hero & Coupon Bar */
.promo-hero {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 22px;
}

.promo-banner-full {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    background: var(--white);
}

.promo-banner-full img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-coupon-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 11px 18px;
    border-radius: 10px;
    background: linear-gradient(90deg, #0b5ed7 0%, #0d6efd 50%, #0284c7 100%);
    color: var(--white);
    font-size: 0.94rem;
    box-shadow: 0 2px 10px rgba(13, 110, 253, 0.22);
    transition: filter 0.15s ease, transform 0.15s ease;
    flex-wrap: wrap;
    text-align: center;
}

.promo-coupon-bar:hover {
    filter: brightness(1.06);
    text-decoration: none;
    color: var(--white);
}

.promo-coupon-icon {
    display: inline-flex;
    align-items: center;
    opacity: 0.95;
}

.promo-coupon-sep {
    opacity: 0.45;
    font-weight: 300;
}

.promo-coupon-code {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.promo-coupon-desc {
    color: #e0f2fe;
    font-weight: 500;
}

.benefits-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.benefit-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.86rem;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--blue-50);
    color: var(--blue-700);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Cards & Grids */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.grid {
    display: grid;
    gap: 16px;
}

.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.product-thumb {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
}

.product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.product-brand {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.product-title {
    font-weight: 600;
    color: var(--text);
    font-size: 0.96rem;
    margin: 0;
    line-height: 1.35;
}

.price-brl {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue-700);
}

.price-sub {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Badges & Alerts */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
}

.badge-blue {
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
}

.badge-green {
    background: var(--success-bg);
    color: var(--success-text);
}

.badge-red {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.badge-warn {
    background: var(--warn-bg);
    color: var(--warn-text);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 14px 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid #fecaca;
}

.alert-info {
    background: var(--blue-50);
    color: var(--blue-900);
    border: 1px solid var(--blue-100);
}

/* Forms & Tables */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--white);
}

.form-control:focus {
    outline: 2px solid var(--blue-100);
    border-color: var(--blue-600);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

th,
td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: var(--blue-50);
    color: var(--blue-900);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Admin Layout */
.admin-body {
    background: #f1f5f9;
}

.admin-backdrop {
    display: none;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    background: #0b111e;
    color: #cbd5e1;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.admin-logo {
    height: 34px;
    width: auto;
    display: block;
    object-fit: contain;
}

.admin-brand-tag {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #93c5fd;
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(59, 130, 246, 0.4);
    padding: 2px 6px;
    border-radius: 5px;
}

.admin-close-btn,
.admin-menu-btn {
    display: none;
}

.admin-nav-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-nav-label {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 0 10px 4px;
}

.admin-nav-link {
    color: #cbd5e1;
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 0.87rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.14s ease, color 0.14s ease;
}

.admin-nav-link svg {
    flex-shrink: 0;
    opacity: 0.78;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    text-decoration: none;
}

.admin-nav-link.active {
    background: #2563eb;
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
    text-decoration: none;
}

.admin-nav-link.active svg {
    opacity: 1;
}

.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-logout-link:hover {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
}

.admin-content-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.admin-topbar-left,
.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-topbar-user {
    font-size: 0.88rem;
    color: var(--muted);
}

.admin-topbar-user strong {
    color: var(--text);
}

.admin-rate-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--muted);
}

.admin-rate-chip strong {
    color: var(--blue-700);
}

.admin-rate-pyg {
    color: #64748b;
}

.admin-main {
    padding: 24px 28px 40px;
    min-width: 0;
}

.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

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

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.blue { background: #eff6ff; color: #1d4ed8; }
.stat-icon.indigo { background: #eef2ff; color: #4338ca; }
.stat-icon.green { background: #ecfdf5; color: #059669; }
.stat-icon.amber { background: #fffbeb; color: #d97706; }

.stat-sub {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 4px;
}

.dash-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.dash-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-bar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 5px;
    color: var(--text);
}

.dash-bar-meta strong {
    color: var(--blue-700);
}

.dash-bar-track {
    height: 8px;
    border-radius: 999px;
    background: #eef2f6;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.dash-kv-list {
    display: flex;
    flex-direction: column;
}

.dash-kv-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.84rem;
    color: var(--muted);
}

.dash-kv-item:last-child {
    border-bottom: none;
}

.dash-kv-item strong {
    color: var(--text);
    text-align: right;
}

.dash-empty {
    padding: 24px 14px;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed var(--border);
    border-radius: 10px;
}

/* Admin Products Table, Pagination & Modals */
.admin-clean-table th {
    background: #f8fafc;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    padding: 12px 16px;
}

.admin-clean-table td {
    padding: 12px 16px;
    vertical-align: middle;
}

.admin-clean-table tbody tr:hover {
    background: #f8fafc;
}

.admin-prod-thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 3px;
    flex-shrink: 0;
}

.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

.admin-page-info {
    font-size: 0.82rem;
    color: var(--muted);
}

.admin-page-btns {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-page-btn {
    padding: 6px 11px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.admin-page-btn:hover {
    border-color: var(--blue-500);
    color: var(--blue-700);
    text-decoration: none;
}

.admin-page-btn.active {
    background: var(--blue-700);
    border-color: var(--blue-700);
    color: var(--white);
}

.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(2px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.admin-modal-backdrop.open {
    display: flex;
}

.admin-modal {
    background: var(--white);
    border-radius: 14px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

.admin-modal-lg {
    max-width: 720px;
}

.admin-modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.95rem;
}

.admin-modal-body {
    padding: 18px 20px;
    overflow-y: auto;
}

.admin-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.admin-field-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 4px;
}

.admin-modal-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.admin-edit-photo-box {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--border);
}

.admin-edit-preview {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 4px;
    flex-shrink: 0;
}

.admin-var-card {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-var-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-var-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.admin-var-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue-950);
    margin-top: 4px;
}

.pre-footer-benefits {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    margin-top: 52px;
    padding: 40px 0;
}

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

.pre-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.pre-footer-icon {
    color: var(--blue-700);
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pre-footer-item h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--blue-700);
}

.pre-footer-item p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #475569;
    max-width: 240px;
}

.site-footer {
    background: #070b12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
    padding: 42px 0 0;
    color: #94a3b8;
    font-size: 0.84rem;
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-info-item h4 {
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--white);
}

.footer-info-item p {
    margin: 0;
    line-height: 1.5;
    color: #94a3b8;
    font-size: 0.8rem;
}

.footer-info-item strong {
    color: #60a5fa;
}

.footer-mid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.84rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-social-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.footer-social-btn:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: #3b82f6;
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 0;
    text-align: center;
    font-size: 0.78rem;
    color: #64748b;
}

.mobile-menu-btn,
.mobile-rate-pill,
.mobile-backdrop,
.mobile-sidebar,
.mobile-bottom-nav {
    display: none;
}

.cat-cards-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.cat-card-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 12px 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: border-color 0.15s ease;
}

.cat-card-item:hover {
    border-color: #93c5fd;
    text-decoration: none;
}

.cat-card-item span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--blue-950);
    margin-bottom: 6px;
}

.cat-card-item img {
    width: 100%;
    height: 92px;
    object-fit: contain;
    display: block;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Modern Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 22px;
    align-items: start;
}

.cart-layout > * {
    min-width: 0;
    max-width: 100%;
}

.cart-items-card,
.cart-summary-card,
.checkout-steps-card {
    min-width: 0;
    max-width: 100%;
}

.form-control {
    max-width: 100%;
    min-width: 0;
}

.cart-items-card,
.cart-summary-card {
    padding: 20px 22px;
}

.cart-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.cart-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-600);
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-thumb {
    width: 78px;
    height: 78px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.cart-item-brand {
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 2px;
}

.cart-item-name {
    display: block;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.cart-item-name:hover {
    color: var(--blue-700);
    text-decoration: none;
}

.cart-item-var {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.cart-remove-btn {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-remove-btn:hover {
    background: #fee2e2;
    color: #b91c1c;
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.cart-qty-stepper button {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-stepper button:hover {
    background: #f8fafc;
    color: var(--text);
}

.cart-qty-stepper input {
    width: 34px;
    height: 30px;
    border: none;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
}

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

.cart-item-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-600);
    white-space: nowrap;
}

.cart-delivery-row {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-coupon-area {
    margin-bottom: 16px;
}

.cart-coupon-prompt {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    color: var(--muted);
}

.cart-coupon-toggle {
    border: none;
    background: transparent;
    padding: 0;
    color: var(--blue-600);
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    text-decoration: underline;
}

.cart-coupon-box {
    margin-top: 10px;
    gap: 8px;
}

.cart-totals-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    font-size: 0.9rem;
}

.cart-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
}

.cart-total-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

.cart-total-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    color: var(--text);
}

.cart-total-final strong {
    font-size: 1.12rem;
    font-weight: 800;
}

.cart-checkout-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    font-size: 0.96rem;
    font-weight: 700;
    border-radius: 10px;
}

/* Stepped Checkout Accordion */
.checkout-steps-card {
    padding: 8px 22px;
}

.checkout-step {
    border-bottom: 1px solid var(--border);
}

.checkout-step:last-child {
    border-bottom: none;
}

.checkout-step-head {
    width: 100%;
    border: none;
    background: transparent;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--blue-600);
    cursor: pointer;
    text-align: left;
}

.checkout-step-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.checkout-step.open .checkout-step-chevron,
.checkout-summary-step.open .checkout-step-chevron {
    transform: rotate(180deg);
}

.checkout-step-body {
    display: none;
    padding-bottom: 20px;
}

.checkout-step.open > .checkout-step-body,
.checkout-summary-step.open > .checkout-step-body {
    display: block;
}

.checkout-sub-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.checkout-continue-btn {
    width: 100%;
    margin-top: 6px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
}

.checkout-pay-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-pay-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    background: #f8fafc;
}

.checkout-pay-option:has(input:checked) {
    border-color: var(--blue-600);
    background: var(--blue-50);
}

.checkout-pay-option input {
    margin-top: 3px;
}

.checkout-pay-option strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text);
}

.checkout-pay-option span {
    font-size: 0.8rem;
    color: var(--muted);
}

.checkout-summary-toggle {
    display: none;
}

.order-top-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 22px;
}

/* Auth / Login & Register Tabs */
.auth-wrap {
    max-width: 460px;
    margin: 26px auto;
}

.auth-card {
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 5px;
    border-radius: 10px;
    background: #f1f5f9;
    margin-bottom: 20px;
}

.auth-tab {
    border: none;
    background: transparent;
    padding: 10px 12px;
    border-radius: 7px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.auth-tab.active {
    background: var(--white);
    color: var(--blue-700);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

.auth-head {
    margin-bottom: 18px;
}

.auth-head h2 {
    margin: 0 0 4px;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
}

.auth-head p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--muted);
}

.auth-switch-note {
    margin-top: 16px;
    text-align: center;
    font-size: 0.84rem;
    color: var(--muted);
}

.auth-switch-note button {
    border: none;
    background: transparent;
    padding: 0;
    color: var(--blue-600);
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
    text-decoration: underline;
}

.auth-demo-box {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px dashed var(--border);
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.auth-demo-box strong {
    color: var(--text);
    margin-bottom: 2px;
}

@media (max-width: 860px) {
    .checkout-desktop-head {
        display: none;
    }

    .checkout-summary-toggle {
        display: flex;
        padding: 4px 0 12px;
    }
}

@media (max-width: 1080px) {
    .nav-rates,
    .nav-rates-sep {
        display: none;
    }
}

@media (max-width: 860px) {
    .search-kbd {
        display: none;
    }

    .header-inner {
        gap: 12px;
    }

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

    .footer-mid {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social {
        align-items: flex-start;
    }

    .promo-grid,
    .checkout-grid,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .promo-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

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

    .admin-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(5, 8, 15, 0.65);
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .admin-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 265px;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.22s ease;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-close-btn,
    .admin-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 8px;
        border: 1px solid var(--border);
        background: transparent;
        color: var(--text);
        cursor: pointer;
    }

    .admin-close-btn {
        border-color: rgba(255, 255, 255, 0.14);
        color: #cbd5e1;
    }

    .admin-topbar {
        padding: 10px 14px;
    }

    .admin-rate-pyg,
    .admin-topbar-user {
        display: none;
    }

    .admin-main {
        padding: 16px 14px 32px;
    }
}

@media (max-width: 640px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    body {
        padding-bottom: 72px;
    }

    .topbar,
    .cat-bar,
    .nav-actions {
        display: none;
    }

    .site-header {
        background-color: #0b111e;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        overflow: hidden;
    }

    .site-header .container {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-header .header-inner {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr) auto;
        align-items: center;
        row-gap: 16px;
        column-gap: 8px;
        padding-top: 18px;
        padding-bottom: 22px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        justify-self: start;
        width: 28px;
        height: 32px;
        border: none;
        background: transparent;
        color: var(--white);
        padding: 0;
        cursor: pointer;
    }

    .brand {
        justify-self: start;
        color: var(--white);
        gap: 8px;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .brand-logo {
        height: 42px;
        max-width: 100%;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 0.86rem;
    }

    .brand-name {
        font-size: 1.08rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .brand-sub {
        display: none;
    }

    .mobile-rate-pill {
        display: inline-flex;
        align-items: center;
        justify-self: end;
        gap: 7px;
        background: transparent;
        border: none;
        padding: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .mobile-rate-pill .nav-rate-top {
        font-size: 0.54rem;
        gap: 4px;
    }

    .mobile-rate-pill .flag-icon {
        width: 13px;
        height: 9px;
    }

    .mobile-rate-pill .nav-rate-item strong {
        font-size: 0.73rem;
    }

    .mobile-rate-pill .nav-rate-slash {
        font-size: 0.95rem;
    }

    .search-form {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        background: #131c2e;
    }

    .search-form:focus-within {
        background: #162036;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.22);
    }

    .search-icon {
        padding-left: 13px;
    }

    .search-form input {
        color: var(--white);
        padding: 12px 10px;
        font-size: 0.92rem;
        min-width: 0;
        width: 100%;
    }

    .search-form input::placeholder {
        color: #94a3b8;
    }

    .search-form button {
        background: #2563eb;
        color: var(--white);
        padding: 10px 15px;
        margin: 4px;
        border-radius: 9px;
    }

    /* Full-height slide-in sidebar */
    .mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(5, 8, 15, 0.72);
        backdrop-filter: blur(2px);
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    .mobile-backdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 84%;
        max-width: 320px;
        background: #0b111e;
        color: #e2e8f0;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 100;
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s;
        box-shadow: none;
    }

    .mobile-sidebar.open {
        transform: translateX(0);
        visibility: visible;
        box-shadow: 10px 0 32px rgba(0, 0, 0, 0.55);
    }

    .mobile-sidebar-header {
        background: #070b12;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 16px 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .drawer-logo {
        height: 38px;
        width: auto;
        display: block;
        object-fit: contain;
    }

    .mobile-close-btn {
        width: 34px;
        height: 34px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        color: #cbd5e1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mobile-sidebar-user {
        padding: 16px 18px;
        background: #101829;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .drawer-welcome {
        font-size: 0.78rem;
        font-weight: 700;
        color: #94a3b8;
        margin-bottom: 10px;
    }

    .drawer-user-name {
        font-weight: 700;
        font-size: 0.95rem;
        color: var(--white);
    }

    .drawer-user-email {
        font-size: 0.78rem;
        color: #94a3b8;
        margin-top: 2px;
    }

    .drawer-auth-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .drawer-btn-primary,
    .drawer-btn-outline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 10px;
        border-radius: 8px;
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

    .drawer-btn-primary {
        background: #2563eb;
        color: var(--white);
        border: 1px solid #2563eb;
    }

    .drawer-btn-outline {
        background: rgba(255, 255, 255, 0.03);
        color: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .drawer-btn-primary:hover,
    .drawer-btn-outline:hover {
        text-decoration: none;
        color: var(--white);
    }

    .drawer-rates {
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .mobile-sidebar-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px 18px 28px;
        display: flex;
        flex-direction: column;
    }

    .mobile-sidebar-label {
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #64748b;
        margin-bottom: 6px;
    }

    .mobile-sidebar-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        color: #e2e8f0;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        border-radius: 6px;
    }

    .mobile-sidebar-link:hover {
        color: #60a5fa;
        background: rgba(37, 99, 235, 0.1);
        text-decoration: none;
    }

    .drawer-chevron {
        color: #64748b;
        font-size: 1.1rem;
    }

    .drawer-logout {
        color: #f87171 !important;
    }

    main.container {
        padding-top: 20px !important;
    }

    .promo-hero {
        margin: 4px 0 28px;
        gap: 14px;
    }

    .promo-banner-full {
        border-radius: 12px;
    }

    .promo-coupon-bar {
        margin: 0;
        padding: 10px 12px;
        gap: 8px;
        font-size: 0.82rem;
    }

    .promo-coupon-sep {
        display: none;
    }

    .site-footer {
        padding-top: 32px;
    }

    .pre-footer-benefits {
        margin-top: 36px;
        padding: 28px 0;
    }

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

    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 24px;
    }

    .footer-mid {
        padding: 22px 0;
        gap: 18px;
    }

    .footer-links {
        gap: 14px;
    }

    .cat-cards-strip {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        margin: 0 -16px 18px;
        padding: 0 16px 4px;
        scrollbar-width: none;
    }

    .cat-cards-strip::-webkit-scrollbar {
        display: none;
    }

    .cat-card-item {
        min-width: 136px;
        flex: 0 0 136px;
        background: #eef2f6;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 12px 12px 6px;
    }

    .cat-card-item span {
        font-size: 0.84rem;
        margin-bottom: 8px;
    }

    .cat-card-item img {
        height: 82px;
    }

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
        padding: 6px 4px;
        z-index: 50;
    }

    .mobile-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 0.72rem;
        font-weight: 600;
        color: var(--muted);
        padding: 4px 0;
        text-decoration: none;
    }

    .mobile-bottom-item.active {
        color: var(--blue-700);
    }

    .benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 18px;
    }

    .benefit-item {
        padding: 10px;
        gap: 8px;
        font-size: 0.78rem;
    }

    .benefit-icon {
        width: 30px;
        height: 30px;
    }

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

    .product-thumb {
        height: 145px;
        padding: 8px;
    }

    .product-body {
        padding: 10px 11px 12px;
        gap: 4px;
    }

    .product-title {
        font-size: 0.88rem;
    }

    .price-brl {
        font-size: 1.08rem;
    }

    .card {
        padding: 14px;
    }
}