/* ==========================================
   DOMESTICHUB — PREMIUM MARKETPLACE
   Ethiopian Products Marketplace
========================================== */

/* 1. DESIGN SYSTEM */

:root {
    --green: #176b45;
    --green-dark: #10432e;
    --green-deep: #092f24;
    --green-light: #eaf4ed;

    --gold: #e9b949;
    --gold-light: #fff5d8;

    --ink: #17231d;
    --muted: #66736a;

    --background: #f7f8f3;
    --white: #ffffff;
    --border: #e5eae5;

    --radius: 14px;
    --radius-small: 9px;

    --shadow: 0 8px 30px rgba(16, 67, 46, 0.07);

    --container: 1180px;
}

/* 2. RESET */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.cart-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 3. ANNOUNCEMENT BAR */

.announcement-bar {
    background: var(--green-dark);
    color: var(--white);
    font-size: 12px;
}

.announcement-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.announcement-inner p {
    margin: 0;
    font-weight: 700;
}

.announcement-links,
.announcement-account {
    display: flex;
    align-items: center;
    gap: 20px;
}

.announcement-links {
    color: #e1ebe4;
}

.announcement-account a:hover {
    color: var(--gold);
}

/* 4. BRAND */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    font-size: 32px;
}

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

.brand-text strong {
    font-size: 26px;
    letter-spacing: -1px;
    color: var(--green-dark);
    font-weight: 800;
}

.brand-text strong span {
    color: #c89521;
}

.brand-text small {
    margin-top: 3px;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.1px;
}

/* 5. HEADER */

.site-header {
    background: var(--white);
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border);
}

.header-main {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.search-form {
    display: flex;
    flex: 1;
    max-width: 590px;
    min-width: 180px;
    border: 1px solid #dce4dd;
    border-radius: 8px;
    overflow: hidden;
    background: #fafcfb;
}

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

.search-form input:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--gold);
}

.search-form button {
    border: 0;
    background: var(--green-dark);
    color: var(--white);
    padding: 0 22px;
    font-weight: 700;
    transition: background 0.2s;
}

.search-form button:hover {
    background: var(--green);
}

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    font: inherit;
    white-space: nowrap;
    font-weight: 700;
    color: var(--green-dark);
    cursor: pointer;
}

.cart-count {
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding-inline: 6px;
    border-radius: 50px;
    background: var(--green-dark);
    color: var(--white);
    font-size: 11px;
}

/* 6. NAVIGATION */

.main-navigation {
    border-top: 1px solid #f0f2ef;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 34px;
    min-height: 45px;
    overflow-x: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    height: 45px;
    font-size: 13px;
    font-weight: 600;
    color: #43564a;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green);
    border-bottom-color: var(--green);
}

/* 7. HERO */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(5, 39, 27, 0.93) 0%,
            rgba(5, 39, 27, 0.76) 44%,
            rgba(5, 39, 27, 0.18) 100%
        ),
        url("https://images.unsplash.com/photo-1447933601403-0c6688de566e?auto=format&fit=crop&w=2000&q=85")
        center 52% / cover no-repeat;

    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(5, 39, 27, 0.18),
        transparent 60%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 62px;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow,
.section-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    color: #d6a62c;
}

.hero h1 {
    margin: 12px 0 18px;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -2.2px;
    line-height: 1.1;
}

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

.hero-copy > p {
    max-width: 510px;
    margin: 0;
    color: #edf4ef;
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 29px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 21px;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.button:hover:not(:disabled) {
    transform: translateY(-2px);
}

.button-gold {
    background: var(--gold);
    color: var(--green-deep);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

.button-gold:hover {
    background: #f4cc65;
}

.button-primary {
    background: var(--green);
    color: var(--white);
}

.button-primary:hover:not(:disabled) {
    background: var(--green-dark);
}

.hero-secondary-link {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 27px;
    font-size: 11px;
    color: #e5eee7;
}

/* 8. BENEFITS STRIP */

.benefits-strip {
    background: #f1f7f1;
    border-bottom: 1px solid #e6eee6;
}

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

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 24px;
    border-right: 1px solid #dce8dd;
}

.benefit:first-child {
    padding-left: 0;
}

.benefit:last-child {
    border-right: 0;
    padding-right: 0;
}

.benefit-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e1efe2;
    font-size: 22px;
    color: var(--green);
}

.benefit h3,
.benefit p {
    margin: 0;
}

.benefit h3 {
    font-size: 13px;
    font-weight: 800;
    color: var(--green-dark);
}

.benefit p {
    margin-top: 4px;
    font-size: 11px;
    color: var(--muted);
}

/* 9. GENERAL SECTIONS */

.section {
    padding-block: 64px;
}

.categories-section {
    background: var(--background);
}

.products-section {
    background: var(--white);
}

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

.section-heading h2,
.suppliers-section h2,
.business-inner h2 {
    margin: 5px 0 6px;
    color: var(--green-dark);
    font-size: clamp(25px, 3vw, 33px);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.25;
}

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

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--green);
    font-weight: 700;
    font-size: 12px;
}

.text-link:hover {
    color: #a97910;
}

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

/* 10. CATEGORY CARDS */

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

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 22px 12px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

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

.category-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #f3f7ef;
    font-size: 34px;
}

.category-card h3 {
    margin: 0;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 800;
}

.category-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
}

/* 11. PRODUCT GRID */

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

.product-card {
    display: flex;
    gap: 19px;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

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

.product-image {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 145px;
    min-width: 0;
    min-height: 165px;
    border-radius: 10px;
    background: linear-gradient(145deg, #f5f0e3, #e6eddf);
    font-size: 52px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    min-height: 165px;
    object-fit: cover;
}

.product-image > span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 165px;
}

.product-info {
    flex: 1;
    min-width: 0;
}

.product-category {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.product-info h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--green-dark);
}

.product-description {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.product-price {
    margin: 8px 0;
    color: var(--green);
    font-size: 20px;
    font-weight: 800;
}

.product-price small {
    font-size: 11px;
    font-weight: 600;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: var(--muted);
    font-size: 10px;
}

.product-supplier {
    margin-top: 10px;
    color: #435b4a;
    font-size: 11px;
    font-weight: 700;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-actions .button {
    min-height: 36px;
    padding: 8px 13px;
    font-size: 11px;
}

.product-actions .button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.stock-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
}

.loading-message,
.empty-state {
    grid-column: 1 / -1;
    padding: 35px 20px;
    text-align: center;
    border: 1px dashed #cbd9cc;
    border-radius: var(--radius);
    background: #fafcf9;
    color: var(--muted);
}

.empty-state h3 {
    color: var(--green-dark);
}

.empty-state[hidden],
.toast[hidden] {
    display: none;
}

/* 12. MARKETPLACE PROMISE */

.marketplace-promise {
    background: #f1f7f1;
    border-block: 1px solid #e2ece3;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 29px;
    gap: 25px;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.promise-item > span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: var(--white);
    font-size: 22px;
}

.promise-item h3 {
    margin: 0;
    color: var(--green-dark);
    font-size: 13px;
}

.promise-item p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 11px;
}

/* 13. SUPPLIERS */

.suppliers-section {
    background: var(--white);
}

.supplier-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.supplier-content > div:first-child > p {
    max-width: 550px;
    margin: 15px 0 24px;
    color: var(--muted);
    line-height: 1.9;
}

.supplier-highlight {
    padding: 30px;
    border: 1px solid #dce8dd;
    border-radius: var(--radius);
    background: #f5f8f1;
}

.supplier-highlight-icon {
    font-size: 32px;
}

.supplier-highlight h3 {
    margin: 12px 0 8px;
    color: var(--green-dark);
    font-size: 20px;
}

.supplier-highlight p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

/* 14. BUSINESS CTA */

.business-section {
    padding-block: 48px;
    color: var(--white);
    background: linear-gradient(120deg, var(--green-dark), var(--green));
}

.business-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.business-inner h2 {
    color: var(--white);
}

.business-inner p {
    margin: 10px 0 0;
    color: #d9e9dd;
    font-size: 13px;
}

/* 15. FOOTER */

.site-footer {
    color: #e2ece5;
    background: var(--green-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 35px;
    padding-block: 48px;
}

.footer-logo .brand-text strong {
    color: var(--white);
}

.footer-logo .brand-text small {
    color: #b9cec0;
}

.footer-brand > p {
    max-width: 270px;
    margin-top: 18px;
    color: #b9cec0;
    font-size: 12px;
    line-height: 1.9;
}

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

.footer-column h3 {
    margin: 5px 0 9px;
    color: var(--white);
    font-size: 13px;
}

.footer-column a,
.footer-column p {
    margin: 0;
    color: #b9cec0;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
}

.footer-bottom p {
    margin: 0;
    color: #a8c1b1;
    font-size: 11px;
}

/* 16. NOTIFICATIONS */

.toast {
    position: fixed;
    z-index: 10000;
    right: 22px;
    bottom: 22px;
    max-width: calc(100% - 44px);
    padding: 14px 20px;
    color: var(--white);
    background: var(--green-dark);
    border-radius: 9px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    font-size: 13px;
    font-weight: 600;
}

/* 17. SHOPPING CART */

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(10, 25, 18, 0.58);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cart-overlay[hidden] {
    display: none;
}

.cart-overlay.is-visible {
    opacity: 1;
}

.cart-panel {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;

    width: min(440px, 100%);
    height: 100%;
    height: 100dvh;

    background: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);

    transform: translateX(105%);
    visibility: hidden;

    transition:
        transform 0.25s ease,
        visibility 0.25s ease;
}

.cart-panel.is-open {
    transform: translateX(0);
    visibility: visible;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    margin: 4px 0 0;
    color: var(--green-dark);
    font-size: 23px;
}

.cart-header .eyebrow {
    margin: 0;
    color: #b58b23;
}

.cart-close {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--green-dark);
    font-size: 28px;
    line-height: 1;
}

.cart-close:hover {
    background: var(--green-light);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 24px;
}

.cart-empty {
    padding: 35px 10px;
    color: var(--muted);
    text-align: center;
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item h3 {
    margin: 0 0 6px;
    color: var(--green-dark);
    font-size: 15px;
    line-height: 1.4;
}

.cart-item-price {
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
}

.cart-item small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.cart-quantity-button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #dce4dc;
    border-radius: 8px;
    background: #f7f8f3;
    color: var(--green-dark);
    font-size: 18px;
}

.cart-quantity-button:hover {
    background: var(--green-light);
}

.cart-quantity {
    min-width: 22px;
    text-align: center;
    font-weight: 700;
}

.cart-remove {
    display: block;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.cart-remove:hover {
    text-decoration: underline;
}

.cart-footer {
    padding: 20px 24px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--white);
}

.cart-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 16px;
    font-weight: 700;
}

.cart-subtotal strong {
    color: var(--green);
    font-size: 19px;
}

.cart-note {
    margin: 12px 0 18px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.cart-checkout {
    width: 100%;
}

.cart-checkout:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.cart-continue {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cart-continue:hover {
    background: var(--green-light);
}

/* 18. TABLETS */

@media (max-width: 900px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-main {
        gap: 18px;
    }

    .brand-text strong {
        font-size: 23px;
    }

    .nav-inner {
        gap: 25px;
    }

    .hero {
        min-height: 390px;
    }

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

    .category-card {
        min-height: 150px;
        padding: 16px 8px;
    }

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

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

    .supplier-content {
        gap: 30px;
    }
}

/* 19. MOBILE */

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

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

    .announcement-inner {
        min-height: 36px;
    }

    .announcement-inner > p {
        font-size: 10px;
    }

    .announcement-links {
        display: none;
    }

    .announcement-account {
        gap: 12px;
        font-size: 10px;
    }

    .header-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px 10px;
        padding-block: 14px;
    }

    .brand-symbol {
        width: 34px;
        height: 34px;
        font-size: 27px;
    }

    .brand {
        gap: 5px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .brand-text small {
        font-size: 9px;
    }

    .cart-link {
        font-size: 12px;
    }

    .search-form {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        width: 100%;
    }

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

    .search-form button {
        padding-inline: 14px;
        font-size: 12px;
    }

    .nav-inner {
        width: 100%;
        padding-inline: 14px;
        gap: 23px;
        min-height: 43px;
    }

    .nav-link {
        height: 43px;
        font-size: 12px;
    }

    .hero {
        min-height: 420px;
        background-position: center;
    }

    .hero-content {
        padding-block: 44px;
    }

    .hero h1 {
        font-size: 41px;
        letter-spacing: -1.6px;
    }

    .hero-copy > p {
        font-size: 14px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .hero-trust {
        gap: 10px 16px;
        font-size: 10px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        padding-block: 10px;
    }

    .benefit,
    .benefit:first-child,
    .benefit:last-child {
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid #dce8dd;
    }

    .benefit:last-child {
        border-bottom: 0;
    }

    .section {
        padding-block: 43px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 22px;
    }

    .section-heading h2,
    .suppliers-section h2,
    .business-inner h2 {
        font-size: 27px;
    }

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

    .category-card {
        min-height: 142px;
    }

    .category-icon {
        width: 57px;
        height: 57px;
        font-size: 30px;
    }

    .product-grid {
        gap: 15px;
    }

    .product-card {
        gap: 12px;
        padding: 12px;
    }

    .product-image {
        width: 100px;
        min-height: 135px;
        font-size: 35px;
    }

    .product-image > span {
        min-height: 135px;
    }

    .product-image img {
        min-height: 135px;
    }

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

    .product-description {
        font-size: 11px;
    }

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

    .product-meta {
        gap: 5px;
    }

    .product-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-actions .button {
        width: 100%;
    }

    .promise-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-block: 26px;
    }

    .supplier-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .supplier-highlight {
        padding: 23px;
    }

    .business-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .business-section {
        padding-block: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
        padding-block: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding-block: 14px;
    }

    .cart-header {
        padding: 18px;
    }

    .cart-items {
        padding: 15px 18px;
    }

    .cart-footer {
        padding: 17px 18px;
        padding-bottom: max(17px, env(safe-area-inset-bottom));
    }
}

/* 20. SMALL MOBILE */

@media (max-width: 360px) {
    .brand-text strong {
        font-size: 19px;
    }

    .cart-link span:nth-child(2) {
        display: none;
    }

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

    .product-card {
        flex-direction: column;
    }

    .product-image {
        width: 100%;
        height: 160px;
    }

    .product-image > span {
        height: 160px;
        min-height: 160px;
    }

    .product-image img {
        height: 160px;
        min-height: 160px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

/* 21. REDUCED MOTION */

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