@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700&family=Poppins:wght@400;600;700&family=Urbanist:wght@300;500;700&display=swap');

:root { --ink:#111; --muted:#6b6b66; --paper:#ffffff; --page:#f5f5f3; --footer:#e7e7e4; --line:#e2e2de; --accent:#7a1f1f; }
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body { font-family: 'Poppins', system-ui, sans-serif; color: var(--ink); background: var(--page); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display:block; max-width:100%; }

/* Header */
.site-header { position: sticky; top:0; z-index: 10; display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-size: 2rem; letter-spacing: .04em; text-decoration:none; text-transform: uppercase; line-height:1; }
.main-nav { display:flex; flex-wrap:wrap; align-items:center; gap: 18px; font-size: 1rem; }
.main-nav a { text-decoration:none; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.badge { display:inline-block; min-width:1.5em; padding:0 6px; border-radius:999px; background:var(--accent); color:#fff; font-size:.75em; text-align:center; }

/* Main */
main { padding: 0; }
.hero { position: relative; height: calc(100vh - 70px); height: calc(100svh - 70px); min-height: 460px; background-size: cover; background-position: center; display:flex; align-items:flex-end; justify-content:center; color:#fff; }
.hero::before { content:""; position:absolute; inset:0; background: linear-gradient(transparent 45%, rgba(0,0,0,.45)); }
.hero-text { position: relative; text-align:center; padding: 0 16px 56px; }
.hero h1 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-weight: 300; font-size: clamp(2.2rem, 7vw, 4.5rem); margin: 0 0 16px; letter-spacing: .04em; }
.hero-btn { display:inline-block; padding: 12px 22px; background:#fff; color: var(--ink); text-decoration:none; font-weight:600; font-size:.9rem; letter-spacing:.06em; text-transform: uppercase; }

/* Homepage sections and tiles */
.home-section { margin: 0 0 8px; }
.row-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tile { position: relative; display:block; text-decoration:none; overflow:hidden; background:#e9e9e6; }
.tile img { width:100%; height:100%; object-fit:cover; }
.tile .img-wrap { aspect-ratio: 4/5; }
.tile .img-wrap.wide { aspect-ratio: 4/3; }
.tile-full { margin-top: 6px; }
.label { position:absolute; left: 16px; font-family: 'Urbanist', sans-serif; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.label.section { top: 14px; font-weight: 300; font-size: 1.35rem; }
.label.product { bottom: 14px; font-weight: 700; font-size: 1.3rem; }

/* Product grid (store and other pages) */
.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; padding: 20px; }
.card h2 { font-size: 1rem; margin: 10px 0 4px; font-weight: 600; }
.card a { text-decoration:none; }
.card .img-wrap { aspect-ratio: 4/5; background:#e9e9e6; overflow:hidden; }
.card .img-wrap img { width:100%; height:100%; object-fit:cover; }
.price { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }
button.add, button.secondary { font: inherit; padding: 12px 16px; border: 0; background: var(--ink); color:#fff; cursor:pointer; width:100%; letter-spacing:.04em; text-transform: uppercase; font-size: .85rem; }
button.secondary { background:#fff; color: var(--ink); border: 1px solid var(--ink); }
button.big { font-size: 1rem; margin-top: 16px; }
button:disabled { opacity: .4; cursor: not-allowed; }
.sold { opacity: .5; }
.sold-label { color: var(--accent); font-weight: 600; }

/* Product page */
.product { display:grid; gap: 24px; grid-template-columns: 1fr; padding: 20px; max-width: 1100px; margin: 0 auto; }
.product .img-wrap { aspect-ratio: 4/5; background:#e9e9e6; }
.product .img-wrap img { width:100%; height:100%; object-fit: cover; }
.product h1 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-weight: 700; font-size: 1.8rem; margin: 0 0 6px; }
@media (min-width: 760px) { .product { grid-template-columns: 1fr 1fr; align-items:start; } }

/* Basket */
.basket { max-width: 720px; margin: 0 auto; padding: 24px 20px; }
.basket h1 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-weight: 700; }
.basket-list { list-style:none; padding:0; margin:0; }
.basket-list li { display:flex; justify-content:space-between; align-items:center; gap:12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.basket-list button { background:none; border:0; color: var(--accent); cursor:pointer; text-decoration: underline; font: inherit; }
.total { font-size: 1.1rem; font-weight: 600; text-align: right; }
.lead-form { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 16px; display:grid; gap: 12px; }
.lead-form input[type=email] { width:100%; padding: 10px; font: inherit; border: 1px solid var(--line); }
.lead-form label { display:block; }
.consent { display:flex !important; gap: 8px; align-items: flex-start; }
.message { color: var(--accent); min-height: 1.5em; margin-top: 12px; }
.small { font-size: .85rem; color: var(--muted); }
.hidden { display:none; }

/* Footer: slightly darker grey so it stands apart */
.site-footer { background: var(--footer); border-top: 1px solid #d6d6d2; padding: 32px 20px 40px; text-align: center; font-size: .9rem; margin-top: 40px; }
.site-footer a { color: inherit; }
.social, .policy-links { display:flex; flex-wrap:wrap; justify-content:center; gap: 14px 18px; margin-bottom: 14px; }
.site-footer p { margin: 0; color: var(--muted); }

/* About page */
.about { max-width: 1100px; margin: 0 auto; padding: 24px 20px 40px; display:grid; gap: 28px; }
.about-img .img-wrap, .about-img { aspect-ratio: 4/5; overflow:hidden; background:#e9e9e6; }
.about-img img { width:100%; height:100%; object-fit: cover; }
.about h1 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-weight: 700; font-size: 1.8rem; margin: 0 0 12px; }
.about p { margin: 0 0 16px; max-width: 62ch; }
.hero-btn.dark { background: var(--ink); color:#fff; }
@media (min-width: 760px) { .about { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- Trends ---------- */
.trends-index, .trend-article { max-width: 1100px; margin: 0 auto; padding: 40px 16px 60px; }
.trends-index h1, .trend-article h1 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-weight: 400; font-size: 2.2rem; letter-spacing: .02em; margin: 0 0 12px; }
.trends-intro { color: #555; margin: 0 0 32px; }
.trends-list { display: grid; gap: 28px; }
@media (min-width: 760px) { .trends-list { grid-template-columns: 1fr 1fr; } }
.trend-card { display: grid; grid-template-columns: 1fr; color: inherit; text-decoration: none; background: var(--paper, #fff); }
.trend-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.trend-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trend-card-text { padding: 18px 4px 6px; }
.trend-card-text h2 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-size: 1.25rem; margin: 6px 0 8px; line-height: 1.25; }
.trend-card-text p { margin: 0 0 10px; color: #444; }
.trend-date { font-family: 'Urbanist', sans-serif; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #777; }
.trend-more { font-family: 'Urbanist', sans-serif; text-decoration: underline; }
.trend-back a, .trend-pager a { color: inherit; }
.trend-lead { font-size: 1.15rem; font-style: italic; color: #333; margin: 0 0 20px; }
.trend-hero { margin: 20px 0 28px; aspect-ratio: 16 / 9; overflow: hidden; background: #ddd; }
.trend-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trend-body { max-width: 720px; font-size: 1.02rem; line-height: 1.7; }
.trend-body p { margin: 0 0 1.1em; }
.trend-cta { margin: 32px 0; }
.trend-pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #ddd; padding-top: 20px; font-family: 'Urbanist', sans-serif; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { max-width: 640px; margin: 0 auto; padding: 40px 16px 60px; }
.contact h1 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-weight: 400; font-size: 2.2rem; letter-spacing: .02em; margin: 0 0 14px; }
.contact-intro { color: #444; line-height: 1.6; }
.contact-email { font-family: 'Urbanist', sans-serif; font-size: 1.1rem; margin: 0 0 28px; }
.contact-email a { color: inherit; }
.contact-form label { display: block; font-family: 'Urbanist', sans-serif; font-size: .95rem; margin-bottom: 16px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 10px 12px; font: inherit; border: 1px solid #bbb; background: #fff; }
.contact-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .contact-row { grid-template-columns: 1fr 1fr; } }
.contact-sent { padding: 12px 14px; background: #fff; border-left: 4px solid #111; }
.contact-error { padding: 12px 14px; background: #fff; border-left: 4px solid #a33; }

/* ---------- Store cards: keep Add to basket level across each row ---------- */
.card { display: flex; flex-direction: column; }
.card > a { flex: 1 1 auto; display: block; }
.card h2 { min-height: 2.6em; line-height: 1.3; }
.card button.add, .card .sold-label { margin-top: auto; }

/* ---------- About: Instagram / bags carousel ---------- */
.ig-carousel { max-width: 1100px; margin: 0 auto; padding: 0 16px 60px; }
.ig-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ig-head h2 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-weight: 400; font-size: 1.8rem; letter-spacing: .02em; margin: 0; }
.ig-head a { font-family: 'Urbanist', sans-serif; color: inherit; }
.ig-wrap { display: flex; align-items: center; gap: 10px; }
.ig-track { flex: 1; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ig-track::-webkit-scrollbar { display: none; }
.ig-slide { flex: 0 0 78%; margin: 0; scroll-snap-align: start; }
.ig-slide a { display: block; }
.ig-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #ddd; }
@media (min-width: 760px) { .ig-slide { flex-basis: 30%; } }
.ig-btn { flex: 0 0 40px; height: 40px; border: 1px solid #111; background: #fff; color: #111; font-size: 1.1rem; cursor: pointer; }
.ig-btn:hover { background: #111; color: #fff; }
@media (max-width: 559px) { .ig-btn { display: none; } }

.contact-consent { display: flex; gap: 10px; align-items: flex-start; font-family: 'Urbanist', sans-serif; font-size: .95rem; margin: 6px 0 20px; line-height: 1.4; }
.contact-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Policy pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 16px 60px; line-height: 1.7; font-size: 1rem; }
.legal h1 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-weight: 400; font-size: 2.2rem; letter-spacing: .02em; margin: 0 0 6px; }
.legal h2 { font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif; font-size: 1.15rem; margin: 28px 0 8px; }
.legal p { margin: 0 0 12px; }
.legal-updated { color: #777; font-size: .9rem; }
.legal a { color: inherit; }
