@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #eef4ee;
    --bg-soft: #f7fbf7;
    --ink: #182a22;
    --muted: #5f6f67;
    --brand: #1f4a34;
    --accent: #2e6b49;
    --card: #ffffff;
    --border: #d2dfd6;
    --shadow: 0 20px 60px rgba(31, 74, 52, 0.12);
}

html {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at 20% 10%, #fff 0%, var(--bg) 45%, #e3ede5 100%),
        repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0 1px, rgba(255, 255, 255, 0) 1px 7px);
    color: var(--ink);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(238, 245, 239, 0.92);
    backdrop-filter: blur(16px);
    z-index: 30;
    border-bottom: 1px solid rgba(208, 223, 213, 0.6);
    box-shadow: 0 12px 30px rgba(30, 32, 34, 0.06);
}

.site-header .site-header-container,
.site-footer .site-footer-container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(12px, 3vw, 34px);
}

.topbar {
    padding: 16px 0;
}

.nav-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 90px;
}

.logo {
    display: inline-flex;
    align-items: center;
    width: 230px;
    max-height: 76px;
}

.logo img {
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: center;
    justify-self: center;
    flex-wrap: wrap;
    align-self: center;
    margin-top: 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item.has-dropdown .nav-link::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-bottom: 2px;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    max-width: min(900px, 92vw);
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(30, 32, 34, 0.12);
    padding: 12px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 25;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: center;
    padding: 8px 6px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-align: center;
    width: 120px;
}

.dropdown-item:hover {
    border-color: #cfe0d4;
    background: #f7fbf7;
}

.dropdown-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #eef5f0;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 0 auto;
}

.dropdown-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    padding: 4px;
}

.brand-logo-focus {
    padding: 6px;
}

.brand-logo-kimbo {
    background: #151515;
    border-radius: 8px;
    padding: 8px;
}

.dropdown-placeholder {
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: #dde9e1;
}

.dropdown-title {
    font-weight: 600;
    font-size: 13px;
}

.nav-link {
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    padding: 12px 4px;
    position: relative;

    border-bottom: 2px solid transparent;
}

.nav-link.active,
.nav-link:hover {
    color: var(--accent);

    border-color: var(--accent);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    align-self: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: visible;
    padding: 2px 8px 2px 16px;
    min-width: 270px;
    box-shadow: 0 8px 20px rgba(30, 32, 34, 0.08);
    height: 44px;
}

.search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    flex: 1;
}

.search button {
    background: var(--brand);
    color: #fff;
    border: none;
    padding: 9px 17px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
}

.search-suggest {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 34px rgba(30, 32, 34, 0.16);
    padding: 8px;
    max-height: 360px;
    overflow: auto;
    z-index: 60;
}

.search-suggest-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    color: var(--ink);
}

.search-suggest-item:hover,
.search-suggest-item.is-active {
    background: #eef4ee;
}

.search-suggest-thumb {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    overflow: hidden;
    background: #e8f1eb;
    display: grid;
    place-items: center;
}

.search-suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-suggest-title {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}

.search-suggest-empty {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--muted);
}

.icon-link,
.cart-link {
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    white-space: nowrap;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
}

.cart-link {
    position: relative;
}

.cart-count-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(169, 99, 49, 0.22);
}

.mobile-header-tools {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-cart-button {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-button svg {
    width: 20px;
    height: 20px;
    fill: var(--ink);
}

.cart-count-badge--mobile {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle .bar:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 18, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 35;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    background: #fff;
    box-shadow: none;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 40;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
}

.mobile-close {
    background: #fff;
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    font-size: 22px;
    cursor: pointer;
}

.mobile-nav {
    display: grid;
    gap: 8px;
}

.mobile-link {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-weight: 600;
}

.mobile-link.active {
    border-color: var(--accent);
    color: var(--accent);
}

.mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.mobile-search {
    min-width: auto;
    box-shadow: none;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open .mobile-drawer {
    transform: translateX(0);
}

body.nav-open .wa-help {
    opacity: 0;
    pointer-events: none;
}

.notice {
    background: #edf7f0;
    color: #2f694a;
    border-bottom: 1px solid #c9decf;
    padding: 12px 0;
    font-size: 14px;
}

.hero {
    padding: 64px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(760px, 920px);
    gap: 22px;
    align-items: center;
}

.home-hero-section .home-hero-container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(12px, 3vw, 34px);
}

.home-hero-content {
    max-width: 760px;
    justify-self: start;
    text-align: left;
}

.home-hero-content h1 {
    max-width: 16ch;
    margin-inline: 0;
}

.home-hero-content .lead {
    max-width: 44ch;
    margin-inline: 0;
}

.home-hero-content .hero-actions {
    justify-content: flex-start;
}

.hero-grid.hero-grid--single {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.hero-grid.hero-grid--single .home-hero-content {
    max-width: min(1220px, 100%);
}

.hero-grid.hero-grid--single .home-hero-content h1 {
    max-width: none;
}

.hero-grid.hero-grid--single .home-hero-content .lead {
    max-width: 72ch;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 4vw, 52px);
    margin: 12px 0 18px;
}

.lead {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 100%;
}

.btn.primary {
    background: var(--brand);
    color: #fff;
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn.ghost {
    background: transparent;
    border-color: var(--brand);
    color: var(--brand);
}

.btn.light {
    background: #fff;
    color: var(--brand);
}

.hero-card {
    background: linear-gradient(160deg, #1f4a34 0%, #28533d 100%);
    color: #fff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    margin-top: 12px;
}

.hero-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-brand-slider {
    position: relative;
    min-height: 390px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(160deg, #1f4a34 0%, #2f5d45 100%);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-brand-track {
    position: relative;
    min-height: 390px;
    height: 100%;
}

.hero-brand-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 16px;
    padding: 28px 28px 74px;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transform: translateX(24px);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-brand-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-brand-media {
    min-height: 136px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    padding: 16px;
}

.hero-brand-media img {
    max-width: 100%;
    max-height: 108px;
    object-fit: contain;
}

.hero-brand-placeholder {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.26);
    font-family: 'Fraunces', serif;
    font-size: 32px;
    line-height: 1;
}

.hero-brand-info h3 {
    margin: 0 0 8px;
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 2.2vw, 38px);
    line-height: 1.1;
}

.hero-product-title {
    font-size: clamp(24px, 2vw, 32px) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-brand-info p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-brand-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hero-brand-cta {
    pointer-events: none;
}

.hero-brand-index {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-brand-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-brand-nav {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(29, 16, 11, 0.25);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-brand-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.hero-brand-dots {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.hero-brand-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-brand-dot.is-active {
    width: 26px;
    background: #fff;
}

.hero-product-slider {
    background: linear-gradient(160deg, #ffffff 0%, #edf5ef 100%);
    border: 1px solid #c5d8cc;
    box-shadow: 0 20px 44px rgba(31, 74, 52, 0.15);
    min-height: 560px;
    border-radius: 26px;
    padding: 16px;
    width: 100%;
    max-width: 790px;
    justify-self: end;
    overflow: hidden;
}

.hero-product-slider .hero-brand-track {
    min-height: 528px;
}

.hero-product-slider .hero-brand-slide {
    color: var(--ink);
    padding: 8px 8px 80px;
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: 12px;
    border-radius: 20px;
    background: transparent;
    border: none;
}

.hero-product-slider .hero-badge {
    background: linear-gradient(90deg, #d6e7dc 0%, #c1daca 100%);
    color: #2b5f45;
    font-weight: 700;
    letter-spacing: 1.2px;
    width: fit-content;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
}

.hero-product-card-large {
    display: grid;
    grid-template-rows: auto auto;
    gap: 16px;
    color: inherit;
    text-decoration: none;
    align-content: start;
}

.hero-product-slider .hero-brand-media {
    height: clamp(220px, 24vw, 290px);
    min-height: 220px;
    background:
        radial-gradient(circle at 20% 20%, #ffffff 0%, #f7f7f8 58%, #efedf0 100%);
    border: none;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px #ebdde0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.hero-product-slider .hero-brand-media img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
    transition: transform 0.2s ease;
}

.hero-product-slider .hero-product-image {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
    margin: 0 auto;
}

.hero-product-slider .hero-brand-slide:hover .hero-brand-media img {
    transform: scale(1.015);
}

.hero-product-slider .hero-brand-info h3 {
    font-size: clamp(26px, 2vw, 36px);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.2px;
    max-width: 26ch;
}

.hero-product-meta {
    margin-top: 0;
}

.hero-product-price {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background: #fff;
    font-weight: 800;
    font-size: 28px;
    color: #1f4a34;
    box-shadow: 0 8px 18px rgba(31, 74, 52, 0.12);
}

.hero-product-stock {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-product-stock.is-in-stock {
    color: #1b6f44;
    background: #e8f5ee;
}

.hero-product-stock.is-out-of-stock {
    color: #8f2f2a;
    background: #fee9e3;
}

.hero-product-slider .hero-brand-index {
    color: #526b60;
    font-weight: 700;
}

.hero-product-actions {
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 2px;
}

.hero-product-actions .hero-brand-index {
    margin-left: auto;
}

.hero-add-cart-form {
    margin: 0;
}

.hero-add-btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(31, 74, 52, 0.18);
}

.hero-product-slider .hero-brand-cta {
    padding: 10px 18px;
    border: none;
    color: #214836;
    background: #e3efe7;
    box-shadow: none;
    font-size: 16px;
    border-radius: 999px;
    font-weight: 700;
    pointer-events: auto;
}

.hero-product-slider .hero-brand-footer {
    margin-top: auto;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-product-slider .hero-brand-nav {
    border: none;
    background: #dce9e1;
    color: #1f4a34;
    width: 38px;
    height: 38px;
}

.hero-product-slider .hero-brand-nav:hover {
    background: #cadccf;
}

.hero-product-slider .hero-brand-dot {
    background: #9db9aa;
}

.hero-product-slider .hero-brand-dot.is-active {
    background: #1f4f3a;
}

.hero-espresso-slider {
    position: relative;
    width: min(100%, 920px);
    justify-self: end;
    padding-bottom: 74px;
}

.hero-espresso-slider-desktop {
    display: block;
}

.hero-espresso-slider-mobile {
    display: none;
}

.hero-espresso-track {
    position: relative;
    min-height: 360px;
}

.hero-espresso-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
    opacity: 0;
    transform: translateX(12px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-espresso-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-espresso-pair {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-espresso-slider-mobile .hero-espresso-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-espresso-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 12px;
    gap: 8px;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(31, 74, 52, 0.08);
}

.hero-espresso-placeholder {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #cddfd3;
    color: #24533e;
    font-family: 'Fraunces', serif;
    font-size: 32px;
}

.hero-espresso-card .product-title {
    font-size: 14px;
    line-height: 1.32;
    min-height: calc(1.32em * 2);
    max-height: calc(1.32em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hero-espresso-card .product-price {
    font-size: 16px;
}

.hero-espresso-thumb {
    border-radius: 14px;
    aspect-ratio: 4 / 3;
}

.hero-espresso-thumb img {
    object-fit: contain;
}

.hero-espresso-card .stock-pill {
    margin-top: auto;
}

.hero-espresso-index {
    font-size: 12px;
    font-weight: 700;
    color: #5f6f67;
    letter-spacing: 0.8px;
}

.hero-espresso-controls {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-espresso-controls .hero-brand-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 1px solid #c4d8cb;
    background: #fff;
    color: #25523e;
    pointer-events: auto;
}

.hero-espresso-controls .hero-brand-nav:first-of-type {
    left: -18px;
}

.hero-espresso-controls .hero-brand-nav:last-of-type {
    right: -18px;
}

.hero-espresso-controls .hero-brand-nav:hover {
    background: #edf5ef;
}

.hero-espresso-controls .hero-brand-dots {
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    pointer-events: auto;
}

.hero-espresso-controls .hero-brand-dot {
    background: #b8cfbf;
}

.hero-espresso-controls .hero-brand-dot.is-active {
    background: #1f4a34;
}

.section.home-brand-marquee-section {
    padding: 10px 0 24px;
}

.home-brand-marquee-section .home-brand-marquee-container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(12px, 3vw, 34px);
}

.home-brand-marquee {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 8px 0;
}

.home-brand-marquee::before,
.home-brand-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 2;
    pointer-events: none;
}

.home-brand-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #eef4ee 0%, rgba(238, 244, 238, 0) 100%);
}

.home-brand-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #eef4ee 0%, rgba(238, 244, 238, 0) 100%);
}

.home-brand-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: home-brand-marquee-move var(--brand-marquee-duration, 28s) linear infinite;
    will-change: transform;
}

.home-brand-marquee:hover .home-brand-marquee-track {
    animation-play-state: paused;
}

.home-brand-marquee-group {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 26px);
    padding-inline: clamp(4px, 1.4vw, 14px);
}

.home-brand-marquee-item {
    width: clamp(108px, 11vw, 170px);
    height: 58px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.2s ease;
    padding: 0;
}

.home-brand-marquee-item:hover {
    transform: translateY(-1px);
}

.home-brand-marquee-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
    filter: none;
    opacity: 0.96;
}

.home-brand-marquee-item:hover img {
    opacity: 1;
}

.home-brand-marquee-item .brand-logo-image,
.home-brand-marquee-item .brand-logo-focus {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 46px;
    object-fit: contain !important;
    padding: 0 !important;
}

.home-brand-marquee-item .brand-logo-kimbo {
    background: transparent !important;
    border-radius: 0;
    padding: 0 !important;
}

.home-brand-marquee-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #3b5f4c;
    line-height: 1.2;
}

@keyframes home-brand-marquee-move {
    from {
        transform: translateX(0);
    }

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

@media (prefers-reduced-motion: reduce) {
    .home-brand-marquee {
        overflow-x: auto;
    }

    .home-brand-marquee::before,
    .home-brand-marquee::after {
        display: none;
    }

    .home-brand-marquee-track {
        animation: none;
    }
}

.section {
    padding: 48px 0;
}

.search-page-form {
    margin: 8px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.search-page-form input[type='search'] {
    min-width: min(520px, 100%);
    flex: 1;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 0 14px;
    font-size: 15px;
    background: #fff;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.systems-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: #e8f1eb;
    position: relative;
    overflow: hidden;
    margin-bottom: 36px;
}

.systems-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 1px, rgba(255, 255, 255, 0) 1px 6px);
    opacity: 0.35;
    pointer-events: none;
}

.systems-section > * {
    position: relative;
}

.systems-text h2 {
    font-family: 'Fraunces', serif;
    margin: 6px 0 12px;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.system-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 14px;
    display: grid;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(31, 74, 52, 0.08);
}

.system-card.active {
    border-color: var(--accent);
    box-shadow: 0 14px 28px rgba(196, 109, 59, 0.2);
}

.system-head {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.system-thumb {
    border-radius: 12px;
    background: #eef5f0;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.system-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.system-placeholder {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: #dde9e1;
}

.system-title {
    font-weight: 600;
    font-size: 14px;
}

.system-products {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.system-product {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f9f5;
    border: 1px solid #d3e3d8;
    font-size: 12px;
    color: var(--brand);
}

.filter-label {
    font-weight: 600;
    color: var(--muted);
    font-size: 14px;
    margin-left: 6px;
}

.small {
    font-size: 12px;
}

.other-section {
    margin-bottom: 32px;
}

.other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 180px));
    gap: 16px;
    justify-content: start;
}

.home-systems-section {
    padding-top: 58px;
}

.home-systems-section .home-systems-container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(12px, 3vw, 34px);
}

.home-systems-section .other-section {
    margin-bottom: 0;
}

.home-systems-section .section-title {
    font-size: clamp(30px, 2.8vw, 40px);
    margin-bottom: 8px;
}

.home-systems-intro {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.45;
}

.home-systems-section .other-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    justify-content: stretch;
}

.home-systems-section .other-card {
    min-height: 258px;
    padding: 18px 14px;
    gap: 14px;
    border-radius: 18px;
}

.home-systems-section .other-thumb {
    max-width: 172px;
    border-radius: 14px;
}

.home-systems-section .other-title {
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.25;
}

.other-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 14px;
    text-align: center;
    display: grid;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(30, 32, 34, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
    width: 100%;
}

.other-card:hover {
    transform: translateY(-2px);
    border-color: #c6d9cd;
}

.other-card.active {
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(196, 109, 59, 0.2);
}

.other-thumb {
    border-radius: 12px;
    background: #eef5f0;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 120px;
    margin: 0 auto;
}

.other-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-title {
    font-weight: 600;
    font-size: 14px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.home-categories-section .home-categories-container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(12px, 3vw, 34px);
}

.home-categories-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    background: var(--card);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(31, 74, 52, 0.08);
}

.card-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.home-categories-cards .home-category-card {
    --cat-ink: #24503b;
    --cat-surface: linear-gradient(160deg, #f5faf7 0%, #e7f1ea 100%);
    --cat-visual: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.65) 45%, rgba(255, 255, 255, 0) 100%);
    --cat-chip-bg: rgba(255, 255, 255, 0.72);
    --cat-chip-border: rgba(45, 102, 71, 0.2);
    --cat-chip-ink: #275440;
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 288px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(66, 124, 93, 0.2);
    background: var(--cat-surface);
    box-shadow: 0 16px 34px rgba(31, 74, 52, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-categories-cards .home-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(31, 74, 52, 0.14);
}

.home-categories-cards .home-category-card::before,
.home-categories-cards .home-category-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.home-categories-cards .home-category-card::before {
    right: -28px;
    top: -34px;
    width: 132px;
    height: 132px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0));
}

.home-categories-cards .home-category-card::after {
    left: -34px;
    bottom: -44px;
    width: 148px;
    height: 148px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 72%);
}

.home-category-visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 132px;
    border-radius: 18px;
    border: 1px solid rgba(56, 114, 84, 0.12);
    background: var(--cat-visual);
    overflow: hidden;
}

.home-category-visual::before,
.home-category-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.home-category-visual::before {
    width: 180px;
    height: 180px;
    top: -86px;
    right: -74px;
    background: rgba(255, 255, 255, 0.45);
}

.home-category-visual::after {
    width: 132px;
    height: 132px;
    bottom: -70px;
    left: -48px;
    background: rgba(255, 255, 255, 0.38);
}

.home-category-illustration {
    width: 102px;
    height: 102px;
    border-radius: 28px;
    display: inline-grid;
    place-items: center;
    color: var(--cat-ink);
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        inset 0 0 0 1px rgba(31, 74, 52, 0.08),
        0 10px 24px rgba(31, 74, 52, 0.11);
    backdrop-filter: blur(1px);
}

.home-category-illustration svg {
    width: 56px;
    height: 56px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-categories-cards .home-category-card .card-title {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    font-size: 22px;
    letter-spacing: -0.2px;
}

.home-categories-cards .home-category-card p {
    margin: 0;
    position: relative;
    z-index: 1;
    color: #5d7066;
    font-size: 15px;
}

.home-category-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.home-category-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--cat-chip-border);
    background: var(--cat-chip-bg);
    color: var(--cat-chip-ink);
    font-size: 12px;
    font-weight: 700;
}

.home-categories-cards .home-category-card.is-other {
    --cat-ink: #345c48;
    --cat-surface: linear-gradient(165deg, #f5faf6 0%, #deebe1 100%);
    --cat-visual: radial-gradient(circle at 24% 20%, #fffdf8 0%, #e4f0e8 62%, #d7e9dc 100%);
    --cat-chip-border: rgba(56, 116, 86, 0.25);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 18px;
}

.brand-card {
    background: var(--card);
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: 0 8px 20px rgba(31, 74, 52, 0.06);
    display: grid;
    gap: 8px;
}

.brand-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto;
}

.brand-card div {
    font-size: 13px;
    font-weight: 600;
}

.brand-selected {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
}

.brand-badge {
    position: sticky;
    top: 120px;
    background: #f7fbf7;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    width: min(220px, 100%);
    display: grid;
    gap: 12px;
    box-shadow: 0 12px 26px rgba(31, 74, 52, 0.12);
}

.brand-badge img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.brand-placeholder {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    background: #e3ede5;
}

.brand-name {
    font-weight: 700;
    font-size: 16px;
}

.brand-products {
    min-width: 0;
}

@media (max-width: 960px) {
    .brand-selected {
        grid-template-columns: 1fr;
    }

    .brand-badge {
        position: static;
        width: 100%;
        max-width: 320px;
    }
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
}

.latest-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    justify-content: start;
    gap: 16px;
    align-items: stretch;
}

.latest-product-card {
    min-height: 0;
    padding: 12px;
    gap: 8px;
    height: 100%;
}

.latest-product-thumb {
    border-radius: 12px;
}

.latest-product-card .product-title {
    font-size: 14px;
    line-height: 1.35;
}

.latest-product-card .product-price {
    font-size: 15px;
}

.latest-products-slider {
    display: grid;
    gap: 10px;
}

.home-latest-section .home-latest-container {
    width: 100%;
    max-width: none;
    padding-inline: clamp(12px, 3vw, 34px);
}

.latest-slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.latest-slider-nav {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #c4d8cb;
    background: #fff;
    color: #25523e;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.latest-slider-nav:hover {
    background: #edf4ee;
    transform: translateY(-1px);
}

.latest-slider-nav:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
}

.latest-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x proximity;
}

.latest-slider-viewport::-webkit-scrollbar {
    display: none;
}

.latest-products-slider .latest-products-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 16px;
    width: max-content;
}

.latest-products-slider .latest-product-card {
    flex: 0 0 220px;
    width: 220px;
    scroll-snap-align: start;
}

.catalog-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    justify-content: start;
    gap: 16px;
    align-items: stretch;
}

.catalog-product-card {
    min-height: 0;
    padding: 12px;
    gap: 8px;
    height: 100%;
}

.catalog-product-card .product-thumb {
    border-radius: 12px;
}

.catalog-product-link {
    display: block;
}

.product-thumb-wrap {
    position: relative;
}

.favorite-form {
    margin: 0;
}

.favorite-toggle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #d1e0d6;
    background: rgba(255, 255, 255, 0.96);
    color: #6a7d73;
    padding: 0;
    font: inherit;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.favorite-toggle:hover {
    color: #c43b53;
    border-color: #efbcc7;
    background: #fff;
    transform: translateY(-1px);
}

.favorite-toggle.is-active {
    color: #c43b53;
    border-color: #efbcc7;
    background: #ffeef2;
}

.favorite-toggle:focus-visible {
    outline: 2px solid #c43b53;
    outline-offset: 2px;
}

.favorite-toggle .favorite-icon {
    font-size: 16px;
    line-height: 1;
}

.favorite-toggle--thumb {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
}

.latest-products-grid .latest-product-card .product-title,
.catalog-product-name {
    font-size: 14px;
    line-height: 1.35;
    min-height: calc(1.35em * 3);
    max-height: calc(1.35em * 3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.catalog-product-card .product-price {
    font-size: 15px;
}

.catalog-add-cart-form {
    width: 100%;
}

.catalog-product-cta {
    width: 100%;
    min-height: 38px;
    padding: 9px 12px;
    font-size: 14px;
    margin-top: 8px;
}

.latest-products-grid .latest-product-card .stock-pill,
.catalog-product-card .stock-pill {
    margin-top: auto;
}

.product-thumb {
    background: #e7f1ea;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.catalog-product-card .product-thumb img,
.latest-product-card .product-thumb img,
.account-favorite-card .product-thumb img {
    object-fit: contain !important;
    object-position: center center !important;
}

.product-title {
    font-weight: 600;
}

.product-price {
    font-weight: 700;
    color: var(--accent);
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.stock-pill.is-in-stock {
    color: #1b6f44;
    background: #e8f5ee;
}

.stock-pill.is-out-of-stock {
    color: #8f2f2a;
    background: #fee9e3;
}

.product-detail {
    --product-media-width: 52%;
    --product-col-gap: 46px;
    display: flow-root;
}

.product-media-column {
    float: left;
    width: var(--product-media-width);
    margin: 0 var(--product-col-gap) 18px 0;
    display: grid;
    gap: 18px;
    min-width: 0;
}

.product-buy-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    position: static;
}

.product-side-column {
    margin-left: calc(var(--product-media-width) + var(--product-col-gap));
    margin-bottom: 18px;
    min-width: 0;
}

.product-side-column > .product-buy-box {
    max-width: 560px;
    min-width: 0;
}

.product-detail-title {
    margin: 0;
    font-size: clamp(28px, 2.4vw, 42px);
    line-height: 1.15;
    font-family: 'Fraunces', serif;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.product-buy-box .product-price {
    font-size: clamp(30px, 2vw, 40px);
    line-height: 1;
    color: #111;
}

.product-price-meta {
    font-size: 16px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-price-meta span {
    font-weight: 600;
}

.product-divider {
    height: 1px;
    background: var(--border);
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.product-meta-row > * {
    min-width: 0;
}

.product-stock {
    font-size: 16px;
    font-weight: 700;
}

.product-stock.is-in-stock {
    color: #1b6f44;
}

.product-stock.is-out-of-stock {
    color: #9c2f26;
}

.product-min-order {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.product-code {
    font-weight: 700;
    font-size: 16px;
    color: #374151;
    text-align: right;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-color-switch {
    display: grid;
    gap: 10px;
}

.product-color-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}

.product-color-header strong {
    color: #1c3227;
    font-size: 15px;
}

.product-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-color-dot {
    --swatch-color: #8d8d8d;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(31, 74, 52, 0.35);
    background: #f2f2f2;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.product-color-dot:hover {
    transform: translateY(-1px);
}

.product-color-dot.is-in-stock {
    background: var(--swatch-color);
    border-color: rgba(31, 74, 52, 0.42);
}

.product-color-dot.is-out-of-stock {
    background: #fff;
    border-color: var(--swatch-color);
    opacity: 0.68;
}

.product-color-dot.is-out-of-stock::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 18px;
    background: #667c71;
    border-radius: 2px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.product-color-dot.is-current {
    box-shadow:
        0 0 0 2px #eef4ee,
        0 0 0 4px #1f4a34;
}

.cart-form {
    display: grid;
    gap: 10px;
    max-width: 200px;
}

.cart-form input {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.gallery {
    display: grid;
    gap: 14px;
}

.gallery-main {
    background: #eeeeee;
    border: none;
    border-radius: 18px;
    padding: 20px;
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-main img {
    width: 82%;
    height: 82%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.favorite-toggle--detail-image {
    top: 14px;
    right: 14px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 14px;
}

.gallery-thumb-btn {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumb-btn.is-active {
    border-color: #2f6d7b;
    box-shadow: 0 0 0 1px rgba(47, 109, 123, 0.28);
}

.gallery-thumb-btn:hover {
    border-color: #bcd4c5;
}

.product-description {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 0;
    max-width: none;
    margin-top: 4px;
}

.product-description h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.product-description p {
    margin: 0;
    line-height: 1.6;
    white-space: normal;
    font-size: 17px;
}

.product-buy-form {
    max-width: none;
    gap: 12px;
}

.qty-and-buy {
    display: flex;
    gap: 14px;
    align-items: stretch;
    flex-wrap: wrap;
}

.product-qty-control {
    display: inline-grid;
    grid-template-columns: 52px 72px 52px;
    align-items: center;
    border: 2px solid #f2bf3e;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #232323;
    height: 56px;
}

.product-qty-input {
    border: none;
    outline: none;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    width: 100%;
    height: 56px;
    background: transparent;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-qty-input[type=number] {
    -moz-appearance: textfield;
}

.product-add-btn {
    height: 60px;
    min-width: 230px;
    border-radius: 999px;
    border: none;
    background: #f3ba16;
    color: #222;
    font-size: 20px;
    font-weight: 700;
    padding: 0 24px;
}

.product-add-btn:hover {
    filter: brightness(0.98);
}

.product-add-btn:disabled,
.product-qty-input:disabled,
.qty-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.form {
    display: grid;
    gap: 12px;
    max-width: 420px;
}

.form input,
.form textarea,
.form select {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 15px;
}

.muted {
    color: var(--muted);
}

.empty-state {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 24px;
    display: grid;
    gap: 12px;
    max-width: 520px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: start;
}

.cart-list {
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.cart-table th,
.cart-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}

.cart-product {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cart-thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: #e7f1ea;
    overflow: hidden;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-name {
    font-weight: 600;
}

.qty-input {
    width: 70px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
}

.cart-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    display: grid;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-row.total {
    font-weight: 700;
    font-size: 16px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.checkout-form {
    display: block;
}

.checkout-panel {
    min-width: 0;
}

.checkout-top-stack {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.checkout-wide-section {
    grid-column: 1 / -1;
    display: grid;
    gap: 16px;
}

.checkout-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(31, 74, 52, 0.06);
}

.checkout-option-group {
    display: grid;
    gap: 12px;
}

.checkout-option-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 2px;
}

.checkout-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.checkout-choice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--border);
    background: #f7fbf7;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.checkout-choice:has(input:checked) {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(176, 111, 60, 0.15);
    background: #fff;
}

.checkout-choice input {
    margin-top: 2px;
}

.checkout-choice-content {
    display: grid;
    gap: 4px;
    line-height: 1.35;
}

.checkout-choice-content strong {
    font-size: 15px;
}

.checkout-choice-content small {
    font-size: 12px;
    color: var(--muted);
}

.checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-top: 10px;
}

.checkout-field {
    display: grid;
    gap: 6px;
}

.checkout-field-full {
    grid-column: 1 / -1;
}

.checkout-field label {
    font-size: 13px;
    font-weight: 600;
    color: #3e584d;
}

.checkout-input {
    width: 100%;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid #c8dbcf;
    background: #fffdfb;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.checkout-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(176, 111, 60, 0.16);
    background: #fff;
}

.checkout-field.is-disabled {
    opacity: 0.58;
}

.checkout-field.is-disabled .checkout-input {
    background: #f0f6f2;
}

.checkout-note {
    font-size: 12px;
}

.checkout-inline-note {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.checkout-submit {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
}

.checkout-summary {
    grid-column: 2;
    align-self: start;
    position: static;
    top: auto;
    gap: 14px;
}

.checkout-summary-title {
    font-size: 18px;
    font-weight: 700;
}

.checkout-summary-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.checkout-summary-items li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: #3f584c;
}

.checkout-fanbox-panel[hidden] {
    display: none !important;
}

.checkout-fanbox-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
}

.checkout-fanbox-refresh {
    min-height: 42px;
    padding-inline: 16px;
}

.checkout-fanbox-map {
    width: 100%;
    height: clamp(280px, 42vw, 420px);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #e8f1eb;
    overflow: hidden;
}

.checkout-fanbox-selected {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f3f9f4;
    border: 1px solid #d1e2d6;
    color: #3a5848;
    font-size: 13px;
}

.checkout-fanbox-list {
    margin-top: 10px;
    max-height: 280px;
    overflow: auto;
    display: grid;
    gap: 8px;
    padding-right: 4px;
}

.checkout-fanbox-item {
    border: 1px solid #c8dbcf;
    border-radius: 10px;
    background: #fffdf9;
    padding: 10px 12px;
    text-align: left;
    display: grid;
    gap: 4px;
    cursor: pointer;
}

.checkout-fanbox-item strong {
    font-size: 14px;
}

.checkout-fanbox-item span,
.checkout-fanbox-item small {
    color: var(--muted);
}

.checkout-fanbox-item.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(176, 111, 60, 0.14);
    background: #fff8ef;
}

.checkout-fanbox-empty {
    border: 1px dashed #c6d9cd;
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 13px;
}

.checkout-success {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 24px;
    display: grid;
    gap: 12px;
    max-width: 520px;
}

.checkout-auth {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 24px;
    display: grid;
    gap: 12px;
    max-width: 520px;
}

.checkout-auth .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
}

.checkout-auth .hero-actions .btn {
    padding: 11px 16px;
    white-space: normal;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
}

.proforma-page {
    display: grid;
    gap: 14px;
}

.proforma-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.proforma-sheet {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    gap: 18px;
    box-shadow: 0 14px 36px rgba(31, 74, 52, 0.1);
}

.proforma-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}

.proforma-title {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    line-height: 1.1;
}

.proforma-meta {
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}

.proforma-seller {
    text-align: right;
    color: #3a5348;
}

.proforma-parties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.proforma-parties section {
    background: #f7fbf7;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.proforma-parties h4 {
    margin: 0 0 8px;
    font-size: 15px;
}

.proforma-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.proforma-table th,
.proforma-table td {
    text-align: left;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
    font-size: 14px;
}

.proforma-table th {
    background: #edf4ee;
}

.proforma-table th:nth-child(2),
.proforma-table td:nth-child(2),
.proforma-table th:nth-child(3),
.proforma-table td:nth-child(3),
.proforma-table th:nth-child(4),
.proforma-table td:nth-child(4) {
    text-align: right;
    white-space: nowrap;
}

.proforma-totals {
    margin-left: auto;
    width: min(360px, 100%);
    display: grid;
    gap: 8px;
}

.proforma-totals > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.proforma-totals .grand-total {
    font-size: 18px;
    border-top: 1px solid var(--border);
    padding-top: 8px;
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: start;
}

.account-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 20px;
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.order-list {
    display: grid;
    gap: 14px;
}

.order-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 10px;
    background: #fffdf9;
}

.order-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.order-status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.order-status.status-new {
    background: #e7f1ea;
    color: #3f5a4d;
}

.order-status.status-processing {
    background: #ffe6c7;
    color: #2f694a;
}

.order-status.status-shipped {
    background: #e2f1ff;
    color: #2a5a7a;
}

.order-status.status-completed {
    background: #e5f2ea;
    color: #2d6b4f;
}

.order-status.status-cancelled {
    background: #ffe3db;
    color: #8a3b2c;
}

.order-total {
    font-weight: 700;
}

.account-favorites-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 200px));
}

.account-favorite-card {
    margin-bottom: 0;
}

.order-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.order-actions .btn {
    padding: 8px 14px;
}

.order-products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.order-products li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.form-error {
    background: #ffe3db;
    color: #8a3b2c;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.form-success {
    background: #e5f2ea;
    color: #2d6b4f;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: #eef4ee;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-grid a {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.footer-line {
    color: var(--muted);
    margin-bottom: 6px;
}

.footer-inline-link {
    display: inline;
    margin-bottom: 0;
    color: inherit;
    text-decoration: none;
}

.footer-inline-link:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-bottom: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #f7fbf7;
    color: var(--brand);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: translateY(-1px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-social a[aria-label="TikTok"] svg {
    width: 16px;
    height: 16px;
}

.footer-link {
    display: inline-flex;
    margin-top: 8px;
    color: var(--brand);
    font-weight: 600;
}

.wa-help {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: grid;
    justify-items: end;
    gap: 10px;
}

.wa-help-toggle {
    border: none;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    align-items: center;
    background: #25d366;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.36);
}

.wa-help-toggle:hover {
    transform: translateY(-1px);
}

.wa-help-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
}

.wa-help-icon svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.wa-help-panel {
    width: min(360px, calc(100vw - 24px));
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 18px 40px rgba(30, 32, 34, 0.18);
    padding: 16px;
    display: grid;
    gap: 10px;
}

.wa-help-panel[hidden] {
    display: none !important;
}

.wa-help-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wa-help-close {
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: var(--ink);
}

.wa-help-panel p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.wa-help-form {
    display: grid;
    gap: 8px;
}

.wa-help-form label {
    font-size: 13px;
    font-weight: 600;
    color: #3e584d;
}

.wa-help-form input,
.wa-help-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #c6d9cd;
    background: #fffdfb;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
}

.wa-help-form textarea {
    resize: vertical;
    min-height: 88px;
}

.wa-help-form input:focus,
.wa-help-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(176, 111, 60, 0.16);
}

.wa-help-submit {
    margin-top: 4px;
    border: none;
    border-radius: 10px;
    background: #25d366;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 14px;
    cursor: pointer;
}

.wa-help-submit:hover {
    filter: brightness(0.95);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: start;
}

.contact-card {
    background: #f7fbf7;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    gap: 14px;
    box-shadow: 0 16px 30px rgba(31, 74, 52, 0.1);
}

.contact-card h3 {
    margin: 0;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-line {
    color: var(--muted);
}

.contact-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-social a {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fffdf9;
    color: var(--brand);
    font-size: 13px;
}

.contact-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 10px;
    align-items: start;
}

.contact-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 6px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 4px;
}

.contact-value {
    font-weight: 600;
    color: var(--ink);
}

.map-fallback {
    display: grid;
    gap: 12px;
}

.map-embed {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #eef4ee;
}

.map-embed iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.return-policy-section .section-title {
    margin-bottom: 16px;
}

.return-policy-section .container {
    max-width: 980px;
}

.return-policy-contract {
    background: #fffdf8;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: clamp(20px, 3vw, 34px);
    display: grid;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(31, 74, 52, 0.08);
}

.return-policy-intro {
    margin: 0;
    line-height: 1.68;
    color: #3f5a4d;
}

.return-policy-clause {
    padding-top: 16px;
    border-top: 1px solid #d3e2d8;
}

.return-policy-clause h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.return-policy-clause p {
    margin: 0;
    line-height: 1.68;
    color: #3f5a4d;
}

.return-policy-clause ul,
.return-policy-clause ol {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 9px;
}

.return-policy-clause li {
    line-height: 1.55;
    color: #3f5a4d;
}

.return-policy-meta {
    font-size: 13px;
    color: var(--muted);
}

.return-policy-note {
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: #edf7f0;
    padding: 12px 14px;
    color: #355345;
}

.return-policy-download {
    margin-top: 4px;
}

@media (max-width: 920px) {
    .return-policy-contract {
        border-radius: 10px;
    }
}

@media (max-width: 720px) {
    .other-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .hero-brand-track,
    .hero-brand-slider {
        min-height: 350px;
    }

    .hero-brand-slide {
        padding: 22px 18px 74px;
    }

    .hero-brand-info h3 {
        font-size: 30px;
    }

    .hero-product-slider,
    .hero-product-slider .hero-brand-track {
        min-height: 500px;
    }

    .hero-product-slider .hero-brand-slide {
        grid-template-rows: auto auto auto;
        padding: 8px 6px 72px;
        gap: 12px;
    }

    .hero-product-slider .hero-brand-media {
        height: clamp(190px, 58vw, 250px);
        min-height: 190px;
        padding: 12px;
    }

    .hero-product-slider .hero-brand-info h3 {
        font-size: clamp(20px, 6vw, 28px);
    }

    .hero-product-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .hero-add-cart-form {
        width: 100%;
    }

    .hero-add-btn,
    .hero-product-slider .hero-brand-cta {
        width: 100%;
        font-size: 15px;
        min-height: 42px;
    }

    .hero-product-actions .hero-brand-index {
        grid-column: 1 / -1;
        justify-self: end;
        margin-left: 0;
    }

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

    .catalog-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .hero-product-meta {
        gap: 8px;
    }

    .hero-product-price {
        font-size: 22px;
    }

    .hero-espresso-slider {
        width: min(100%, 920px);
        justify-self: center;
    }

    .hero-espresso-pair {
        gap: 12px;
    }

    .hero-espresso-track {
        min-height: 340px;
    }

    .hero-espresso-controls .hero-brand-nav:first-of-type {
        left: -10px;
    }

    .hero-espresso-controls .hero-brand-nav:last-of-type {
        right: -10px;
    }
}

@media (max-width: 420px) {
    .latest-products-grid {
        grid-template-columns: 1fr;
    }

    .catalog-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .latest-products-slider .latest-product-card {
        flex-basis: min(82vw, 220px);
        width: min(82vw, 220px);
    }

    .home-hero-content {
        text-align: left;
    }

    .home-hero-content .hero-actions {
        justify-content: flex-start;
    }

    .hero-espresso-slider {
        width: 100%;
        justify-self: center;
        padding-bottom: 46px;
    }

    .hero-espresso-slider-mobile {
        padding-top: 46px;
    }

    .hero-espresso-track {
        min-height: 520px;
    }

    .hero-espresso-controls .hero-brand-nav {
        top: 10px;
        transform: none;
    }

    .hero-espresso-controls .hero-brand-nav:first-of-type {
        left: 10px;
    }

    .hero-espresso-controls .hero-brand-nav:last-of-type {
        right: 10px;
    }

    .hero-espresso-controls .hero-brand-dots {
        bottom: -8px;
    }

    .home-brand-marquee::before,
    .home-brand-marquee::after {
        width: 26px;
    }

    .home-brand-marquee-group {
        gap: 10px;
    }

    .home-brand-marquee-item {
        width: clamp(88px, 30vw, 118px);
        height: 52px;
    }

    .home-brand-marquee-item img,
    .home-brand-marquee-item .brand-logo-image,
    .home-brand-marquee-item .brand-logo-focus {
        max-height: 36px;
    }
}

@media (max-width: 960px) {
    .home-categories-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-categories-cards .home-category-card {
        min-height: 270px;
    }

    .home-category-visual {
        height: 120px;
    }

    .home-category-illustration {
        width: 90px;
        height: 90px;
    }

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

@media (max-width: 620px) {
    .home-categories-cards {
        grid-template-columns: 1fr;
    }

    .home-categories-cards .home-category-card {
        min-height: 0;
    }

    .home-category-visual {
        height: 112px;
    }

    .home-category-illustration {
        width: 84px;
        height: 84px;
    }

    .home-category-illustration svg {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 1240px) {
    .logo {
        width: 205px;
    }

    .main-nav {
        gap: 18px;
    }

    .nav-link {
        font-size: 15px;
    }

    .search {
        min-width: 232px;
    }

    .icon-link,
    .cart-link {
        font-size: 15px;
        height: 42px;
        padding: 8px 14px;
    }

}

@media (max-width: 960px) {
    .mobile-drawer {
        padding-top: calc(14px + env(safe-area-inset-top));
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .hero-espresso-slider-desktop {
        display: none;
    }

    .hero-espresso-slider-mobile {
        display: block;
        width: min(100%, 620px);
        justify-self: center;
    }

    .nav-row {
        grid-template-columns: auto 1fr;
    }

    .main-nav {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .mobile-header-tools {
        display: inline-flex;
    }

    .mobile-cart-button {
        display: inline-flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .logo {
        width: 170px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-brand-slider,
    .hero-brand-track {
        min-height: 360px;
    }

    .hero-product-slider,
    .hero-product-slider .hero-brand-track {
        min-height: 520px;
    }

    .hero-product-slider {
        max-width: 720px;
        justify-self: center;
    }

    .hero-product-slider .hero-brand-media {
        height: clamp(210px, 42vw, 270px);
        min-height: 210px;
    }

    .hero-espresso-slider {
        justify-self: center;
        width: min(100%, 620px);
    }

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

    .product-buy-box {
        position: static;
        top: auto;
    }

    .product-media-column {
        float: none;
        width: auto;
        margin: 0;
        max-width: none;
    }

    .product-side-column {
        margin-left: 0;
        margin-bottom: 0;
    }

    .gallery-main {
        max-width: none;
    }

    .product-detail {
        gap: 26px;
    }

    .product-detail-title {
        font-size: clamp(24px, 8vw, 34px);
    }

    .product-buy-box .product-price {
        font-size: clamp(28px, 7vw, 36px);
    }

    .qty-and-buy {
        flex-direction: column;
        align-items: stretch;
    }

    .product-qty-control {
        width: 100%;
        grid-template-columns: 1fr 1.2fr 1fr;
    }

    .product-add-btn {
        width: 100%;
        min-width: 0;
    }

    .product-description p {
        font-size: 16px;
    }

    .systems-section {
        grid-template-columns: 1fr;
    }

    .cart-layout,
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-fields {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        grid-column: auto;
        position: static;
        top: auto;
    }

    .checkout-choice-grid {
        grid-template-columns: 1fr;
    }

    .checkout-fanbox-toolbar {
        grid-template-columns: 1fr;
    }

    .proforma-seller {
        text-align: left;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2) {
        display: none;
    }

    .latest-products-grid {
        justify-content: stretch;
    }
}

@media (max-width: 960px) {
    .home-systems-section .other-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-systems-section .other-card {
        min-height: 232px;
    }
}

@media (max-width: 620px) {
    .section {
        padding: 36px 0;
    }

    .section-title {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .checkout-auth,
    .checkout-success,
    .checkout-card,
    .cart-summary,
    .account-card,
    .empty-state,
    .order-item,
    .proforma-sheet {
        padding: 16px;
        border-radius: 14px;
    }

    .checkout-auth .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .checkout-auth .hero-actions .btn {
        width: 100%;
        flex: 1 1 auto;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px;
    }

    .cart-product {
        align-items: flex-start;
    }

    .cart-name {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .home-systems-section {
        padding-top: 44px;
    }

    .home-systems-section .section-title {
        font-size: clamp(28px, 8vw, 34px);
    }

    .home-systems-intro {
        margin-bottom: 16px;
        font-size: 15px;
    }

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

    .home-systems-section .other-card {
        min-height: 0;
        padding: 12px;
        gap: 10px;
    }

    .home-systems-section .other-thumb {
        max-width: 124px;
        border-radius: 12px;
    }

    .home-systems-section .other-title {
        font-size: 16px;
    }
}

@media (max-width: 620px) {
    .wa-help {
        right: 12px;
        bottom: 12px;
    }

    .wa-help-toggle {
        width: 54px;
        height: 54px;
    }

    .wa-help-panel {
        width: min(320px, calc(100vw - 16px));
    }
}

@media print {
    .site-header,
    .site-footer,
    .proforma-toolbar,
    .wa-help {
        display: none !important;
    }

    .section {
        padding: 0;
    }

    .container {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .proforma-sheet {
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
    }
}

@media (min-width: 961px) {
    .nav-overlay,
    .mobile-drawer {
        display: none;
    }
}
