:root {
  --ink: #111;
  --muted: #777;
  --line: #e9e9e9;
  --soft: #f4f2ef;
  --sky: #87ceeb;
  --accent: #111;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Open Sans', Arial, sans-serif; color: var(--ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Marcellus', Georgia, serif; font-weight: 400; text-transform: uppercase; letter-spacing: .5px; }
a { color: inherit; }
.container { max-width: 1240px; margin: auto; padding: 30px 24px 60px; }

/* Announcement bar */
.topbar { background: var(--sky); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; height: 34px; display: flex; align-items: center; justify-content: center; gap: 20px; }
.topbar button { background: none; color: #fff; padding: 0 10px; font-size: 16px; letter-spacing: 0; }
.topbar button:hover { background: none; opacity: .7; }
.topbar span { min-width: 280px; text-align: center; }

/* Navbar */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1240px; margin: auto; padding: 0 24px; height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.nav-right { justify-content: flex-end; }
.nav a { text-decoration: none; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links > a, .dd > a { padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-links > a:hover, .dd:hover > a, .nav-links a.on { border-bottom-color: var(--ink); }
.dd { position: relative; }
.dd-menu { display: none; position: absolute; top: 100%; left: -20px; background: #fff; border: 1px solid var(--line); min-width: 180px; padding: 10px 0; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.dd:hover .dd-menu { display: block; }
.dd-menu a { display: block; padding: 9px 22px; border: 0 !important; }
.dd-menu a:hover { background: var(--soft); }
.logo { text-align: center; text-decoration: none; line-height: 1; }
.logo b { display: block; font-family: 'Poppins', Arial, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 1px; text-transform: uppercase; }
.logo small { font-size: 8px; letter-spacing: 3px; text-transform: uppercase; }
.icon-btn { background: none !important; color: var(--ink); padding: 4px; position: relative; display: inline-flex; line-height: 0; }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.badge { position: absolute; top: -6px; right: -8px; background: var(--ink); color: #fff; font-size: 10px; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; }
.burger { display: none; }
.only-m { display: none; }

/* Hero */
.hero { width: 100vw; margin-left: calc(50% - 50vw); margin-top: -30px; background: #efebe7; display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; overflow: hidden; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 40px 6vw 40px max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.hero-text h1 { font-size: clamp(26px, 3.4vw, 44px); margin: 0 0 14px; line-height: 1.2; }
.hero-text p { font-size: 13px; text-transform: uppercase; margin: 0 0 28px; color: #333; }
.hero-text .cta { align-self: flex-start; background: var(--ink); color: #fff; padding: 14px 26px; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.hero-text .cta:hover { background: #333; }
.hero-img { background: url('../images/hero.jpg') center top/cover no-repeat, linear-gradient(135deg, #d9d2c9, #b9ada0); }
.dots { display: flex; gap: 6px; margin-top: 26px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #ccc; }
.dots i:first-child { background: var(--ink); }

/* Section titles */
.sec-title { text-align: center; font-size: 28px; margin: 56px 0 6px; }
.sec-sub { text-align: center; color: var(--muted); font-size: 12px; margin: 0 0 34px; }

/* Shop by category (circles) */
.cat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.cat-item { width: 250px; text-decoration: none; position: relative; text-align: center; }
.cat-circle { width: 100%; aspect-ratio: 1; border-radius: 50%; background: #f1f1f1; overflow: hidden; }
.cat-circle img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; display: block; }
.cat-item:hover img { transform: scale(1.06); }
.cat-label { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: #fff; padding: 6px 28px; font-family: 'Marcellus', serif; font-size: 12px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.06); white-space: nowrap; }

/* I'm looking for */
.looking { background: var(--soft); margin-top: 60px; padding: 40px 20px 36px; text-align: center; }
.looking h2 { font-size: 24px; margin: 0 0 28px; }
.looking-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px; }
.looking-row a { text-decoration: none; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.looking-row span { display: block; font-size: 44px; filter: grayscale(1); margin-bottom: 10px; transition: transform .25s; }
.looking-row a:hover span { transform: translateY(-4px); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px 22px; }
.card { text-decoration: none; display: block; }
.card .img { position: relative; overflow: hidden; background: var(--soft); aspect-ratio: 3/4; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; display: block; }
.card:hover .img img { transform: scale(1.06); }
.card .tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 10px; padding: 4px 10px; letter-spacing: 1px; text-transform: uppercase; }
.card h3 { font-family: 'Open Sans', Arial, sans-serif; text-transform: none; font-size: 14px; font-weight: 600; margin: 14px 0 4px; letter-spacing: 0; }
.card .price { color: var(--muted); font-size: 14px; margin: 0; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; }
.pdp .main-img { background: var(--soft); aspect-ratio: 3/4; }
.pdp .main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp h1 { font-size: 32px; margin: 0 0 10px; }
.pdp .p-price { font-size: 22px; margin: 0 0 20px; }
.pdp .desc { color: #444; line-height: 1.7; margin-bottom: 26px; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.sizes label { cursor: pointer; }
.sizes input { display: none; }
.sizes span { display: block; min-width: 54px; text-align: center; padding: 12px 14px; border: 1px solid var(--line); font-size: 14px; transition: .2s; }
.sizes input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.sizes label:hover span { border-color: var(--ink); }
.perks { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; font-size: 13px; color: var(--muted); line-height: 2; }

/* Forms & buttons */
input, select, textarea { padding: 12px 14px; width: 100%; max-width: 380px; margin-bottom: 14px; border: 1px solid #ccc; font-family: inherit; font-size: 14px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
button, .btn { padding: 13px 30px; background: var(--ink); color: #fff; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-family: inherit; transition: .25s; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: #333; }
.btn-full { width: 100%; max-width: 380px; }
.error { color: #c00; } .success { color: #080; }
table th { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

/* Footer */
.footer { background: var(--ink); color: #bbb; margin-top: 40px; }
.footer-inner { max-width: 1240px; margin: auto; padding: 50px 24px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; font-size: 14px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: 2px; margin: 0 0 14px; }
.footer a { display: block; text-decoration: none; margin-bottom: 8px; color: #bbb; }
.footer a:hover { color: #fff; }
.footer .copy { border-top: 1px solid #333; text-align: center; padding: 18px; font-size: 12px; color: #888; }

/* Mobile */
@media (max-width: 800px) {
  .nav-inner { grid-template-columns: 1fr auto 1fr; height: 64px; padding: 0 16px; }
  .burger { display: inline-flex; }
  .nav-left .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); }
  .nav-left .nav-links.open { display: flex; }
  .nav-links > a, .dd > a { padding: 12px 0; display: block; }
  .only-m { display: block; }
  .dd-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .nav-right { gap: 16px; }
  .nav-right .hide-m { display: none; }
  .logo b { font-size: 20px; }
  .hero { grid-template-columns: 1fr; }
  .hero-img { height: 320px; order: -1; }
  .hero-text { padding: 28px 24px 34px; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .cat-item { width: 200px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .topbar span { min-width: 0; font-size: 10px; }
}