/* ============================================================
   PÓ DE LUA — base styles (tokens, layout, shared components)
   Themed on top by pages.css; page-specific rules live in
   home.css, product.css and checkout.css.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
    --cream: #f2ebe0;
    --cream-soft: #f7f2ea;
    --stone: #e6dcc8;
    --clay: #c17a54;
    --clay-dark: #9c5e3c;
    --sage: #8a9a86;
    --charcoal: #2a2521;
    --ink-muted: #756a5f;
    --gold: #af8b4e;
    --line: #d9cdb8;
    --radius-card: 22px;
    --shadow-soft: 0 12px 30px -18px rgba(42, 37, 33, .35);
    --shadow-lift: 0 20px 45px -20px rgba(42, 37, 33, .45);
    --display: 'Cormorant Garamond', serif;
    --sans: 'Jost', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--charcoal);
    font-family: var(--sans);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(242, 235, 224, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    height: 40px;
    width: auto;
}

.brand-word {
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: .14em;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--charcoal);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: border-color .2s, color .2s;
}

.main-nav a:hover, .main-nav a.active {
    border-color: var(--clay);
    color: var(--clay-dark);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--charcoal);
    border-radius: 999px;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}

.cart-btn:hover {
    background: var(--charcoal);
    color: var(--cream);
}

.cart-btn svg {
    width: 16px;
    height: 16px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--clay);
    color: var(--cream-soft);
    font-family: var(--sans);
    font-size: .65rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.cart-count[data-empty="true"] {
    display: none;
}

.nav-toggle {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--charcoal);
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 11px;
}

.nav-toggle span:nth-child(3) {
    top: 22px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}

.btn-primary {
    background: var(--charcoal);
    color: var(--cream-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.btn-ghost {
    color: var(--charcoal);
    border: 1px solid var(--clay);
}

.btn-ghost:hover {
    background: var(--clay);
    color: var(--cream-soft);
}

/* ---------- Hero (structure only; look is in home.css) ---------- */
.hero {
    padding: 64px 0 40px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.hero-copy h1 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    margin: 0 0 22px;
    letter-spacing: .01em;
}

.hero-copy p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ink-muted);
    max-width: 46ch;
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Category pills + sort ---------- */
.category-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}

.pill {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    transition: all .2s;
}

.pill:hover {
    border-color: var(--clay);
    color: var(--clay-dark);
}

.pill.active {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--cream-soft);
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 28px;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.sort-bar select {
    appearance: none;
    -webkit-appearance: none;
    padding: 8px 34px 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23756a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 12px;
    font: inherit;
    line-height: 1.2;
    letter-spacing: .06em;
    color: var(--charcoal);
    cursor: pointer;
}

.sort-bar select:hover, .sort-bar select:focus {
    border-color: var(--clay);
    outline: none;
}

/* ---------- Product grid + cards ---------- */
.shop-section {
    padding: 10px 0 90px;
}

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

.product-card {
    background: var(--cream-soft);
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--clay);
}

/* zoom the whole track (not each image) so neighbouring slides never peek in */
.product-card:hover .carousel-track {
    scale: 1.04;
}

.card-art-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(42, 37, 33, .82);
    color: var(--cream-soft);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}

.product-card:hover .card-art-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.card-category {
    font-size: .68rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.card-name {
    font-family: var(--display);
    font-size: 1.28rem;
    font-weight: 500;
    margin: 0;
}

.card-desc {
    font-size: .85rem;
    color: var(--ink-muted);
    line-height: 1.5;
    margin: 0 0 6px;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.card-price {
    font-family: var(--display);
    font-size: 1.15rem;
    color: var(--clay-dark);
}

.add-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .15s, color .2s;
}

.add-btn:hover {
    background: var(--charcoal);
    color: var(--cream-soft);
}

.add-btn:active {
    transform: scale(.92);
}

.add-btn svg {
    width: 16px;
    height: 16px;
}

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

/* ---------- Carousel (cards + product page) ---------- */
.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--stone);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    box-shadow: inset 0 0 0 1px rgba(42, 37, 33, .08);
}

.carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform .3s ease, scale .4s ease;
}

.carousel-img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(247, 242, 234, .85);
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity .2s;
}

.product-card:hover .carousel-arrow, .carousel-large .carousel-arrow {
    opacity: 1;
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

.carousel-arrow:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 2px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    cursor: pointer;
}

.carousel-dots .dot.active {
    background: var(--gold);
}

.carousel-dots-row {
    display: flex;
    justify-content: center;
    padding: 14px 0 4px;
}

.carousel-dots-row .carousel-dots {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
}

.carousel-dots-row .dot {
    background: var(--line);
}

.carousel-dots-row .dot.active {
    background: var(--gold);
}

/* ---------- Trust strip ---------- */
.trust-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 40px 0;
    margin-bottom: 80px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.trust-grid h3 {
    font-family: var(--display);
    font-size: 1.05rem;
    margin: 10px 0 4px;
    font-weight: 500;
}

.trust-grid p {
    font-size: .8rem;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.5;
}

.trust-icon {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    color: var(--clay-dark);
}

/* ---------- Header icon ---------- */
.nav-icon {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    color: var(--charcoal);
    transition: color .2s, transform .2s;
}

.nav-icon:hover {
    color: var(--clay-dark);
    transform: translateY(-1px);
}

.footer-col .nav-icon {
    color: #cfc4b3;
    padding: 0;
}

.footer-col .nav-icon:hover {
    color: var(--gold);
}

/* ---------- Shipping / FAQ ---------- */
section[id] {
    scroll-margin-top: 72px; /* keeps titles clear of the sticky header */
}

.info-section {
    padding: 88px 0 96px;
}

.info-inner {
    max-width: 760px;
}

.info-section h2 {
    font-family: var(--display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin: 0 0 24px;
    text-align: center;
}

.info-section details {
    border-bottom: 1px solid var(--line);
}

.info-section details:first-of-type {
    border-top: 1px solid var(--line);
}

.info-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 2px;
    cursor: pointer;
    list-style: none;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 500;
    transition: color .2s;
}

.info-section summary::-webkit-details-marker {
    display: none;
}

.info-section summary::after {
    content: "+";
    font-family: var(--sans);
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--clay);
    transition: transform .25s;
}

.info-section details[open] summary::after {
    transform: rotate(45deg);
}

.info-section summary:hover {
    color: var(--clay-dark);
}

.info-section summary:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 2px;
}

.info-section details p {
    margin: 0;
    padding: 0 2px 20px;
    font-size: .92rem;
    line-height: 1.7;
    color: var(--ink-muted);
}

.info-section details p a {
    color: var(--clay-dark);
    text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--charcoal);
    color: var(--stone);
    padding: 56px 0 28px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    height: 34px;
}

.footer-brand span {
    font-family: var(--display);
    font-size: 1.2rem;
    letter-spacing: .12em;
}

.footer-cols {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
}

.footer-col a, .footer-col p {
    display: block;
    font-size: .85rem;
    color: #cfc4b3;
    margin: 0 0 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 22px;
    font-size: .75rem;
    color: #a89a86;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Cart drawer ---------- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(42, 37, 33, .42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 49;
}

.overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 92vw;
    background: var(--cream-soft);
    z-index: 50;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
    box-shadow: -20px 0 50px rgba(0, 0, 0, .2);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.cart-header h2 {
    font-family: var(--display);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 500;
}

.cart-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
}

.cart-close:hover {
    background: var(--charcoal);
    color: var(--cream);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 10px 24px;
}

.cart-line {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.cart-line-art {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--stone);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-line-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line-info {
    flex: 1;
    min-width: 0;
}

.cart-line-info h4 {
    font-family: var(--display);
    font-size: 1.02rem;
    margin: 0 0 4px;
    font-weight: 500;
}

.cart-line-price {
    font-size: .85rem;
    color: var(--ink-muted);
}

.cart-line-custom {
    font-size: .78rem;
    color: var(--ink-muted);
    margin-top: 4px;
}

.cart-line-color {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--line) inset;
    margin: 2px 0 4px;
}

.qty-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.qty-stepper button {
    width: 24px;
    height: 24px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-stepper button:hover {
    border-color: var(--clay);
    color: var(--clay-dark);
}

.qty-stepper span {
    font-size: .85rem;
    min-width: 16px;
    text-align: center;
}

.remove-line {
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    text-decoration: underline;
    margin-top: 8px;
}

.remove-line:hover {
    color: var(--clay-dark);
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-muted);
}

.cart-empty svg {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    color: var(--clay);
}

.cart-footer {
    padding: 20px 24px 26px;
    border-top: 1px solid var(--line);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-family: var(--display);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cart-note {
    font-size: .76rem;
    color: var(--ink-muted);
    margin: 0 0 16px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    border-radius: 999px;
    background: var(--charcoal);
    color: var(--cream-soft);
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .2s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
}

.checkout-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.checkout-warning {
    background: #fbeee3;
    border: 1px solid #e6c6a6;
    color: var(--clay-dark);
    font-size: .78rem;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
    line-height: 1.5;
    display: none;
}

.checkout-warning.show {
    display: block;
}

.toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--charcoal);
    color: var(--cream-soft);
    padding: 13px 22px;
    border-radius: 999px;
    font-size: .82rem;
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Product options (customisation, colour swatches) ---------- */
.long-desc p {
    margin: 0 0 16px;
}

.custom-fields {
    margin: 4px 0 22px;
    padding: 18px;
    background: var(--stone);
    border-radius: 14px;
}

.custom-fields-title {
    font-family: var(--display);
    font-size: 1.05rem;
    margin: 0 0 12px;
}

.custom-field {
    display: block;
    margin-bottom: 14px;
}

.custom-field span {
    display: block;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}

.custom-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: var(--sans);
    font-size: .9rem;
    background: var(--cream-soft);
}

.custom-field-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.custom-field-switch span {
    margin-bottom: 0;
}

.custom-field-switch input {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    position: relative;
    width: 42px;
    height: 24px;
    padding: 0;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: background .2s;
}

.custom-field-switch input::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cream-soft);
    box-shadow: 0 1px 3px rgba(42, 37, 33, .25);
    transition: transform .2s;
}

.custom-field-switch input:checked {
    background: var(--clay);
    border-color: var(--clay);
}

.custom-field-switch input:checked::before {
    transform: translateX(18px);
}

.custom-field-switch input:focus-visible {
    outline: 2px solid var(--charcoal);
    outline-offset: 2px;
}

.char-count {
    display: block;
    text-align: right;
    font-size: .7rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

.char-price-note {
    display: block;
    font-size: .75rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

.custom-drawer .cart-items {
    padding-top: 22px;
}

.custom-drawer .custom-fields {
    margin: 0;
    padding: 0;
    background: none;
}

.custom-drawer .custom-fields-title {
    display: none;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 2px;
}

.color-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 0 0 1px var(--line) inset;
    transition: transform .15s, box-shadow .15s;
    flex-shrink: 0;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    box-shadow: 0 0 0 2px var(--cream-soft), 0 0 0 4px var(--charcoal);
}

.detail-info .color-swatches {
    margin: 4px 0 22px;
    gap: 10px;
}

.detail-info .color-swatch {
    width: 28px;
    height: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
}

@media (max-width: 720px) {
    .info-section {
        padding: 56px 0 64px;
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 16px;
        padding: 18px 24px;
        background: var(--cream-soft);
        border-bottom: 1px solid var(--line);
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
    }

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

    .hero {
        padding: 36px 0 20px;
    }

    .hero-copy p {
        max-width: none;
    }

    .container {
        padding: 0 16px;
    }

    .card-name {
        font-size: 1.08rem;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-cols {
        gap: 34px;
    }

    .carousel-arrow {
        opacity: .65;
        width: 32px;
        height: 32px;
    }

    .card-art-hint {
        display: none;
    }

    .color-swatch {
        width: 24px;
        height: 24px;
    }

    .detail-info .color-swatch {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 12px 16px;
    }

    .brand-word {
        font-size: 1.15rem;
    }

    .brand img {
        height: 34px;
    }

    .cart-btn span:not(.cart-count) {
        display: none;
    }

    .cart-btn {
        padding: 9px 10px;
    }

    .carousel-dots .dot {
        width: 5px;
        height: 5px;
    }

    .color-swatches {
        gap: 6px;
    }

    .color-swatch {
        width: 22px;
        height: 22px;
    }

    .qty-stepper button {
        width: 28px;
        height: 28px;
    }

    .cart-header h2 {
        font-size: 1.3rem;
    }

    .cart-drawer {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .product-grid {
        gap: 12px;
    }

    .card-body {
        padding: 14px 14px 16px;
    }
}

@media (max-width: 360px) {
    .product-grid {
        gap: 10px;
    }

    .card-body {
        padding: 12px 12px 14px;
    }

    .card-name {
        font-size: 1rem;
    }

    .card-price {
        font-size: 1.02rem;
    }

    .add-btn {
        width: 36px;
        height: 36px;
    }
}