/*
Theme Name: With Heart Goods & Services
Theme URI: https://withheartgirls.com
Author: North Star Manage IT
Description: Storefront theme for With Heart Goods & Services (the "Stitched Storybook" design), built for WooCommerce. Pair it with the official WooCommerce Stripe Payment Gateway plugin.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: withheart
*/

@import url('https://fonts.googleapis.com/css2?family=Sniglet:wght@400;800&family=Nunito:wght@400;600;700;800&display=swap');

/* ---------- Stitched Storybook ---------- */
:root {
  --white: #FFFFFF; --blush: #FFF5F8; --petal: #FFE4EC; --pink-light: #FFC2D2; --pink-soft: #F58AA5;
  --pink: #FF5C85; --pink-deep: #C8285A; --rose-dark: #7A1B3C; --ink: #3D1F2B; --muted: #7A4A5A;
  --gingham:
    linear-gradient(90deg, rgba(245,138,165,.45) 50%, transparent 0) 0 0 / 12px 12px,
    linear-gradient(rgba(245,138,165,.45) 50%, #fff 0) 0 0 / 12px 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.65 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--blush);
  background-image:
    repeating-linear-gradient(0deg, rgba(245,138,165,.06) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(245,138,165,.05) 0 1px, transparent 1px 4px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); cursor: pointer; transition: color .2s cubic-bezier(.2,.7,.2,1), background-color .2s cubic-bezier(.2,.7,.2,1), transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s cubic-bezier(.2,.7,.2,1); }
button, select, summary { cursor: pointer; font: inherit; }
h1, h2, h3, .logo { font-family: 'Sniglet', 'Nunito', sans-serif; font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
p { margin: 0 0 1em; }
header, main, footer { overflow-x: clip; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section { padding: 34px 0; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Yarn-tag socials ---------- */
.tags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 6px; padding: 4px 0; }
.tags > span { font-family: 'Sniglet'; color: var(--muted); margin-right: 6px; display: none; }
.tag { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-left: 14px; text-decoration: none; }
.tag::before { /* the string */
  content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 2px;
  background: var(--pink-soft); border-radius: 2px; transform: rotate(-18deg); transform-origin: right center;
}
.tag span {
  --c: var(--rose-dark);
  display: block; padding: 3px 11px 3px 22px; font-size: .78rem; font-weight: 800; color: #fff; background: var(--c);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  -webkit-mask: radial-gradient(circle at 12px 50%, #0000 3.5px, #000 4.5px);
          mask: radial-gradient(circle at 12px 50%, #0000 3.5px, #000 4.5px);
  border-radius: 0 5px 5px 0;
  transition: transform .2s cubic-bezier(.2,.7,.2,1);
}
.tag:nth-of-type(2) span { --c: var(--pink-deep); }
.tag:nth-of-type(3) span { --c: var(--pink-soft); color: var(--ink); }
.tag:nth-of-type(4) span { --c: var(--ink); }
.tag:nth-of-type(5) span { --c: var(--rose-dark); }
.tag:hover span { transform: rotate(-5deg); }

/* ---------- Scalloped awning header ---------- */
.awning {
  position: relative; color: #fff; padding: 14px 0 22px; margin-bottom: 18px;
  background: repeating-linear-gradient(90deg, var(--pink-deep) 0 36px, var(--rose-dark) 36px 72px);
}
.awning::before { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; border-top: 2px dashed rgba(255,255,255,.7); }
.awning::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px;
  background:
    radial-gradient(circle at 18px 0, var(--pink-deep) 18px, transparent 18.5px) 0 0 / 72px 18px repeat-x,
    radial-gradient(circle at 54px 0, var(--rose-dark) 18px, transparent 18.5px) 0 0 / 72px 18px repeat-x;
}
.awning .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.7rem; color: #fff; text-decoration: none; margin: 0; min-height: 44px; }
.awning .logo { background: var(--rose-dark); padding: 4px 16px 4px 6px; border-radius: 30px; }
.logo svg, .logo img { width: 48px; height: 48px; flex: none; }
.logo small { display: block; font: 700 .78rem 'Nunito'; letter-spacing: .04em; opacity: .95; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; background: var(--rose-dark); border-radius: 30px; outline: 2px dashed rgba(255,255,255,.7); outline-offset: -4px; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: #fff; font-weight: 800; text-decoration: none;
}
.nav a:hover { background: rgba(255,255,255,.18); }
.nav a[aria-current="page"] { background: var(--white); color: var(--pink-deep); outline: 2px dashed var(--pink-deep); outline-offset: -5px; }
.nav .cart { background: var(--petal); color: var(--ink); }
.nav .cart:hover { background: var(--pink-light); }

/* ---------- Fabric patch + buttons ---------- */
.patch { --c: var(--rose-dark); background: var(--c); color: #fff; border-radius: 22px; outline: 2px dashed rgba(255,255,255,.8); outline-offset: -11px; }
.patch.mustard { color: var(--ink); outline-color: rgba(61,31,43,.6); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px; background: var(--pink-deep); color: #fff; text-decoration: none;
  font: 800 1.05rem 'Sniglet', sans-serif; outline: 2px dashed rgba(255,255,255,.75); outline-offset: -6px;
  box-shadow: 0 4px 0 var(--rose-dark); transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s cubic-bezier(.2,.7,.2,1), background-color .2s cubic-bezier(.2,.7,.2,1);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--rose-dark); }
.btn.alt { background: var(--petal); color: var(--ink); outline-color: rgba(61,31,43,.55); box-shadow: 0 4px 0 var(--pink-soft); }
.btn.alt:hover { box-shadow: 0 6px 0 var(--pink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Embroidery hoop ---------- */
.hoop {
  position: relative; border-radius: 50%; padding: 14px; margin: 18px auto 0;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-soft) 55%, var(--pink));
  box-shadow: 0 0 0 3px var(--pink), inset 0 0 0 3px rgba(255,255,255,.4), 0 10px 0 rgba(122,27,60,.18);
}
.hoop::before { /* the screw clamp */
  content: ""; position: absolute; top: -16px; left: 50%; width: 38px; height: 26px; transform: translateX(-50%);
  border-radius: 6px; background: linear-gradient(var(--pink-light), var(--pink-soft)); box-shadow: 0 0 0 2px var(--pink);
}
.hoop::after { content: ""; position: absolute; top: -24px; left: 50%; width: 12px; height: 12px; transform: translateX(-50%); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--pink-soft); }
.hoop img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--white); }

/* ---------- Hero ---------- */
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-patch { --c: var(--rose-dark); padding: 40px 28px; transform: rotate(-1deg); position: relative; }
.hero-patch h1 { color: #fff; }
.ribbon { display: inline-block; background: var(--pink-light); color: var(--ink); font: 800 .95rem 'Sniglet'; padding: 4px 18px; margin-bottom: 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%, 10px 50%); }
.hero-art { position: relative; padding-bottom: 40px; }
.hero-art .hoop { max-width: 420px; }
.yarn-trail { position: absolute; left: -10px; bottom: 0; width: min(300px, 80%); height: auto; }
.yarn-trail .ball { transform-origin: 50px 50px; animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(14deg); } }

/* ---------- Category patches ---------- */
.cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 18px; margin-top: 28px; }
.cat { display: block; width: calc(50% - 9px); max-width: 220px; text-decoration: none; border-radius: 24px; }
.cat:nth-child(odd) { transform: rotate(-2deg); }
.cat:nth-child(even) { transform: rotate(2deg); }
.cat:hover { transform: rotate(0) scale(1.05); }
.cat .patch {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  aspect-ratio: 1; padding: 16px; text-align: center; font: 800 clamp(.9rem, 2.6vw, 1.15rem)/1.15 'Sniglet';
  filter: drop-shadow(0 4px 0 rgba(61,31,43,.18));
}
.cat .patch img { width: 52%; aspect-ratio: 1; object-fit: cover; border: 3px solid var(--white); }
.shape-circle { border-radius: 50%; }
.shape-circle img { border-radius: 50%; }
.shape-square { border-radius: 30px; }
.shape-square img { border-radius: 14px; }
.shape-scallop {
  border-radius: 0; outline-offset: -22px !important;
  -webkit-mask: radial-gradient(closest-side, #000 97%, #0000) 0 0 / 28px 28px round, linear-gradient(#000 0 0) 50% / calc(100% - 28px) calc(100% - 28px) no-repeat;
          mask: radial-gradient(closest-side, #000 97%, #0000) 0 0 / 28px 28px round, linear-gradient(#000 0 0) 50% / calc(100% - 28px) calc(100% - 28px) no-repeat;
}
.cat .shape-scallop img { border-radius: 50% 50% 12px 12px; width: 46%; }
.c-berry { --c: var(--pink-deep); } .c-forest { --c: var(--rose-dark); }
.c-denim { --c: var(--pink-soft); color: var(--ink); } .c-mustard { --c: var(--pink-light); color: var(--ink); }
.hero-patch.c-denim h1, .ev.c-denim h2 { color: var(--ink); }

/* ---------- Story band ---------- */
.story { background: var(--gingham); padding: 56px 0; }
.story .card-label { background: var(--white); max-width: 640px; margin: 0 auto; padding: 36px 26px; border-radius: 20px; text-align: center; outline: 2px dashed var(--pink-deep); outline-offset: -11px; box-shadow: 0 8px 0 rgba(200,40,90,.25); }

/* ---------- Category page ---------- */
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; background: var(--white); padding: 6px 16px; border-radius: 999px; border: 2px dashed var(--pink-deep); font-weight: 700; font-size: .95rem; margin: 0 0 22px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--pink-deep); }
.cat-title { border-bottom: 3px dashed var(--pink-soft); padding-bottom: 8px; display: inline-block; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 0 26px; }
.toolbar .count { font: 800 1.1rem 'Sniglet'; color: var(--pink-deep); }
.toolbar label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
select, input[type="number"], input[type="email"] {
  min-height: 46px; padding: 0 14px; border: 2px dashed var(--pink-deep); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit;
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; text-decoration: none; color: var(--ink);
  background: var(--white); border-radius: 16px; box-shadow: 0 4px 0 rgba(61,31,43,.12);
}
.card::before { content: ""; position: absolute; inset: 6px; border: 2px dashed var(--pink-deep); border-radius: 11px; pointer-events: none; }
.card:nth-child(3n+2)::before { border-color: var(--pink); }
.card:nth-child(3n)::before { border-color: var(--pink-soft); }
.card:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 8px 0 rgba(61,31,43,.14); }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.card .name { font-weight: 800; line-height: 1.3; margin-top: 4px; }
.price {
  align-self: flex-start; font: 800 1rem 'Sniglet'; color: var(--rose-dark); padding: 2px 12px;
  border: 5px solid transparent; border-radius: 8px;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--gingham);
  background-origin: border-box;
}
.sewn {
  position: absolute; top: 20px; left: -6px; z-index: 1; padding: 4px 16px 4px 12px; background: var(--pink-light); color: var(--ink);
  font: 800 .85rem 'Sniglet'; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 2px rgba(61,31,43,.25);
}
.sewn.forest { background: var(--rose-dark); color: #fff; }
.pages { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.pages a { /* sewing buttons */
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; text-decoration: none;
  background: var(--pink-deep); color: #fff; font: 800 1.1rem 'Sniglet';
  outline: 2px dashed rgba(255,255,255,.75); outline-offset: -7px; box-shadow: 0 3px 0 var(--rose-dark);
}
.pages a[aria-current="page"] { background: var(--rose-dark); box-shadow: 0 3px 0 var(--ink); }
.pages a:hover { transform: rotate(20deg); }

/* ---------- Product page ---------- */
div.product { display: grid; gap: 34px; align-items: start; }   /* div only: WooCommerce also puts class "product" on every list item in the catalog */
.frame { position: relative; background: var(--pink-deep); padding: 16px; border-radius: 18px; box-shadow: 0 8px 0 rgba(122,27,60,.3); }
.frame::before { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(255,255,255,.8); border-radius: 13px; pointer-events: none; }
.frame img { width: 100%; border-radius: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.thumbs button { padding: 4px; min-height: 44px; background: var(--white); border: 2px dashed var(--pink-soft); border-radius: 12px; transition: transform .2s cubic-bezier(.2,.7,.2,1), border-color .2s cubic-bezier(.2,.7,.2,1); }
.thumbs button:hover { transform: translateY(-3px); border-color: var(--pink-deep); }
.thumbs img { width: 100%; border-radius: 7px; }
.pattern { counter-reset: rnd; background: #fff; border: 2px solid var(--petal); border-radius: 8px; box-shadow: 0 8px 0 rgba(200,40,90,.2); overflow: hidden; }
.pattern-head {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 22px 22px 14px;
  background:
    radial-gradient(circle, var(--blush) 4px, transparent 4.5px) 8px 6px / 26px 14px repeat-x,
    var(--rose-dark);
  color: #fff; font: 800 1.25rem 'Sniglet'; border-bottom: 3px dashed var(--pink-light);
}
.pattern-head small { font: 700 .85rem 'Nunito'; letter-spacing: .08em; text-transform: uppercase; }
.pattern-body { padding: 22px; background: repeating-linear-gradient(transparent 0 31px, rgba(200,40,90,.1) 31px 32px); }
.maker { display: inline-block; background: var(--rose-dark); color: #fff; font-weight: 800; font-size: .9rem; padding: 3px 12px 3px 22px; margin-bottom: 12px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 20px; height: 20px; fill: var(--pink); stroke: var(--pink-deep); stroke-width: 1.2; }
.rating a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; margin-left: 6px; color: var(--pink-deep); }
.pattern .price { font-size: 1.9rem; margin-bottom: 14px; }
.swatches { display: flex; gap: 14px; margin: 8px 0 20px; }
.swatches button {
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.4) 0 3px, transparent 3px 8px), repeating-linear-gradient(-45deg, rgba(61,31,43,.08) 0 2px, transparent 2px 9px);
  box-shadow: inset 0 -4px 0 rgba(61,31,43,.12); transition: transform .2s cubic-bezier(.2,.7,.2,1);
}
.swatches button:hover { transform: scale(1.08); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--ink); }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.buy label { font-weight: 800; }
.buy input { width: 80px; min-height: 48px; }
.buy .btn.alt { padding: 0 16px; }
.pattern details { border-top: 2px dashed rgba(200,40,90,.45); }
.pattern summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 52px; font: 800 1.1rem 'Sniglet'; color: var(--pink-deep); }
.pattern summary::-webkit-details-marker { display: none; }
.pattern summary::before { counter-increment: rnd; content: "Rnd " counter(rnd); background: var(--pink-light); color: var(--ink); font-size: .8rem; padding: 2px 10px; border-radius: 999px; }
.pattern summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.pattern details[open] summary::after { transform: rotate(45deg); }
.pattern details p { padding-left: 4px; }

/* ---------- Team ---------- */
.team { display: grid; gap: 34px 22px; }
.member { padding: 40px 22px 28px; text-align: center; }
.member .hoop { width: 170px; padding: 10px; margin-top: 10px; }
.name-label {
  position: relative; display: inline-block; margin: -14px 0 14px; padding: 6px 20px; background: var(--white); color: var(--ink);
  font: 800 1.25rem 'Sniglet'; border-radius: 6px; outline: 2px dashed var(--pink-deep); outline-offset: -5px; transform: rotate(-2deg);
  box-shadow: 0 3px 0 rgba(61,31,43,.2);
}
.role { display: block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.member p { margin: 0; }
.fabric-label {
  position: relative; max-width: 740px; margin: 0 auto; padding: 44px 30px 40px;
  border: 14px solid transparent; border-radius: 10px;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--gingham);
  background-origin: border-box;
  box-shadow: 0 10px 0 rgba(200,40,90,.2);
}
.fabric-label::before { content: ""; position: absolute; inset: 8px; border: 2px dashed var(--pink-deep); border-radius: 4px; pointer-events: none; }
.fabric-label h2 { display: flex; align-items: center; gap: 14px; color: var(--pink-deep); }
.xheart { width: 56px; height: 48px; flex: none; }
.sign { font: 800 1.35rem 'Sniglet'; color: var(--pink-deep); margin-top: 20px; }

/* ---------- Footer ---------- */
.gingham-strip { height: 22px; background: var(--gingham); border-bottom: 3px dashed var(--rose-dark); }
.foot { background: var(--rose-dark); color: var(--white); padding: 40px 0 70px; }
.foot .wrap { display: grid; gap: 18px; }
.col { border: 2px dashed rgba(255,255,255,.55); border-radius: 16px; padding: 20px 22px; }
.col h3, .col h2 { font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.col .logo { font-size: 1.5rem; margin-bottom: 6px; }
.col a:not(.logo) { display: flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; font-weight: 700; }
.col a:not(.logo):hover { text-decoration: underline dashed; text-underline-offset: 4px; }
.col label { display: block; margin-bottom: 10px; }
.col form { display: flex; flex-wrap: wrap; gap: 10px; }
.col input[type="email"] { flex: 1 1 160px; border-color: var(--pink-light); }

/* ---------- Back link (in-flow strip) ---------- */
.back {
  display: flex; align-items: center; min-height: 44px; padding: 0 max(16px, calc((100% - 1108px) / 2));
  background: var(--pink-light); color: var(--ink); font: 800 .95rem 'Sniglet'; text-decoration: none;
  border-bottom: 3px dashed var(--pink-deep);
}
.back:hover { background: var(--petal); }

/* ---------- Shared bits for cart / checkout / help / contact / favorites ---------- */
.page-head { text-align: center; margin-bottom: 30px; }
.page-head h1, .page-head h2 { border-bottom: 3px dashed var(--pink-soft); padding-bottom: 8px; margin-inline: auto; width: fit-content; max-width: 100%; }
.page-head p { margin-top: 8px; }
.stitch-box { position: relative; background: var(--white); border-radius: 18px; padding: 24px 20px; box-shadow: 0 5px 0 rgba(61,31,43,.12); }
.stitch-box::before { content: ""; position: absolute; inset: 7px; border: 2px dashed var(--pink-soft); border-radius: 12px; pointer-events: none; }
.two-col { display: grid; gap: 30px; align-items: start; }
.narrow { max-width: 820px; }
.anchor { scroll-margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--pink-deep); }
.link-btn {
  min-height: 44px; padding: 0 16px; border-radius: 999px; background: transparent; color: var(--rose-dark); font-weight: 800;
  border: 2px dashed var(--pink-deep); transition: background-color .2s cubic-bezier(.2,.7,.2,1), color .2s cubic-bezier(.2,.7,.2,1);
}
.link-btn:hover { background: var(--pink-deep); color: #fff; }

/* form fields */
input[type="text"], textarea { min-height: 46px; padding: 0 14px; border: 2px dashed var(--pink-deep); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; }
textarea { min-height: 130px; padding: 12px 14px; resize: vertical; }
.field { display: grid; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; background: #fff; }
.field :is(input, select, textarea):focus { border-style: solid; }
.row2, .row3 { display: grid; gap: 0 14px; }

/* ---------- Cart ---------- */
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px 16px; align-items: center; }
.line .thumb { border-radius: 50%; }
.line .thumb img { width: 84px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--pink-deep); }
.line .meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.line .meta a { font-weight: 800; color: var(--ink); min-height: 32px; display: inline-flex; align-items: center; }
.line .meta small { color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.line .ctrl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.line .ctrl label { font-weight: 800; }
.line .ctrl input { width: 76px; background: #fff; }
.line .ctrl .link-btn { margin-left: auto; }
.totals { margin: 0 0 12px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 2px dashed rgba(200,40,90,.35); }
.totals dt { font-weight: 700; }
.totals dd { margin: 0; font-weight: 800; }
.totals .total { border-bottom: 0; font: 800 1.35rem 'Sniglet'; color: var(--rose-dark); }
.totals .total dt { font-weight: 800; }
.note { display: inline-block; background: var(--rose-dark); color: #fff; font-weight: 800; font-size: .9rem; padding: 4px 14px; border-radius: 999px; outline: 2px dashed rgba(255,255,255,.7); outline-offset: -4px; }
.actions.stack { flex-direction: column; margin-top: 10px; }
.actions.stack .btn { width: 100%; }

/* ---------- Checkout ---------- */
.checkout fieldset { border: 0; margin: 0 0 24px; min-width: 0; padding-top: 22px; }
.checkout legend { float: left; margin-bottom: 14px; }
.checkout legend + * { clear: both; }
.choice {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 16px; margin-bottom: 10px; cursor: pointer;
  background: #fff; border: 2px dashed var(--pink-deep); border-radius: 14px; font-weight: 800; transition: border-color .2s cubic-bezier(.2,.7,.2,1), background-color .2s cubic-bezier(.2,.7,.2,1);
}
.choice small { display: block; font-weight: 600; color: var(--muted); }
.choice input { width: 20px; height: 20px; accent-color: var(--pink-deep); flex: none; }
.choice .amt { margin-left: auto; font-family: 'Sniglet'; }
.choice:has(:checked) { border-style: solid; border-color: var(--pink-deep); background: var(--blush); }
.demo-note { background: var(--pink-light); color: var(--ink); font-weight: 800; padding: 8px 14px; border-radius: 10px; outline: 2px dashed rgba(61,31,43,.5); outline-offset: -5px; }
.checkout .actions { align-items: center; }
.mini { list-style: none; margin: 0 0 12px; padding: 0; }
.mini li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 2px dashed rgba(200,40,90,.35); }
.mini img { width: 56px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--pink-soft); flex: none; }
.mini span { min-width: 0; }
.mini small { display: block; color: var(--muted); font-weight: 700; }
.mini .amt { margin-left: auto; font-weight: 800; }

/* ---------- Thanks ---------- */
.celebrate { padding-top: 0; background: var(--gingham); padding-bottom: 36px; }
.bunting { display: block; width: 100%; height: 40px; margin-bottom: 30px; }
.thanks-patch { text-align: center; max-width: 720px; margin: 0 auto; transform: rotate(-1deg); }
.thanks-patch h1 { font-size: clamp(2.6rem, 9vw, 4.2rem); }
.big-line { font: 800 1.3rem 'Sniglet'; }
.steps { list-style: none; counter-reset: s; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; }
.steps li::before { /* sewing button */
  content: counter(s); flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--pink-deep); color: #fff; font: 800 1.2rem 'Sniglet'; outline: 2px dashed rgba(255,255,255,.75); outline-offset: -7px; box-shadow: 0 3px 0 var(--rose-dark);
}
.steps li:nth-child(2)::before { background: var(--rose-dark); box-shadow: 0 3px 0 var(--ink); }
.steps li:nth-child(3)::before { background: var(--pink-soft); color: var(--ink); box-shadow: 0 3px 0 var(--pink-deep); }
.steps strong { display: block; font-family: 'Sniglet'; font-size: 1.15rem; }

/* ---------- Help ---------- */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.qa { padding: 4px 22px; margin-bottom: 14px; }
.qa summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; font: 800 1.1rem/1.3 'Sniglet'; color: var(--pink-deep); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; color: var(--pink-deep); transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa > p, .qa > form { padding-bottom: 12px; }
.rates { width: 100%; border-collapse: collapse; }
.rates th, .rates td { text-align: left; padding: 12px 8px; border-bottom: 2px dashed rgba(200,40,90,.35); }
.rates th { font-family: 'Sniglet'; color: var(--rose-dark); }
.rates td:last-child, .rates th:last-child { text-align: right; font-weight: 800; }
.returns { padding: 38px 26px; }
.returns h2 { color: #fff; }

/* ---------- Contact ---------- */
form.fabric-label { padding: 36px 22px 30px; }
.side h3 { color: var(--pink-deep); margin-top: 18px; }
.email { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 1.05rem; word-break: break-all; }
.tags.left { justify-content: flex-start; }

/* ---------- Favorites ---------- */
.fav .name { color: var(--ink); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.fav .name:hover { color: var(--pink-deep); }
.fav > a:first-child { border-radius: 10px; }
.fav-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; position: relative; }
.fav-actions .btn { min-height: 44px; padding: 0 12px; font-size: .95rem; }
.hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px 0 16px; font-weight: 800; color: var(--rose-dark); }

/* ---------- Product reviews ---------- */
.review-sum { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 420px; margin: 0 auto 26px; text-align: left; }
.review-sum .big { font: 800 3rem/1 'Sniglet'; color: var(--pink-deep); }
.review-sum p { margin: 4px 0 0; font-weight: 800; }
.reviews { display: grid; gap: 18px; margin-bottom: 22px; }
.review h3 { margin: 8px 0 0; font-size: 1.15rem; }
.review .when { margin: 0 0 6px; font-size: .9rem; font-weight: 700; }
.review p:last-child { margin: 0; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .tags > span { display: inline; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .foot .wrap { grid-template-columns: repeat(2, 1fr); }
  .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row3 { grid-template-columns: 1.4fr 1fr .8fr; }
  .line { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .line .thumb img { width: 96px; }
  .line .ctrl { grid-column: auto; }
  .fav-actions { flex-direction: row; flex-wrap: wrap; }
  .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .cat { width: 200px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero-patch { padding: 56px 46px; }
  section { padding: 46px 0; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  div.product { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .team { grid-template-columns: repeat(4, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
  .two-col.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col > aside.pattern { position: sticky; top: 16px; }
  .foot .wrap { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; }
}

/* ---------- Focus + motion ---------- */
:focus-visible { outline: 3px solid var(--ink) !important; outline-offset: 3px !important; }
.awning :focus-visible, .foot :focus-visible { outline-color: var(--white) !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Real-content pass ---------- */
[hidden] { display: none !important; }
.intro { font-size: 1rem; }
.cat .patch small { font: 700 .75rem 'Nunito'; opacity: .95; }
.cat .patch { gap: 3px; }
.story .card-label.wide { max-width: 960px; }
.story-hoop { width: 160px; margin: 6px auto 20px; padding: 10px; }
.opt, #pdp .field { max-width: 320px; }
.soon { font: 800 1.2rem 'Sniglet'; color: var(--pink-deep); margin-top: 28px; }
.sm { font-size: 1.2rem; margin-top: 18px; }

/* about */
.letter p { max-width: 62ch; }
.trio { display: grid; gap: 18px; margin-top: 22px; }
.trio .frame { margin: 0; }
.trio img { aspect-ratio: 4 / 3; object-fit: cover; }
.polaroids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.polaroid { margin: 0; padding: 8px 8px 12px; background: var(--white); border-radius: 6px; box-shadow: 0 5px 0 rgba(61,31,43,.14); outline: 2px dashed var(--pink-deep); outline-offset: -5px; transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.polaroid:nth-child(odd) { transform: rotate(-1.2deg); }
.polaroid:nth-child(even) { transform: rotate(1.2deg); outline-color: var(--pink-soft); }
.polaroid:hover { transform: rotate(0) scale(1.02); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { font: 800 .95rem/1.25 'Sniglet'; text-align: center; margin-top: 8px; color: var(--ink); }
.credit { margin-top: 28px; color: var(--muted); }

/* contact */
.side-logo { width: 96px; height: 96px; margin-bottom: 8px; border-radius: 50%; }

/* coaching */
.sessions { display: grid; gap: 22px; }
.sess { padding: 28px 24px 26px; text-align: left; }
.sess .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--ink); font: 800 1.2rem 'Sniglet'; margin-bottom: 10px; }
.sess h3 { margin-bottom: 2px; }
.sess .es { font-style: italic; opacity: .95; margin-bottom: 14px; }
.sess .btn { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.sess .btn.alt { background: var(--white); box-shadow: 0 4px 0 rgba(61,31,43,.3); }
.sess.mustard .btn { background: var(--pink-deep); color: #fff; outline-color: rgba(255,255,255,.75); }
.checks { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.checks legend { font-weight: 800; margin-bottom: 8px; }
.fabric-label h2 span { font-size: .6em; color: var(--muted); }

/* events */
.events { display: grid; gap: 30px; margin-bottom: 30px; }
.ev { padding: 34px 24px 30px; text-align: center; }
.ev .hoop { max-width: 300px; margin-bottom: 18px; }
.ev h2 { color: #fff; font-size: 1.5rem; }
.ev .when { font: 800 1.3rem 'Sniglet'; }
.ev .from { font: 800 1.5rem 'Sniglet'; }

@media (min-width: 640px) {
  .polaroids { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .polaroids { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sessions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ev .qa { color: var(--ink); text-align: left; margin-top: 16px; }
@media (max-width: 639px) { .nav a { padding: 0 11px; } }
.ev .hoop img { object-fit: contain; background: var(--white); }
@media (min-width: 640px) and (max-width: 1099px) { .nav { flex: 1 1 100%; flex-wrap: nowrap; } .nav a { padding: 0 8px; font-size: .95rem; white-space: nowrap; } }

/* ---------- Skeleton loading (stitched patches) ---------- */
html.js-sk main img:not(.loaded):not(.err), .sk-b { background-color: var(--petal); background-image: none; }
.sk-b { display: block; border-radius: 12px; outline: 2px dashed var(--pink-soft); outline-offset: -5px; }
.sk-ph { aspect-ratio: 1; width: 100%; }
.sk-bar { height: 22px; margin-top: 8px; }
.sk-bar.s { width: 45%; }
.sk-bar.m { width: 75%; }
.sk-bar.btn-sk { height: 52px; border-radius: 999px; margin-top: 16px; }
.sk-card { pointer-events: none; }
.sk-card:hover { transform: none; box-shadow: 0 4px 0 rgba(61,31,43,.12); }
@media (prefers-reduced-motion: no-preference) {
  html.js-sk main img:not(.loaded):not(.err), .sk-b {
    background-image: linear-gradient(100deg, var(--petal) 30%, var(--white) 50%, var(--petal) 70%);
    background-size: 250% 100%; animation: sk-sweep 1.6s linear infinite;
  }
  html.js-sk main img.loaded { animation: sk-in .25s ease-out; }
}
@keyframes sk-sweep { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes sk-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Feedback status ---------- */
.fb:empty { display: none; }
.fb { margin: 16px 0; text-align: center; }
.fb span { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 16px; min-height: 48px; padding: 8px 22px; background: var(--petal); color: var(--ink); font-weight: 800; border: 2px dashed var(--pink-deep); border-radius: 14px; box-shadow: 0 3px 0 rgba(200,40,90,.25); }
.fb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rose-dark); text-decoration: underline; text-underline-offset: 3px; }
.empty { text-align: center; font: 800 1.25rem 'Sniglet', sans-serif; color: var(--rose-dark); background: var(--petal); }
.empty::before { border-color: var(--pink-deep); }
@media (prefers-reduced-motion: no-preference) {
  .fb span { animation: fb-in .25s ease-out; }
  @keyframes fb-in { from { opacity: 0; transform: translateY(-6px); } }
}

/* ---------- Layout pass (2026-11-13): order, spacing and sizes only; no wording changed ---------- */
/* home: tighter rhythm, products right under the hero, one badge shape in one row */
.hero { padding-bottom: 20px; }
.featured { padding: 24px 0 28px; }
#categories { padding-top: 20px; }
.hero-art .hoop { max-width: 500px; }
@media (max-width: 767px) { .hero-art { order: -1; padding-bottom: 30px; } .hero-art .hoop { max-width: 300px; margin-top: 26px; } }
@media (min-width: 768px) { .hero-grid { grid-template-columns: .95fr 1.05fr; } }
.cats { flex-wrap: nowrap; justify-content: flex-start; gap: 16px; margin-top: 0; padding: 14px 16px 22px; margin-inline: -16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--pink-soft) transparent; }
.cat { flex: none; width: 150px; max-width: none; scroll-snap-align: center; }
.cat .patch { font-size: 1rem; }
@media (min-width: 1024px) {
  .cats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; overflow: visible; padding: 14px 0 22px; margin-inline: 0; }
  .cat { width: auto; }
  .cat .patch { font-size: .98rem; padding: 12px; }
}

/* header: on phones the logo and the cart share the first line, the three links sit on the second */
@media (max-width: 639px) {
  .awning .wrap { position: relative; }
  .awning .logo { font-size: 1.1rem; line-height: 1.2; max-width: 100%; padding-right: 12px; }
  .awning .logo img { width: 40px; height: 40px; }
  .nav { flex: 1 1 100%; }

}

/* footer: the fourth box now also carries the social links */
.col a[href="#"] { font-weight: 800; }

/* category: count and sort in one stitched bar, like the breadcrumb; three cards across from small tablets */
.toolbar { background: var(--white); border: 2px dashed var(--pink-deep); border-radius: 18px; padding: 8px 18px; }
@media (min-width: 560px) and (max-width: 767px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* product: option and quantity on one row, then the buttons */
.pick-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 16px; }
.pick-row .field { flex: 1 1 180px; max-width: 320px; }
.pick-row .field.qty { flex: 0 0 96px; }
.pick-row .field.qty input { width: 100%; }

/* checkout: summary first on phones and tablets; expiry and CVC always side by side */
@media (max-width: 1023px) { .two-col:has(> form.checkout) > aside { order: -1; } }
.checkout .row2:has(#co-exp) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Store pass (2026-11-13): home page, catalog, live cart, WooCommerce-shaped markup, Stripe-style payment ---------- */
ul.grid, ul.lines { list-style: none; margin: 0; padding: 0; }
li.card { transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s cubic-bezier(.2,.7,.2,1); }
.card .woocommerce-loop-product__link { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.card .woocommerce-loop-product__link:hover .name { color: var(--pink-deep); }
.card .price { margin-bottom: 4px; }
.btn.small { min-height: 44px; padding: 0 14px; font-size: .95rem; margin-top: auto; width: 100%; position: relative; z-index: 1; }
.btn.small .icon { width: 18px; height: 18px; }
.btn.busy { opacity: .75; cursor: progress; background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.22) 8px 16px); }
.btn.added { background: var(--rose-dark); }
.btn.added::after { content: "\2713"; margin-left: 6px; }
.btn:disabled { cursor: not-allowed; }

/* home */
.home .hero { padding-bottom: 8px; }
.showcase { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: center; padding: 24px 0 8px; }
.showcase .hoop { display: block; margin: 0; padding: 10px; }
.showcase .show-1 { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.showcase .show-2 { grid-column: 5 / span 2; grid-row: 1; }
.showcase .show-3 { grid-column: 5 / span 2; grid-row: 2; }
.showcase .hoop:hover { transform: rotate(-2deg) scale(1.02); }
.showcase .hoop:focus-visible { border-radius: 50%; }
.line-row { padding: 26px 0; }
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 14px; }
.row-head h2 { margin: 0; border-bottom: 3px dashed var(--pink-soft); padding-bottom: 4px; }
.row-head h2 a { color: var(--ink); text-decoration: none; }
.row-head h2 a:hover { color: var(--pink-deep); }
.row-head .count { font: 800 1rem 'Sniglet'; color: var(--pink-deep); }
.row-head .text-link { margin-left: auto; }
.story .big-line, .closing .big-line { color: var(--rose-dark); line-height: 1.35; }
.center-actions { justify-content: center; margin-top: 14px; }
.ship-band { padding-top: 36px; }
.promises { display: grid; gap: 16px; margin-bottom: 10px; }
.promises .stitch-box p { margin: 0; font-weight: 700; }
@media (min-width: 768px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.closing { padding-top: 24px; }
.closing-label { max-width: 900px; display: grid; gap: 22px; align-items: center; }
.closing-hoop { width: 150px; padding: 9px; margin: 6px auto 0; }
@media (min-width: 700px) { .closing-label { grid-template-columns: 170px minmax(0, 1fr); gap: 34px; } .closing-hoop { margin: 0; } }

/* catalog: category filter chips */
.filters { display: flex; gap: 10px; margin: 6px -16px 14px; padding: 6px 16px 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--pink-soft) transparent; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--ink); border: 2px dashed var(--pink-deep); font-weight: 800; text-decoration: none; white-space: nowrap; }
.chip small { font: 800 .8rem 'Nunito'; color: var(--muted); }
.chip:hover { background: var(--petal); }
.chip.is-on { background: var(--rose-dark); color: #fff; border-style: solid; border-color: var(--rose-dark); }
.chip.is-on small { color: #fff; }
@media (min-width: 1024px) { .filters { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.crumbs [aria-current] { font-weight: 800; }
.product_meta { margin: 0 0 12px; }
.product_meta a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }

/* field feedback (every form) */
.field .err, .coupon .err { margin: 0; color: #A11239; font-weight: 800; font-size: .95rem; line-height: 1.4; }
.field .err::before { content: "!"; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-right: .45em; border: 2px solid currentColor; border-radius: 50%; font-size: .8em; line-height: 1; }
.field[data-state="error"] :is(input, select, textarea) { border-style: solid; border-color: #A11239; background: #FFF0F3; }
.field[data-state="valid"] :is(input, textarea) { border-style: solid; border-color: #1F7A4D; padding-right: 40px; background: #fff linear-gradient(#1F7A4D, #1F7A4D) no-repeat; background-size: 0 0; }
.field[data-state="valid"] { position: relative; }
.field[data-state="valid"]::after { content: "\2713"; position: absolute; right: 14px; bottom: 11px; color: #1F7A4D; font-weight: 800; pointer-events: none; }
.field.qty[data-state="valid"]::after, .field[data-state="valid"]:has(textarea)::after { content: none; }
.field.qty[data-state="valid"] input { padding-right: 14px; }
input[type="tel"] { min-height: 46px; padding: 0 14px; border: 2px dashed var(--pink-deep); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; }

/* cart: stepper, coupon, empty state */
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.step { width: 44px; height: 44px; border-radius: 50%; border: 2px dashed var(--pink-deep); background: var(--white); color: var(--rose-dark); font: 800 1.3rem/1 'Sniglet'; }
.step:hover:not(:disabled) { background: var(--pink-deep); color: #fff; }
.step:disabled { opacity: .45; cursor: not-allowed; }
.line .ctrl input.qty { width: 64px; text-align: center; padding: 0 6px; }
.coupon { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 18px; }
.coupon .field { flex: 1 1 200px; margin: 0; }
.cart-empty p { margin: 0 0 14px; }
.cart-empty p:last-child { margin: 0; font-family: 'Nunito'; }

/* checkout: Stripe-style payment box */
.card-brands { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; padding: 0; }
.cb { display: inline-flex; line-height: 0; transition: opacity .2s cubic-bezier(.2,.7,.2,1), filter .2s cubic-bezier(.2,.7,.2,1); }
.ccard { width: 48px; height: 32px; display: block; }
.cb.on { filter: drop-shadow(0 0 0 transparent); outline: 2px solid var(--pink-deep); outline-offset: 2px; border-radius: 5px; }
.cb.dim { opacity: .4; }
.stripe-el { padding: 16px 16px 2px; background: #fff; border: 1.5px solid #C9CED6; border-radius: 12px; }
.stripe-el .field :is(input) { border-style: solid; border-width: 1.5px; border-color: #C9CED6; border-radius: 8px; }
.stripe-el .field :is(input):focus { border-color: #635BFF; box-shadow: 0 0 0 3px rgba(99,91,255,.22); outline: 0 !important; }
.checkout .row2.pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.powered { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font: 600 .9rem system-ui, sans-serif; color: #4F566B; }
.powered b { color: #635BFF; font-weight: 800; letter-spacing: -.01em; }
.lock { width: 12px; height: 10px; border-radius: 2px; background: #4F566B; position: relative; }
.lock::before { content: ""; position: absolute; left: 2px; top: -6px; width: 8px; height: 8px; border: 2px solid #4F566B; border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }
form[aria-busy="true"] { opacity: .8; }
.row-head h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.pages { flex-wrap: wrap; }
.pages a { flex: none; }
.woocommerce .crumbs { display: flex; width: fit-content; max-width: 100%; }
.woocommerce .cat-title { display: block; width: fit-content; }
@media (max-width: 639px) {
  .btn.small { font-size: .9rem; padding: 0 6px; white-space: nowrap; }
  .btn.small .icon { display: none; }
  .btn.small.product_type_variable { white-space: normal; line-height: 1.15; }
}
.step { font-family: 'Nunito', system-ui, sans-serif; font-weight: 800; }
.mini li { min-width: 0; }
.mini li > span:not(.amt) { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.mini .amt { flex: none; }

/* ---------- Custom Orders (2026-11-13) ---------- */
.kicker { display: inline-block; margin: 0 0 8px; padding: 4px 14px; background: var(--pink-light); color: var(--ink); font: 800 .9rem 'Sniglet'; letter-spacing: .06em; border-radius: 999px; }

/* home feature */
.custom-feature { padding: 36px 0; }
.custom-card { display: grid; gap: 22px; align-items: center; padding: 30px 22px; background: var(--pink-deep); color: #fff; border-radius: 26px; outline: 3px dashed rgba(255,255,255,.85); outline-offset: -12px; box-shadow: 0 8px 0 var(--rose-dark); }
.custom-card h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 4.6vw, 2.6rem); }
.custom-card p { max-width: 38em; }
.custom-card h2 { color: #fff; }
.custom-card .kicker, .custom-banner .kicker { background: var(--white); color: var(--rose-dark); }
.custom-card .btn, .custom-banner .btn { background: var(--white); color: var(--rose-dark); outline-color: rgba(122,27,60,.55); box-shadow: 0 4px 0 var(--rose-dark); }
.custom-card .btn:hover, .custom-banner .btn:hover { background: var(--petal); }
.custom-hoop { width: 200px; margin: 6px auto 0; padding: 10px; }
.custom-hoop img { object-fit: cover; }
@media (min-width: 768px) { .custom-card { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 40px 44px; } .custom-hoop { width: 240px; margin: 0; } }

/* shop banner */
.custom-banner { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px 16px; align-items: center; margin: 4px 0 22px; padding: 16px 20px; background: var(--pink-deep); color: #fff; border-radius: 22px; outline: 3px dashed rgba(255,255,255,.85); outline-offset: -9px; box-shadow: 0 6px 0 var(--rose-dark); }
.custom-banner img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; border: 3px solid var(--white); }
.custom-banner .kicker { margin-bottom: 4px; }
.cb-line { margin: 0; font: 800 1.05rem/1.35 'Sniglet'; }
.custom-banner .btn { grid-column: 1 / -1; }
@media (min-width: 768px) { .custom-banner { grid-template-columns: 84px minmax(0, 1fr) auto; padding: 18px 28px; } .custom-banner img { width: 84px; height: 84px; } .custom-banner .btn { grid-column: auto; } }

/* custom order page */
.custom-hero .hero-patch h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.custom-form h2 { margin-bottom: 18px; }
.custom-form .field select { width: 100%; }
.custom-specs { align-items: start; }
.custom-form .actions { margin-top: 6px; }
.photos { border: 2px dashed var(--pink-deep); border-radius: 16px; padding: 14px 16px 16px; margin: 0 0 20px; min-width: 0; }
.photos legend { padding: 0 8px; font-weight: 800; }
.dropzone { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; border: 2px dashed var(--pink-soft); border-radius: 14px; background: var(--white); transition: background-color .2s cubic-bezier(.2,.7,.2,1), border-color .2s cubic-bezier(.2,.7,.2,1); }
.dropzone.over { background: var(--petal); border-color: var(--pink-deep); }
.dropzone.off { opacity: .5; }
.dropzone p { margin: 0; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-btn { cursor: pointer; }
.file-btn[aria-disabled="true"] { pointer-events: none; }
.dropzone:has(.file-input:focus-visible) .file-btn { outline: 3px solid var(--ink); outline-offset: 3px; }
.file-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: var(--white); border: 2px solid var(--petal); border-radius: 12px; }
.file-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.file-list .fn { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.file-list .fn strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list small { color: var(--muted); font-weight: 700; }
#photos-err { margin: 10px 0 0; color: #A11239; font-weight: 800; }
#photos-err::before { content: "!"; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-right: .45em; border: 2px solid currentColor; border-radius: 50%; font-size: .8em; line-height: 1; }
.msg-photos { margin: 14px 0 0; }
.note-box { margin: 10px 0 0; padding: 10px 14px; background: var(--petal); border-radius: 10px; font-weight: 700; }
.sent-box { margin-top: 8px; text-align: center; padding: 34px 24px; }
.sent-box h2 { color: var(--pink-deep); }
.sent-box .actions { justify-content: center; }
.custom-form .fb { margin: 14px 0 0; }

/* phones: the nav is a neat grid of two rows, three across (Home, Shop, Custom Orders / About Us, Contact, Cart) */
@media (max-width: 639px) {
  .nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; border-radius: 26px; }
  .nav a { justify-content: center; padding: 0 6px; font-size: .95rem; white-space: nowrap; }
}

/* spacing pass (2026-11-14): one steady vertical rhythm, card text clear of the stitched border */
.cat .patch { padding: 14px; }
@media (min-width: 1024px) { .cat .patch { padding: 14px 12px; } .cat .patch > span { overflow-wrap: anywhere; } }
.card .price, .card .name { margin-inline: 0; }
.sewn { top: 24px; }
.page-head { margin-bottom: 26px; }
.hero + section, .hero + .wrap, #categories { padding-top: 14px; }
.story { padding: 40px 0; }
@media (max-width: 639px) { .row-head { gap: 2px 12px; } .row-head h2 { font-size: 1.5rem; } .row-head .text-link { margin-left: auto; } }

/* card number field: the icon on the right shows the card type as digits are typed */
.card-number input { grid-row: 2; grid-column: 1; padding-right: 68px; }
.card-number .brand-now { grid-row: 2; grid-column: 1; justify-self: end; align-self: center; margin-right: 12px; width: 40px; height: 27px; pointer-events: none; z-index: 1; }
.card-number .brand-now .ccard { display: none; width: 40px; height: 27px; }
.card-number:not([data-brand]) .ccard.generic, .card-number[data-brand=""] .ccard.generic { display: block; }
.card-number[data-brand="visa"] .ccard.visa, .card-number[data-brand="mastercard"] .ccard.mastercard, .card-number[data-brand="amex"] .ccard.amex, .card-number[data-brand="discover"] .ccard.discover { display: block; }

/* ---- WordPress and WooCommerce additions (appended after the shop stylesheet by tools/build_release.py) ---- */
.entry-content { padding: 8px 4px; }
.entry-content > *:first-child { margin-top: 0; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; justify-content: center; }
.woocommerce-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px; background: var(--petal); color: var(--ink); text-decoration: none; font-weight: 700; }
.woocommerce-pagination .page-numbers.current { background: var(--pink-deep); color: #fff; }
.woocommerce-result-count { color: var(--muted); }
.woocommerce-ordering select { min-height: 44px; }
/* cart totals block that WooCommerce prints */
.cart_totals h2 { display: none; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals th, .cart_totals td { text-align: left; padding: 8px 0; border-bottom: 1px dashed var(--pink-soft); vertical-align: top; }
.cart_totals td { text-align: right; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; justify-content: center; margin-top: 16px; }
.cart-collaterals .shipping-calculator-button { color: var(--pink-deep); }
/* checkout fields and review table */
.woocommerce form .form-row { margin: 0 0 14px; display: block; }
.woocommerce form .form-row label { display: block; font-weight: 700; margin-bottom: 4px; }
.woocommerce form .form-row .required { color: var(--pink-deep); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea { width: 100%; min-height: 44px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 640px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); display: inline-block; vertical-align: top; } .woocommerce form .form-row-first { margin-right: 12px; } }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 8px 0; text-align: left; border-bottom: 1px dashed var(--pink-soft); }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table tfoot th + td { text-align: right; }
.woocommerce-checkout-payment ul.payment_methods { list-style: none; padding: 0; margin: 12px 0; }
.woocommerce-checkout-payment .payment_box { background: var(--blush); border: 2px dashed var(--pink-soft); border-radius: 16px; padding: 12px 14px; margin: 8px 0; }
.woocommerce-checkout-payment .wc-stripe-elements-field, .woocommerce-checkout-payment .wc-stripe-elements-field .StripeElement { background: #fff; border-radius: 12px; padding: 12px; min-height: 44px; }
#place_order { display: flex; width: 100%; justify-content: center; margin-top: 14px; }
/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 16px; padding: 12px 16px; border-radius: 16px; background: var(--petal); border: 2px dashed var(--pink-soft); }
.woocommerce-error { background: #fff; border-color: var(--pink-deep); color: var(--rose-dark); }

/* order received */
.thanks-patch .muted-on-dark { color: #fff; opacity: .92; margin: 8px 0 0; font-weight: 700; }
.order-info h2 { margin-top: 0; }
.order-info .info { margin: 0 0 18px; }
.order-info .info > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 12px; padding: 10px 0; border-bottom: 2px dashed rgba(200,40,90,.35); }
.order-info .info dt { font-weight: 800; }
.order-info .info dd { margin: 0; overflow-wrap: anywhere; }
.order-info address { font-style: normal; }
@media (max-width: 520px) { .order-info .info > div { grid-template-columns: 1fr; } }

/* ---- Cart and Checkout blocks (WooCommerce 11 renders these as blocks, so the theme styles their class names) ---- */
.wc-page .wp-block-woocommerce-checkout, .wc-page .wp-block-woocommerce-cart { font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); max-width: none; padding: 0; }
.wc-page .wc-block-components-sidebar-layout { gap: 28px; }
.wc-page .wc-block-components-main { padding-right: 0; }
.wc-page .wc-block-components-title, .wc-page .wc-block-components-checkout-step__title, .wc-page .wc-block-components-checkout-order-summary__title-text,
.wc-page .wc-block-cart__totals-title { font-family: 'Sniglet', 'Nunito', sans-serif; font-weight: 800; color: var(--ink); font-size: 1.35rem; }
/* each step sits on a stitched card */
.wc-page .wc-block-components-checkout-step { background: #fff; border: 2px dashed var(--pink-soft); border-radius: 16px; padding: 18px 20px 6px; margin: 0 0 22px; }
.wc-page .wc-block-components-checkout-step::before { display: none; }
.wc-page .wc-block-components-checkout-step__heading { margin-bottom: 14px; }
.wc-page .wc-block-components-express-payment { background: #fff; border: 2px dashed var(--pink-soft); border-radius: 16px; padding: 18px 20px; margin-bottom: 22px; }
.wc-page .wc-block-checkout__payment-method, .wc-page .wc-block-checkout__order-notes, .wc-page .wc-block-checkout__terms { background: #fff; border: 2px dashed var(--pink-soft); border-radius: 16px; padding: 18px 20px; margin: 0 0 22px; }
.wc-page .wc-block-checkout__terms { padding: 12px 20px; }
/* fields */
.wc-page .wc-block-components-text-input input, .wc-page .wc-block-components-text-input input[type], .wc-page .wc-block-components-textarea, .wc-page .wc-blocks-components-select__select, .wc-page .wc-block-components-combobox .components-combobox-control__input {
	border: 2px dashed var(--pink-deep); border-radius: 12px; background: #fff; color: var(--ink); min-height: 52px; font: inherit; }
.wc-page .wc-block-components-text-input input:focus, .wc-page .wc-blocks-components-select__select:focus { outline: 3px solid var(--pink-light); outline-offset: 1px; border-style: solid; }
.wc-page .wc-block-components-text-input label, .wc-page .wc-blocks-components-select__label { color: var(--muted); font-weight: 700; }
.wc-page .wc-block-components-address-card, .wc-page .wc-block-components-radio-control__option, .wc-page .wc-block-components-radio-control-accordion-option { border-radius: 12px; border-color: var(--pink-soft); }
.wc-page a { color: var(--pink-deep); }
/* buttons look like the theme's buttons */
.wc-page .wc-block-components-button:not(.is-link), .wc-page .wc-block-cart__submit-button, .wc-page .wc-block-components-checkout-place-order-button {
	background: var(--pink-deep); color: #fff; border: 0; border-radius: 999px; min-height: 52px; padding: 0 26px; font: 800 1.15rem 'Sniglet', 'Nunito', sans-serif; letter-spacing: 0;
	outline: 2px dashed rgba(255,255,255,.75); outline-offset: -6px; box-shadow: 0 5px 0 var(--rose-dark); text-decoration: none; transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s cubic-bezier(.2,.7,.2,1); }
.wc-page .wc-block-components-button:not(.is-link):hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--rose-dark); background: var(--pink-deep); color: #fff; }
.wc-page .wc-block-components-button.is-link { color: var(--pink-deep); }
.wc-page .wc-block-components-checkout-place-order-button { width: 100%; }
.wc-page .wc-block-checkout__actions { padding-top: 6px; }
/* order summary card, like the design's "Order summary" panel */
.wc-page .wp-block-woocommerce-checkout-order-summary-block, .wc-page .wp-block-woocommerce-cart-order-summary-block { background: #fff; border: 2px solid var(--petal); border-radius: 8px; box-shadow: 0 8px 0 rgba(200,40,90,.2); overflow: hidden; padding: 0 0 8px; }
.wc-page .wc-block-components-checkout-order-summary__title, .wc-page .wc-block-cart__totals-title { background: var(--rose-dark); color: #fff; margin: 0; padding: 14px 18px; display: block; }
.wc-page .wc-block-components-checkout-order-summary__title-text, .wc-page .wc-block-cart__totals-title { color: #fff; font-size: 1.2rem; margin: 0; }
.wc-page .wc-block-components-order-summary, .wc-page .wc-block-components-totals-wrapper, .wc-page .wp-block-woocommerce-checkout-order-summary-totals-block, .wc-page .wc-block-components-panel { padding-left: 18px; padding-right: 18px; }
.wc-page .wc-block-components-order-summary-item__image img { border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--pink-soft); }
.wc-page .wc-block-components-order-summary-item__description .wc-block-components-product-metadata__description { display: none; }
.wc-page .wc-block-components-totals-item__label, .wc-page .wc-block-components-totals-item__value { font-weight: 700; }
.wc-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: 'Sniglet', 'Nunito', sans-serif; font-weight: 800; color: var(--rose-dark); font-size: 1.3rem; }
.wc-page .wc-block-components-totals-wrapper { border-color: rgba(200,40,90,.35); border-style: dashed; }
/* the theme's price tag style must not leak into the blocks (it drew boxes around every amount) */
.wc-page .price, .wc-page .wc-block-components-product-price { background: none; border: 0; padding: 0; margin: 0; border-radius: 0; box-shadow: none; color: inherit; font: inherit; align-self: auto; display: inline; }
.wc-page .wc-block-components-product-price__value { font-weight: 800; }
.wc-page .wc-block-components-order-summary-item__individual-prices { display: block; font-size: .9rem; color: var(--muted); }
.wc-page .wc-block-components-order-summary-item__total-price { font-weight: 800; }
.wc-page .wc-block-components-notice-banner { border-radius: 12px; }
/* cart block extras */
.wc-page .wc-block-cart-items { border: 0; }
.wc-page .wc-block-cart-items__header th { font-family: 'Sniglet', 'Nunito', sans-serif; color: var(--rose-dark); }
.wc-page .wc-block-cart-item__image img { border-radius: 12px; }
.wc-page .wc-block-components-quantity-selector { border: 2px dashed var(--pink-deep); border-radius: 999px; background: #fff; }
@media (max-width: 782px) { .wc-page .wc-block-components-checkout-step, .wc-page .wc-block-components-express-payment, .wc-page .wc-block-checkout__payment-method { padding-left: 14px; padding-right: 14px; } }
/* order summary: dashed rules only between rows, not boxes around each */
.wc-page .wc-block-components-totals-wrapper, .wc-page .wc-block-components-panel { border-width: 2px 0 0; border-style: dashed; border-color: rgba(200,40,90,.35); }
.wc-page .wc-block-components-panel { border-style: dashed; }
.wc-page .wc-block-components-order-summary + .wc-block-components-totals-wrapper { border-top-style: dashed; }
.wc-page .wc-block-components-express-payment--checkout .wc-block-components-express-payment__content { border: 0; padding: 0; }

/* ---- Phone and layout fixes (product page, cart, account, custom orders) ---- */
/* product summary: no ruled-paper lines running through the title, price and fields */
.summary .pattern-body { background: #fff; }
.summary .price { align-self: flex-start; display: inline-block; margin: 6px 0 14px; }
/* variation picker ("Color") and quantity + add to cart on one tidy row */
.summary table.variations { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.summary table.variations tr, .summary table.variations th, .summary table.variations td { display: block; width: 100%; padding: 0; text-align: left; }
.summary table.variations th.label { margin-bottom: 6px; }
.summary table.variations label { font-weight: 800; }
.summary table.variations select { width: 100%; max-width: none; min-height: 48px; }
.summary .reset_variations { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; }
.summary form.cart .single_variation_wrap { margin-top: 4px; }
.summary form.cart:not(.variations_form), .summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 6px 0 14px; }
.summary .pick-row { display: flex; flex: 0 0 auto; margin: 0; }
.summary .quantity { display: flex; flex: 0 0 auto; }
.summary .quantity .qty, .summary .pick-row .qty { width: 92px; min-height: 52px; padding: 0 8px; text-align: center; border: 2px dashed var(--pink-deep); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.summary .buy { display: flex; flex: 1 1 180px; margin: 0; }
.summary .single_add_to_cart_button { flex: 1 1 180px; min-height: 52px; justify-content: center; }
.summary .buy .single_add_to_cart_button { width: 100%; }
.summary .single_add_to_cart_button.disabled, .summary .single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; }
.summary .woocommerce-variation-price .price { margin: 0 0 8px; }
.summary .wc-stripe-product-checkout-container, .summary #wc-stripe-payment-request-wrapper { margin: 8px 0 14px; }
/* cart block: one price per line, panel labels not crossed by their own border */
.wc-page .wc-block-cart-item__prices { display: none; }
.wc-page .wc-block-components-panel { padding-top: 6px; padding-bottom: 6px; }
.wc-page .wc-block-components-panel__button { padding-top: 12px; padding-bottom: 12px; }
.wc-page .wc-block-components-totals-coupon { padding-top: 0; }
/* my account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--petal); color: var(--ink); text-decoration: none; font-weight: 800; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--pink-deep); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-content { background: #fff; border: 2px dashed var(--pink-soft); border-radius: 16px; padding: 18px 20px; }
.woocommerce-account .woocommerce form .form-row input.input-text { width: 100%; min-height: 48px; }
/* custom orders without a form plugin: a clear way to reach the shop instead of an empty box */
.custom-fallback p { margin: 0 0 14px; }
.custom-fallback .btn { display: inline-flex; }
/* small phones: nothing may force the page wider than the screen */
html, body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
@media (max-width: 480px) {
	.summary .quantity .qty { width: 80px; }
	.summary .buy, .summary .single_add_to_cart_button { flex-basis: 100%; }
}
/* quantity wrapper must not draw its own box (it shares the theme class "qty" with the input) */
.summary .field.qty, .summary .pick-row .field.qty { border: 0; padding: 0; background: none; box-shadow: none; width: auto; min-height: 0; display: flex; margin: 0; }
/* Woo adds class "alt" to its add-to-cart button; keep it the deep pink primary button */
.summary .single_add_to_cart_button.alt, .summary .single_add_to_cart_button.alt:hover { background: var(--pink-deep); color: #fff; outline-color: rgba(255,255,255,.75); box-shadow: 0 5px 0 var(--rose-dark); }
/* the button always sits on its own full-width row under the quantity (a narrow summary column made them collide on desktop) */
.summary .buy, .summary .single_add_to_cart_button { flex-basis: 100%; width: 100%; }
.summary .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1 1 100%; }
/* custom orders: closed notice and address block */
.custom-closed { max-width: 640px; margin: 0 auto; text-align: center; }
.whco-address .muted { margin: 4px 0 0; }
.custom-form .whco-trap { display: none; }
/* pay-for-order page (quote payment) */
.wc-page table.shop_table { width: 100%; max-width: 680px; margin: 0 auto 18px; border-collapse: collapse; background: #fff; border: 2px dashed var(--pink-soft); border-radius: 16px; overflow: hidden; }
.wc-page table.shop_table th, .wc-page table.shop_table td { padding: 12px 14px; text-align: left; border-bottom: 2px dashed rgba(200,40,90,.25); }
.wc-page table.shop_table tfoot th { font-weight: 800; }
.wc-page table.shop_table tfoot td, .wc-page table.shop_table .product-total { text-align: right; }
.wc-page #order_review #payment, .wc-page .woocommerce-order-pay #payment { max-width: 680px; margin: 0 auto; }
.wc-page #order_review ul.payment_methods { list-style: none; padding: 0; }
.wc-page #order_review #place_order { display: flex; width: 100%; justify-content: center; }
