/* Shawls by Viknet — lean, dependency-free stylesheet
   Breakpoints: base = mobile (360–390) · 600 · 768 (iPad portrait) · 1024 (iPad landscape) · 1280 (laptop) · 1440 (desktop) */

:root {
  --ivory: #faf7f2;
  --paper: #ffffff;
  --ink: #2b2622;
  --muted: #6f655c;
  --line: #e6ddd2;
  --gold: #a8844f;
  --gold-dark: #85673a;
  --gold-soft: #f3ebdd;
  --star: #c9a24d;
  --focus: #2f6db5;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(43, 38, 34, 0.08);
  --tap: 44px;
  --wrap: 1240px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.75rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 2rem; }
.m0 { margin: 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding-top: 36px; }
.related-title { font-size: 1.6rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip link */
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); z-index: 100; }
.skip:focus { top: 8px; }

/* Buttons — all ≥44px tall */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--tap); padding: 0.75em 1.5em;
  font: 600 1rem var(--sans); text-decoration: none; border-radius: var(--radius);
  border: 1.5px solid var(--gold); background: var(--gold); color: #fff;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-lg { font-size: 1.1rem; padding: 0.9em 2em; }
.btn-block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; color: var(--ink); letter-spacing: 0.02em; display: inline-flex; align-items: center; min-height: var(--tap); }
.brand span { color: var(--gold-dark); }
.nav { position: relative; }
.nav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border-radius: var(--radius); }
.nav summary::-webkit-details-marker { display: none; }
.nav summary:hover { background: var(--gold-soft); }
.nav summary svg { width: 26px; height: 26px; }
.nav .close { display: none; }
.nav[open] .open { display: none; }
.nav[open] .close { display: block; }
.nav ul {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.nav li a { display: flex; align-items: center; min-height: var(--tap); padding: 0 14px; text-decoration: none; color: var(--ink); border-radius: var(--radius); font-weight: 500; }
.nav li a:hover, .nav li a[aria-current="page"] { background: var(--gold-soft); color: var(--gold-dark); }
.nav li.nav-cta { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.nav li.nav-cta a { background: var(--gold); color: #fff; justify-content: center; }
.nav li.nav-cta a:hover { background: var(--gold-dark); }
.header-cta { display: none; }
.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-desktop li a { display: flex; align-items: center; min-height: var(--tap); padding: 0 14px; text-decoration: none; color: var(--ink); border-radius: var(--radius); font-weight: 500; font-size: 0.97rem; }
.nav-desktop li a:hover, .nav-desktop li a[aria-current="page"] { background: var(--gold-soft); color: var(--gold-dark); }

/* Hero */
.hero { padding: 40px 0 32px; }
.hero .wrap { display: grid; gap: 28px; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-copy p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }
.price-tag { display: inline-block; font-family: var(--serif); font-size: 1.3rem; margin-top: 0.75rem; }

/* Social proof strip */
.proof { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 0.95rem; }
.proof li { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.proof li a { text-decoration: none; color: inherit; font-weight: 600; }
.proof li a:hover { color: var(--gold-dark); }
.stars { color: var(--star); letter-spacing: 1px; font-size: 1.05rem; }
.proof svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; }

/* Sections */
.section { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Product grid & cards */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.15s, transform 0.15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card a.card-img { display: block; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--gold-dark); }
.card .price { font-weight: 600; margin: 0; }
.card .card-tag { margin: 0; font-size: 0.95rem; color: var(--muted); }
.card .card-actions { display: flex; gap: 10px; margin-top: 10px; }
.card .card-actions .btn { flex: 1; padding-left: 0.5em; padding-right: 0.5em; }

/* Trust / features */
.features { display: grid; gap: 18px; grid-template-columns: 1fr; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature svg { width: 30px; height: 30px; color: var(--gold-dark); margin-bottom: 10px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding-left: 56px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); font-family: var(--serif); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.2em; }
.steps p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 50ch; margin: 0 auto 1.5rem; }
.cta-band .btn { border-color: var(--gold); }

/* Breadcrumb */
.crumbs.wrap { font-size: 0.9rem; color: var(--muted); padding: 18px var(--gutter) 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding: 8px 0; }
.crumbs a:hover { color: var(--gold-dark); }

/* Product page */
.product { padding: 12px 0 48px; }
.product .wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }
.product-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.3em; }
.product-info .price { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 0.5rem; }
.product-info .rating { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; margin-bottom: 1.2rem; }
.product-info .rating a { color: var(--muted); }
.product-info ul.specs { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 8px; }
.product-info ul.specs li { display: flex; gap: 10px; align-items: flex-start; }
.product-info ul.specs svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; margin-top: 3px; }
.buy-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 1rem; }
.buy-box .btn { width: 100%; }
.buy-box small { display: block; text-align: center; color: var(--muted); margin-top: 10px; }
.ships-to { font-size: 0.92rem; color: var(--muted); margin-top: 1rem; }

/* Gallery (data-driven; see gallery.js) */
.gallery { position: relative; }
.gallery-stage { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.gallery-slide img, .gallery-slide video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--gold-soft); }
.gallery-slide video { object-fit: contain; background: #111; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: var(--tap); height: var(--tap); border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.gallery-nav:hover { background: #fff; color: var(--gold-dark); }
.gallery-nav svg { width: 22px; height: 22px; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(43,38,34,0.75); color: #fff; font-size: 0.8rem; padding: 4px 10px; border-radius: 20px; }
.gallery-thumbs { list-style: none; margin: 12px 0 0; padding: 4px 2px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 auto; width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--gold-soft); cursor: pointer; position: relative; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--gold); }
.gallery-thumbs .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,0.35); }
.gallery-thumbs .play svg { width: 26px; height: 26px; }
.gallery[data-single] .gallery-nav, .gallery[data-single] .gallery-count, .gallery[data-single] .gallery-thumbs { display: none; }

/* Sticky mobile buy bar */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 14px; box-shadow: 0 -6px 20px rgba(43,38,34,0.08); }
.buy-bar .price { font-family: var(--serif); font-size: 1.25rem; line-height: 1.1; }
.buy-bar .price small { display: block; font-family: var(--sans); font-size: 0.75rem; color: var(--muted); }
.buy-bar .btn { flex: 1; max-width: 260px; }
body.has-buy-bar { padding-bottom: 84px; }

/* Related */
.related { padding: 40px 0 56px; border-top: 1px solid var(--line); }

/* Content pages */
.page { padding: 32px 0 64px; }
.page .wrap { max-width: 760px; }
.page h1 { margin-bottom: 0.6em; }
.page h2 { font-size: 1.5rem; margin-top: 2em; }
.page .lead { font-size: 1.15rem; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 14px; }
.contact-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.contact-list svg { width: 26px; height: 26px; color: var(--gold-dark); flex: none; }
.contact-list a { font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; word-break: break-word; }
.contact-list small { display: block; color: var(--muted); }
.notice { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: 40px 0 28px; font-size: 0.95rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 28px; }
.site-footer h3 { font-size: 1rem; font-family: var(--sans); font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; }
.site-footer li a:hover { color: var(--gold-dark); }
.site-footer .brand { font-size: 1.25rem; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* iPad portrait (768) */
@media (min-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-media img { aspect-ratio: 4 / 5; }
  .header-cta { display: inline-flex; min-height: 40px; padding: 0.5em 1.1em; font-size: 0.95rem; }
  .product .wrap { grid-template-columns: 1fr 1fr; align-items: start; }
  .product-info { position: sticky; top: 84px; }
  .buy-bar { display: none; }
  body.has-buy-bar { padding-bottom: 0; }
  .gallery-thumbs button { width: 80px; height: 80px; }
  .card .card-actions { flex-direction: row; }
}

/* iPad landscape (1024) */
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .section { padding: 72px 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .product .wrap { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .hero .wrap { gap: 48px; }
  /* Inline nav from tablet-landscape up (still 44px targets for touch); the collapsible menu is removed from layout */
  .nav { display: none; }
  .nav-desktop { display: block; margin-left: auto; margin-right: 12px; }
  .related .grid { grid-template-columns: repeat(4, 1fr); }
}

/* Laptop (1280) */
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .card h3 { font-size: 1.1rem; }
  .card .card-actions .btn { font-size: 0.92rem; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; }
}

/* Desktop (1440+) */
@media (min-width: 1440px) {
  :root { --wrap: 1320px; }
  body { font-size: 17px; }
  .hero { padding: 72px 0 56px; }
  .grid { gap: 26px; }
}

/* Hover-capable devices only get hover lifts */
@media (hover: none) {
  .card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
