@import url('https://fonts.googleapis.com/css2?family=Chivo:ital,wght@0,400;0,700;1,400&family=Roboto:wght@400;500&display=swap');

:root {
    --bg: #ffffff;
    --text: #000000;
    --muted: #666666;
    --line: #cccccc;
    --font-heading: "Chivo", sans-serif;
    --font-body: "Roboto", sans-serif;
    --container: 1440px;
    --pad: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container-wide { width: min(var(--container), 100% - var(--pad) * 2); margin: 0 auto; }

/* Announcement */
.announcement {
    background: #121212;
    color: #fff;
    text-align: center;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 10px 16px;
}

/* Header — logo left, nav center, icons right (aeromats layout) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header-bar {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    min-height: 72px;
    gap: 16px;
}
.logo-link { justify-self: start; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.main-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.main-nav a {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--text); }
.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    justify-self: end;
}
.header-login {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.icon-btn { padding: 6px; display: inline-flex; align-items: center; }
.menu-toggle { display: none; }
.cart-btn { position: relative; }
.cart-count {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search panel (dropdown style) */
.search-panel {
    display: none;
    border-top: 1px solid var(--line);
    padding: 24px 0 32px;
    background: #fff;
}
.search-panel.open { display: block; }
.search-form {
    display: flex;
    border-bottom: 1px solid var(--text);
    margin-bottom: 24px;
}
.search-form input {
    flex: 1;
    border: none;
    font-size: 16px;
    padding: 12px 0;
    outline: none;
    font-family: var(--font-body);
}
.search-form button {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 8px;
}
.search-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
    border: 1px solid var(--line);
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 999px;
    transition: 0.2s;
}
.chip:hover { background: #f5f5f5; }
.search-recommended h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 16px;
}
.recommended-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.rec-card img { aspect-ratio: 1; object-fit: cover; width: 100%; background: #f3f3f3; }
.rec-card h4 { font-size: 13px; font-weight: 400; margin: 8px 0 4px; line-height: 1.35; }
.rec-card .price { font-size: 13px; color: var(--muted); }

/* Hero — full bleed image + overlay text (like original) */
.hero-slideshow { position: relative; background: #111; }
.hero-track { display: flex; transition: transform 0.7s ease; }
.hero-slide {
    min-width: 100%;
    position: relative;
    min-height: min(72vh, 640px);
}
.hero-slide img {
    width: 100%;
    height: min(72vh, 640px);
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 48px 8%;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    color: #fff;
}
.hero-overlay h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 16px;
    max-width: 520px;
}
.hero-overlay p {
    max-width: 480px;
    margin: 0 0 24px;
    font-size: 15px;
    opacity: 0.92;
    line-height: 1.6;
}
.btn-shop {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 14px 36px;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    min-width: 200px;
    text-align: center;
}
.btn-shop:hover { opacity: 0.9; }
.hero-nav {
    position: absolute;
    bottom: 24px;
    right: 8%;
    display: flex;
    gap: 8px;
}
.hero-nav button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    padding: 0;
}
.hero-nav button.active { background: #fff; }

/* Marquee */
.marquee-wrap {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 14px 0;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}
.marquee-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Promo tiles (HOME GYM etc) */
.promo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
}
.promo-tile {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-right: 1px solid var(--line);
}
.promo-tile:last-child { border-right: none; }
.promo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.promo-tile:hover img { transform: scale(1.04); }
.promo-tile span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

/* Category grid */
.section-block { padding: 56px 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 28px;
}
.section-head h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}
.section-head a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.category-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #eee;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card .label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.category-card .shop-now {
    position: absolute;
    left: 20px;
    bottom: 52px;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: 0.3s;
}
.category-card:hover .shop-now { opacity: 1; transform: translateY(0); }

/* Product grid — Shopify card style */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 20px;
}
.product-card { position: relative; }
.product-thumb {
    position: relative;
    aspect-ratio: 1;
    background: #f6f6f6;
    overflow: hidden;
    margin-bottom: 12px;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s;
}
.product-thumb .hover-img {
    position: absolute;
    inset: 0;
    opacity: 0;
}
.product-card:hover .hover-img { opacity: 1; }
.product-card:hover .main-img { opacity: 0; }
.product-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 6px;
    line-height: 1.45;
}
.product-price { font-size: 14px; }
.product-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.color-swatches { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.blog-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    background: #eee;
    margin-bottom: 12px;
}
.blog-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0 0 10px;
}
.read-more { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* Social */
.social-block {
    text-align: center;
    padding: 64px 24px;
    background: #fafafa;
    border-top: 1px solid var(--line);
}
.social-block h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
}
.social-block p { color: var(--muted); margin: 0 0 28px; }
.social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    max-width: 960px;
    margin: 0 auto;
}
.social-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 20px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 8px;
}
.footer-col a:hover { color: var(--text); }
.newsletter-form {
    display: flex;
    border-bottom: 1px solid var(--text);
    margin-top: 8px;
}
.newsletter-form input {
    flex: 1;
    border: none;
    padding: 10px 0;
    outline: none;
    font-size: 14px;
}
.newsletter-form button {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
}
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-icons span {
    border: 1px solid var(--line);
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 3px;
}

/* Collection page */
.page-title-bar {
    padding: 40px 0 24px;
    border-bottom: 1px solid var(--line);
}
.page-title-bar h1 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 8px 0 0;
}
.breadcrumb { font-size: 12px; color: var(--muted); }
.collection-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: var(--muted);
}
.collection-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    padding-bottom: 64px;
}
.filter-panel h4 {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.filter-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--muted);
}

/* Product detail */
.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0 80px;
}
.product-gallery-main {
    aspect-ratio: 1;
    background: #f5f5f5;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.product-gallery-thumbs button {
    width: 72px;
    height: 72px;
    border: 1px solid var(--line);
    padding: 0;
    overflow: hidden;
}
.product-gallery-thumbs button.active { border-color: #000; }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-detail h1 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    margin: 0 0 12px;
    line-height: 1.2;
}
.product-detail .price-lg { font-size: 18px; margin-bottom: 20px; }
.product-detail .desc {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
    max-height: 200px;
    overflow-y: auto;
}
.variant-block label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.variant-block select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    font-size: 14px;
    background: #fff;
}
.product-meta-list {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.product-meta-list dt { font-weight: 500; color: var(--text); margin-top: 8px; }
.product-meta-list dd { margin: 4px 0 0; }

/* Cart drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cart-drawer.open { pointer-events: auto; }
.cart-backdrop {
    position: absolute; inset: 0; background: rgba(0,0,0,0.45);
    opacity: 0; transition: 0.3s;
}
.cart-drawer.open .cart-backdrop { opacity: 1; }
.cart-panel {
    position: absolute; top: 0; right: 0;
    width: min(400px, 100vw); height: 100%; background: #fff;
    transform: translateX(100%); transition: 0.35s;
    padding: 24px; display: flex; flex-direction: column;
}
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-close { align-self: flex-end; font-size: 28px; line-height: 1; }
.cart-panel h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 8px;
}
.cart-note { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); }
.btn-outline {
    border: 1px solid var(--text);
    padding: 12px 24px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Mobile nav */
.mobile-nav {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden; transition: 0.25s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-panel {
    width: min(300px, 85vw); height: 100%; background: #fff;
    padding: 24px; overflow-y: auto;
    transform: translateX(-100%); transition: 0.25s;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-panel a {
    display: block; padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.mobile-close { margin-bottom: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Footer policies */
.footer-policies { margin-bottom: 32px; }
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 8px;
}
.footer-col a:hover { color: var(--text); }
.footer-shipping-text { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 8px; }
.footer-shipping-col .footer-shipping-text a { display: inline; color: var(--text); text-decoration: underline; }

.header-cart-link {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Policy pages */
.policy-page { padding: 32px 0 64px; }
.policy-content { max-width: 720px; line-height: 1.75; }
.policy-content h1 { font-family: var(--font-heading); font-weight: 400; font-size: 32px; margin: 16px 0 24px; }
.policy-content h2 { font-size: 18px; margin: 28px 0 12px; font-weight: 500; }
.policy-content p, .policy-content li { color: var(--muted); margin: 0 0 14px; }
.policy-content a { color: var(--text); text-decoration: underline; }
.policy-contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.policy-contact-list li { margin-bottom: 10px; color: var(--muted); }

/* Cart */
.cart-page { padding-bottom: 64px; }
.cart-page-shipping { color: var(--muted); margin: -8px 0 24px; }
.cart-page-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.cart-line {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.cart-line-img img { width: 80px; height: 80px; object-fit: cover; background: #f5f5f5; }
.cart-line-title { font-size: 15px; display: block; margin-bottom: 4px; }
.cart-line-variant { font-size: 12px; color: var(--muted); }
.cart-line-price { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cart-line-qty { font-size: 12px; color: var(--muted); margin-top: 6px; }
.cart-line-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cart-qty-input { width: 64px; border: 1px solid var(--line); padding: 8px; text-align: center; }
.cart-remove { font-size: 12px; text-decoration: underline; color: var(--muted); }
.cart-line-total { font-size: 15px; font-weight: 500; white-space: nowrap; }
.cart-summary {
    border: 1px solid var(--line);
    padding: 24px;
    position: sticky;
    top: 96px;
}
.cart-summary h2 { font-size: 16px; margin: 0 0 16px; font-weight: 500; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 14px; }
.cart-summary-note { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 16px 0; }
.cart-clear-btn { width: 100%; margin-top: 8px; cursor: pointer; }
.cart-drawer-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 16px; }
.product-add-row { display: flex; gap: 12px; margin-top: 20px; align-items: stretch; }
.product-add-row .add-to-cart { flex: 1; cursor: pointer; }
.add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    border: none;
    cursor: pointer;
}
.add-to-cart:hover { opacity: 0.88; }
.checkout-btn {
    display: block;
    width: 100%;
    margin: 16px 0 12px;
    text-decoration: none;
}
.cart-clear-btn { width: 100%; margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.site-footer-minimal { padding: 28px 0; }
.site-footer-minimal .footer-bottom { border-top: none; padding-top: 0; }
.footer-shipping { font-size: 13px; letter-spacing: 0.04em; }

.product-shipping-note {
    margin: 20px 0 0;
    padding: 12px 14px;
    background: #f5f5f5;
    font-size: 13px;
    letter-spacing: 0.03em;
}

.clone-badge { display: none; }

@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-strip { grid-template-columns: 1fr; }
    .promo-tile { border-right: none; border-bottom: 1px solid var(--line); }
    .collection-layout { grid-template-columns: 1fr; }
    .filter-panel { display: none; }
    .cart-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-bar { grid-template-columns: auto 1fr auto; }
    .main-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .logo-text { font-size: 14px; letter-spacing: 0.12em; }
    .header-login { display: none; }
    .category-grid, .product-grid, .footer-grid { grid-template-columns: 1fr; }
    .product-page { grid-template-columns: 1fr; }
    .hero-overlay { padding: 32px 6%; }
}
