:root {
    --primary: #2d6a35;
    --primary-dark: #1e4d24;
    --accent: #f5c518;
    --amazon-orange: #f5c518;
    --header-dark: #ffffff;
    --header-mid: #eef8ee;
    --bg: #ffffff;
    --card: #ffffff;
    --text: #0a0a0a;
    --muted: #3d3d3d;
    --border: #c8e6c9;
    --success-bg: #ecfdf5;
    --success-text: #047857;
    --shadow-sm: 0 2px 8px rgba(15, 17, 17, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 17, 17, 0.1);
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

.mobile-shell {
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    padding-bottom: 78px;
}

.top-bar,
.site-header {
    background: var(--header-dark);
    padding: 10px 12px 0;
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-header {
    padding-bottom: 0;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header-search {
    flex: 1 1 200px;
    min-width: 0;
    order: 3;
    width: 100%;
}

.search-submit {
    background: var(--amazon-orange);
    color: #0f1111;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}

.desktop-nav {
    display: none;
}

.desktop-nav-link {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 4px 4px 0 0;
    transition: background 0.15s ease;
}

.desktop-nav-link:hover,
.desktop-nav-link.active {
    background: var(--header-mid);
    color: #fff;
}

.header-cart {
    background: transparent !important;
}

.brand-row,
.header-top .logo {
    color: #fff;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
}

.logo span {
    color: var(--accent);
}

.quick-icons {
    display: flex;
    gap: 10px;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 16px;
    position: relative;
}

.bi {
    line-height: 1;
}

.icon-btn.mini {
    color: #1e2b3c;
    background: #e9f2f8;
}

.cart-pill {
    position: absolute;
    top: -5px;
    right: -3px;
    min-width: 16px;
    height: 16px;
    border-radius: 10px;
    background: #ff6f00;
    color: #fff;
    font-size: 10px;
    display: grid;
    place-items: center;
    padding: 0 4px;
}

.search-bar {
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: none;
    overflow: hidden;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
}

.delivery {
    margin: 10px 12px 0;
    background: #d9f1ff;
    border-radius: 10px;
    border: 1px solid #c3e7fb;
    padding: 9px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.pin {
    font-weight: 600;
}

.prime-btn {
    background: var(--primary-dark);
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
}

.flash-strip {
    margin: 10px 12px 0;
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid #c5efd6;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
}

.section {
    padding: 0 12px;
    margin-top: 12px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 17px;
}

.section-header a {
    font-size: 12px;
    color: var(--primary-dark);
    font-weight: 700;
}

.chips-wrap {
    display: flex;
    gap: 10px;
    padding: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.chips-wrap::-webkit-scrollbar,
.banner-scroll::-webkit-scrollbar {
    display: none;
}

.chip {
    min-width: 88px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px 8px;
    text-align: center;
    font-size: 12px;
}

.chip .icon {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.home-chips {
    padding-top: 14px;
}

.chip-professional {
    box-shadow: 0 6px 14px rgba(19, 65, 106, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.chip-professional:active {
    transform: translateY(1px) scale(0.99);
}

.section-deals {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.3));
    border: 1px solid #d7e5f2;
    border-radius: 16px;
    padding: 12px;
}

.section-deals .section-header {
    margin-bottom: 12px;
}

.deals-carousel {
    position: relative;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(23, 33, 53, 0.58);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    display: grid;
    place-items: center;
    backdrop-filter: blur(2px);
}

.carousel-arrow.left {
    left: 6px;
}

.carousel-arrow.right {
    right: 6px;
}

.carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.banner-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 2px 2px;
    scroll-behavior: smooth;
}

.banner-card {
    min-width: 78%;
    scroll-snap-align: start;
    border-radius: 16px;
    color: #fff;
    padding: 12px;
    background: linear-gradient(135deg, #0058ad, #1099ec);
    box-shadow: 0 8px 20px rgba(0, 70, 140, 0.22);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 190px;
}

.banner-card:nth-child(2) {
    background: linear-gradient(135deg, #3338a0, #6f6fff);
}

.banner-card:nth-child(3) {
    background: linear-gradient(135deg, #00724f, #17b589);
}

.banner-card .mini {
    font-size: 11px;
    opacity: 0.9;
}

.banner-card h3 {
    margin-top: 2px;
    font-size: 17px;
    line-height: 1.2;
}

.banner-card p {
    margin-top: 1px;
    font-size: 13px;
}

.deal-meta-row {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.deal-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.deal-chip.coupon {
    background: rgba(255, 216, 20, 0.2);
    border-color: rgba(255, 216, 20, 0.55);
}

.deal-sales {
    margin-top: 9px;
    font-size: 12px;
    opacity: 0.95;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.deals-meta {
    margin-top: 10px;
}

.section-products {
    margin-top: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.product {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(17, 49, 84, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    height: 100%;
}

.product:not(.product--home):hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(17, 49, 84, 0.11);
}

.product-image {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 200px;
    background: linear-gradient(165deg, #f0f7fc 0%, #e3eef8 100%);
    overflow: hidden;
    isolation: isolate;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
}

.product-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 12px 14px;
    background: var(--card);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
    min-height: 0;
}

.product-body .badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    background: #e9f8ef;
    color: #0f8a4f;
    padding: 4px 8px;
    border-radius: 99px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.badge {
    display: inline-block;
    font-size: 10px;
    background: #e9f8ef;
    color: #0f8a4f;
    padding: 3px 7px;
    border-radius: 99px;
    font-weight: 700;
    margin-bottom: 6px;
}

.product h4 {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.product .origin {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product .price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 0;
}

.origin {
    font-size: 11px;
    color: var(--muted);
    margin: 6px 0;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 6px;
}

.price {
    font-weight: 700;
    font-size: 15px;
}

.old {
    color: #7b8698;
    text-decoration: line-through;
    font-size: 11px;
}

.product .rating {
    font-size: 11px;
    color: #1f8f49;
    font-weight: 700;
    margin: 0;
}

.product .rating span {
    color: #758091;
    font-weight: 500;
}

.rating {
    font-size: 11px;
    color: #1f8f49;
    font-weight: 700;
}

.rating span {
    color: #758091;
    font-weight: 500;
}

.row-actions-home {
    flex-wrap: wrap;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    gap: 8px;
}

.home-qty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.home-qty-value {
    min-width: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.row-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.btn {
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid transparent;
}

.btn.primary {
    background: var(--accent);
    color: #111;
    border-color: #f5c910;
}

.btn.secondary {
    background: #fff;
    color: var(--primary-dark);
    border-color: var(--border);
}

.btn.ghost {
    background: #fff;
    border-color: var(--border);
}

.btn:active {
    transform: translateY(1px);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
}

.card + .card {
    margin-top: 10px;
}

.meta {
    color: var(--muted);
    font-size: 12px;
}

.status {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    background: #e7f2ff;
    color: #0059a8;
}

.status.delivered {
    background: #e8f8ee;
    color: #0b8a4d;
}

.stack-10 > * + * {
    margin-top: 10px;
}

.account-pro {
    padding-bottom: 12px;
}

.account-pro-hero {
    background: radial-gradient(circle at top right, rgba(101, 212, 255, 0.34), transparent 40%),
        linear-gradient(135deg, #0e2e59 0%, #0f61b8 54%, #18a6f4 100%);
    border-radius: 20px;
    color: #fff;
    padding: 16px;
    box-shadow: 0 16px 28px rgba(10, 44, 85, 0.3);
    animation: fadeUp 0.45s ease both;
}

.account-pro-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.account-pro-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffffff, #d4ecff);
    color: #0f4f96;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.account-pro-id h2 {
    font-size: 18px;
    line-height: 1.25;
}

.account-pro-id p {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 3px;
}

.account-pro-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.account-pro-tags span {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.account-pro-contact {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.account-pro-contact div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 9px 10px;
}

.account-pro-contact label {
    font-size: 11px;
    opacity: 0.86;
}

.account-pro-contact strong {
    display: block;
    font-size: 13px;
    margin-top: 2px;
}

.account-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.account-kpi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 9px;
    box-shadow: 0 8px 14px rgba(16, 53, 92, 0.07);
    animation: fadeUp 0.55s ease both;
}

.account-kpi-card p {
    font-size: 10px;
    color: var(--muted);
}

.account-kpi-card h3 {
    margin-top: 4px;
    font-size: 17px;
    color: #113d6d;
}

.account-kpi-card span {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    color: #2d74a7;
}

.account-pane {
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(14, 56, 98, 0.06);
    animation: fadeUp 0.58s ease both;
}

.link-btn {
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.metric-track + .metric-track {
    margin-top: 10px;
}

.metric-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
    color: #35506d;
}

.metric-head strong {
    color: #113d6d;
}

.progress {
    height: 8px;
    border-radius: 999px;
    background: #e8f1f8;
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1d85d2, #22b4f1);
}

.address-stack {
    display: grid;
    gap: 8px;
}

.address-pro-item {
    background: linear-gradient(180deg, #f8fbff, #f2f8ff);
    border: 1px solid #dce8f3;
    border-radius: 11px;
    padding: 10px;
}

.address-pro-item h4 {
    font-size: 13px;
    margin-bottom: 2px;
    color: #163f67;
}

.account-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quick-tile {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    text-align: left;
    box-shadow: 0 10px 16px rgba(14, 56, 98, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-tile span {
    font-size: 20px;
}

.quick-tile h4 {
    margin-top: 8px;
    font-size: 14px;
}

.quick-tile p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.quick-tile:active {
    transform: translateY(1px);
}

.quick-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 18px rgba(14, 56, 98, 0.1);
}

.orders-pro {
    padding-bottom: 12px;
}

.orders-hero {
    background: radial-gradient(circle at top right, rgba(100, 227, 255, 0.34), transparent 42%),
        linear-gradient(135deg, #132d56 0%, #114f94 58%, #0ca5e4 100%);
    border-radius: 18px;
    padding: 15px;
    color: #fff;
    box-shadow: 0 16px 28px rgba(8, 48, 89, 0.26);
    animation: fadeUp 0.45s ease both;
}

.orders-hero-kicker {
    font-size: 12px;
    opacity: 0.9;
}

.orders-hero h2 {
    font-size: 21px;
    line-height: 1.2;
    margin-top: 3px;
}

.orders-hero-sub {
    margin-top: 6px;
    font-size: 12px;
    opacity: 0.9;
}

.orders-hero-stats {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.orders-hero-stats div {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 11px;
    padding: 8px;
}

.orders-hero-stats span {
    font-size: 10px;
    opacity: 0.85;
}

.orders-hero-stats strong {
    display: block;
    margin-top: 3px;
    font-size: 18px;
}

.order-card-pro {
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(15, 57, 99, 0.08);
    animation: fadeUp 0.52s ease both;
}

.order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.order-head h3 {
    font-size: 17px;
    margin-top: 1px;
}

.status-pill {
    padding: 5px 10px;
}

.order-meta-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.order-meta-grid div {
    background: #f6faff;
    border: 1px solid #deebf5;
    border-radius: 10px;
    padding: 7px 8px;
}

.order-meta-grid span {
    display: block;
    font-size: 10px;
    color: #58708a;
}

.order-meta-grid strong {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #143c63;
}

.order-product {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
}

.order-product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(160deg, #eff7ff, #d8ebff);
    border: 1px solid #d4e4f3;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.order-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product h4 {
    font-size: 13px;
    line-height: 1.3;
}

.order-timeline {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

.order-timeline span {
    border: 1px solid #dce8f3;
    background: #f7fbff;
    border-radius: 999px;
    padding: 5px 6px;
    text-align: center;
    font-size: 10px;
    color: #5d7388;
}

.order-timeline span.done {
    background: #e9f8ee;
    border-color: #cdeed9;
    color: #0f8650;
}

.order-timeline span.active {
    background: #e7f2ff;
    border-color: #cde3fb;
    color: #0e5ca6;
}

.cart-pro {
    padding-bottom: 12px;
}

.cart-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #132c53, #0d73c9 58%, #13b0ee);
    border-radius: 18px;
    padding: 14px;
    color: #fff;
    box-shadow: 0 16px 26px rgba(10, 48, 88, 0.26);
    animation: fadeUp 0.45s ease both;
}

.cart-kicker {
    font-size: 12px;
    opacity: 0.9;
}

.cart-hero h2 {
    margin-top: 3px;
    font-size: 24px;
}

.cart-sub {
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.92;
}

.cart-badge {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.cart-empty-card,
.cart-item-card,
.cart-summary-card {
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(14, 56, 98, 0.07);
    animation: fadeUp 0.52s ease both;
}

.cart-item-card .cart-thumb {
    width: 70px;
    height: 70px;
    font-size: 26px;
    border-radius: 14px;
    background: linear-gradient(160deg, #eef7ff, #d9ebff);
    border: 1px solid #d4e4f3;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.cart-summary-card .meta {
    margin-top: 8px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: #36506a;
}

.summary-line.total {
    margin-top: 2px;
    border-top: 1px dashed #d9e7f3;
    padding-top: 9px;
    color: #143b60;
}

.profile-pro {
    padding-bottom: 12px;
}

.profile-hero {
    background: radial-gradient(circle at top right, rgba(102, 221, 255, 0.34), transparent 42%),
        linear-gradient(138deg, #0b2546 0%, #12447d 48%, #0b88d4 100%);
    border-radius: 20px;
    color: #fff;
    padding: 16px;
    box-shadow: 0 18px 30px rgba(8, 44, 83, 0.28);
    animation: fadeUp 0.45s ease both;
}

.profile-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.profile-kpi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 9px;
    box-shadow: 0 8px 14px rgba(16, 53, 92, 0.07);
    animation: fadeUp 0.55s ease both;
}

.profile-kpi-card p {
    font-size: 10px;
    color: var(--muted);
}

.profile-kpi-card h3 {
    margin-top: 4px;
    font-size: 16px;
    color: #113d6d;
}

.profile-kpi-card span {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    color: #2d74a7;
}

.profile-pane {
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(14, 56, 98, 0.07);
    animation: fadeUp 0.58s ease both;
}

.profile-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quick-tile-pro {
    border-radius: 14px;
    box-shadow: 0 10px 16px rgba(14, 56, 98, 0.08);
}

.menu-tile > div {
    font-size: 22px;
    color: #1a4f82;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 10px;
}

.cart-thumb {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    background: #e9f4ff;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.qty-controls form {
    display: inline;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #fff;
    font-weight: 700;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.menu-tile {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}

.menu-tile h4 {
    margin: 8px 0 4px;
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    padding: 8px 4px 10px;
    z-index: 25;
}

.nav-item {
    text-align: center;
    font-size: 11px;
    color: #657083;
}

.nav-item .ico {
    font-size: 18px;
    display: block;
    margin-bottom: 2px;
}

.nav-item.active {
    color: var(--primary-dark);
    font-weight: 700;
}

.cart-pill.is-zero,
.nav-cart-pill.is-zero {
    opacity: 0.85;
}

.ico-with-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cart-pill {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    border-radius: 10px;
    background: #ff6f00;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: grid;
    place-items: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-item.active .nav-cart-pill {
    background: var(--primary-dark);
}

.order-success-hero {
    text-align: center;
    padding: 22px 18px 20px;
}

.order-success-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--success-bg);
    color: var(--success-text);
    display: grid;
    place-items: center;
    font-size: 28px;
}

.order-success-kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--success-text);
    font-weight: 700;
    margin-bottom: 6px;
}

.order-success-hero h1 {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.25;
}

.order-success-lead {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
    max-width: 340px;
    margin: 0 auto 14px;
}

.order-success-demo {
    background: #fff8e6;
    border: 1px solid #f0d78a;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    color: #6a5420;
    text-align: left;
    margin-bottom: 16px;
}

.order-success-demo i {
    margin-right: 6px;
    vertical-align: -0.1em;
}

.order-success-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    margin-top: 4px;
}

.order-success-id {
    font-size: 15px;
    letter-spacing: 0.02em;
}

.order-success-lines .section-header {
    margin-bottom: 12px;
}

.order-success-count {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.order-success-list {
    list-style: none;
    border-top: 1px solid var(--border);
    margin: 0 0 12px;
    padding: 0;
}

.order-success-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.order-success-name {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-success-totals {
    padding-top: 4px;
}

.order-success-footnote {
    margin-top: 12px;
}

.order-success-actions {
    padding-bottom: 8px;
}

.toast {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 86px;
    width: min(420px, calc(100vw - 24px));
    background: #172135;
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    font-size: 13px;
}

.toast.visible {
    opacity: 1;
}

@media (min-width: 992px) {
    body,
    .store-body {
        background: var(--bg);
    }

    .mobile-shell {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0 0 28px;
        background: var(--bg);
    }

    .top-bar,
    .site-header {
        margin: 0;
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .header-top {
        padding-left: 24px;
        padding-right: 24px;
    }

    .delivery,
    .flash-strip,
    .home-page,
    .section {
        margin-left: 0;
        margin-right: 0;
    }

    .delivery,
    .flash-strip {
        margin-left: 24px;
        margin-right: 24px;
    }

    .home-page {
        padding-left: 24px;
        padding-right: 24px;
    }

    .chips-wrap,
    .section {
        padding-left: 0;
        padding-right: 0;
    }

    .chips-wrap {
        flex-wrap: wrap;
        overflow: visible;
        padding-top: 14px;
    }

    .chip {
        min-width: 120px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header a,
    .link-btn {
        font-size: 13px;
    }

    .banner-scroll {
        overflow-x: visible;
        flex-wrap: wrap;
        gap: 12px;
    }

    .banner-card {
        min-width: calc(33.333% - 8px);
        flex: 1 1 calc(33.333% - 8px);
        max-width: calc(33.333% - 8px);
        min-height: 210px;
    }

    .deals-carousel .carousel-arrow {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .product-image {
        aspect-ratio: 4 / 3;
        max-height: 220px;
    }

    .product-image img {
        padding: 14px;
    }

    .product h4 {
        font-size: 14px;
    }

    .product-body {
        padding: 14px 14px 16px;
    }

    .row-actions {
        flex-wrap: wrap;
    }

    .account-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .profile-kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .orders-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 170px));
    }

    .order-meta-grid {
        grid-template-columns: repeat(3, minmax(0, 180px));
    }

    .order-timeline {
        grid-template-columns: repeat(4, minmax(0, 140px));
    }

    .account-quick-grid,
    .profile-quick-grid,
    .menu-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cart-item {
        grid-template-columns: 90px 1fr;
        gap: 14px;
    }

    .cart-thumb,
    .cart-item-card .cart-thumb {
        width: 90px;
        height: 90px;
        font-size: 34px;
    }

    .bottom-nav,
    .mobile-only-nav {
        display: none !important;
    }

    .mobile-shell {
        padding-bottom: 28px;
    }

    .toast {
        bottom: 24px;
    }
}

@media (min-width: 1200px) {
    .products-grid,
    .products-grid--home {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ── Homepage ── */
.home-page {
    padding: 0 12px 20px;
}

.home-page--landing {
    padding-bottom: 28px;
}

.home-welcome {
    margin-top: 16px;
    padding: 28px 22px;
    border-radius: 18px;
    background: linear-gradient(145deg, #131921 0%, #1a7a4c 55%, #2d9d6b 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
    animation: productCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-welcome-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.18);
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.home-welcome-title {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    max-width: 520px;
}

.home-welcome-lead {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 480px;
    margin-bottom: 20px;
}

.home-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.home-welcome-cta {
    background: #fff !important;
    color: #1a7a4c !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.home-welcome-meta {
    font-size: 12px;
    opacity: 0.8;
    margin: 0;
}

.home-quick-categories {
    margin-top: 24px;
}

.home-quick-categories .home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.home-quick-categories h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.home-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.home-quick-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-quick-card i {
    font-size: 18px;
    color: var(--primary-dark);
}

.home-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: #2d9d6b;
    color: var(--primary-dark);
}

.shop-page {
    padding-top: 4px;
}

@media (min-width: 768px) {
    .home-welcome-title {
        font-size: 32px;
    }

    .home-quick-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.home-hero {
    display: grid;
    gap: 14px;
    margin-top: 14px;
    padding: 20px 18px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #232f3e 0%, #37475a 45%, #131921 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.home-hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--amazon-orange);
    color: #0f1111;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.home-hero-title {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.home-hero-sub {
    font-size: 14px;
    color: #d5d9d9;
    margin-bottom: 14px;
    max-width: 420px;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.home-hero-offer {
    font-size: 18px;
    font-weight: 700;
    color: var(--amazon-orange);
}

.home-hero-coupon {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 10px;
    border-radius: 4px;
}

.home-hero-side {
    display: grid;
    gap: 10px;
}

.home-hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 13px;
}

.home-hero-stat i {
    font-size: 22px;
    color: var(--amazon-orange);
}

.home-hero-stat strong {
    display: block;
    font-size: 14px;
}

.home-hero-stat span {
    color: #d5d9d9;
    font-size: 12px;
}

.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.home-section-head h2 {
    font-size: 18px;
    font-weight: 700;
}

.home-clear-filter,
.home-link-pill {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
}

.home-link-pill {
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.home-categories {
    margin-top: 20px;
    padding: 22px 0 8px;
    background: linear-gradient(180deg, #fff 0%, #f7fafa 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.home-categories-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.home-categories-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amazon-orange);
    margin-bottom: 6px;
}

.home-categories-intro h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.home-categories-sub {
    font-size: 14px;
    color: var(--muted);
    max-width: 420px;
}

.home-categories-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.home-clear-filter--pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff3e0;
    border: 1px solid #ffcc80;
    color: #c45500;
    font-size: 13px;
    font-weight: 600;
}

.home-clear-filter--pill:hover {
    background: #ffe0b2;
}

.category-scroll-controls {
    display: flex;
    gap: 8px;
}

.category-scroll-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.category-scroll-btn:hover:not(:disabled) {
    border-color: var(--amazon-orange);
    background: #fff8ee;
    color: #c45500;
}

.category-scroll-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.category-showcase {
    position: relative;
    padding: 0 4px 12px;
}

.category-showcase::before,
.category-showcase::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 12px;
    width: 28px;
    z-index: 2;
    pointer-events: none;
}

.category-showcase::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.category-showcase::after {
    right: 0;
    background: linear-gradient(270deg, #f7fafa 0%, transparent 100%);
}

.category-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 14px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-track::-webkit-scrollbar {
    display: none;
}

.category-tile {
    position: relative;
    flex: 0 0 148px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(15, 17, 17, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 17, 17, 0.14);
    border-color: rgba(255, 153, 0, 0.45);
}

.category-tile.is-active {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(0, 120, 191, 0.2), 0 12px 24px rgba(15, 17, 17, 0.12);
}

.category-tile-visual {
    position: relative;
    display: grid;
    place-items: center;
    height: 108px;
    overflow: hidden;
    background: #e8eef2;
}

.category-tile-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-tile:hover .category-tile-visual img {
    transform: scale(1.06);
}

.category-tile-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 17, 17, 0.55) 100%);
    pointer-events: none;
}

.category-tile-visual--all {
    background: linear-gradient(135deg, #131921 0%, #232f3e 50%, #37475a 100%);
    color: var(--amazon-orange);
    font-size: 36px;
}

.category-tile-letter {
    font-size: 42px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.category-tile-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
}

.category-tile-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-tile-meta {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.category-tile-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-dark);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.category-tile--all .category-tile-shade {
    display: none;
}

.home-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.home-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
}

.home-filter-chip strong {
    color: var(--text);
    font-weight: 600;
}

.home-filter-chip-clear {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f0f2f2;
    color: var(--text);
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

.home-filter-chip-clear:hover {
    background: #ffe0b2;
    color: #c45500;
}

.home-products {
    margin-top: 18px;
}

.home-section-head--products h2 {
    font-size: 20px;
}

.home-products-meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 2px;
}

.products-grid--home {
    gap: 16px;
}

@keyframes productCardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes qtyPop {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.28);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes stepperReveal {
    0% {
        opacity: 0;
        transform: scale(0.88);
    }
    70% {
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.product--home {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(15, 17, 17, 0.06);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 17, 17, 0.06);
    overflow: hidden;
    animation: productCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: var(--card-delay, 0ms);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.product--home:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15, 17, 17, 0.12);
}

.product-deal-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    box-shadow: 0 2px 8px rgba(190, 18, 60, 0.35);
}

.product--home .product-image {
    background: linear-gradient(165deg, #faf8f5 0%, #f3efe8 100%);
}

.product--home .product-image img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product--home:hover .product-image img {
    transform: scale(1.07);
}

.product--home .product-body {
    border-top: none;
    padding: 14px 14px 16px;
    gap: 8px;
}

.product-badge {
    display: inline-flex;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #047857;
    padding: 4px 10px;
    border-radius: 99px;
}

.product-title {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: inherit;
    transition: color 0.15s ease;
}

.product-title a:hover {
    color: var(--primary-dark);
}

.product--home .product-image {
    cursor: pointer;
}

.product-origin {
    font-size: 11px;
    color: var(--muted);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.product-price {
    font-size: 17px;
    font-weight: 800;
    color: #0f1111;
    letter-spacing: -0.02em;
}

.product-price-was {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-cart-action {
    position: relative;
    height: 46px;
    margin-top: auto;
    padding-top: 10px;
}

.product-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a7a4c 0%, #2d9d6b 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(45, 157, 107, 0.32);
    transition:
        opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.2s ease;
}

.product-add-btn i {
    font-size: 16px;
}

.product-add-btn:hover:not(:disabled) {
    box-shadow: 0 6px 22px rgba(45, 157, 107, 0.42);
    transform: translateY(-1px);
}

.product-add-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.product-add-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.product-cart-action.is-in-cart .product-add-btn {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    inset: 10px 0 0;
}

.product-qty-stepper {
    position: absolute;
    inset: 10px 0 0;
    display: flex;
    align-items: stretch;
    height: 46px;
    border-radius: 12px;
    border: 2px solid #2d9d6b;
    background: #fff;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition:
        opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-cart-action.is-in-cart .product-qty-stepper {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.product-cart-action.is-animating .product-qty-stepper {
    animation: stepperReveal 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.product-qty-btn {
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0faf4;
    color: #1a7a4c;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.product-qty-btn:hover {
    background: #2d9d6b;
    color: #fff;
}

.product-qty-btn:active {
    transform: scale(0.94);
}

.product-qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.product-qty-value {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    color: #0f1111;
    min-width: 36px;
}

.product-qty-value.is-pop {
    animation: qtyPop 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.product-buy-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition:
        max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease,
        transform 0.35s ease,
        margin-top 0.35s ease;
}

.product-buy-actions.is-visible {
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 12px;
}

.product-btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #131921 0%, #232f3e 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(19, 25, 33, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-btn-checkout:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(19, 25, 33, 0.32);
    color: #fff;
}

.product-btn-view-cart {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 6px;
}

.product-btn-view-cart:hover {
    color: var(--primary);
}

.product-detail-cart--wide .product-buy-actions.is-visible {
    max-height: 140px;
}

.product-detail-cart--wide .product-btn-checkout {
    height: 50px;
    font-size: 14px;
    border-radius: 14px;
}

.rating-stars {
    display: inline-flex;
    gap: 1px;
    color: #f59e0b;
}

.rating-stars .muted-star {
    color: #e5e7eb;
}

.rating-text {
    color: var(--muted);
    font-weight: 600;
}

.home-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px 20px;
}

.home-empty i {
    font-size: 32px;
    color: var(--muted);
    margin-bottom: 10px;
}

.home-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
    padding: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.home-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.home-trust-item i {
    font-size: 18px;
    color: var(--primary-dark);
}

@media (min-width: 600px) {
    .category-tile {
        flex: 0 0 168px;
    }

    .category-tile-visual {
        height: 120px;
    }

    .home-hero {
        grid-template-columns: 1.4fr 1fr;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .home-page {
        padding: 0 24px 24px;
    }

    .header-top {
        flex-wrap: nowrap;
        gap: 16px;
        padding-bottom: 0;
    }

    .header-search {
        order: 0;
        flex: 1;
        max-width: none;
    }

    .desktop-nav {
        display: flex;
        gap: 4px;
        background: var(--header-mid);
        margin: 0;
        padding: 0 24px;
    }

    .desktop-hide {
        display: none;
    }

    .home-categories-head {
        padding: 0 24px 20px;
    }

    .category-track {
        padding: 4px 24px 10px;
        gap: 16px;
    }

    .category-tile {
        flex: 0 0 180px;
    }

    .category-tile-visual {
        height: 130px;
    }

    .home-hero-title {
        font-size: 28px;
    }

    .home-trust {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .products-grid--home {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .header-top,
    .desktop-nav,
    .home-page,
    .delivery,
    .flash-strip {
        padding-left: 40px;
        padding-right: 40px;
    }

    .delivery,
    .flash-strip {
        margin-left: 40px;
        margin-right: 40px;
    }

    .products-grid--home {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .category-tile {
        flex: 0 0 196px;
    }

    .category-tile-visual {
        height: 140px;
    }
}

/* ── Site footer ── */
.site-footer {
    margin-top: 28px;
    background: var(--header-dark);
    color: #e3e6e6;
    position: relative;
    overflow: hidden;
}

.site-footer-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--amazon-orange), var(--primary), var(--accent));
}

.site-footer-inner {
    padding: 36px 20px 24px;
    max-width: 100%;
}

.site-footer-brand {
    margin-bottom: 28px;
    max-width: 360px;
}

.site-footer-logo {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.site-footer-logo span {
    color: var(--accent);
}

.site-footer-tagline {
    font-size: 14px;
    line-height: 1.55;
    color: #a7acb0;
    margin-bottom: 16px;
}

.site-footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--header-mid);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #fff;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.site-footer-social-link:hover {
    background: var(--amazon-orange);
    color: #0f1111;
    transform: translateY(-2px);
}

.site-footer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    margin-bottom: 28px;
}

.site-footer-col h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 12px;
}

.site-footer-col ul {
    list-style: none;
}

.site-footer-col li {
    margin-bottom: 8px;
}

.site-footer-col a {
    font-size: 14px;
    color: #c4c8c8;
    transition: color 0.15s ease;
}

.site-footer-col a:hover {
    color: var(--amazon-orange);
}

.site-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #c4c8c8;
    line-height: 1.45;
}

.site-footer-contact-list i {
    color: var(--amazon-orange);
    margin-top: 2px;
    flex-shrink: 0;
}

.site-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    margin-bottom: 24px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--header-mid) 0%, #1a2634 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-newsletter h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 4px;
}

.site-footer-newsletter p {
    font-size: 13px;
    color: #a7acb0;
}

.site-footer-newsletter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.site-footer-newsletter-form input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
}

.site-footer-newsletter-form input::placeholder {
    color: #8a9196;
}

.site-footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--amazon-orange);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.25);
}

.site-footer-newsletter-form button {
    padding: 12px 20px;
    border-radius: 6px;
    background: var(--amazon-orange);
    color: #0f1111;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
}

.site-footer-newsletter-form button:hover {
    background: #ffb84d;
    transform: translateY(-1px);
}

.site-footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 16px 0;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #a7acb0;
}

.site-footer-trust i {
    color: var(--amazon-orange);
    font-size: 16px;
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 12px;
    color: #8a9196;
}

.site-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer-legal a {
    color: #a7acb0;
    transition: color 0.15s ease;
}

.site-footer-legal a:hover {
    color: #fff;
}

.site-footer-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--header-mid);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.site-footer-top:hover {
    background: #37475a;
    border-color: var(--amazon-orange);
}

@media (min-width: 768px) {
    .site-footer-columns {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .site-footer-newsletter {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .site-footer-newsletter-text {
        flex: 1;
        min-width: 200px;
    }
}

@media (min-width: 992px) {
    .site-footer-inner {
        padding: 48px 24px 28px;
    }

    .site-footer-brand {
        margin-bottom: 0;
    }

    .site-footer-top-grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 40px;
        margin-bottom: 32px;
    }
}

@media (min-width: 1400px) {
    .site-footer-inner {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Extra bottom space on mobile so footer clears fixed nav */
@media (max-width: 991px) {
    .site-footer {
        margin-bottom: 12px;
    }
}

/* ── Saved addresses & checkout ── */
.address-default-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    background: #e7f2ff;
    color: #0059a8;
    vertical-align: middle;
}

.address-form .field,
.address-form label.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}

.address-form .field input,
.address-form .field select {
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
}

.address-form .field-check {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.address-form .field-check input {
    width: 18px;
    height: 18px;
}

.address-list {
    display: grid;
    gap: 12px;
}

.address-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 6px 14px rgba(14, 56, 98, 0.06);
}

.address-card.is-default {
    border-color: #9ec9ef;
    background: linear-gradient(180deg, #f8fbff, #fff);
}

.address-card-top h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.address-name {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
}

.address-lines {
    font-size: 13px;
    line-height: 1.5;
    color: #2a3d52;
    margin-bottom: 12px;
}

.address-card-actions {
    flex-wrap: wrap;
}

.address-empty {
    text-align: center;
    padding: 32px 20px;
}

.address-empty i {
    font-size: 40px;
    color: #9eb4c8;
    display: block;
    margin-bottom: 12px;
}

.address-select-list {
    display: grid;
    gap: 10px;
}

.address-select-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.address-select-item:hover {
    border-color: #9ec9ef;
}

.address-select-item.is-selected {
    border-color: var(--primary);
    background: #f0f9ff;
}

.address-select-item input {
    margin-top: 4px;
    accent-color: var(--primary);
}

.address-select-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.address-select-body strong {
    font-size: 13px;
}

.cart-address-card {
    margin-bottom: 0;
}

.cart-address-hint {
    margin-top: 10px;
}

.order-ship-address,
.order-success-address {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.order-success-address h2 {
    font-size: 15px;
    margin-bottom: 10px;
}
