:root {
    color-scheme: light;
    --bg: #f7faf8;
    --surface: #ffffff;
    --surface-strong: #eef7f2;
    --text: #10201b;
    --muted: #5d6f68;
    --line: #dbe7e1;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f59e0b;
    --danger: #b42318;
    --shadow: 0 14px 34px rgba(24, 48, 39, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-mark {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 0.5rem;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small,
.muted,
.form-note,
.product-body p,
.hero-panel small,
.order-row span,
.admin-list-row span {
    color: var(--muted);
}

.menu-button {
    display: inline-grid;
    width: 2.6rem;
    height: 2.6rem;
    place-content: center;
    color: var(--primary-dark);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    font-size: 1.15rem;
}

.nav-links {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
}

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

.nav-links a,
.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.5rem;
    color: var(--muted);
    font-weight: 700;
}

.nav-links a i,
.link-button i,
.commerce-toolbar i,
.site-footer nav a i {
    width: 1.1rem;
    color: var(--primary-dark);
    text-align: center;
}

.nav-links a.active,
.nav-links a:hover,
.link-button:hover {
    color: var(--primary-dark);
    background: var(--surface-strong);
}

.nav-links a.cart-link {
    position: relative;
    color: #fff;
    background: #c51f36;
    box-shadow: 0 10px 22px rgba(197, 31, 54, 0.2);
}

.nav-links a.cart-link i {
    color: #fff;
}

.nav-links a.cart-link.active,
.nav-links a.cart-link:hover {
    color: #fff;
    background: #a8192d;
}

.link-button {
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.cart-badge {
    display: inline-grid;
    min-width: 1.4rem;
    height: 1.4rem;
    margin-left: 0.25rem;
    place-items: center;
    color: #c51f36;
    background: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin: 0.25rem 0 1rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.breadcrumbs a {
    color: var(--primary-dark);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
    color: var(--text);
}

.breadcrumb-separator {
    color: #9aa9a3;
}

.main-content {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 1rem;
}

.hero,
.product-detail,
.auth-grid,
.management-grid,
.two-column {
    display: grid;
    gap: 1rem;
}

.hero {
    padding: 2rem 0 1rem;
}

.hero h1,
.page-header h1,
.auth-grid h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.1rem, 9vw, 4.5rem);
    line-height: 0.98;
}

.hero p,
.page-header p,
.auth-grid p {
    max-width: 42rem;
    color: var(--muted);
    line-height: 1.6;
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions,
.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    cursor: pointer;
    font-weight: 800;
}

.button.primary {
    color: #fff;
    background: var(--primary);
}

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

.button.secondary {
    color: var(--primary-dark);
    background: var(--surface);
    border-color: var(--line);
}

.button.full {
    width: 100%;
}

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

.hero-panel,
.summary-panel,
.form-panel,
.ops-panel,
.table-card,
.empty-state,
.success-panel,
.metric-card {
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
}

.hero-panel {
    display: grid;
    gap: 0.4rem;
    align-content: start;
}

.section,
.page-header {
    padding: 1.3rem 0;
}

.section-title,
.page-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

.section-title h2,
.page-header h1,
.product-body h2,
.summary-panel h2 {
    margin: 0;
}

.section-title select,
input,
select,
textarea {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.75rem;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.55rem;
}

textarea {
    min-height: 7rem;
    resize: vertical;
}

.product-grid,
.metric-grid {
    display: grid;
    gap: 1rem;
}

.product-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
}

.product-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--surface-strong);
}

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

.product-flag {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    padding: 0.35rem 0.55rem;
    color: #7a2e0e;
    background: #fff7ed;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.product-body {
    display: grid;
    gap: 0.6rem;
    padding: 1rem;
}

.product-body h2 {
    font-size: 1.1rem;
}

.price-row,
.summary-line,
.admin-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.price-row strong {
    font-size: 1.25rem;
}

.price-row span {
    color: var(--muted);
    text-decoration: line-through;
}

.price-row.big strong {
    font-size: 2rem;
}

.product-detail {
    padding: 1.2rem 0;
}

.detail-image {
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--surface-strong);
    border-radius: 0.9rem;
}

.detail-content,
.line-list,
.form-panel,
.summary-panel,
.ops-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.back-link {
    color: var(--primary);
    font-weight: 800;
}

.notice {
    padding: 0.8rem;
    color: #7a2e0e;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 0.6rem;
}

.cart-line,
.order-row {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
}

.cart-line {
    grid-template-columns: 5rem 1fr;
    align-items: center;
}

.cart-line img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.6rem;
}

.cart-line h2 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.cart-line p {
    margin: 0 0 0.4rem;
    color: var(--muted);
}

.quantity-control {
    grid-column: 1 / -1;
    display: inline-flex;
    width: max-content;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0.55rem;
}

.quantity-control button,
.quantity-control span {
    display: grid;
    min-width: 2.5rem;
    min-height: 2.4rem;
    place-items: center;
    background: #fff;
    border: 0;
}

.quantity-control span {
    border-inline: 1px solid var(--line);
    font-weight: 800;
}

.summary-line.total {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: 1.2rem;
}

.form-panel label {
    display: grid;
    gap: 0.4rem;
    color: var(--muted);
    font-weight: 700;
}

.form-section {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-section + .form-section {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.form-section legend {
    padding: 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
}

.form-grid,
.cep-row {
    display: grid;
    gap: 1rem;
}

.cep-row {
    align-items: end;
}

.check-row {
    display: flex !important;
    grid-template-columns: none;
    align-items: center;
}

.check-row input {
    width: 1.1rem;
    min-height: 1.1rem;
}

.success {
    color: var(--primary-dark);
}

.auth-grid {
    align-items: start;
    padding: 2rem 0;
}

.auth-required {
    display: grid;
    gap: 1rem;
    max-width: 44rem;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
}

.admin-shell {
    display: grid;
    gap: 1rem;
}

.admin-sidebar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
}

.admin-sidebar a,
.admin-sidebar strong {
    white-space: nowrap;
    padding: 0.65rem 0.75rem;
    border-radius: 0.5rem;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    color: var(--primary-dark);
    background: var(--surface-strong);
}

.admin-content {
    display: grid;
    gap: 1rem;
}

.split-grid {
    display: grid;
    gap: 1rem;
}

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

.table-card {
    display: grid;
    gap: 0.7rem;
    box-shadow: none;
}

.order-row {
    align-items: center;
}

.order-row div {
    display: grid;
    gap: 0.25rem;
}

.status-pill {
    width: max-content;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.status-pill.success {
    color: #05603a;
    background: #d1fadf;
}

.status-pill.warning {
    color: #854a0e;
    background: #fef0c7;
}

.status-pill.danger {
    color: var(--danger);
    background: #fee4e2;
}

.status-pill.info {
    color: #175cd3;
    background: #dbeafe;
}

.metric-card {
    display: grid;
    gap: 0.4rem;
}

.metric-card span {
    color: var(--muted);
}

.metric-card strong {
    font-size: 1.8rem;
}

.metric-card small {
    color: var(--primary-dark);
    font-weight: 800;
}

.admin-list-row {
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
}

.empty-state,
.success-panel,
.loading-panel {
    margin: 2rem 0;
    text-align: center;
}

.loading-panel {
    padding: 2rem;
    color: var(--muted);
}

#blazor-error-ui {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1000;
    padding: 1rem;
    color: #fff;
    background: var(--danger);
    border-radius: 0.6rem;
}

#blazor-error-ui .reload {
    margin-left: 0.5rem;
    text-decoration: underline;
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
}

.loading-progress,
.loading-progress-text {
    display: none;
}

@media (min-width: 720px) {
    .menu-button {
        display: none;
    }

    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .form-grid.two,
    .cep-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-grid.three {
        grid-template-columns: 0.65fr minmax(0, 1.1fr) minmax(0, 1fr);
    }

    .admin-shell {
        grid-template-columns: 16rem 1fr;
        align-items: start;
    }

    .admin-sidebar {
        position: sticky;
        top: 5rem;
        display: grid;
        overflow: visible;
    }

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

    .main-content {
        padding: 1.5rem;
    }

    .hero,
    .product-detail,
    .auth-grid,
    .management-grid,
    .two-column {
        grid-template-columns: minmax(0, 1fr) 22rem;
        align-items: start;
    }

    .section-title,
    .page-header {
        flex-direction: row;
        align-items: end;
    }

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

    .cart-line {
        grid-template-columns: 5rem minmax(0, 1fr) auto;
    }

    .quantity-control {
        grid-column: auto;
    }

    .order-row {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .order-row.admin {
        grid-template-columns: minmax(0, 1fr) auto auto auto;
    }
}

@media (min-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

/* Commercial storefront polish */
body {
    background:
        radial-gradient(circle at 10% 0%, rgba(15, 118, 110, 0.12), transparent 28rem),
        linear-gradient(180deg, #fbfdfb 0%, #f2f7f4 42rem);
}

.site-header {
    padding-inline: max(1rem, calc((100vw - 1180px) / 2));
    background: rgba(255, 255, 255, 0.92);
}

.brand-mark {
    background: linear-gradient(135deg, var(--primary), #15a38f);
    border-radius: 0.7rem;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.22);
}

.main-content {
    width: min(1180px, 100%);
}

.store-hero {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem 0 1rem;
}

.hero-copy {
    display: grid;
    gap: 1rem;
}

.store-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.5rem, 9vw, 5.2rem);
    line-height: 0.95;
}

.store-hero p,
.commercial-band p,
.site-footer p {
    max-width: 44rem;
    color: var(--muted);
    line-height: 1.65;
}

.search-box {
    display: grid;
    gap: 0.65rem;
    padding: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(24, 48, 39, 0.08);
}

.search-box span {
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.search-box input {
    min-height: 3rem;
    padding: 0;
    background: transparent;
    border: 0;
    outline: 0;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.trust-row span,
.product-meta span,
.savings {
    width: max-content;
    padding: 0.35rem 0.55rem;
    color: #785006;
    background: #fef3c7;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
}

.hero-showcase {
    display: grid;
    gap: 1rem;
}

.showcase-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    box-shadow: var(--shadow);
}

.showcase-card img {
    width: 100%;
    height: 18rem;
    object-fit: cover;
}

.showcase-card div {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
}

.showcase-strip,
.service-strip,
.category-grid,
.care-grid {
    display: grid;
    gap: 0.85rem;
}

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

.showcase-strip div,
.service-strip article,
.care-grid article,
.category-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    box-shadow: 0 10px 26px rgba(24, 48, 39, 0.07);
}

.showcase-strip strong,
.showcase-strip span,
.service-strip strong,
.service-strip span,
.care-grid strong,
.care-grid span {
    display: block;
}

.showcase-strip span,
.service-strip span,
.care-grid span,
.category-card small {
    margin-top: 0.3rem;
    color: var(--muted);
    line-height: 1.45;
}

.service-strip,
.category-section,
.commercial-band,
.medicine-care {
    padding: 1.5rem 0;
}

.section-title.compact {
    padding-bottom: 0;
}

.category-section h2,
.commercial-band h2,
.medicine-care h2,
.site-footer h2 {
    margin: 0;
    font-size: clamp(1.7rem, 5vw, 2.7rem);
    line-height: 1.05;
}

.category-card {
    display: grid;
    gap: 0.4rem;
    cursor: pointer;
    text-align: left;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.category-card span {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 0.8rem;
    font-weight: 900;
}

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

.product-card {
    border-radius: 1rem;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.product-meta p {
    margin: 0;
}

.savings {
    color: var(--primary-dark);
    background: var(--surface-strong);
}

.commercial-band {
    display: grid;
    gap: 1rem;
    align-items: center;
    margin: 1rem 0;
    padding: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, #0b4f49, #0f766e 58%, #b7791f);
    border-radius: 1.2rem;
    box-shadow: var(--shadow);
}

.commercial-band p,
.commercial-band .eyebrow {
    color: rgba(255, 255, 255, 0.84);
}

.commercial-band .button.primary {
    color: var(--primary-dark);
    background: #fff;
    box-shadow: none;
}

.medicine-care {
    display: grid;
    gap: 1rem;
}

.site-footer {
    width: min(1180px, calc(100% - 2rem));
    margin: 2rem auto 1rem;
    color: #dce8e1;
    background: #10231b;
    border-radius: 1.25rem;
    overflow: hidden;
}

.footer-newsletter {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.9), rgba(181, 130, 38, 0.82));
}

.footer-newsletter .eyebrow,
.footer-newsletter p,
.footer-newsletter h2 {
    color: #fff;
}

.newsletter-form {
    display: grid;
    gap: 0.7rem;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.96);
}

.footer-grid {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
}

.footer-brand .brand-mark {
    box-shadow: none;
}

.site-footer a,
.site-footer h3 {
    color: #fff;
}

.site-footer nav {
    display: grid;
    gap: 0.6rem;
}

.site-footer p,
.site-footer nav a,
.footer-bottom {
    color: rgba(220, 232, 225, 0.78);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    padding: 0.45rem 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.site-footer nav a {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.footer-note {
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
}

@media (min-width: 720px) {
    .search-box {
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
    }

    .store-hero {
        grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.78fr);
    }

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

    .commercial-band,
    .footer-newsletter {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .newsletter-form {
        grid-template-columns: minmax(13rem, 20rem) auto;
        align-items: center;
    }
}

@media (min-width: 980px) {
    .service-strip,
    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

/* Dense retail storefront */
.commerce-toolbar,
.store-search-row,
.category-rail,
.promo-hero,
.benefit-strip,
.product-shelf,
.commercial-tiles,
.compact-store {
    margin-inline: auto;
    width: min(1180px, calc(100% - 1rem));
}

.commerce-toolbar {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    overflow-x: auto;
    padding: 0.9rem 0 0.35rem;
    color: #333;
    scrollbar-width: none;
}

.commerce-toolbar::-webkit-scrollbar,
.category-rail::-webkit-scrollbar,
.product-shelf-track::-webkit-scrollbar {
    display: none;
}

.commerce-toolbar a,
.commerce-location,
.commerce-category {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    flex: 0 0 auto;
    min-height: 2.6rem;
    padding: 0.55rem 0.75rem;
    color: #30343b;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.commerce-toolbar a:hover,
.commerce-location:hover,
.commerce-category:hover {
    background: #f3f4f6;
}

.store-search-row {
    padding: 0.75rem 0 0.35rem;
}

.commerce-search {
    border-radius: 999px;
    box-shadow: none;
}

.commerce-search input {
    font-size: 1rem;
}

.category-rail {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1.2rem 0 1.55rem;
    scrollbar-width: none;
}

.category-shortcut {
    display: grid;
    gap: 0.55rem;
    justify-items: center;
    flex: 0 0 8rem;
    padding: 0.85rem 0.6rem;
    color: #343942;
    background: transparent;
    border: 0;
    border-radius: 0.9rem;
    cursor: pointer;
}

.category-shortcut span {
    display: grid;
    width: 5.1rem;
    height: 3.05rem;
    place-items: center;
    color: #0f766e;
    background: #f4f0e8;
    border-radius: 0.75rem;
    font-size: 1.35rem;
    font-weight: 900;
}

.category-shortcut strong {
    min-height: 2.25rem;
    font-size: 0.82rem;
    line-height: 1.15;
    text-align: center;
}

.promo-hero {
    position: relative;
    display: grid;
    gap: 1rem;
    align-items: center;
    min-height: 17rem;
    overflow: hidden;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 73% 50%, rgba(15, 118, 110, 0.16), transparent 18rem),
        linear-gradient(110deg, #fff8f1 0%, #ffffff 46%, #e6f7ef 100%);
    border: 1px solid #eef0ef;
    border-radius: 0.75rem;
}

.promo-copy {
    display: grid;
    gap: 0.55rem;
    max-width: 30rem;
}

.promo-copy span {
    color: #b42332;
    font-weight: 900;
    text-transform: uppercase;
}

.promo-copy h1 {
    margin: 0;
    color: #2f3137;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.02;
}

.promo-copy p {
    margin: 0;
    color: #5d6470;
    line-height: 1.5;
}

.promo-products {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 9rem;
}

.promo-products img {
    width: clamp(5.25rem, 14vw, 9rem);
    height: clamp(5.25rem, 14vw, 9rem);
    object-fit: contain;
    margin-left: -1.2rem;
    padding: 0.45rem;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 1rem;
    box-shadow: 0 12px 24px rgba(18, 29, 37, 0.08);
}

.promo-products img:first-child {
    margin-left: 0;
}

.promo-discount {
    justify-self: start;
    color: #8d2536;
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    line-height: 0.9;
}

.hero-arrow {
    display: none;
}

.benefit-strip {
    display: grid;
    gap: 0.75rem;
    padding: 1.15rem 0 1.75rem;
}

.benefit-strip article {
    min-height: 5.35rem;
    padding: 1rem;
    background: #f4f5f5;
    border-radius: 0.75rem;
}

.benefit-strip strong,
.benefit-strip span {
    display: block;
}

.benefit-strip span {
    margin-top: 0.28rem;
    color: #616975;
    line-height: 1.35;
}

.product-shelf {
    padding: 1.1rem 0 2rem;
}

.shelf-title {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.shelf-title h2 {
    margin: 0;
    color: #30343b;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.1;
}

.shelf-title div {
    display: flex;
    gap: 0.45rem;
}

.shelf-title button {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    color: #5f6670;
    background: #fff;
    border: 1px solid #dfe3e6;
    border-radius: 999px;
    font-size: 1.25rem;
}

.product-shelf-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(11.8rem, 70vw);
    gap: 0.7rem;
    overflow-x: auto;
    padding: 0.15rem 0.05rem 0.4rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.product-shelf-track .product-card {
    scroll-snap-align: start;
}

.product-card {
    position: relative;
    min-height: 23.5rem;
    background: #fff;
    border-color: #e5e8ec;
    border-radius: 0.7rem;
    box-shadow: none;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(21, 30, 38, 0.09);
}

.product-card .product-image {
    aspect-ratio: 1 / 0.86;
    background: #fff;
}

.product-card .product-image img {
    object-fit: contain;
    padding: 1rem;
}

.discount-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.7rem;
    padding: 0.3rem 0.5rem;
    color: #fff;
    background: #168a5e;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
}

.product-card .product-flag {
    top: auto;
    bottom: 0.55rem;
    left: 0.7rem;
    color: #111827;
    background: #fff7ed;
}

.product-card .product-body {
    position: static;
    gap: 0.35rem;
    padding: 0.75rem 0.85rem 0.9rem;
}

.option-pill {
    width: max-content;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    color: #676e79;
    background: #f1f2f4;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.product-card .product-body h2 {
    min-height: 2.55rem;
    margin: 0.1rem 0 0;
    overflow: hidden;
    color: #30343b;
    font-size: 0.95rem;
    line-height: 1.32;
}

.product-card .product-body h2 a {
    color: inherit;
}

.product-subtitle {
    min-height: 1.1rem;
    margin: 0;
    overflow: hidden;
    color: #69717c;
    font-size: 0.82rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rating-row {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    min-height: 1.2rem;
    color: #f59e0b;
    font-size: 0.83rem;
}

.rating-row small {
    color: #d97706;
    font-weight: 800;
}

.product-card .price-row {
    display: grid;
    gap: 0.08rem;
    justify-content: start;
    margin-top: 0.25rem;
}

.product-card .price-row span {
    color: #808791;
    font-size: 0.82rem;
}

.product-card .price-row strong {
    color: #20242a;
    font-size: 1.08rem;
}

.product-card .savings {
    width: max-content;
    max-width: 100%;
    color: #168a5e;
    background: #edf8f1;
    font-size: 0.72rem;
}

.product-add-button {
    position: absolute;
    right: 0.78rem;
    top: 8.9rem;
    display: grid;
    width: 2.9rem;
    height: 2.9rem;
    place-items: center;
    color: #fff;
    background: #c51f36;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(197, 31, 54, 0.24);
    font-size: 1.8rem;
    line-height: 1;
}

.product-add-button:disabled {
    background: #b9c0c8;
    box-shadow: none;
}

.commercial-tiles {
    display: grid;
    gap: 0.9rem;
    padding: 0.85rem 0 1.7rem;
}

.commercial-tiles article,
.commercial-visual {
    overflow: hidden;
    min-height: 12rem;
    background: #f3f4f6;
    border-radius: 1rem;
}

.commercial-tiles article {
    display: grid;
    gap: 0.75rem;
    align-content: center;
    padding: 1.35rem;
}

.commercial-tiles h2 {
    margin: 0;
    color: #30343b;
    font-size: 1.45rem;
    line-height: 1.1;
}

.commercial-tiles p {
    margin: 0;
    color: #616975;
    line-height: 1.45;
}

.commercial-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compact-store {
    padding: 0.5rem 0 1.5rem;
}

.compact-store .section-title {
    margin-bottom: 0.75rem;
}

.compact-store .category-card {
    box-shadow: none;
}

.location-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 18, 20, 0.52);
    backdrop-filter: blur(2px);
}

.location-panel {
    display: grid;
    gap: 1rem;
    width: min(100%, 30rem);
    max-height: calc(100dvh - 2rem);
    padding: 1.15rem;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(223, 229, 232, 0.9);
    border-radius: 1rem;
    box-shadow: 0 24px 70px rgba(14, 20, 27, 0.32);
}

.location-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: start;
}

.location-icon {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 0.85rem;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.location-header h2,
.location-header p,
.location-copy {
    margin: 0;
}

.location-header h2 {
    margin-top: 0.2rem;
    color: #2f343b;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.15;
}

.location-copy {
    color: #5f6670;
    line-height: 1.45;
}

.location-close {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    color: #59616b;
    background: #f4f6f6;
    border: 1px solid #e5e9eb;
    border-radius: 999px;
    font-size: 1rem;
}

.location-form {
    display: grid;
    gap: 0.65rem;
}

.field-label {
    color: #30343b;
    font-size: 0.9rem;
    font-weight: 900;
}

.location-input-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    min-height: 3.25rem;
    padding: 0 0.9rem;
    background: #fff;
    border: 1px solid #dce5e2;
    border-radius: 0.7rem;
}

.location-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.location-input-wrap i {
    color: var(--primary-dark);
}

.location-input-wrap input {
    min-height: 3rem;
    padding: 0;
    border: 0;
    outline: 0;
}

.location-message {
    padding: 0.7rem;
    color: #875314 !important;
    background: #fff7ed;
    border-radius: 0.65rem;
    font-weight: 800;
}

.location-login {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.15rem;
    padding-top: 1rem;
    border-top: 1px solid #eceff1;
}

.location-login strong,
.location-login span {
    display: block;
}

.location-login span {
    margin-top: 0.2rem;
    color: #69717c;
}

@media (min-width: 640px) {
    .benefit-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-shelf-track {
        grid-auto-columns: minmax(12.5rem, 31%);
    }
}

@media (min-width: 900px) {
    .promo-hero {
        grid-template-columns: auto minmax(0, 1fr) minmax(18rem, 0.75fr) auto;
        min-height: 18rem;
        padding: 1.65rem 2rem;
    }

    .promo-discount {
        position: absolute;
        right: 7rem;
        top: 2.1rem;
    }

    .hero-arrow {
        display: grid;
        width: 2.6rem;
        height: 2.6rem;
        place-items: center;
        color: #606873;
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid #e2e6e8;
        border-radius: 999px;
        font-size: 1.6rem;
    }

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

    .product-shelf-track {
        grid-auto-flow: initial;
        grid-auto-columns: initial;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        overflow: visible;
    }

    .commercial-tiles {
        grid-template-columns: 0.9fr 1.45fr 0.9fr;
    }
}
