/* The Jade Seagull storefront - light jade theme, forked from the site/ template (issue #15).
   Tokens are the retheme surface - swap --accent to re-tone the whole site.
   Fonts: Bebas Neue for headings (condensed caps display type, so headings add letter-spacing),
   Inter for body. Caveat is the handwritten hero-tagline accent; it is a stand-in for Marydale,
   the real brand secondary font, which is commercial and not available on Google Fonts. */
:root {
  --bg: #ddf2d7;
  --surface: #ffffff;
  --surface-2: #eef8ea;
  --fg: #000000;
  --muted: #4a5a4f;
  --accent: #1e8960;          /* deep jade green. Swap to retone everything. */
  --accent-2: #7ec288;        /* jade - for gradients/glows */
  --accent-fg: #ffffff;       /* text on accent */
  --sand: #ecdcb6;            /* sand highlight - badge background */
  --line: #bfe3c8;
  --radius: 14px;
  --maxw: 1140px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: 'Bebas Neue', var(--font);
  --font-script: 'Caveat', cursive; /* Marydale stand-in, hero tagline only */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--fg); background: var(--bg); line-height: 1.55;
  background-image: radial-gradient(900px 500px at 80% -10%, rgba(30,137,96,.10), transparent 60%); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; letter-spacing: .04em; line-height: 1.15; }
.muted { color: var(--muted); }
.error { color: #b42318; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.78); backdrop-filter: saturate(140%) blur(10px); }
.header-inner { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.logo { font-family: var(--font-head); font-weight: 400; font-size: 28px; letter-spacing: .1em; color: var(--fg); display: inline-flex; align-items: baseline; }
.logo span { color: var(--accent); }
.logo img { height: 44px; width: auto; display: block; }
.logo .logo-loc { font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 12px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.nav a { margin-left: 24px; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; transition: color .15s; }
.nav a:hover { color: var(--fg); }
.cart-link { position: relative; }
.cart-badge { background: var(--accent); color: var(--accent-fg); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 1px 7px; margin-left: 5px; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); border: 0; border-radius: 999px;
  padding: 12px 22px; font-size: 15px; font-weight: 700; cursor: pointer; transition: transform .12s, box-shadow .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 8px 26px rgba(30,137,96,.28); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }
.btn-secondary { background: transparent; color: var(--fg); border: 1px solid var(--line); box-shadow: none; }
.btn-secondary:hover { border-color: var(--accent); box-shadow: none; }

/* social icon links (SVG paths ported from the FilaMart chrome, the proven sibling) */
.social { display: inline-flex; align-items: center; gap: 4px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 999px; color: var(--muted); transition: color .15s, background .15s; }
.social a:hover { color: var(--accent); background: var(--surface-2); }
.social svg { width: 19px; height: 19px; display: block; }
.nav .social { margin-left: 14px; }
.nav .social a { margin-left: 0; }
footer.site-footer .social a { width: 32px; height: 32px; }

/* hero */
.hero { text-align: center; padding: 44px 0 36px; }
/* The full logo reads poorly at header size, so the header carries the text lockup and the
   graphic stars here instead. */
.hero-logo { width: min(430px, 78vw); margin: 0 auto 6px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); margin: 0 0 14px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 24px; }
/* Handwritten tagline accent (Caveat standing in for Marydale; see :root note). Hero tagline ONLY. */
.hero p.script { font-family: var(--font-script); font-size: 27px; line-height: 1.3; }

/* grid */
.section-title { font-size: 24px; margin: 8px 0 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; padding: 22px 0 8px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface);
  transition: transform .15s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: rgba(30,137,96,.5); box-shadow: 0 12px 34px rgba(30,137,96,.15); }
.card-img { aspect-ratio: 1/1; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.card-body { padding: 14px 16px; }
.card-title { font-weight: 400; font-family: var(--font-head); font-size: 18px; letter-spacing: .05em; }
.badge { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--accent); background: var(--sand); border: 1px solid rgba(30,137,96,.35);
  border-radius: 999px; padding: 2px 9px; text-transform: uppercase; letter-spacing: .08em; }

/* product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; padding: 34px 0; }
@media (max-width: 760px) { .product { grid-template-columns: 1fr; gap: 26px; } }
.product-media img#mainImg { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; border: 2px solid var(--line); cursor: pointer; transition: border-color .12s; }
.thumb:hover { border-color: var(--muted); }
.thumb.sel { border-color: var(--accent); }
.product h1 { margin: 0 0 6px; font-size: 34px; }
.price { font-size: 26px; font-weight: 400; font-family: var(--font-head); letter-spacing: .04em; color: var(--accent); margin: 10px 0 20px; }
.opt { margin: 14px 0; }
.opt label, .field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.opt select, input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px;
  font-family: inherit; background: var(--surface); color: var(--fg); }
.opt select:focus, input:focus, textarea:focus { outline: none; border-color: var(--accent); }
.opt select option { background: var(--surface); color: var(--fg); }
.designer { border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0; background: var(--surface); }
.designer .spec { font-size: 13px; color: var(--muted); }
.mockups { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.mockups img { width: 120px; border: 1px solid var(--line); border-radius: 10px; }

/* cart / checkout */
.cart-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.cart-row .grow { flex: 1; }
.totals { margin: 18px 0; }
.totals .row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.totals .total { font-weight: 400; font-size: 20px; font-family: var(--font-head); letter-spacing: .04em; color: var(--fg); border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.field { margin: 12px 0; }
.radio-row { display: flex; gap: 18px; }
.checkout-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .checkout-cols { grid-template-columns: 1fr; } }
h1 { font-size: 34px; }

footer.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 32px 0; color: var(--muted); font-size: 14px; }
footer.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-legal a { margin-right: 14px; }
.footer-legal a:last-child { margin-right: 0; }
.footer-legal a:hover { color: var(--fg); }

/* small screens (mobile technique benchmarked against the FilaMart chrome): tighter header,
   smaller lockup, and 16px form inputs so iOS does not auto-zoom on focus. */
@media (max-width: 640px) {
  .header-inner { padding: 10px 0; flex-direction: column; align-items: center; gap: 4px; }
  .logo { font-size: 21px; letter-spacing: .08em; }
  .logo .logo-loc { margin-left: 8px; font-size: 10px; }
  .nav { justify-content: center; }
  .nav a { margin: 0 7px; font-size: 12px; }
  /* the lockup is already the Home link; dropping the label keeps the nav on one line
     (same technique as the FilaMart chrome hiding its menu label under 560px) */
  .nav > a:first-child { display: none; }
  .nav .social { margin-left: 2px; }
  .social a { width: 30px; height: 30px; }
  .hero { padding: 30px 0 24px; }
  .hero p { font-size: 16px; }
  .hero p.script { font-size: 23px; }
  .opt select, input[type=text], input[type=email], input[type=tel], textarea { font-size: 16px; }
  footer.site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* configurable options (Choice/Input) */
.req { color: var(--accent); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; transition: box-shadow .12s, border-color .12s; }
.swatch:hover { border-color: var(--muted); }
.swatch.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.swatch-sel { font-size: 13px; margin-top: 6px; }
#choices .opt, #inputs .field { margin: 12px 0; }
input[type=file] { color: var(--muted); font-size: 14px; }
