/* Let's Talk Weddings PH — shop and admin styles, including the shop pages' menu (folds into "Menu" below 1180px)
   Follows the brand on lets-talk-weddings.my.canva.site: teal blue on a soft
   blush-white, classic serif headings, a handwritten script accent, arch-shaped
   frames, outlined rounded cards and a teal call-to-action band. */

:root {
  color-scheme: light;

  /* Colour — each has one job */
  --paper: #fbf9f7;       /* page background */
  --blush: #f8f3f1;       /* soft sections, product tiles */
  --blush-2: #efe6e2;     /* specimen backdrop, hover */
  --surface: #ffffff;     /* cards, inputs */
  --ink: #0e1318;         /* primary text */
  --ink-2: #4a545d;       /* secondary text */
  --ink-3: #6e7780;       /* hints */
  --line: #e6ddd8;        /* hairlines (warm) */
  --outline: #2b3238;     /* the brand's outlined cards */
  --teal: #377699;        /* buttons, prices, accents */
  --teal-deep: #005e80;   /* headings accents, links, hover */
  --teal-soft: #e3eef4;   /* selected options */
  --on-teal: #ffffff;
  --error: #b42318;       /* form errors (meaning colour, always with text) */
  --error-soft: #fdf0ee;
  --warn: #8a5a00;        /* rush-order warning */
  --warn-soft: #fff6e0;

  /* Type */
  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-script: 'Dancing Script', 'Segoe Script', cursive;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-xs: 0.8125rem;  /* 13 */
  --t-sm: 1rem;       /* 16 */
  --t-md: 1.1875rem;  /* 19 */
  --t-lg: 1.625rem;   /* 26 */
  --t-xl: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);  /* 34 → 56 */

  /* Space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;

  --gutter: 16px;
  --max: 1160px;
  --radius: 16px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-sm);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Shared type pieces */
.eyebrow {
  margin: 0 0 var(--s-2);
  color: var(--teal-deep); font-weight: 600; font-size: var(--t-xs);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.script { font-family: var(--font-script); color: var(--teal); font-weight: 500; line-height: 1.15; }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem);
  line-height: 1.2; letter-spacing: -0.01em; margin: 0; text-wrap: balance;
}
.section-head { text-align: center; margin: 0 auto var(--s-7); max-width: 640px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-deep); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
@media (max-width: 479px) {
  .site-header .brand { gap: 8px; min-width: 0; }
  .site-header .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 0.9375rem; white-space: nowrap; }
  .brand__name small { font-size: 0.5625rem; letter-spacing: 0.08em; }
  .site-header .cart-link { padding: 0 var(--s-3); }
}
/* Menu (client's choice A2, 2026-11-18): the same links as the main pages (tools/update-menu.mjs).
   Wide screens: shop name + Cart on the first row, all links centered on a second row.
   Narrower screens: a "Menu" button next to Cart (assets/shared/menu.js). */
.site-header .wrap { flex-wrap: wrap; row-gap: 0; }
.site-nav { display: contents; }
.nav-links { order: 3; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; padding: 0 0 10px; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: 0.9375rem; white-space: nowrap; }
.nav-links a { padding: 4px 0; }
.site-nav a:hover { color: var(--teal-deep); }
.site-nav .nav-link[aria-current] { color: var(--teal-deep); font-weight: 600; }
.menu-btn { display: none; }
.site-header .cart-link { margin-left: auto; }
@media (max-width: 1179px) {
  .js-menu .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 var(--s-4); margin-left: auto;
    border: 1px solid var(--outline); border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; cursor: pointer;
  }
  .js-menu .site-header .cart-link { margin-left: 0; }
  .menu-btn__icon, .menu-btn__icon::before, .menu-btn__icon::after { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-btn__icon { position: relative; }
  .menu-btn__icon::before, .menu-btn__icon::after { content: ''; position: absolute; left: 0; }
  .menu-btn__icon::before { top: -5px; }
  .menu-btn__icon::after { top: 5px; }
  .menu-open .menu-btn__icon { background: transparent; }
  .menu-open .menu-btn__icon::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-btn__icon::after { top: 0; transform: rotate(-45deg); }
  .js-menu .nav-links { display: none; }
  .js-menu.menu-open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); padding: 4px var(--gutter) 14px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }
  .js-menu.menu-open .nav-links a { font-size: 1.0625rem; padding: 13px 4px; border-bottom: 1px solid var(--line); }
}
/* Small phones: the shop's Menu button shows only the icon (its name "Menu" is still read out). */
@media (max-width: 479px) {
  .js-menu .menu-btn { min-width: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .site-header .wrap { column-gap: 8px; }
  .site-header .brand { gap: 6px; }
  .site-header .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 0.8125rem; }
  .brand__name small { font-size: 0.5rem; }
  .site-header .cart-link { min-height: 40px; padding: 0 10px; gap: 6px; }
  .js-menu .menu-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.cart-link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 42px; padding: 0 var(--s-4);
  border: 1px solid var(--outline); border-radius: 999px; background: var(--surface);
}
.cart-link[aria-disabled='true'] { cursor: default; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--teal); color: var(--on-teal);
  font-size: var(--t-xs); font-weight: 600; line-height: 22px; text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 50px; padding: 0 var(--s-6);
  border: 1px solid var(--teal); border-radius: 12px;
  background: var(--teal); color: var(--on-teal);
  font-weight: 600; font-size: var(--t-sm); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled='true'] { background: #a9bcc7; border-color: #a9bcc7; cursor: not-allowed; transform: none; }
.btn--ghost { background: var(--surface); color: var(--teal-deep); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-soft); border-color: var(--teal-deep); }
.btn--pill { border-radius: 999px; }
.link-arrow { color: var(--teal-deep); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
