:root {
    --bg: #f6f4ef;
    --bg-strong: #ece7de;
    --panel: rgba(255, 253, 249, 0.96);
    --panel-strong: #ffffff;
    --ink: #2c241d;
    --muted: #74685c;
    --line: #ddd4c8;
    --line-strong: #cfc2b1;
    --accent: #9a5a2d;
    --accent-soft: #f4e5d6;
    --nav: #241d18;
    --nav-soft: #342922;
    --success: #496a4f;
    --warning: #9b6a26;
    --danger: #9b4b44;
    --blue: #6e7d91;
    --violet: #8b6f7e;
    --gold: #a47b3f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(154, 90, 45, 0.08), transparent 24rem),
        radial-gradient(circle at bottom left, rgba(116, 104, 92, 0.08), transparent 26rem),
        linear-gradient(180deg, #faf8f4 0%, #f1ede6 100%);
    color: var(--ink);
}

.layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    background:
        radial-gradient(circle at top right, rgba(244, 229, 214, 0.08), transparent 14rem),
        linear-gradient(180deg, var(--nav) 0%, #312721 100%);
    color: #f7efe7;
    padding: 26px 18px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.brand-orb {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 35% 35%, rgba(255,255,255,0.82), transparent 28%),
        linear-gradient(135deg, #d39a6a, #9a5a2d);
    box-shadow: 0 14px 28px rgba(154, 90, 45, 0.22);
}

.sidebar h1 {
    font-size: 1.18rem;
    margin: 0;
    line-height: 1.2;
}

.sidebar-tagline {
    margin: 4px 0 0;
    color: #c3b1a2;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sidebar a,
.sidebar-link {
    display: block;
    color: #edf3fb;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 6px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar a.active,
.sidebar a:hover,
.sidebar-link.active,
.sidebar-link:hover {
    background: linear-gradient(135deg, rgba(154, 90, 45, 0.28), rgba(244, 229, 214, 0.08));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    transform: translateX(2px);
}

.sidebar-section-title {
    margin: 20px 10px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b7a696;
}

.sidebar-link.sub-link {
    margin-left: 12px;
    padding-left: 16px;
    position: relative;
}

.sidebar-link.sub-link::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%);
}

.content {
    padding: 24px;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-card {
    width: min(100%, 420px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(60, 41, 24, 0.08);
    padding: 28px 24px;
}

.auth-card.wide {
    width: min(100%, 720px);
}

.tracking-search-card {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
    background:
        radial-gradient(circle at top left, rgba(198, 150, 95, 0.18), transparent 24rem),
        radial-gradient(circle at bottom right, rgba(113, 155, 129, 0.14), transparent 20rem),
        linear-gradient(180deg, #fbf7f1 0%, #f2ebe0 100%);
}

.tracking-portal {
    width: min(920px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.tracking-portal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px);
    gap: 24px;
    align-items: stretch;
}

.tracking-portal-hero-copy {
    padding: 34px;
    border-radius: 34px;
    border: 1px solid rgba(177, 143, 109, 0.26);
    background:
        radial-gradient(circle at top right, rgba(207, 150, 89, 0.18), transparent 16rem),
        linear-gradient(145deg, rgba(255,255,255,0.92), rgba(247,239,228,0.94));
    box-shadow: 0 24px 54px rgba(72, 52, 33, 0.08);
}

.tracking-portal-hero-copy h1 {
    margin: 10px 0 12px;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.tracking-portal-hero-copy p {
    margin: 0;
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #6d5946;
}

.tracking-portal-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.tracking-portal-point {
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(177, 143, 109, 0.18);
}

.tracking-portal-point strong {
    display: block;
    margin-bottom: 6px;
    color: #3d2c1c;
}

.tracking-portal-point span {
    color: #7a6552;
    line-height: 1.55;
    font-size: 0.96rem;
}

.tracking-search-panel {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 32px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(177, 143, 109, 0.22);
    box-shadow: 0 24px 52px rgba(72, 52, 33, 0.08);
}

.tracking-search-panel-simple {
    max-width: 100%;
    border-radius: 24px;
}

.tracking-search-panel-head h2 {
    margin: 8px 0 8px;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.tracking-search-panel-head h1 {
    margin: 0 0 8px;
    font-size: clamp(1.85rem, 5vw, 2.6rem);
    line-height: 1.02;
}

.tracking-search-panel-head p {
    margin: 0;
    color: #786350;
    line-height: 1.65;
}

.tracking-search-panel-kicker {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f6ebe0;
    color: #875b35;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tracking-search-form {
    display: grid;
    gap: 14px;
}

.tracking-search-field {
    display: grid;
    gap: 10px;
}

.tracking-search-field span {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a6542;
}

.tracking-search-field input {
    height: 60px;
    border-radius: 18px;
    border: 1px solid rgba(168, 138, 107, 0.3);
    background: #fffdf9;
    font-size: 1.05rem;
    padding: 0 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.tracking-search-button {
    width: 100%;
    min-height: 58px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 800;
}

.tracking-search-tips {
    display: grid;
    gap: 12px;
}

.tracking-search-tip {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border-radius: 20px;
    background: #fbf6ef;
    border: 1px solid rgba(177, 143, 109, 0.16);
}

.tracking-search-tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #b56f3d, #d4a377);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.tracking-search-tip strong {
    display: block;
    margin-bottom: 4px;
    color: #3d2c1c;
}

.tracking-search-tip p {
    margin: 0;
    color: #7a6653;
    line-height: 1.5;
    font-size: 0.94rem;
}

.tracking-results-shell {
    padding: 24px;
    border-radius: 30px;
    border: 1px solid rgba(177, 143, 109, 0.22);
    background: rgba(255,255,255,0.76);
    box-shadow: 0 20px 44px rgba(72, 52, 33, 0.05);
}

.tracking-results-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.tracking-results-toolbar h3 {
    margin: 8px 0 8px;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.tracking-results-toolbar p {
    margin: 0;
}

.tracking-results-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 12px;
}

.tracking-results-metric {
    padding: 16px;
    border-radius: 20px;
    background: #fffaf4;
    border: 1px solid rgba(177, 143, 109, 0.16);
    min-width: 120px;
}

.tracking-results-metric span {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a6542;
}

.tracking-results-metric strong {
    display: block;
    margin-top: 10px;
    font-size: 1.55rem;
    color: #2f251b;
}

.tracking-blank-state {
    min-height: 220px;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(207, 150, 89, 0.08), transparent 16rem),
        rgba(255,255,255,0.74);
    border: 1px dashed rgba(177, 143, 109, 0.34);
    display: grid;
    place-items: center;
    text-align: center;
}

.tracking-blank-state h4 {
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.tracking-blank-state p {
    margin: 0;
    max-width: 42rem;
    color: #796553;
    line-height: 1.7;
}

.tracking-results-list {
    display: grid;
    gap: 18px;
}

.tracking-order-card {
    padding: 20px;
    border-radius: 26px;
    border: 1px solid rgba(177, 143, 109, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(249,244,237,0.92));
    box-shadow: 0 14px 28px rgba(74, 52, 31, 0.05);
}

.tracking-order-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.tracking-order-company {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f1e1d2;
    color: #7d5430;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tracking-order-card h4 {
    margin: 10px 0 0;
    font-size: 1.4rem;
}

.tracking-awb-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff8f1;
    border: 1px solid rgba(177, 143, 109, 0.18);
    color: #6e4a2e;
    font-weight: 700;
}

.tracking-order-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tracking-order-item {
    min-width: 0;
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(177, 143, 109, 0.14);
}

.tracking-order-item span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a6542;
}

.tracking-order-item strong,
.tracking-status-box p {
    overflow-wrap: anywhere;
}

.tracking-status-box {
    margin-top: 16px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffdf9, #f6efe6);
    border: 1px solid rgba(177, 143, 109, 0.18);
}

.tracking-status-box span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a6542;
}

.tracking-status-box p {
    margin: 0;
    color: #413325;
    line-height: 1.7;
}

.tracking-status-update-form {
    display: grid;
    gap: 10px;
}

.tracking-status-update-form textarea {
    width: 100%;
    min-height: 96px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.95);
    font: inherit;
    line-height: 1.5;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.app-kicker,
.hero-kicker {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6542;
}

.app-title {
    margin: 6px 0 0;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.08;
}

.mobile-nav-toggle,
.mobile-sidebar-backdrop,
.mobile-nav-button {
    display: none;
}

.hero {
    background:
        radial-gradient(circle at top right, rgba(212, 184, 153, 0.16), transparent 16rem),
        linear-gradient(135deg, rgba(255,252,247,0.96), rgba(245,240,232,0.98));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: 0 22px 44px rgba(23, 40, 63, 0.07);
}

.hero-erp {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.hero-erp h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    max-width: 16ch;
}

.hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 320px;
    justify-content: flex-end;
}

.hero-badge {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--line);
    font-size: 0.9rem;
    font-weight: 700;
    color: #6d543a;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.card,
.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 30px rgba(60, 41, 24, 0.05);
    backdrop-filter: blur(12px);
}

.stat-card {
    position: relative;
    overflow: hidden;
    min-height: 132px;
}

.stat-card::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -22px;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    opacity: 0.12;
}

.accent-orange::after { background: linear-gradient(135deg, #c78655, #ead2b8); }
.accent-green::after { background: linear-gradient(135deg, #7d9b79, #dbe8d6); }
.accent-blue::after { background: linear-gradient(135deg, #8e9baa, #dce4eb); }
.accent-violet::after { background: linear-gradient(135deg, #9d8794, #e4d8df); }
.accent-red::after { background: linear-gradient(135deg, #b98376, #edd6cf); }
.accent-gold::after { background: linear-gradient(135deg, #b39763, #eee0c1); }

.source-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,250,255,0.92));
}

.source-metric {
    margin-top: 12px;
    margin-bottom: 12px;
}

.source-lines {
    display: grid;
    gap: 10px;
}

.source-lines div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.95rem;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.section-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.metric {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    margin: 10px 0 0;
    font-weight: 800;
    line-height: 1.08;
}

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

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

table {
    width: 100%;
    border-collapse: collapse;
}

.table-scroll {
    max-height: 520px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
}

.tracking-open-link {
    color: #92572a;
    text-decoration: none;
    border-bottom: 1px solid rgba(146, 87, 42, 0.25);
}

.tracking-open-link:hover {
    color: #6f3e18;
    border-bottom-color: rgba(111, 62, 24, 0.5);
}

.product-table-scroll {
    max-height: 72vh;
}

.table-scroll table {
    min-width: 760px;
}

.table-scroll thead th {
    position: sticky;
    top: 0;
    background: #faf7f2;
    z-index: 1;
}

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

th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7b6e63;
}

.badge {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.badge.success {
    background: rgba(21, 128, 61, 0.12);
    color: var(--success);
    border-color: rgba(21, 128, 61, 0.15);
}

.badge.warning {
    background: rgba(180, 83, 9, 0.12);
    color: var(--warning);
    border-color: rgba(180, 83, 9, 0.16);
}

.badge.danger {
    background: rgba(180, 35, 24, 0.11);
    color: var(--danger);
    border-color: rgba(180, 35, 24, 0.14);
}

.badge.info {
    background: rgba(110, 125, 145, 0.12);
    color: #5e6a78;
    border-color: rgba(110, 125, 145, 0.16);
}

.badge.invoice-generated {
    background: rgba(56, 189, 248, 0.16);
    color: #0369a1;
    border-color: rgba(56, 189, 248, 0.28);
}

.invoice-row-pending {
    background: linear-gradient(90deg, rgba(199, 134, 85, 0.08), rgba(244, 229, 214, 0.26));
}

.invoice-row-generated {
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.22), rgba(224, 242, 254, 0.72));
}

.balance-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.balance-pill.pending {
    background: rgba(154, 90, 45, 0.12);
    color: #88512e;
    box-shadow: inset 0 0 0 1px rgba(154, 90, 45, 0.14);
}

.balance-pill.paid {
    background: rgba(45, 122, 85, 0.12);
    color: var(--success);
}

.toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    width: 100%;
}

.button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #b26d3d);
    color: white;
    padding: 11px 15px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(154, 90, 45, 0.18);
}

.button.secondary {
    background: #f7f0e8;
    color: var(--ink);
    box-shadow: none;
    border: 1px solid var(--line);
}

.list {
    margin: 0;
    padding-left: 18px;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #40556e;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.95);
    color: var(--ink);
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #d0ae8c;
    box-shadow: 0 0 0 4px rgba(154, 90, 45, 0.10);
    background: #fff;
}

.invoice-sheet {
    max-width: 1100px;
    margin: 0 auto;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}

.invoice-summary {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.invoice-summary table {
    max-width: 360px;
}

.print-mode .sidebar {
    display: none;
}

.print-mode .layout {
    grid-template-columns: 1fr;
}

.print-mode .content {
    padding: 16px;
}

.barcode-switcher.active {
    background: #f4e8dc;
    border-color: #e1c8ad;
}

@media print {
    body {
        background: #fff;
    }

    .sidebar,
    .no-print,
    .toolbar {
        display: none !important;
    }

    .layout {
        display: block;
    }

    .content {
        padding: 0;
    }

    .panel,
    .card,
    .hero {
        box-shadow: none;
        border-radius: 0;
        border-color: #d8d0c5;
    }

    .invoice-sheet {
        max-width: 100%;
        border: none;
    }
}

@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .mobile-nav-button,
    .mobile-sidebar-backdrop {
        display: inline-flex;
    }

    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(320px, calc(100vw - 54px));
        transform: translateX(-104%);
        transition: transform 0.28s ease;
        z-index: 35;
        height: auto;
    }

    .mobile-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(16, 28, 45, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.28s ease;
        z-index: 30;
    }

    .mobile-nav-toggle:checked + .layout .sidebar {
        transform: translateX(0);
    }

    .mobile-nav-toggle:checked + .layout .mobile-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .content {
        padding: 16px;
    }

    .app-header {
        position: sticky;
        top: 0;
        z-index: 15;
        background: rgba(246, 244, 239, 0.94);
        backdrop-filter: blur(12px);
        padding: 6px 0 12px;
        margin-bottom: 16px;
    }

    .hero-erp {
        flex-direction: column;
    }

    .hero-badges {
        justify-content: flex-start;
    }

    .invoice-header {
        flex-direction: column;
    }

    .pos-shell {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .cards {
        grid-template-columns: 1fr;
    }

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

    .panel,
    .card,
    .hero {
        padding: 16px;
        border-radius: 18px;
    }

    .table-scroll {
        max-height: none;
    }

    .section-headline {
        flex-direction: column;
        align-items: flex-start;
    }

    body:has(.tracking-search-card) .auth-card {
        padding: 22px 16px;
    }

    .tracking-portal-hero,
    .tracking-order-grid,
    .tracking-portal-points,
    .tracking-results-metrics {
        grid-template-columns: 1fr;
    }

    .tracking-results-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .tracking-portal-hero-copy,
    .tracking-search-panel,
    .tracking-results-shell,
    .tracking-order-card {
        padding: 18px;
    }

    .tracking-portal-hero-copy h1 {
        font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .tracking-blank-state {
        min-height: 240px;
        padding: 20px 16px;
    }
}

body:has(.tracking-search-card) .auth-shell {
    align-items: stretch;
    padding: 0;
}

body:has(.tracking-search-card) {
    background: #f7f3ec;
}

body:has(.tracking-search-card) .auth-card {
    padding: 28px;
}

.tracking-search-classic {
    width: min(100%, 980px);
    max-width: 980px;
    min-height: auto;
    margin: 24px auto;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(60, 41, 24, 0.08);
}

.tracking-search-classic-title {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.02;
}

.tracking-search-classic-copy {
    margin: 0 0 18px;
}

.tracking-search-classic-form {
    display: grid;
    gap: 14px;
}

.tracking-search-classic-field {
    display: grid;
    gap: 8px;
}

.tracking-search-classic-field span {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a6542;
}

.tracking-search-classic-results {
    margin-top: 18px;
}

.tracking-search-classic-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.tracking-search-classic .tracking-result-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    padding: 18px;
    box-shadow: 0 10px 22px rgba(60, 41, 24, 0.04);
}

.tracking-search-classic .tracking-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tracking-search-classic .tracking-result-item {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.tracking-search-classic .tracking-status-item {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid rgba(181, 150, 118, 0.18);
}

@media (max-width: 640px) {
    .tracking-search-classic {
        margin: 0;
        max-width: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .tracking-search-classic-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tracking-search-classic .tracking-result-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.tracking-page {
    width: 100%;
}

.tracking-page-container {
    max-width: 1150px;
    margin: 0 auto;
}

.tracking-page-header {
    background: #111;
    color: #fff;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tracking-page-brand {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tracking-page-sub {
    font-size: 14px;
    opacity: 0.85;
}

.tracking-page-search,
.tracking-page-warning,
.tracking-section,
.tracking-summary-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tracking-page-search,
.tracking-page-warning,
.tracking-section {
    padding: 20px;
    margin-bottom: 20px;
}

.tracking-page-search {
    border-radius: 0 0 12px 12px;
}

.tracking-page-search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tracking-page-search-form input[type="text"] {
    flex: 1;
    min-width: 250px;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
}

.tracking-page-search-form button {
    padding: 13px 24px;
    background: #ff6600;
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
}

.tracking-page-warning {
    color: #8a6d3b;
    border-left: 4px solid #f0ad4e;
}

.tracking-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.tracking-summary-item {
    padding: 16px;
    border-left: 4px solid #ff6600;
}

.tracking-label {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.tracking-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    word-break: break-word;
    line-height: 1.55;
}

.tracking-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    color: #111;
}

.tracking-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fff;
}

.tracking-details-table th {
    text-align: left;
    background: #f9f9f9;
    padding: 12px;
    border-bottom: 2px solid #eaeaea;
    font-size: 14px;
}

.tracking-details-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #eaeaea;
    font-size: 14px;
    vertical-align: top;
}

.tracking-field-col {
    width: 220px;
    font-weight: 700;
    color: #555;
}

@media (max-width: 768px) {
    .tracking-page-container {
        width: 100%;
    }

    .tracking-page-search-form {
        flex-direction: column;
    }

    .tracking-page-search-form input[type="text"],
    .tracking-page-search-form button {
        width: 100%;
    }

    .tracking-details-table th {
        display: none;
    }

    .tracking-details-table,
    .tracking-details-table tbody,
    .tracking-details-table tr,
    .tracking-details-table td {
        display: block;
        width: 100%;
    }

    .tracking-details-table tr {
        margin-bottom: 14px;
        border: 1px solid #eaeaea;
        border-radius: 10px;
        overflow: hidden;
    }

    .tracking-details-table td {
        border-bottom: 1px solid #eaeaea;
    }

    .tracking-details-table td:last-child {
        border-bottom: none;
    }

    .tracking-field-col {
        width: 100%;
        background: #fafafa;
    }
}

.storefront-body {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: #1f2937;
    background:
        radial-gradient(circle at top left, rgba(104, 188, 106, 0.16), transparent 24rem),
        linear-gradient(180deg, #fffdf8 0%, #f6f9f2 100%);
}

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

.topbar {
    border-bottom: 1px solid #e4ebd9;
    background: rgba(255, 255, 255, 0.85);
}

.topbar-inner,
.nav-inner,
.section-head,
.newsletter-card,
.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-inner {
    min-height: 42px;
    font-size: 0.88rem;
    color: #4b5563;
}

.topbar-actions,
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.topbar a,
.nav-links a,
.section-head a,
.site-footer a {
    color: inherit;
    text-decoration: none;
}

.main-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 252, 246, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #edf2e4;
}

.nav-inner {
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #12261b;
    text-decoration: none;
}

.brand strong,
.footer-brand strong {
    display: block;
    font-size: 1.45rem;
}

.brand small,
.footer-brand small {
    display: block;
    color: #64748b;
    text-transform: lowercase;
}

.brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 5px 11px 5px 11px;
    background: linear-gradient(135deg, #68bc6a, #2f9e44);
    transform: rotate(-12deg);
    box-shadow: 10px 0 0 -5px rgba(255, 171, 74, 0.95);
}

.searchbar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 450px;
}

.searchbar input,
.newsletter-form input {
    width: 100%;
    border: 1px solid #d9e5c9;
    border-radius: 999px;
    padding: 14px 18px;
    font: inherit;
    background: #fff;
}

.searchbar button,
.newsletter-form button {
    border: none;
    border-radius: 999px;
    background: #57b65f;
    color: #fff;
    padding: 13px 22px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hero-store {
    padding: 34px 0 24px;
}

.hero-slider {
    position: relative;
}

.hero-track {
    position: relative;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.985);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.hero-banner,
.deal-banner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 26px;
    align-items: center;
}

.hero-copy,
.hero-stage,
.deal-banner {
    border-radius: 30px;
}

.hero-copy {
    padding: 40px 12px 40px 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #57b65f;
}

.light-eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.hero-copy h1,
.deal-copy h2,
.section h2,
.newsletter-card h2 {
    margin: 0;
    line-height: 1.04;
    color: #10231a;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4.35rem);
    max-width: 10ch;
}

.hero-copy p,
.deal-copy p,
.product-card p,
.blog-card p,
.site-footer p,
.testimonial-card p {
    color: #5f6d66;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 30px;
}

.storefront-button {
    background: linear-gradient(135deg, #63c164, #3aa84f);
    border-radius: 999px;
    padding: 13px 24px;
    box-shadow: 0 14px 30px rgba(71, 163, 79, 0.22);
}

.storefront-ghost {
    border-radius: 999px;
    background: #eff7e9;
    color: #203225;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stats div {
    min-width: 120px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e2ecd8;
}

.hero-stats strong,
.price-row strong {
    display: block;
    font-size: 1.2rem;
    color: #10231a;
}

.hero-stats span,
.price-row small {
    color: #6b7280;
}

.hero-banner {
    min-height: 500px;
    padding: 26px 30px;
    border: 1px solid #e8eadf;
    border-radius: 34px;
    overflow: hidden;
}

.hero-stage {
    position: relative;
    min-height: 420px;
    padding: 20px;
    overflow: hidden;
    border-radius: 30px;
}

.hero-theme-peach {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.7), transparent 18rem),
        linear-gradient(135deg, #fae8de, #f7ecd9);
}

.hero-theme-gold {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.66), transparent 18rem),
        linear-gradient(135deg, #ffe2b8, #fff1d8);
}

.hero-theme-green {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.66), transparent 18rem),
        linear-gradient(135deg, #dbf1d4, #eff9e5);
}

.hero-stage-glow {
    position: absolute;
    inset: 8% 12% 10% 12%;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-spotlight {
    position: absolute;
    right: 8%;
    top: 10%;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.1) 58%, transparent 70%),
        linear-gradient(135deg, rgba(98, 193, 101, 0.32), rgba(255, 171, 74, 0.24));
    filter: blur(0.2px);
}

.hero-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 22px 45px rgba(73, 72, 35, 0.09);
}

.main-card {
    position: absolute;
    left: 8%;
    bottom: 10%;
    width: min(390px, calc(100% - 100px));
    padding: 28px;
    border-radius: 28px;
}

.side-card {
    position: absolute;
    right: 6%;
    width: 220px;
    padding: 18px 20px;
    border-radius: 22px;
    backdrop-filter: blur(8px);
}

.top-card {
    top: 14%;
}

.bottom-card {
    bottom: 14%;
}

.hero-card-tag,
.basket-label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff8e8;
    color: #418b46;
    font-size: 0.84rem;
    font-weight: 700;
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-pill-row span {
    padding: 10px 12px;
    border-radius: 999px;
    background: #f7fbf3;
    border: 1px solid #e0ecd5;
    font-weight: 700;
    color: #27432d;
}

.side-card strong {
    display: block;
    font-size: 1.2rem;
    color: #10231a;
}

.side-card small {
    display: block;
    margin-top: 4px;
    color: #5f6d66;
    font-size: 0.92rem;
}

.deal-card {
    position: relative;
    z-index: 1;
    width: min(360px, 100%);
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 45px rgba(149, 96, 47, 0.14);
}

.deal-card::before {
    content: "";
    position: absolute;
    inset: auto -30px -26px auto;
    width: 130px;
    height: 130px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(104, 188, 106, 0.26), rgba(255, 171, 74, 0.2));
    z-index: -1;
}

.hero-card h3,
.promo-card h3,
.product-card h3,
.blog-card h3,
.testimonial-card h3,
.site-footer h3 {
    margin: 14px 0 10px;
    color: #132218;
}

.brand-strip div,
.hero-pill-row span,
.brand-strip div {
    padding: 12px 14px;
    border-radius: 16px;
    background: #f7fbf3;
    border: 1px solid #e0ecd5;
    font-weight: 700;
    color: #27432d;
}

.hero-slider-ui {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.hero-dots,
.hero-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dot,
.hero-arrow {
    border: none;
    cursor: pointer;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(87, 182, 95, 0.24);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: #57b65f;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #fff;
    color: #1d3a22;
    font-size: 1.15rem;
    box-shadow: 0 12px 26px rgba(24, 45, 27, 0.1);
}

.section {
    padding: 26px 0;
}

.soft-section {
    background: linear-gradient(180deg, rgba(247, 250, 243, 0.8), rgba(255, 255, 255, 0.7));
}

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

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-head a {
    color: #4c9b52;
    font-weight: 700;
}

.category-grid,
.product-grid,
.banner-grid,
.testimonial-grid,
.blog-grid {
    display: grid;
    gap: 18px;
}

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

.category-card,
.product-card,
.testimonial-card,
.blog-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5eddc;
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(53, 88, 58, 0.06);
}

.category-card {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 171, 74, 0.28), transparent 3rem),
        linear-gradient(180deg, #ffffff, #f5f9ef);
}

.category-card span {
    font-size: 1.05rem;
    font-weight: 800;
    color: #18281c;
}

.category-card small {
    margin-top: 6px;
    color: #728078;
}

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

.tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff1da;
    color: #b56b07;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-art,
.blog-art {
    border-radius: 22px;
}

.product-art {
    height: 180px;
    margin: 16px 0 18px;
    background-color: #f7faf2;
    border: 1px solid #e7eedf;
}

.art-onion {
    background:
        radial-gradient(circle at 35% 50%, #c66386 0 20%, transparent 21%),
        radial-gradient(circle at 55% 42%, #d77695 0 18%, transparent 19%),
        radial-gradient(circle at 52% 65%, #c25578 0 17%, transparent 18%),
        radial-gradient(circle at 68% 58%, #d27995 0 16%, transparent 17%),
        linear-gradient(180deg, #fcf2f6, #f8f7ef);
}

.art-tomato {
    background:
        radial-gradient(circle at 38% 52%, #f0593e 0 18%, transparent 19%),
        radial-gradient(circle at 58% 48%, #ea4f39 0 18%, transparent 19%),
        radial-gradient(circle at 68% 64%, #f36b4d 0 15%, transparent 16%),
        linear-gradient(180deg, #fff4ef, #f7f7ef);
}

.art-banana {
    background:
        radial-gradient(ellipse at 45% 45%, #f1d867 0 16%, transparent 17%),
        radial-gradient(ellipse at 56% 56%, #f4df79 0 16%, transparent 17%),
        radial-gradient(ellipse at 64% 40%, #ebd055 0 16%, transparent 17%),
        linear-gradient(180deg, #fff8d9, #f7f7ef);
}

.art-mango {
    background:
        radial-gradient(circle at 38% 52%, #d8d87a 0 16%, transparent 17%),
        radial-gradient(circle at 56% 48%, #b7d479 0 16%, transparent 17%),
        radial-gradient(circle at 68% 64%, #f0bf70 0 15%, transparent 16%),
        linear-gradient(180deg, #f4ffd8, #f7f7ef);
}

.price-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 18px;
}

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

.promo-card,
.newsletter-card,
.deal-banner {
    position: relative;
    overflow: hidden;
}

.promo-card {
    padding: 24px;
    min-height: 210px;
    border-radius: 26px;
}

.peach-card {
    background: linear-gradient(135deg, #ffd7cb, #ffe9df);
}

.yellow-card {
    background: linear-gradient(135deg, #ffdca5, #fff0d2);
}

.green-card {
    background: linear-gradient(135deg, #dff7bd, #effedc);
}

.brand-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.deal-banner {
    padding: 32px;
    background: linear-gradient(135deg, #ecf7e8, #d9f0d4);
    border: 1px solid #d4ebcf;
}

.deal-copy h2 {
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    max-width: 12ch;
}

.deal-visual {
    position: relative;
    min-height: 260px;
    display: grid;
    place-items: center;
}

.deal-bubble {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.72), transparent 28%),
        linear-gradient(135deg, rgba(99, 193, 100, 0.4), rgba(255, 171, 74, 0.25));
}

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

.blog-art {
    height: 170px;
    margin-bottom: 18px;
}

.blog-art-one {
    background:
        radial-gradient(circle at 30% 55%, rgba(255, 171, 74, 0.92) 0 12%, transparent 13%),
        radial-gradient(circle at 50% 40%, rgba(104, 188, 106, 0.88) 0 10%, transparent 11%),
        linear-gradient(135deg, #ffedca, #fff6e6);
}

.blog-art-two {
    background:
        radial-gradient(circle at 38% 48%, rgba(240, 124, 63, 0.92) 0 13%, transparent 14%),
        radial-gradient(circle at 62% 62%, rgba(154, 89, 209, 0.62) 0 12%, transparent 13%),
        linear-gradient(135deg, #fff0dc, #f3ffd8);
}

.blog-art-three {
    background:
        radial-gradient(circle at 40% 44%, rgba(255, 90, 90, 0.86) 0 12%, transparent 13%),
        radial-gradient(circle at 65% 60%, rgba(255, 171, 74, 0.88) 0 12%, transparent 13%),
        linear-gradient(135deg, #ffe5df, #efffdc);
}

.newsletter-card {
    padding: 28px 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, #52b95b, #349f47);
    color: #fff;
}

.newsletter-card h2 {
    color: #fff;
    max-width: 15ch;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(460px, 100%);
}

.newsletter-form input {
    border-color: transparent;
}

.site-footer {
    margin-top: 28px;
    padding: 54px 0 28px;
    background: #11202d;
    color: #d7e0ea;
}

.footer-grid {
    align-items: start;
}

.footer-grid > div {
    display: grid;
    gap: 10px;
}

.footer-brand {
    color: #fff;
}

@media (max-width: 1100px) {
    .nav-inner,
    .topbar-inner,
    .section-head,
    .newsletter-card,
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .hero-banner,
    .deal-banner {
        grid-template-columns: 1fr;
    }

    .hero-track {
        min-height: 780px;
    }

    .hero-banner {
        min-height: 720px;
    }

    .hero-copy {
        padding-right: 0;
    }

    .main-card {
        left: 5%;
        right: 5%;
        width: auto;
    }

    .side-card {
        right: 5%;
    }

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

    .product-grid,
    .banner-grid,
    .testimonial-grid,
    .blog-grid,
    .brand-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .topbar {
        display: none;
    }

    .hero-copy h1,
    .deal-copy h2,
    .section h2,
    .newsletter-card h2 {
        max-width: none;
    }

    .hero-banner {
        padding: 20px;
        min-height: 760px;
    }

    .hero-track {
        min-height: 820px;
    }

    .hero-slider-ui {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stage {
        min-height: 330px;
    }

    .side-card {
        position: static;
        width: auto;
        margin-top: 14px;
    }

    .main-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: auto;
    }

    .category-grid,
    .product-grid,
    .banner-grid,
    .testimonial-grid,
    .blog-grid,
    .brand-strip {
        grid-template-columns: 1fr;
    }

    .newsletter-form,
    .searchbar {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form button,
    .searchbar button {
        width: 100%;
    }
}
