:root {
    --page-margin: clamp(36px, 5vw, 78px);
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #eef5f2;
    --text: #17202a;
    --muted: #667085;
    --line: #d8e1dc;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f59e0b;
    --shadow: 0 18px 45px rgba(23, 32, 42, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

body.dark-mode {
    --bg: #101820;
    --surface: #17212b;
    --surface-2: #1f2d35;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --line: #334155;
    --primary: #2dd4bf;
    --primary-dark: #14b8a6;
    --accent: #fbbf24;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

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

button,
a {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-content {
    width: calc(100% - (var(--page-margin) * 2));
    margin: 0 auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.logo img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(15, 118, 110, 0.18);
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

nav a svg,
.icon-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

nav a svg {
    width: 16px;
    height: 16px;
}

nav a:hover,
nav a.active {
    background: var(--surface-2);
    color: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    transition: transform 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--primary) 18%, var(--surface));
}

.cart-button span {
    position: absolute;
    top: -5px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #111827;
    font-size: 11px;
    font-weight: 800;
}

.nav-toggle {
    display: none;
}

.hero {
    width: calc(100% - (var(--page-margin) * 2));
    margin: 0 auto;
    padding: 18px 0 0;
}

.hero-carousel {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    border-radius: 28px;
    background: #111827;
    box-shadow: var(--shadow);
}

.page-hero {
    width: calc(100% - (var(--page-margin) * 2));
    margin: 0 auto;
    padding: 54px 0 30px;
}

.page-hero,
.category-page-header {
    position: relative;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 30px -18px 0;
    z-index: -1;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 10%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 32%),
        linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, var(--primary)), var(--surface));
    border: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 760px;
    margin: 12px 0 16px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1;
}

.split-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 34px;
}

.page-hero-copy {
    padding: 28px 0;
}

.page-hero-media {
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.page-hero-media img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.category-page-header .ghost-btn {
    margin-top: 18px;
}

.page-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 64px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 20, 21, 0.78), rgba(6, 20, 21, 0.28), rgba(6, 20, 21, 0.08));
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
    color: white;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 18%, var(--surface));
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero .eyebrow,
.deals-section .eyebrow {
    background: rgba(255, 255, 255, 0.18);
    color: white;
}

.hero h1,
.checkout-header h1 {
    font-size: clamp(38px, 7vw, 78px);
    line-height: 1;
    margin-bottom: 18px;
}

.hero p {
    max-width: 560px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.btn,
.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

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

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

.btn:disabled {
    cursor: not-allowed;
    background: var(--line);
    color: var(--muted);
}

.ghost-btn {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
}

.full-btn {
    width: 100%;
}

.btn svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkout-action {
    width: fit-content;
    min-width: 0;
    min-height: 40px;
    padding-inline: 16px;
}

.cart-footer .checkout-action {
    margin-left: auto;
}

.carousel-controls {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
}

.slide-dots {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.slide-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
}

.slide-dot.active {
    width: 24px;
    border-radius: 999px;
    background: white;
}

section {
    width: calc(100% - (var(--page-margin) * 2));
    margin: 0 auto;
    padding: 76px 0;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: calc(100% - (var(--page-margin) * 2));
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 0 12px;
}

.trust-strip div,
.support-grid article,
.order-summary,
.checkout-form,
.success-message {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(23, 32, 42, 0.05);
}

.trust-strip div {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 16px;
}

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

.trust-strip svg {
    grid-row: span 2;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--primary-dark);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-strip span,
.section-heading p,
.product-meta,
.product-card p,
.support-grid p,
.cart-item p,
.success-message p {
    color: var(--muted);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.support-section .section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.support-section .section-heading .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.support-page-section .section-heading {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.support-page-section .section-heading .eyebrow {
    margin-left: 0;
    margin-right: 0;
}

.products-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

.section-heading h2,
.deal-copy h2 {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.08;
    margin-bottom: 12px;
}

.category-grid,
.product-grid,
.support-grid {
    display: grid;
    gap: 22px;
}

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

.category-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 22px;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
}

.category-card div {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 1;
}

.category-card span {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.category-card h3 {
    font-size: 26px;
    margin-bottom: 14px;
}

.category-link {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.store-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(170px, 0.8fr);
    gap: 12px;
    min-width: min(500px, 100%);
}

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

.featured-carousel {
    overflow: hidden;
    padding: 4px 0 16px;
}

.featured-track {
    display: flex;
    width: max-content;
    gap: 22px;
    animation: slowProductScroll 55s linear infinite;
}

.featured-track:hover {
    animation-play-state: paused;
}

.featured-track .product-card {
    width: 320px;
}

@keyframes slowProductScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 11px));
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(23, 32, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
    box-shadow: var(--shadow);
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--surface-2);
}

.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}

.product-card h3 {
    font-size: 18px;
    line-height: 1.25;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-product {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
}

.view-product svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-price {
    font-size: 18px;
    font-weight: 900;
}

.deals-section {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
    gap: 24px;
    padding: 46px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--primary-dark), #0f172a);
    color: white;
    box-shadow: var(--shadow);
}

.deal-copy h2,
.deal-copy p {
    color: white;
}

.deal-copy p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.8);
}

.deal-panel {
    display: grid;
    place-items: center;
    justify-self: end;
    width: min(100%, 240px);
    min-height: 150px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
}

.deal-panel strong {
    font-size: 56px;
    line-height: 1;
}

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

.support-layout {
    display: grid;
    justify-items: center;
    gap: 18px;
}

.support-page-section .support-layout {
    grid-template-columns: minmax(260px, 0.85fr) minmax(360px, 1.15fr);
    align-items: start;
    justify-items: stretch;
    gap: 24px;
}

.support-page-section .support-grid {
    grid-template-columns: 1fr;
}

.vertical-support .support-grid {
    order: 1;
    width: min(100%, 820px);
}

.vertical-support .support-form {
    order: 2;
    width: min(100%, 820px);
}

.support-grid article {
    padding: 18px;
}

.support-grid strong {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 18%, var(--surface));
    color: var(--primary-dark);
}

.support-grid article:nth-child(2) strong {
    background: color-mix(in srgb, var(--accent) 24%, var(--surface));
    color: #92400e;
}

.support-grid article:nth-child(3) strong {
    background: color-mix(in srgb, #6366f1 18%, var(--surface));
    color: #4338ca;
}

.support-grid strong svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-grid h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.support-form {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(23, 32, 42, 0.05);
}

.support-form h3 {
    margin-bottom: 18px;
    font-size: 24px;
}

.support-form input,
.support-form textarea {
    margin-bottom: 16px;
}

.send-message-btn {
    width: fit-content;
    min-width: 0;
    padding-inline: 20px;
}

.form-status {
    min-height: 22px;
    margin-top: 12px;
    color: var(--primary-dark);
    font-weight: 800;
}

.cart-drawer,
.product-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 300;
    width: min(440px, 92vw);
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    box-shadow: -30px 0 60px rgba(15, 23, 42, 0.2);
    transform: translateX(105%);
    transition: transform 0.3s ease;
}

.product-drawer {
    width: min(500px, 94vw);
    overflow: auto;
}

.cart-drawer.open,
.product-drawer.open {
    transform: translateX(0);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: none;
    background: rgba(15, 23, 42, 0.45);
}

.drawer-overlay.show {
    display: block;
}

.cart-header,
.cart-footer,
.product-drawer-header {
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

.cart-header,
.product-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.product-drawer-content {
    padding: 22px;
}

.product-drawer-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.product-drawer-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0;
    color: var(--muted);
    font-size: 14px;
}

.drawer-price {
    display: block;
    margin: 16px 0;
    font-size: 28px;
    font-weight: 900;
}

.product-drawer-content .add-to-cart {
    width: fit-content;
    min-width: 136px;
    padding-inline: 20px;
}

.cart-items {
    flex: 1;
    overflow: auto;
    padding: 18px 22px;
}

.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
}

.cart-item h3 {
    font-size: 15px;
}

.cart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-controls button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--text);
    font-weight: 900;
}

.cart-footer {
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.summary-line.total {
    font-size: 18px;
}

.checkout-view,
.category-view {
    width: 100%;
    padding: 54px var(--page-margin) 80px;
}

.checkout-header,
.checkout-layout,
.success-message {
    width: 100%;
    margin: 0 auto;
}

.checkout-header {
    margin-bottom: 26px;
}

.checkout-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin: 18px 0 14px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--primary) 16%, var(--surface));
    color: var(--primary-dark);
}

.checkout-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkout-header h1 {
    color: var(--text);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1;
    margin: 12px 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.checkout-form,
.order-summary,
.success-message {
    padding: 26px;
}

.form-row {
    margin-bottom: 16px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
}

.catalog-section {
    margin-top: 20px;
    padding: 34px 0 76px;
}

.catalog-section .product-grid {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: color-mix(in srgb, var(--surface) 72%, var(--bg));
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--muted);
    text-align: center;
}

.pagination-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.pagination-controls button {
    min-width: 42px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-weight: 800;
}

.pagination-controls .pagination-nav {
    width: 42px;
    padding: 0;
    display: inline-grid;
    place-items: center;
}

.pagination-controls svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pagination-controls button:hover:not(:disabled),
.pagination-controls button.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.pagination-controls button:disabled {
    cursor: not-allowed;
    color: var(--muted);
    opacity: 0.58;
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 24px) 50%, calc(100% - 17px) 50%;
    background-repeat: no-repeat;
    background-size: 7px 7px, 7px 7px;
    padding-right: 48px;
}

textarea {
    min-height: 118px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.checkout-item span {
    display: block;
    color: var(--muted);
}

.success-message {
    margin-top: 24px;
    text-align: center;
}

.success-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 28px;
    font-weight: 900;
}

.tracking-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.tracking-step {
    padding: 12px;
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.tracking-step.active {
    background: color-mix(in srgb, var(--primary) 18%, var(--surface));
    color: var(--primary-dark);
}

.site-footer {
    margin-top: clamp(34px, 5vw, 72px);
    padding: 46px var(--page-margin) 24px;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 88%, var(--surface-2));
    color: var(--text);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(160px, 0.6fr));
    gap: 28px;
    width: 100%;
    margin: 0 auto;
}

.footer-brand p,
.footer-bottom p {
    color: var(--muted);
}

.footer-logo {
    color: var(--text);
    margin-bottom: 14px;
}

.footer-logo img {
    box-shadow: none;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-links h2 {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 15px;
}

.footer-links a {
    position: relative;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.footer-links a::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    background: var(--primary-dark);
    -webkit-mask: var(--footer-icon) center / contain no-repeat;
    mask: var(--footer-icon) center / contain no-repeat;
}

.footer-icon-products {
    --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8l9 5 9-5Z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E");
}

.footer-icon-fashion {
    --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8l2 3 4 2-3 5-3-2v8H8v-8l-3 2-3-5 4-2 2-3Z'/%3E%3Cpath d='M9 4c.5 2 5.5 2 6 0'/%3E%3C/svg%3E");
}

.footer-icon-electronics {
    --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E");
}

.footer-icon-support {
    --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 0 1 16 0'/%3E%3Cpath d='M4 13v4a2 2 0 0 0 2 2h2v-8H6a2 2 0 0 0-2 2ZM20 13v4a2 2 0 0 1-2 2h-2v-8h2a2 2 0 0 1 2 2Z'/%3E%3Cpath d='M16 19c0 1-2 2-4 2'/%3E%3C/svg%3E");
}

.footer-icon-checkout {
    --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E");
}

.footer-icon-home {
    --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.footer-icon-beauty {
    --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.7 5.3L19 10l-5.3 1.7L12 17l-1.7-5.3L5 10l5.3-1.7L12 3Z'/%3E%3Cpath d='M19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8L19 16Z'/%3E%3C/svg%3E");
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    width: 100%;
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
    :root {
        --page-margin: 24px;
    }

    .header-content {
        min-height: 60px;
    }

    .logo span {
        display: none;
    }

    .footer-logo span {
        display: inline;
    }

    nav {
        position: absolute;
        left: var(--page-margin);
        right: var(--page-margin);
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    nav.show-nav {
        display: flex;
    }

    nav a {
        justify-content: center;
    }

    .nav-toggle {
        display: inline-grid;
    }

    .hero-carousel {
        min-height: 600px;
        border-radius: 22px;
    }

    .hero-slide {
        padding: 42px 26px;
    }

    .trust-strip,
    .category-grid,
    .support-grid,
    .support-layout,
    .support-page-section .support-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .products-heading {
        display: block;
    }

    .store-controls {
        margin-top: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .split-page-hero {
        grid-template-columns: 1fr;
    }

    .page-hero-media {
        order: -1;
    }

    .page-hero-media img {
        height: 300px;
    }

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

    .featured-track .product-card {
        width: 290px;
    }

    .deals-section {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .deal-panel {
        justify-self: start;
    }

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

@media (max-width: 620px) {
    :root {
        --page-margin: 16px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .icon-btn {
        width: 34px;
        height: 34px;
    }

    .hero {
        padding-top: 10px;
    }

    .hero-carousel {
        min-height: 560px;
    }

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

    section {
        padding: 54px 0;
    }

    .store-controls,
    .product-grid,
    .tracking-list {
        grid-template-columns: 1fr;
    }

    .cart-drawer,
    .product-drawer {
        width: 100vw;
    }

    .trust-strip div {
        grid-template-columns: 36px 1fr;
    }

    .trust-strip svg {
        width: 36px;
        height: 36px;
    }

    .support-form {
        padding: 20px;
    }
}
