:root {
  --cream:#faf7f2; --lilac:#c4a8e0; --lilac-mid:#9b7bca; --lilac-deep:#6b4fa0;
  --blush:#e8c4d4; --text:#2a1f35; --muted:#8a7a9a; --border:rgba(196,168,224,0.3);
}
* { margin:0; padding:0; box-sizing:border-box; }
body { background:var(--cream); color:var(--text); font-family:'Lato',sans-serif; font-weight:300; }
.namery-content { background:linear-gradient(160deg,#f8f0ff 0%,#fff5fb 50%,#f0f0ff 100%); }
.hero { background:transparent; width:100%; text-align:center; }
.hero-photo {
  width:100vw;
  max-width:100%;
  height:auto;
  display:block;
  margin-top:-10px;
  position:relative;
  z-index:60;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.96) 6%, #000 14%, #000 86%, rgba(0,0,0,.96) 94%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.96) 6%, #000 14%, #000 86%, rgba(0,0,0,.96) 94%, transparent 100%);
}
.hero-copy { padding:1.1rem 2rem .95rem; }
.hero-logo-wrap { display:none; width:min(460px,84vw); margin:0 auto .6rem; padding:.55rem; }
.hero-logo { width:min(420px,78vw); height:auto; display:block; margin:0 auto; }
.hero-tag { font-size:.65rem; letter-spacing:.35em; text-transform:uppercase; color:var(--lilac-mid); margin-bottom:.75rem; }
.hero-brand { font-family:'Cookie',cursive; font-size:clamp(5.1rem,9vw,5rem); line-height:1; color:var(--lilac); margin:0 0 .35rem; }
.hero h1 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,4.8vw,2.8rem); font-weight:400; line-height:1.15; margin-bottom:.45rem; }
.hero h1 em { font-style:italic; color:var(--lilac-deep); }
.hero .strapline { font-size:1.05rem; color:var(--muted); margin-bottom:0; letter-spacing:.04em; }
.order { max-width:680px; margin:-.55rem auto 0; padding:1.8rem 1.5rem 5rem; }
.section-label { font-size:.62rem; letter-spacing:.3em; text-transform:uppercase; color:var(--lilac-mid); margin-bottom:1.8rem; display:flex; align-items:center; gap:.8rem; }
.section-label::after { content:''; flex:1; height:1px; background:var(--border); }
.card { background:white; border:1px solid var(--border); border-radius:16px; padding:2.2rem; box-shadow:0 6px 32px rgba(155,123,202,.07); }
.card-title { font-family:'Playfair Display',serif; font-size:1.22rem; line-height:1.15; color:var(--text); margin-bottom:.35rem; }
.card-accent { display:block; font-size:.9rem; line-height:1.6; color:var(--muted); margin-bottom:1rem; }
.preview { background:transparent; border-radius:12px; margin-bottom:2rem; overflow:hidden; height:260px; position:relative; }
.preview canvas { display:block; width:100% !important; height:100% !important; }
.preview-hint { position:absolute; bottom:.6rem; right:.8rem; font-size:.58rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(196,168,224,.35); pointer-events:none; }
.field { margin-bottom:1.2rem; }
.field-row { display:grid; grid-template-columns:2fr 1fr; gap:.8rem; }
label { display:block; font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:.4rem; }
input[type=text], input[type=email] { width:100%; border:1.5px solid var(--border); border-radius:8px; padding:.75rem .9rem; font-family:'Lato',sans-serif; font-size:1rem; color:var(--text); background:#fdfbff; outline:none; transition:border-color .2s,box-shadow .2s; }
input:focus { border-color:var(--lilac-mid); box-shadow:0 0 0 3px rgba(155,123,202,.1); }
.size-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:.6rem; }
.size-radio { display:none; }
.size-radio + label { display:block; text-align:center; padding:.8rem .4rem; border:1.5px solid var(--border); border-radius:10px; cursor:pointer; transition:all .15s; background:white; text-transform:none; letter-spacing:0; }
.size-radio + label .sz { display:block; font-family:'Playfair Display',serif; font-size:1.3rem; color:var(--text); font-weight:400; margin-bottom:.2rem; }
.size-radio + label .sz-mm { display:block; font-size:.72rem; color:var(--muted); margin-bottom:.3rem; }
.size-radio + label .sz-price { display:block; font-size:.9rem; font-weight:700; color:var(--lilac-deep); }
.size-radio:checked + label { border-color:var(--lilac-mid); background:#f8f0ff; box-shadow:0 0 0 3px rgba(155,123,202,.1); }
.font-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.6rem; }
.font-radio { display:none; }
.font-radio + label { display:block; text-align:center; padding:.65rem .4rem; border:1.5px solid var(--border); border-radius:10px; cursor:pointer; transition:all .15s; background:white; text-transform:none; letter-spacing:0; font-size:.82rem; color:var(--muted); }
.font-radio:checked + label { border-color:var(--lilac-mid); background:#f8f0ff; box-shadow:0 0 0 3px rgba(155,123,202,.1); color:var(--text); }
.colour-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:.5rem; }
.colour-radio { display:none; }
.colour-radio + label { display:flex; flex-direction:column; align-items:center; gap:.3rem; padding:.5rem .2rem; border:1.5px solid var(--border); border-radius:8px; cursor:pointer; font-size:.6rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); transition:all .15s; background:white; }
.colour-radio:checked + label { border-color:var(--lilac-mid); background:#f8f0ff; }
.swatch { width:24px; height:24px; border-radius:50%; border:2px solid rgba(0,0,0,.07); }
.divider { border:none; border-top:1px solid var(--border); margin:1.4rem 0; }
.cart-box { border:1.5px solid var(--border); border-radius:10px; padding:.9rem; background:#fff; margin-bottom:1.2rem; }
.cart-head { display:flex; align-items:center; justify-content:space-between; gap:.6rem; margin-bottom:.55rem; }
.cart-title { font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }
.cart-items { display:grid; gap:.45rem; margin-bottom:.6rem; }
.cart-empty { font-size:.78rem; color:var(--muted); }
.cart-item { display:flex; align-items:center; justify-content:space-between; gap:.6rem; border:1px solid var(--border); border-radius:8px; padding:.45rem .55rem; background:#fcfbff; }
.cart-item-main { min-width:0; }
.cart-item-name { font-size:.86rem; color:var(--text); line-height:1.25; }
.cart-item-meta { font-size:.7rem; color:var(--muted); margin-top:.12rem; }
.cart-remove { border:1px solid var(--border); background:#fff; color:var(--muted); border-radius:6px; padding:.3rem .55rem; font-size:.68rem; cursor:pointer; }
.cart-remove:hover { border-color:#d48c9f; color:#b85f75; }
.cart-add-btn { width:100%; padding:.75rem; border:1.5px dashed rgba(107,79,160,.45); border-radius:10px; background:#fff; color:var(--lilac-deep); font-family:'Lato',sans-serif; font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; cursor:pointer; transition:all .2s; }
.cart-add-btn:hover { background:#f8f0ff; border-color:var(--lilac-mid); }
.cart-add-btn:disabled { opacity:.55; cursor:not-allowed; }
.cart-add-btn { display:block; visibility:visible; }
.purchase-cta-row { margin: 0 0 1.1rem; }
.basket-panel {
  margin-top: 1rem;
  border: 1px solid rgba(125, 142, 170, 0.18);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: center;
}
.basket-panel-inner {
  margin-top: 0;
  padding: .9rem;
}
.basket-panel .card-accent,
.basket-panel .crestery-summary-line,
.basket-panel .groundery-summary-line,
.basket-panel .lumery-upload-required {
  text-align: center;
}
.purchase-cta-row {
  display: flex;
  justify-content: center;
}
.basket-action-btn {
  width: 100%;
  min-height: 52px;
  padding: .95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(120, 142, 176, 0.26);
  background: linear-gradient(135deg, rgba(36,88,209,.92), rgba(28,135,82,.92));
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, border-color .2s ease;
  box-shadow: 0 10px 24px rgba(8, 16, 28, .2);
}
.basket-action-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(8, 16, 28, .24);
}
.basket-action-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.basket-note {
  text-align: center;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: .8rem;
}
body.lumery .basket-panel,
html.product-lumery .basket-panel {
  border-color: rgba(255, 204, 102, 0.18);
  background: linear-gradient(180deg, rgba(255,204,102,0.08), rgba(0,0,0,.14));
}
body.groundery .basket-panel,
html.product-groundery .basket-panel,
body.crestery .basket-panel,
html.product-crestery .basket-panel,
body.piecery .basket-panel,
html.product-piecery .basket-panel {
  border-color: rgba(120, 142, 176, 0.22);
}
body.piecery .basket-panel,
html.product-piecery .basket-panel {
  background: linear-gradient(180deg, rgba(94,171,122,.08), rgba(255,255,255,.03));
}
body.crestery .basket-panel,
html.product-crestery .basket-panel {
  background: linear-gradient(180deg, rgba(36,88,209,.08), rgba(255,255,255,.03));
}
body.groundery .basket-panel,
html.product-groundery .basket-panel {
  background: linear-gradient(180deg, rgba(139,180,255,.08), rgba(255,255,255,.03));
}
.price-row {
  margin-bottom:1.2rem;
  text-align:center;
  padding:1rem 1.05rem;
  border-radius:12px;
  border:1px solid rgba(124,102,82,.12);
  background:#f8f3eb;
  display:grid;
  justify-items:center;
  gap:.15rem;
}
.price-main {
  font-family:'Playfair Display',serif;
  font-size:2rem;
  line-height:1;
  color:var(--text);
}
.price-main span { font-size:1rem; color:var(--muted); }
.price-note {
  font-size:.72rem;
  line-height:1.4;
  color:var(--muted);
  margin-top:.2rem;
}
.storefront-gallery-section {
  width:min(1120px,calc(100% - 2rem));
  margin:1.2rem auto 0;
}
.storefront-gallery-card {
  background:rgba(255,255,255,.82);
  border:1px solid rgba(121,101,152,.14);
  border-radius:28px;
  padding:1.1rem;
  box-shadow:0 16px 40px rgba(64,42,95,.08);
}
.storefront-gallery-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:1rem;
  margin-bottom:.85rem;
}
.storefront-gallery-head h2 {
  font-size:1.15rem;
  letter-spacing:.04em;
}
.storefront-gallery-head p {
  color:var(--muted);
  font-size:.92rem;
}
.storefront-gallery-track {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(180px,24%);
  gap:.85rem;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  padding-bottom:.2rem;
}
.storefront-gallery-track::-webkit-scrollbar { height:8px; }
.storefront-gallery-tile {
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
  text-align:left;
}
.storefront-gallery-image {
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:18px;
  display:block;
  box-shadow:0 10px 22px rgba(45,28,67,.12);
}
.storefront-gallery-caption {
  display:block;
  font-size:.8rem;
  color:var(--muted);
  margin-top:.45rem;
}
.storefront-gallery-modal {
  position:fixed;
  inset:0;
  z-index:1600;
  background:rgba(12,10,18,.78);
  display:grid;
  place-items:center;
  padding:1rem;
}
.storefront-gallery-modal[hidden] { display:none; }
.storefront-gallery-modal-frame {
  position:relative;
  width:min(900px,100%);
}
.storefront-gallery-modal-image {
  width:100%;
  max-height:84vh;
  object-fit:contain;
  border-radius:22px;
  background:#fff;
}
.storefront-gallery-modal-close {
  position:absolute;
  top:.8rem;
  right:.8rem;
  border:0;
  border-radius:999px;
  padding:.55rem .8rem;
  background:rgba(12,10,18,.78);
  color:#fff;
  cursor:pointer;
}
.price-main,
.basket-review-total,
.groundery-price-main,
.lumery-total,
.piecery-content .piecery-order-summary-price,
.crestery-price {
  font-family: 'Playfair Display', serif;
}
.name-err { display:none; font-size:.72rem; color:#a34343; margin-top:.35rem; }
.discount-hint { font-size:.72rem; color:var(--muted); margin-top:.35rem; min-height:1.1em; }
.discount-hint.ok { color:#2f7b4e; }
.discount-hint.err { color:#a34343; }
.buy-btn { width:100%; padding:1.1rem; border:none; border-radius:10px; background:linear-gradient(135deg,var(--lilac-mid),var(--lilac-deep)); color:white; font-family:'Lato',sans-serif; font-size:.9rem; font-weight:400; letter-spacing:.2em; text-transform:uppercase; cursor:pointer; transition:all .2s; box-shadow:0 4px 20px rgba(107,79,160,.28); }
.buy-btn:hover { transform:translateY(-1px); box-shadow:0 6px 28px rgba(107,79,160,.38); }
.buy-btn:disabled { opacity:.5; cursor:not-allowed; transform:none; }
.secure-note { text-align:center; font-size:.7rem; color:var(--muted); margin-top:.8rem; }
.err { background:#fff5f5; border:1px solid #fca5a5; border-radius:8px; padding:.8rem 1rem; font-size:.82rem; color:#991b1b; margin-top:1rem; display:none; }
.how { background:white; padding:3.5rem 2rem; border-top:1px solid var(--border); }
.how-inner { max-width:720px; margin:0 auto; }
.how h2 {
  font-family:'Playfair Display',serif;
  font-size:1.6rem;
  font-weight:400;
  text-align:center;
  margin-bottom:.7rem;
  line-height:1.08;
}
.how-sub {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 32rem;
}
.steps,
.how-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.step,
.how-step { text-align:center; }
.step-n,
.how-step-n { width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,var(--lilac),var(--blush)); color:white; font-family:'Playfair Display',serif; font-size:1rem; display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; }
.step h3,
.how-step h3 { font-size:.85rem; font-weight:400; margin-bottom:.4rem; }
.step p,
.how-step p { font-size:.8rem; color:var(--muted); line-height:1.6; }
.groundery {
  padding: 0.25rem 0 4rem;
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.15), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(255,255,255,.1), transparent 18%),
    linear-gradient(135deg, #8e1128 0%, #5e1830 30%, #2f234d 64%, #163f92 100%);
  border-top: 0;
}
.groundery-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  align-items: stretch;
  justify-items: center;
}
.groundery-copy {
  display: grid;
  align-content: start;
  gap: .75rem;
  text-align: center;
  width: 100%;
  max-width: 980px;
}
.groundery-kicker,
.groundery-rollout-label {
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.groundery-kicker { margin-bottom: .85rem; }
.groundery-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 400;
  max-width: 13ch;
  margin-bottom: 1rem;
  color: #fff;
}
.groundery-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.84);
  max-width: 46ch;
  margin-bottom: 1.4rem;
}
.groundery-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .95rem;
  margin-bottom: 0;
  justify-items: center;
}
.groundery-point {
  padding: 1.05rem 1.05rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(8,12,28,.2));
  box-shadow: 0 16px 34px rgba(4,8,20,.18);
  backdrop-filter: blur(12px);
}
.groundery-point-title {
  display: block;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--groundery-secondary) 34%, white);
  margin-bottom: .25rem;
  text-align: center;
}
.groundery-point p {
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(255,255,255,.68);
  text-align: center;
}
.groundery-sale-panel {
  display: grid;
  gap: 1rem;
  margin-top: 0;
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(8,12,28,.34), rgba(8,12,28,.2));
  box-shadow: 0 24px 56px rgba(4,8,20,.22);
  backdrop-filter: blur(12px);
  grid-column: 1 / -1;
  text-align: center;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  justify-items: center;
}
.groundery-division-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: -.1rem 0;
}
.groundery-filter-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(6,12,22,.52);
  color: rgba(245,247,255,.82);
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  min-height: 36px;
  padding: .65rem .78rem;
  text-transform: uppercase;
}
.groundery-filter-btn:hover,
.groundery-filter-btn.active,
.groundery-filter-btn[aria-pressed="true"] {
  background: #f5f7ff;
  border-color: #f5f7ff;
  color: #0a1220;
}
.groundery-filter-btn:disabled {
  cursor: not-allowed;
  opacity: .42;
}
.groundery-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  justify-items: center;
}
.groundery-summary {
  margin-bottom: 1rem;
}
.groundery-price-main {
  text-align: center;
}
.groundery-summary .groundery-summary-line {
  margin-bottom: .1rem;
  color: #11131a;
}
.groundery-summary-line {
  font-size: .84rem;
  line-height: 1.5;
  color: rgba(255,255,255,.74);
  margin-bottom: .75rem;
  text-align: center;
}
.groundery-summary-delivery {
  color: rgba(255,255,255,.74);
}
.groundery-discount-wrap {
  display: grid;
  gap: .35rem;
  width: 100%;
  max-width: none;
}
.groundery-club-picker {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  width: 100%;
}
.groundery-picker-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--groundery-secondary) 28%, white);
  text-align: left;
  flex: 0 0 4.9rem;
  margin: 0;
}
.groundery-order-title {
  margin: 0;
  display: none;
}
.groundery-club-select {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(6,12,22,.82), rgba(10,18,32,.94));
  color: #f5f7ff;
  padding: .95rem 1rem;
  min-height: 52px;
  line-height: 1.2;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  text-align: center;
}
.groundery-size-select {
  display: none;
}
.groundery-size-picker {
  flex-direction: column;
  align-items: center;
}
.groundery-size-picker .groundery-picker-label {
  flex: none;
  text-align: center;
  margin-bottom: .2rem;
}
.groundery-size-options {
  display: flex;
  gap: .45rem;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.groundery-format-options {
  display: flex;
  gap: .45rem;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.groundery-size-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(6,12,22,.52);
  color: rgba(245,247,255,.84);
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  min-height: 36px;
  padding: .65rem .95rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.groundery-size-btn:hover,
.groundery-size-btn.active,
.groundery-size-btn[aria-pressed="true"] {
  background: #f5f7ff;
  border-color: #f5f7ff;
  color: #0a1220;
}
.groundery-format-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(6,12,22,.32);
  color: rgba(245,247,255,.82);
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  min-height: 36px;
  padding: .65rem .95rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.groundery-format-btn:hover,
.groundery-format-btn.active,
.groundery-format-btn[aria-pressed="true"] {
  background: #f5f7ff;
  border-color: #f5f7ff;
  color: #0a1220;
}
.groundery-division-select {
  display: none;
}
.groundery-hidden-select {
  display: none !important;
}
select.groundery-club-select {
  height: 52px;
}
.groundery-club-select option,
.groundery-club-select optgroup {
  background-color: #0a1220;
  color: #f5f7ff;
}
.groundery-club-select option:checked,
.groundery-club-select option:hover {
  background-color: #163f92;
  color: #ffffff;
}
.groundery-club-select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--groundery-secondary) 62%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--groundery-secondary) 16%, transparent);
}
.groundery-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.25rem;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
}
.groundery-btn:hover {
  transform: translateY(-1px);
}
.groundery-btn:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
}
.groundery-btn-primary {
  background: linear-gradient(135deg, #ffffff, #dfe9ff);
  color: #12295d;
  box-shadow: 0 10px 28px rgba(6,12,30,.24);
}
#grounderyDiscountInput::placeholder {
  color: rgba(245,247,255,.62);
  text-transform: uppercase;
  letter-spacing: .18em;
}
#grounderyDiscountInput {
  background: transparent;
  color: #fff;
}
.groundery-btn-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(8,12,28,.16);
}
.groundery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0 0 1rem;
}
.groundery-actions .groundery-btn {
  flex: 1 1 180px;
  margin: 0;
}
.groundery-gallery-btn {
  margin: 0 0 1rem;
  width: fit-content;
}
.groundery-gallery {
  display: none;
}
.groundery-preview-inline {
  width: 100%;
  max-width: 760px;
  justify-self: center;
}
.groundery-preview-block {
  display: grid;
  gap: .35rem;
  width: 100%;
  max-width: 760px;
  justify-self: center;
}
.groundery-price-box {
  display: grid;
  gap: .7rem;
  padding: .95rem 1rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(8,12,28,.26), rgba(8,12,28,.16));
  box-shadow: 0 16px 34px rgba(4,8,20,.16);
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  justify-items: center;
  scroll-margin-top: 62px;
}
.groundery-price-box-head {
  display: grid;
  justify-items: center;
  margin-bottom: -.15rem;
}
.groundery-price-box-kicker {
  font-size: .82rem;
  line-height: 1.1;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.groundery-shot {
  position: relative;
  min-height: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  width: auto;
  height: auto;
  justify-self: center;
  align-self: start;
}
.groundery-preview-open {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  width: auto;
  height: auto;
  cursor: zoom-in;
  display: block;
  line-height: 0;
}
.groundery-preview-stage {
  position: relative;
  isolation: isolate;
  display: block;
  width: min(100%, 760px);
  max-width: 100%;
  height: auto;
  padding: 6px;
  background: #0a0d12;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  line-height: 0;
  font-size: 0;
  margin: 0 auto;
}
.groundery-preview-stage::before {
  content: 'Groundery sample Groundery sample Groundery sample';
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.68rem, 1.5vw, .98rem);
  font-weight: 800;
  letter-spacing: .34em;
  line-height: 1.7;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255,255,255,.18);
  text-shadow:
    0 1px 10px rgba(0,0,0,.35),
    0 0 2px rgba(0,0,0,.26);
  opacity: .9;
  pointer-events: none;
  transform: rotate(-18deg) scale(1.04);
}
.groundery-shot::after {
  display: none;
}
.groundery-shot img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(100%, 760px);
  height: auto;
  min-height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.groundery-shot img[src=""] {
  display: none;
}
.groundery-shot-feature {
  min-height: auto;
  width: 100%;
  max-width: 760px;
  margin: 0;
  justify-self: center;
}
.groundery-shot-feature img {
  min-height: auto;
}
.groundery-shot figcaption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  padding: .9rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--groundery-primary) 26%, rgba(8,12,28,.88)) 0%, color-mix(in srgb, var(--groundery-secondary) 28%, rgba(8,12,28,.88)) 100%);
  backdrop-filter: blur(8px);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}
.groundery-watermark {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='100'%3E%3Ctext x='100' y='50' text-anchor='middle' dominant-baseline='middle' font-family='sans-serif' font-size='14' font-weight='700' letter-spacing='6' fill='%23aaa' opacity='0.72' transform='rotate(-30 100 50)'%3EGROUNDERY%3C%2Ftext%3E%3C%2Fsvg%3E");
  background-repeat: repeat;
  background-size: 200px 100px;
}
.groundery-watermark::before,
.groundery-watermark::after {
  content: none;
}
.groundery-checkout-msg {
  min-height: 1.2rem;
  font-size: .8rem;
  color: rgba(255,255,255,.76);
  text-align: center;
}
.groundery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1700;
  background: rgba(4, 8, 18, .92);
  display: grid;
  place-items: center;
  padding: 4.5rem 1.5rem 1.5rem;
}
.groundery-lightbox[hidden] {
  display: none !important;
}
.groundery-lightbox-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(92vw, 1100px);
  max-height: 84vh;
}
.groundery-lightbox-image {
  max-width: 100%;
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  background: #f3f0e8;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}
.groundery-watermark-lightbox {
}
.groundery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  appearance: none;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(10,18,34,.75);
  color: #f5f8ff;
  border-radius: 999px;
  padding: .8rem 1.1rem;
  font: inherit;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.groundery-gallery-modal-frame {
  position: relative;
  width: min(94vw, 1100px);
  padding: 0 4.75rem;
}
.groundery-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0;
  scrollbar-width: thin;
}
.groundery-gallery-slide {
  width: 100%;
  min-width: 0;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}
.groundery-gallery-modal-image {
  width: auto;
  max-height: 84vh;
  max-width: 100%;
  object-fit: contain;
  display: block;
  background: #f3f0e8;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.groundery-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  appearance: none;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(10,18,34,.75);
  color: #f5f8ff;
  border-radius: 999px;
  padding: .8rem 1rem;
  font: inherit;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.groundery-gallery-nav-prev {
  left: .9rem;
}
.groundery-gallery-nav-next {
  right: .9rem;
}
.groundery-rollout {
  max-width: 1160px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1rem;
}
.groundery-rollout-card,
.groundery-rollout-item {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,12,28,.22);
  box-shadow: 0 16px 34px rgba(4,8,20,.18);
  backdrop-filter: blur(10px);
}
.groundery-rollout-card {
  padding: 1.5rem;
}
.groundery-rollout-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.15;
  margin: .55rem 0 .8rem;
}
.groundery-rollout-card p {
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(255,255,255,.74);
}
.groundery-rollout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.groundery-rollout-item {
  padding: 1.3rem 1.1rem 1.15rem;
}
.groundery-rollout-step {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #dbe4ff);
  color: #143072;
  font-family: 'Playfair Display', serif;
  margin-bottom: .9rem;
}
.groundery-rollout-item strong {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: .45rem;
  color: #fff;
}
.groundery-rollout-item p {
  font-size: .84rem;
  line-height: 1.62;
  color: rgba(255,255,255,.68);
}
.site-footer {
  text-align: center;
  padding: 0 0 1rem;
}
.site-footer-link {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.site-footer-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  opacity: .9;
}
.site-footer-text {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer-link:hover .site-footer-logo {
  opacity: 1;
}
@media(max-width:560px) {
  .steps,
  .how-steps { grid-template-columns:1fr; }
  .colour-grid { grid-template-columns:repeat(4,1fr); }
  .card { padding:1.5rem; text-align:center; }
  .field-row { grid-template-columns:1fr; }
  .field, .field-row > div, label { text-align:center; }
  input[type=text], input[type=email] { text-align:center; }
  .price-row { text-align:center; }
  .storefront-gallery-track { grid-auto-columns:minmax(220px,78%); }
  .storefront-gallery-head { display:block; }
  .storefront-gallery-head p { margin-top:.35rem; }
  .cart-head { justify-content:center; }
  .cart-item { flex-direction:column; align-items:center; text-align:center; }
  .cart-item-main { text-align:center; }
  .groundery { padding: 2.4rem 0 2.1rem; }
  .groundery-page {
    padding-top: 0;
    margin-top: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 5.4rem;
  }
  .groundery-hero { padding: 0 .85rem; margin-bottom: .7rem; }
  .groundery-price-box .groundery-hero {
    padding: 0;
    width: 100%;
    margin-bottom: .45rem;
  }
  .groundery-price-box .groundery-card-intro {
    max-width: 100%;
    padding: 0;
  }
  .groundery-hero-logo { width: min(122px, 39vw); margin-bottom: .55rem; }
  .groundery-us-rosette {
    top: -.1rem;
    right: -.35rem;
    width: 84px;
  }
  .groundery-us-rosette span {
    font-size: .46rem;
  }
  .groundery-us-rosette strong {
    font-size: .53rem;
  }
  .groundery-hero-sub { display: none; }
  .groundery-card-intro { font-size: .94rem; margin-bottom: 0; }
  .groundery-copy h2 { max-width: none; }
  .groundery-lead { font-size: .94rem; }
  .groundery-points {
    grid-template-columns: 1fr;
  }
  .groundery-sale-panel {
    margin-top: 0;
    padding: .85rem;
    gap: .6rem;
    border-radius: 18px;
    max-width: 100%;
  }
  .groundery-gallery-hero {
    margin-bottom: .25rem;
  }
  .groundery-gallery-carousel-wrap {
    max-width: 100%;
    margin-inline: auto;
    border-radius: 12px;
  }
  .groundery-gallery-hero .storefront-gallery-image {
    aspect-ratio: 3 / 4;
  }
  .groundery-sale-panel .card-title {
    margin-bottom: 0;
  }
  .groundery-sale-panel .card-accent {
    margin-bottom: .2rem;
  }
  .groundery-division-filters {
    display: none;
  }
  .groundery-division-select {
    display: block;
  }
  .groundery-config-grid { grid-template-columns: 1fr; }
  .groundery-club-picker {
    gap: .45rem;
  }
  .groundery-picker-label {
    flex-basis: 4.4rem;
    font-size: .64rem;
    letter-spacing: .12em;
  }
  .groundery-club-select {
    min-height: 46px;
  }
.groundery-size-options {
  gap: .35rem;
}
.groundery-size-btn {
  min-height: 34px;
  padding: .58rem .75rem;
  font-size: .64rem;
  letter-spacing: .14em;
}
  .groundery-price-box {
    padding: .72rem .8rem .8rem;
    gap: .42rem;
    max-width: 100%;
    justify-items: stretch;
  }
  .groundery-pricebox-preview {
    gap: .28rem;
  }
  .groundery-price-box-kicker {
    font-size: .74rem;
    letter-spacing: .16em;
  }
.groundery-request-btn {
  justify-self: center;
  width: fit-content;
  min-height: 32px;
  padding: .42rem .8rem;
  font-size: .6rem;
  letter-spacing: .16em;
  margin-top: .05rem;
  margin-inline: auto;
}
  .groundery-summary-line {
    margin-bottom: .35rem;
  }
  .groundery-summary .groundery-summary-line {
    margin-bottom: .05rem;
    color: #11131a;
  }
  .groundery-summary {
    gap: .1rem;
    padding: .85rem .9rem;
  }
  .groundery-price-main {
    font-size: 1.75rem;
  }
  .groundery-summary .price-note {
    margin-top: 0;
  }
  .groundery-btn { width: 100%; }
  .groundery-request-btn {
    width: fit-content;
  }
  .groundery-shot-feature { min-height: auto; }
  .groundery-shot img { width: auto; max-width: 100%; margin: 0 auto; }
  .groundery-shot figcaption { left: .75rem; right: .75rem; bottom: .75rem; }
  .groundery-actions {
    gap: .5rem;
  }
  .groundery-actions .groundery-btn {
    flex-basis: 100%;
  }
  .groundery-gallery-btn { width: 100%; }
  .groundery-gallery-nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .groundery-gallery-nav-prev { left: .25rem; }
  .groundery-gallery-nav-next { right: .25rem; }
  .groundery-gallery-modal-frame {
    padding: 0 2.6rem;
  }
  .groundery-carousel-strip {
    width: 100vw;
    max-width: 100vw;
    margin: .1rem calc(50% - 50vw) -.6rem;
    border-radius: 0;
  }
  .groundery-carousel-strip .crestery-carousel-track {
    padding: .55rem .15rem .45rem;
    scroll-padding-inline: .15rem;
  }
  .groundery-carousel-strip .groundery-set {
    gap: .5rem;
    padding-right: .5rem;
  }
  .groundery-carousel-strip .crestery-carousel-slide {
    flex-basis: clamp(92px, 26vw, 150px);
  }
  .groundery-carousel-strip .crestery-carousel-image {
    max-height: 176px;
  }
}
@media(max-width:920px) {
  .groundery-shell,
  .groundery-rollout {
    grid-template-columns: 1fr;
  }
  .groundery-gallery {
    grid-template-columns: 1fr;
  }
  .groundery-shot-feature { min-height: auto; width: 100%; }
  .groundery-rollout-grid {
    grid-template-columns: 1fr;
  }
  .groundery-gallery-modal-frame {
    padding: 0 3.5rem;
  }
}

@media (min-width: 1100px) {
  .groundery-page {
    max-width: 1320px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .groundery-shell {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-items: center;
    gap: 1.65rem;
  }

  .groundery-copy {
    max-width: 980px;
    text-align: center;
  }

  .groundery-sale-panel {
    max-width: 860px;
  }

  .groundery-price-box {
    max-width: 100%;
  }

  .groundery-price-box .groundery-card-intro {
    max-width: 42rem;
  }

  .groundery-points {
    align-self: center;
    margin-top: .25rem;
    max-width: 760px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .groundery-point {
    width: 100%;
  }
}

/* ══════════════════════════════════════════
   LUMERY — additive styles only
   Do not modify anything above this line
══════════════════════════════════════════ */

:root {
  --lum-bg:      #0a0806;
  --lum-surface: #130f0a;
  --lum-ink:     #f5f0e8;
  --lum-muted:   #8a7f72;
  --lum-glow:    #ffcc66;
  --lum-border:  rgba(255,204,102,0.2);
  --groundery-primary: #a3122a;
  --groundery-secondary: #163f92;
}

/* Flash overlay */
.flash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  background: #0a0806;
  transition: opacity 0.15s ease;
}
.flash-overlay.to-light { background: #f7f4ef; }
.flash-overlay.active   { opacity: 1; }

/* ── Product switcher ── */
.brand-switcher {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .9rem;
  background: #f5f3ef;
  border-bottom: 1px solid rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  padding: 8px 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.lumery .brand-switcher { background: #141008; border-bottom-color: rgba(255,204,102,.12); }
body.piecery .brand-switcher { background: #e8f4eb; border-bottom-color: rgba(74,124,89,.12); }
body.groundery .brand-switcher {
  background: linear-gradient(90deg, color-mix(in srgb, var(--groundery-primary) 78%, black) 0%, rgba(74,33,84,.92) 48%, color-mix(in srgb, var(--groundery-secondary) 78%, black) 100%);
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 10px 30px rgba(8,10,22,.18);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 120;
}
body.leavery .brand-switcher {
  background: linear-gradient(90deg, #f0f6ea 0%, #edf3e8 48%, #f8faf4 100%);
  border-bottom-color: rgba(85,114,70,.14);
}
html.product-piecery .brand-switcher { background: #e8f4eb; border-bottom-color: rgba(74,124,89,.12); }
html.product-groundery .brand-switcher {
  background: linear-gradient(90deg, color-mix(in srgb, var(--groundery-primary) 78%, black) 0%, rgba(74,33,84,.92) 48%, color-mix(in srgb, var(--groundery-secondary) 78%, black) 100%);
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 10px 30px rgba(8,10,22,.18);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 120;
}
html.product-leavery .brand-switcher {
  background: linear-gradient(90deg, #f0f6ea 0%, #edf3e8 48%, #f8faf4 100%);
  border-bottom-color: rgba(85,114,70,.14);
}

.gang-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2px 6px;
  border: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  min-width: 0;
  user-select: none;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  color: inherit;
}
.gang-link { text-decoration: none; }

.gang-logo {
  height: 18px;
  width: auto;
  max-width: 42px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.gang-switch.active .gang-logo,
.gang-switch.active .gang-logo { opacity: 1; }

.gang-logo-placeholder {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(246,238,225,.86), rgba(226,210,184,.9));
  border: 1px solid rgba(120,92,52,.22);
  color: #7d603f;
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.basket-chip {
  position: fixed;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  inset: auto 0 0 0;
  transform: none;
  display: flex !important;
  visibility: visible;
  opacity: 1;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-top: 1px solid rgba(0,0,0,.14);
  border-radius: 0;
  background: rgba(255,255,255,.92);
  color: #4b433b;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  z-index: 1600;
  box-shadow: 0 -10px 30px rgba(8, 12, 20, .14);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

body,
html {
  padding-bottom: max(72px, calc(72px + env(safe-area-inset-bottom, 0px)));
}

.basket-chip:hover {
  background: rgba(255,255,255,.98);
}

.basket-chip.has-items {
  box-shadow: 0 -12px 34px rgba(8, 12, 20, .18);
}

.basket-chip.is-disabled {
  opacity: .7;
}

.basket-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.basket-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.basket-copy {
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.basket-cta {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}

.basket-count {
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 .28rem;
  border-radius: 999px;
  background: #6b4fa0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
}

/* Labels */
.gang-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.3s ease;
  font-family: 'Lato', sans-serif;
  line-height: 1;
}

/* Product accent colours when active */
#gang-namery.active .gang-label  { color: #b8924a; }
#gang-lumery.active  .gang-label { color: var(--lum-glow); }
#gang-piecery.active .gang-label { color: #5eab7a; }
#gang-groundery.active .gang-label { color: #f4f7ff; }
#gang-placery.active .gang-label { color: #6a5a44; }
#gang-leavery.active .gang-label { color: #557246; }
#gang-crestery.active .gang-label { color: #8b5c2d; }

#gang-namery.active  { border-bottom-color: #b8924a; }
#gang-lumery.active  { border-bottom-color: var(--lum-glow); }
#gang-piecery.active { border-bottom-color: #5eab7a; }
#gang-groundery.active {
  border-bottom-color: #8bb4ff;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border-radius: 10px 10px 0 0;
}
#gang-placery.active {
  border-bottom-color: #c9ab73;
}
#gang-leavery.active { border-bottom-color: #557246; }
#gang-crestery.active { border-bottom-color: #8b5c2d; }

/* Logo glows when active */
#gang-namery.active  .gang-logo { filter: drop-shadow(0 2px 5px rgba(42,31,53,.22)); }
#gang-lumery.active  .gang-logo { filter: drop-shadow(0 0 7px rgba(255,204,102,.35)); }
#gang-groundery.active .gang-logo { filter: drop-shadow(0 0 9px rgba(139,180,255,.4)); }
#gang-placery.active .gang-logo { filter: drop-shadow(0 0 10px rgba(201,171,115,.35)); }
#gang-leavery.active .gang-logo { filter: drop-shadow(0 0 10px rgba(85,114,70,.24)); }
#gang-crestery.active .gang-logo { filter: drop-shadow(0 2px 5px rgba(139,92,45,.2)); }

#gang-crestery .gang-logo {
  max-width: 42px;
  height: 18px;
}

body.groundery .gang-switch .gang-label,
html.product-groundery .gang-switch .gang-label {
  color: rgba(255,255,255,.74);
}

body.groundery .gang-switch .gang-logo,
html.product-groundery .gang-switch .gang-logo {
  opacity: .82;
}

body.lumery .basket-chip,
html.product-lumery .basket-chip,
body.groundery .basket-chip,
html.product-groundery .basket-chip,
body.crestery .basket-chip,
html.product-crestery .basket-chip {
  background: rgba(11,19,29,.8);
  border-color: rgba(255,255,255,.14);
  color: rgba(245,247,255,.92);
}

body.lumery .basket-chip:hover,
html.product-lumery .basket-chip:hover,
body.groundery .basket-chip:hover,
html.product-groundery .basket-chip:hover,
body.crestery .basket-chip:hover,
html.product-crestery .basket-chip:hover {
  background: rgba(11,19,29,.94);
}

body.lumery .basket-count,
html.product-lumery .basket-count { background: #f4d096; color: #201408; }

body.groundery .basket-count,
html.product-groundery .basket-count { background: #8bb4ff; color: #09121f; }

body.crestery .basket-count,
html.product-crestery .basket-count { background: #2458d1; color: #fff; }

.crestery-secure-note {
  margin-top: 1rem;
}

@media (max-width: 700px) {
  .basket-chip {
    padding: .78rem .82rem calc(.82rem + env(safe-area-inset-bottom, 0px));
    gap: .42rem;
  }

  .basket-copy { display: inline; }
}

/* Flash overlay Piecery variant */
.flash-overlay.to-green { background: #e8f4eb; }

/* Hide/show content */
.namery-content,
.groundery-content,
.placery-content,
.lumery-content,
.piecery-content,
.crestery-content {
  display: none !important;
}

body:not(.lumery):not(.piecery):not(.crestery):not(.groundery):not(.placery) .namery-content { display: block !important; }
body.groundery .groundery-content { display: block !important; padding-top: 66px; }
body.placery .placery-content { display: block !important; }
body.lumery .lumery-content { display: block !important; }
body.piecery .piecery-content { display: block !important; }
body.crestery .crestery-content { display: block !important; }
html.product-groundery .groundery-content { display: block !important; padding-top: 66px; }
html.product-placery .placery-content { display: block !important; }
html.product-lumery .lumery-content { display: block !important; }
html.product-piecery .piecery-content { display: block !important; }
html.product-crestery .crestery-content { display: block !important; }

body.groundery .namery-content,
body.lumery .namery-content,
body.piecery .namery-content,
body.crestery .namery-content,
body.groundery .lumery-content,
body.groundery .piecery-content,
body.groundery .crestery-content,
body.groundery .placery-content,
body.lumery .piecery-content,
body.piecery .lumery-content,
body.crestery .lumery-content,
body.crestery .piecery-content,
body.lumery .crestery-content,
body.piecery .crestery-content,
body.lumery .groundery-content,
body.piecery .groundery-content,
body.crestery .groundery-content,
body.placery .groundery-content,
body.placery .lumery-content,
body.placery .piecery-content,
body.placery .crestery-content {
  display: none !important;
}
html.product-groundery .namery-content,
html.product-groundery .lumery-content,
html.product-groundery .piecery-content,
html.product-groundery .crestery-content {
  display: none !important;
}
html.product-placery .namery-content,
html.product-placery .groundery-content,
html.product-placery .lumery-content,
html.product-placery .piecery-content,
html.product-placery .crestery-content {
  display: none !important;
}
html.product-lumery .namery-content,
html.product-lumery .groundery-content,
html.product-lumery .piecery-content,
html.product-lumery .crestery-content {
  display: none !important;
}
html.product-piecery .namery-content,
html.product-piecery .groundery-content,
html.product-piecery .lumery-content,
html.product-piecery .crestery-content {
  display: none !important;
}
html.product-crestery .namery-content,
html.product-crestery .groundery-content,
html.product-crestery .lumery-content,
html.product-crestery .piecery-content {
  display: none !important;
}

body.groundery {
  background: linear-gradient(135deg, var(--groundery-primary) 0%, #7f1736 28%, #4a2154 58%, var(--groundery-secondary) 100%);
  color: #fff;
  transition: background 0.6s ease, color 0.6s ease;
}

html.product-groundery {
  background: linear-gradient(135deg, var(--groundery-primary) 0%, #7f1736 28%, #4a2154 58%, var(--groundery-secondary) 100%);
}

.groundery-content {
  position: relative;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.11), transparent 18%),
    radial-gradient(circle at 80% 22%, rgba(255,255,255,.08), transparent 16%),
    linear-gradient(135deg, var(--groundery-primary) 0%, #7f1736 28%, #4a2154 58%, var(--groundery-secondary) 100%);
  min-height: 100vh;
  overflow: hidden;
}

.groundery-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
  pointer-events: none;
}

.groundery-content > * {
  position: relative;
  z-index: 1;
}

body.groundery .card-title,
html.product-groundery .card-title {
  color: #f7fbff;
}
body.groundery .card-accent,
html.product-groundery .card-accent {
  color: rgba(255,255,255,.72);
}

.groundery-page {
  position: relative;
  background: transparent;
  border-top: 0;
  padding-top: 0;
  margin-top: 25px;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  overflow: visible;
}

.groundery-page::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,10,22,.54), rgba(8,10,22,.68)),
    url('/assets/Groundery-Liverpool.png') center 18% / cover no-repeat;
  opacity: .24;
  pointer-events: none;
}

.groundery-hero {
  position: relative;
  max-width: 980px;
  margin: 0;
  padding: 0 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.groundery-price-box .groundery-hero {
  max-width: none;
  width: 100%;
  padding: 0;
  margin-inline: auto;
}
.groundery-price-box .groundery-card-intro {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.groundery-us-rosette {
  position: absolute;
  top: .15rem;
  right: .15rem;
  width: 106px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
  transform: rotate(9deg);
  filter: drop-shadow(0 14px 24px rgba(2, 8, 26, .38));
  color: #ffffff;
}
.groundery-us-rosette::before,
.groundery-us-rosette::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.groundery-us-rosette::before {
  z-index: -2;
  background:
    repeating-conic-gradient(from 7deg, #b31942 0deg 10deg, #ffffff 10deg 20deg, #0a3161 20deg 30deg),
    radial-gradient(circle, #ffffff 0 54%, #0a3161 55% 100%);
}
.groundery-us-rosette::after {
  z-index: -1;
  inset: 13px;
  background:
    radial-gradient(circle at 34% 25%, rgba(255,255,255,.42), transparent 30%),
    linear-gradient(145deg, #0a3161 0%, #0d3f7c 48%, #b31942 100%);
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: inset 0 0 0 2px rgba(179, 25, 66, .34);
}
.groundery-us-rosette span,
.groundery-us-rosette strong {
  display: block;
  padding-inline: 18px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.groundery-us-rosette span {
  align-self: end;
  margin-bottom: .1rem;
  font-size: .55rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.32);
}
.groundery-us-rosette strong {
  align-self: start;
  font-size: .66rem;
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,.34);
}

.groundery-hero-logo {
  display: block;
  width: min(62px, 14.6vw);
  height: auto;
  margin: 10px auto 0;
  filter: drop-shadow(0 8px 28px rgba(6,12,30,.28));
}

.groundery-hero-eyebrow {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--groundery-secondary) 30%, white);
  margin-bottom: .9rem;
}

.groundery-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: .95;
  font-weight: 400;
  color: #fff;
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.groundery-hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.15rem, 3vw, 2.5rem);
  line-height: 1.08;
  font-weight: 400;
  color: #fff;
  margin: 0 0 .55rem;
  white-space: nowrap;
  text-wrap: nowrap;
}

.groundery-hero-sub {
  max-width: 620px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
}
.groundery-card-intro {
  font-size: .98rem;
  line-height: 1.65;
  color: rgba(255,255,255,.8);
  max-width: 50ch;
  margin: 0 auto;
}

.groundery-points {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

/* Placery page background */
body.placery {
  background: linear-gradient(180deg, #f4ead8 0%, #efe1c8 44%, #f7efe2 100%);
  color: #30281f;
  transition: background 0.6s ease, color 0.6s ease;
}

html.product-placery {
  background: linear-gradient(180deg, #f4ead8 0%, #efe1c8 44%, #f7efe2 100%);
}

body.placery .placery-content {
  background:
    radial-gradient(circle at 20% 12%, rgba(255,247,232,.82), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(242,223,194,.52), transparent 24%),
    linear-gradient(180deg, rgba(246,233,211,.96), rgba(241,225,198,.98));
  min-height: 100vh;
}

body.placery .site-footer,
html.product-placery .site-footer {
  color: rgba(106,90,68,.8);
}
body.placery .site-footer-logo,
html.product-placery .site-footer-logo {
  opacity: .94;
}
body.placery .site-footer-text,
html.product-placery .site-footer-text {
  color: rgba(106,90,68,.8);
}
body.placery .card-title,
html.product-placery .card-title {
  color: #3d3226;
}
body.placery .card-accent,
html.product-placery .card-accent {
  color: #786753;
}

.placery-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 1.6rem 2.5rem;
  margin-top: -.4rem;
}

.placery-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto .5rem;
}

.placery-hero-mark {
  width: min(190px, 42vw);
  height: auto;
  margin: 0 auto .55rem;
  display: block;
  object-fit: contain;
}

.placery-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.55rem, 6.8vw, 5.1rem);
  line-height: .98;
  font-weight: 400;
  color: #2f261d;
  margin-bottom: .25rem;
}

.placery-hero-sub {
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.55;
  color: #766554;
  max-width: 50ch;
  margin: 0 auto;
}

.placery-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 1.1rem;
  align-items: start;
}

.placery-preview-card,
.placery-config-card,
.placery-steps,
.placery-copy {
  background: rgba(255, 250, 242, .9);
  border: 1px solid rgba(120, 95, 67, .14);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(97, 72, 39, .08);
}

.placery-preview-col {
  position: sticky;
  top: 88px;
}

.placery-preview-card {
  padding: .65rem;
}

.placery-preview-pane {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.placery-preview-watermark {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .6rem;
  padding: 1rem;
  text-align: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  color: rgba(117, 91, 63, .32);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.72rem, 1.8vw, 1.1rem);
  font-weight: 700;
  letter-spacing: .38em;
  text-transform: uppercase;
  transform: rotate(-18deg);
  mix-blend-mode: normal;
}
.placery-preview-watermark span {
  display: block;
  opacity: .78;
}

.placery-preview-frame {
  position: absolute;
  inset: 0;
  padding: 0;
}

.placery-preview-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.placery-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  display: none;
}

#grounderyPreviewMain,
#grounderyLightboxImage,
#grounderyCarouselModalImage,
.crestery-gallery-modal-image,
.crestery-preview-canvas,
#previewCanvas,
.lpp-litho {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.placery-preview-caption {
  margin-top: .85rem;
  text-align: center;
  font-size: .74rem;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #94795c;
}

.placery-form-col {
  display: grid;
  gap: 1rem;
}

.placery-config-card {
  padding: 1.15rem;
}

.placery-size-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: .45rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(130, 103, 72, .2);
  background: rgba(247, 238, 223, .95);
  color: #775d41;
  font-size: .67rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: .2rem 0 .8rem;
}

.placery-checkout-msg {
  min-height: 1.2rem;
  margin-top: .65rem;
  font-size: .78rem;
  line-height: 1.5;
  color: #6f5b46;
}

.placery-summary {
  margin-top: .7rem;
}

.placery-advanced {
  margin: -.05rem 0 .95rem;
  border: 1px solid rgba(130, 103, 72, .14);
  border-radius: 12px;
  background: rgba(255, 251, 244, .72);
  padding: .8rem .85rem .75rem;
}

.placery-advanced summary {
  list-style: none;
  cursor: pointer;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7d6047;
}

.placery-advanced summary::-webkit-details-marker {
  display: none;
}

.placery-advanced-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  margin-top: .75rem;
}

.placery-advanced .field {
  margin-bottom: 0;
}

.placery-make-map-btn {
  margin-top: .45rem;
}

.placery-steps,
.placery-copy {
  padding: 1.15rem;
}

.placery-step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.placery-step {
  padding: .9rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(245,236,223,.88));
  border: 1px solid rgba(122, 98, 71, .12);
}

.placery-step-n {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: .55rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #6a553d;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(122, 98, 71, .16);
}

.placery-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  line-height: 1.1;
  font-weight: 400;
  color: #2f261d;
  margin-bottom: .32rem;
}

.placery-step p,
.placery-copy-secondary {
  font-size: .94rem;
  line-height: 1.65;
  color: #6e5c49;
}

.placery-copy-secondary {
  margin-top: .65rem;
}

body.placery .basket-panel,
html.product-placery .basket-panel {
  border-color: rgba(130, 103, 72, .16);
  background: linear-gradient(180deg, rgba(255,252,247,.92), rgba(246,237,224,.96));
}

body.placery .basket-count,
html.product-placery .basket-count {
  background: #c8a36d;
  color: #2f261d;
}

body.placery .basket-chip,
html.product-placery .basket-chip {
  background: rgba(255,250,243,.95);
  color: #4e402f;
  border-color: rgba(120, 95, 67, .14);
}

body.placery .basket-chip:hover,
html.product-placery .basket-chip:hover {
  background: rgba(255,252,247,.98);
}

@media (max-width: 960px) {
  .placery-shell {
    grid-template-columns: 1fr;
  }
  .placery-preview-col {
    position: static;
  }
}

@media (max-width: 700px) {
  .placery-page {
    padding: 10px 1rem 2rem;
    margin-top: -.25rem;
  }
  .placery-advanced-grid {
    grid-template-columns: 1fr;
  }
  .placery-step-grid {
    grid-template-columns: 1fr;
  }
}

/* Lumery page background */
body.lumery {
  background: var(--lum-bg);
  color: var(--lum-ink);
  transition: background 0.6s ease, color 0.6s ease;
}

html.product-lumery {
  background: var(--lum-bg);
}

body.lumery .lumery-content {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,204,102,.08) 0%, transparent 28%),
    linear-gradient(180deg, rgba(255,204,102,.03) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.12) 100%);
  min-height: 100vh;
}

body.lumery .site-footer {
  color: rgba(255,204,102,.74);
}
body.lumery .site-footer-logo {
  opacity: .95;
  filter: drop-shadow(0 0 10px rgba(255,204,102,.2));
}
body.lumery .site-footer-text {
  color: rgba(255,204,102,.74);
}
html.product-lumery .site-footer-text {
  color: rgba(255,204,102,.74);
}
body.lumery .card-title,
html.product-lumery .card-title {
  color: var(--lum-ink);
}
body.lumery .card-accent,
html.product-lumery .card-accent {
  color: var(--lum-muted);
}

/* Lumery header */
.lumery-header {
  text-align: center;
  padding: 18px 24px 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,204,102,.06) 0%, rgba(255,204,102,0) 100%);
}

.lumery-header-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(220px, 34vw, 320px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.66) 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.66) 65%, transparent 100%);
}

.lumery-header-bg-slot {
  position: relative;
  overflow: hidden;
  padding: 6px;
}

.lumery-header-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.06);
  transform-origin: center;
  filter: grayscale(1) contrast(1.08) brightness(0.74);
}

.lumery-header-bg-img-random {
  object-position: center 18%;
  transform: scale(1);
}

.lumery-header-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(156px, 40vw);
  height: auto;
  margin: 0 auto 4px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,204,102,0.2));
}

.lumery-script {
  position: relative;
  z-index: 2;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  line-height: 1;
  color: var(--lum-glow);
  margin-bottom: 2px;
  text-shadow: 0 0 10px rgba(255,204,102,0.18);
}

.lumery-rays {
  position: absolute;
  top: 200px; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 260px;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 226, 165, .34) 0%, rgba(255, 204, 102, .18) 20%, rgba(255, 204, 102, .08) 34%, rgba(255, 204, 102, 0) 68%),
    radial-gradient(circle at 50% 50%, rgba(255, 238, 198, .16) 0%, rgba(255, 238, 198, 0) 60%);
  filter: blur(10px);
  opacity: .95;
  mix-blend-mode: screen;
}

.lumery-eyebrow {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lum-glow);
  margin-bottom: 20px;
  opacity: 0.8;
}

.lumery-title {
  position: relative;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--lum-ink);
  margin-bottom: 18px;
}

.lumery-title em {
  font-style: italic;
  color: var(--lum-glow);
}

.lumery-sub {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--lum-muted);
  max-width: 480px;
  margin: 0 auto 14px;
}

.lumery-sub .lumery-sub-script {
  font-size: 1.35em;
  line-height: 1;
  margin-right: 2px;
  vertical-align: baseline;
}

/* Configurator layout */
.lumery-configurator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px 60px;
  align-items: start;
}

body.lumery .lumery-configurator {
  position: relative;
}

body.lumery .lumery-configurator::before {
  content: '';
  position: absolute;
  inset: -18px 18px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,204,102,.03), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 0;
}

body.lumery .lumery-configurator > * {
  position: relative;
  z-index: 1;
}

.lumery-preview-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Upload/preview pane */
.lumery-preview-pane {
  border: 1.5px dashed rgba(255,204,102,0.25);
  border-radius: 6px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
  background: linear-gradient(180deg, rgba(255,204,102,0.04), rgba(0,0,0,0.12));
}

.lumery-preview-pane:hover,
.lumery-preview-pane.dragging {
  border-color: rgba(255,204,102,0.5);
  background: rgba(255,204,102,0.04);
}

.lumery-preview-pane input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.lpp-glow {
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,204,102,0.12) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.lpp-frame {
  --lpp-frame-w: 300px;
  --lpp-frame-ar: 1 / 1;
  width: min(var(--lpp-frame-w), 100%);
  aspect-ratio: var(--lpp-frame-ar);
  border: none;
  border-radius: 10px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  position: relative;
  perspective: 980px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.32));
  overflow: visible;
  touch-action: none;
  margin-top: -14px;
}

.lpp-frame::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,232,188,0.28) 0%, rgba(255,214,145,0.16) 42%, rgba(255,206,122,0.04) 74%, transparent 100%);
  filter: blur(10px);
  transition: opacity .25s ease;
}

.lpp-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lpp-empty-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.lpp-frame.ready .lpp-empty {
  display: none;
}

.lpp-stage {
  --frame-depth: 30px;
  --frame-face: 3px;
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.08s linear;
  border-radius: 8px;
  background: linear-gradient(160deg, #1a1a1a, #0e0e0e);
  box-shadow:
    0 10px 20px rgba(0,0,0,0.42),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  cursor: grab;
  padding: 4px;
  overflow: hidden;
}

.lpp-stage:active { cursor: grabbing; }

/* Back plane */
.lpp-stage::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 4px;
  background: linear-gradient(160deg, #0d0d0d, #070707);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 0 14px rgba(0,0,0,0.45);
  pointer-events: none;
  z-index: 0;
}

.lpp-wall {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.lpp-wall-top {
  left: 4px;
  right: calc(var(--frame-face) + 4px);
  top: 4px;
  height: var(--frame-face);
  background: linear-gradient(180deg, #262626 0%, #151515 52%, #0a0a0a 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lpp-wall-right {
  top: 4px;
  right: 4px;
  bottom: calc(var(--frame-face) + 4px);
  width: var(--frame-face);
  background: linear-gradient(90deg, #252525 0%, #131313 58%, #080808 100%);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.lpp-wall-bottom {
  left: 4px;
  right: calc(var(--frame-face) + 4px);
  bottom: 4px;
  height: var(--frame-face);
  background: linear-gradient(180deg, #1f1f1f 0%, #111111 54%, #070707 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.lpp-wall-left {
  top: 4px;
  left: 4px;
  bottom: calc(var(--frame-face) + 4px);
  width: var(--frame-face);
  background: linear-gradient(90deg, #1e1e1e 0%, #111111 56%, #070707 100%);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.lpp-render-panel {
  position: absolute;
  left: calc(var(--frame-face) + 4px);
  top: calc(var(--frame-face) + 4px);
  right: calc(var(--frame-face) + 4px);
  bottom: calc(var(--frame-face) + 4px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  box-shadow:
    inset 0 0 18px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.04);
  background: #101010;
  overflow: hidden;
  z-index: 2;
}

.lpp-frame .lpp-litho {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  display: block;
  filter: grayscale(1) brightness(2.30) contrast(0.06);
  transition: filter .25s ease;
}

.lpp-backlight {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 84%, rgba(255,246,228,0.82) 0%, rgba(255,236,198,0.44) 42%, rgba(255,224,174,0.08) 86%),
    radial-gradient(circle at 84% 84%, rgba(0,0,0,0.28) 60%, rgba(0,0,0,0.70) 100%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.lpp-frame.light-on .lpp-backlight {
  opacity: 0.48;
}

.lpp-frame.light-on::after {
  opacity: 0.95;
}

.lpp-frame.light-on .lpp-stage {
  box-shadow:
    0 10px 20px rgba(0,0,0,0.42),
    0 0 22px rgba(255,221,166,0.24),
    inset 0 0 0 1px rgba(255,255,255,0.08);
}

.lpp-frame.light-on .lpp-litho {
  filter: grayscale(1) brightness(0.65) contrast(1.9);
}

.lumery-light-box {
  position: absolute;
  right: 10px;
  bottom: 12px;
  transform: none;
  z-index: 3;
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-align: right;
}

.lumery-switch-prompt {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,204,102,0.82);
  text-shadow: 0 0 6px rgba(255,204,102,0.2);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 2;
}

.lumery-switch-prompt::after {
  content: ' \2192';
}

.lumery-switch-prompt.show {
  opacity: 1;
}

.lumery-light-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}

.lumery-light-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#lumeryLightToggle:disabled + .lum-light-housing {
  opacity: 0.45;
}

.lls-text {
  font-size: 10px;
  letter-spacing: .05em;
  color: var(--lum-muted);
}

#lumeryLightToggle:disabled ~ .lls-text {
  opacity: 0.6;
}

.lum-light-housing {
  width: 24px;
  height: 44px;
  background: #2a2520;
  border-radius: 4px;
  border: 1.5px solid #3a3028;
  position: relative;
  flex-shrink: 0;
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.25);
}

.lum-light-housing::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  height: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), transparent);
  border-radius: 2px 2px 0 0;
  pointer-events: none;
}

.lum-light-paddle {
  position: absolute;
  left: 3px;
  right: 3px;
  top: 5px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f2efe9 0%, #e0dbd3 45%, #cbc4ba 100%);
  border: 1px solid #b6aea3;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: top .22s ease, background .22s ease, border-color .22s ease;
}

#lumeryLightToggle:checked + .lum-light-housing .lum-light-paddle {
  top: 22px;
  background: linear-gradient(180deg, #ffe0ae 0%, #f3ca86 45%, #d8a857 100%);
  border-color: #c68f3c;
}

.lpp-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--lum-ink);
  opacity: 0.6;
  line-height: 1;
}

.lpp-label-top {
  transform: translateY(2px);
}

.lpp-label-bottom {
  transform: translateY(-2px);
}

.lpp-hint {
  font-size: 10px;
  color: var(--lum-muted);
  letter-spacing: 0.08em;
}

/* Lumery form */
.lumery-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lumery-form-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lum-muted);
  margin-bottom: 8px;
}

/* Size grid */
.lumery-size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lumery-size-opt {
  border: 1.5px solid rgba(255,204,102,0.15);
  border-radius: 4px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  background: rgba(255,204,102,0.03);
  transition: all 0.2s ease;
}

.lumery-size-opt:hover  { border-color: rgba(255,204,102,0.4); }
.lumery-size-opt.active {
  border-color: var(--lum-glow);
  background: rgba(255,204,102,0.06);
}

.lso-dim   {
  font-size: 9px;
  color: var(--lum-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.lso-name  {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--lum-ink);
}
.lso-price {
  font-size: 11px;
  color: var(--lum-glow);
  margin-top: 4px;
  font-weight: 500;
}

/* Text inputs */
.lumery-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,204,102,0.2);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--lum-glow);
  outline: none;
  transition: border-color 0.2s ease;
}

.lumery-input:focus        { border-color: rgba(255,204,102,0.5); }
.lumery-input::placeholder { color: var(--lum-muted); }
.lumery-discount-hint {
  min-height: 1.1em;
  margin-top: 6px;
  font-size: 11px;
  color: var(--lum-muted);
}
.lumery-discount-hint.ok { color: #8ad9a8; }
.lumery-discount-hint.err { color: #d98f8f; }

/* Force Lumery input theme over global input defaults/autofill */
body.lumery .lumery-input,
body.lumery input.lumery-input[type="email"],
body.lumery input.lumery-input[type="text"] {
  background: transparent !important;
  color: var(--lum-glow) !important;
  border-color: rgba(255,204,102,0.28);
}

body.lumery .lumery-input::placeholder {
  color: rgba(255,204,102,0.62);
}

body.lumery .lumery-input:-webkit-autofill,
body.lumery .lumery-input:-webkit-autofill:hover,
body.lumery .lumery-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--lum-glow);
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

.lumery-image-adjust {
  border: 1px solid rgba(255,204,102,0.15);
  border-radius: 6px;
  background: rgba(255,204,102,0.04);
  padding: 10px 12px;
}

.lumery-adjust-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.lumery-adjust-row:last-of-type {
  margin-bottom: 10px;
}

.lumery-adjust-label {
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--lum-muted);
  text-transform: uppercase;
}

.lum-adjust-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  outline: none;
  background: linear-gradient(90deg, rgba(255,204,102,0.6), rgba(255,255,255,0.08));
}

.lum-adjust-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  background: #f4d096;
  cursor: pointer;
}

.lum-adjust-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  background: #f4d096;
  cursor: pointer;
}

.lumery-reset-btn {
  width: 100%;
  border: 1px solid rgba(255,204,102,0.3);
  background: rgba(255,204,102,0.08);
  color: var(--lum-glow);
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
}

.lumery-reset-btn:disabled,
.lum-adjust-range:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Order summary */
.lumery-summary {
  border-color: rgba(255,204,102,0.15);
  background: linear-gradient(180deg, rgba(255,204,102,0.05), rgba(0,0,0,.12));
}

.lumery-total {
  color: var(--lum-ink);
  font-weight: 300;
  text-align: center;
}

.lumery-delivery {
  color: var(--lum-muted);
  line-height: 1.5;
}

/* Order button */
.lumery-order-btn {
  margin-top: .9rem;
}

.lumery-order-btn::before {
  display: none;
}

.lumery-order-btn:hover:not(:disabled)::before { opacity: 1; }

.lumery-secure {
  text-align: center;
  font-size: 11px;
  color: var(--lum-muted);
  opacity: 0.7;
}

.lumery-upload-required {
  text-align: center;
  font-size: 11px;
  color: var(--lum-glow);
  opacity: 0.6;
  letter-spacing: 0.06em;
}

/* How it works */
.lumery-content .how {
  background: linear-gradient(180deg, rgba(255,204,102,.02), rgba(0,0,0,0));
  border-top: 1px solid rgba(255,204,102,0.1);
  padding: 60px 32px 80px;
}
.lumery-content .how-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.lumery-content .how h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: .75rem;
  line-height: 1.08;
  color: var(--lum-ink);
}
.lumery-content .how-sub {
  color: var(--lum-muted);
  margin-bottom: 2.2rem;
}
.lumery-content .how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.lumery-content .how-step-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,204,102,0.15);
  line-height: 1;
  margin-bottom: 10px;
}
.lumery-content .how-step h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--lum-ink);
  margin-bottom: 8px;
}
.lumery-content .how-step p {
  font-size: 12px;
  color: var(--lum-muted);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 680px) {
  .lumery-header {
    padding-top: 12px;
  }
  .lumery-sub {
    margin-bottom: 10px;
  }
  .lumery-configurator {
    grid-template-columns: 1fr;
    padding: 0 20px 48px;
  }
  .lumery-size-grid { grid-template-columns: repeat(2, 1fr); }
  .lumery-content .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .lumery-title     { font-size: 40px; }
}

/* ══════════════════════════════════════════
   END LUMERY
══════════════════════════════════════════ */

/* ── Cross-sell upsell modals ───────────────────────────────────────────── */
.xsell-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(20,10,30,.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.xsell-backdrop[hidden] { display: none; }
.xsell-box {
  width: 100%; max-width: 400px; border-radius: 18px;
  padding: 2rem 1.8rem 1.6rem;
  animation: xsell-in .22s ease;
}
@keyframes xsell-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
/* Namery-flavoured (light) */
.namery-xsell-box { background: #fff; box-shadow: 0 24px 60px rgba(107,79,160,.22); }
.namery-xsell-box .xsell-eyebrow { color: var(--lilac-mid); }
.namery-xsell-box .xsell-heading em { color: var(--lilac-deep); font-style: normal; }
.namery-xsell-box .xsell-sub { color: var(--muted); }
.namery-xsell-box .xsell-media { border: 1px solid rgba(107,79,160,.24); box-shadow: 0 8px 24px rgba(107,79,160,.14); }
.namery-xsell-box .xsell-sz { border-color: var(--border); color: var(--muted); background: #fdfbff; }
.namery-xsell-box .xsell-sz.active,
.namery-xsell-box .xsell-sz:hover { border-color: var(--lilac-deep); color: var(--lilac-deep); }
.namery-xsell-box .xsell-accept { background: var(--lilac-deep); color: #fff; }
.namery-xsell-box .xsell-accept:hover { background: var(--lilac-mid); }
.namery-xsell-box .xsell-skip { color: var(--muted); }
.namery-xsell-box .xsell-skip:hover { color: var(--text); }
/* Lumery-flavoured (dark) */
.lumery-xsell-box {
  background: var(--lum-surface, #130f0a);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  border: 1px solid rgba(255,204,102,.15);
}
.lumery-xsell-box .xsell-eyebrow { color: var(--lum-glow); }
.lumery-xsell-box .xsell-heading { color: var(--lum-ink, #f5f0e8); }
.lumery-xsell-box .xsell-heading em { color: var(--lum-glow); font-style: normal; }
.lumery-xsell-box .xsell-sub { color: var(--lum-muted, #8a7f72); }
.lumery-xsell-box .xsell-media { border: 1px solid rgba(255,204,102,.22); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.lumery-xsell-box .xsell-sz { border-color: rgba(255,204,102,.2); color: var(--lum-muted,#8a7f72); background: transparent; }
.lumery-xsell-box .xsell-sz.active,
.lumery-xsell-box .xsell-sz:hover { border-color: var(--lum-glow); color: var(--lum-glow); }
.lumery-xsell-box .xsell-accept { background: var(--lum-glow); color: #1a1008; }
.lumery-xsell-box .xsell-accept:hover { background: #ffd966; }
.lumery-xsell-box .xsell-skip { color: var(--lum-muted, #8a7f72); }
.lumery-xsell-box .xsell-skip:hover { color: var(--lum-ink, #f5f0e8); }
.lumery-xsell-box .xsell-name-input {
  background: rgba(255,255,255,.06); border-color: rgba(255,204,102,.2); color: var(--lum-ink,#f5f0e8);
}
.lumery-xsell-box .xsell-name-input::placeholder { color: var(--lum-muted,#8a7f72); }
.lumery-xsell-box .xsell-name-input:focus { border-color: var(--lum-glow); box-shadow: 0 0 0 3px rgba(255,204,102,.12); }
.lumery-info-box {
  position: relative;
  max-width: 420px;
}
.lumery-info-box .xsell-actions {
  margin-top: .25rem;
}
.groundery-request-box {
  max-width: 520px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.1), transparent 34%),
    linear-gradient(180deg, rgba(18,28,54,.98), rgba(11,16,31,.98));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
  color: #f7f8fb;
}
.groundery-request-box .xsell-eyebrow { color: rgba(175,208,255,.78); }
.groundery-request-box .xsell-heading { color: #f7f8fb; }
.groundery-request-box .xsell-sub { color: rgba(247,248,251,.76); }
.groundery-request-box .groundery-request-preview {
  display: grid;
  gap: .65rem;
  margin: .85rem 0 1rem;
  justify-items: center;
}
.groundery-request-preview-image {
  width: min(100%, 560px);
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 30px rgba(0,0,0,.18);
  cursor: zoom-in;
}
.groundery-request-preview-label {
  font-size: .72rem;
  line-height: 1.55;
  color: rgba(247,248,251,.72);
  min-height: 1.1em;
  text-align: center;
}
.groundery-request-form {
  display: grid;
  gap: .7rem;
  margin-bottom: .85rem;
}
.groundery-request-field {
  display: grid;
  gap: .35rem;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247,248,251,.7);
}
.groundery-request-field input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #f7f8fb;
  padding: .82rem .95rem;
  font-size: .95rem;
  outline: none;
}
.groundery-request-field input::placeholder { color: rgba(247,248,251,.38); }
.groundery-request-field input:focus {
  border-color: rgba(175,208,255,.72);
  box-shadow: 0 0 0 3px rgba(175,208,255,.12);
}
.groundery-request-box .xsell-actions {
  margin-top: .35rem;
}
.groundery-request-box .xsell-accept {
  background: linear-gradient(135deg, #8fb7ff, #4f7ee8);
  color: #081127;
  box-shadow: 0 10px 24px rgba(47,94,188,.28);
}
.groundery-request-box .xsell-accept:hover {
  background: linear-gradient(135deg, #9bc2ff, #628ef2);
}
.groundery-request-note {
  margin-top: .85rem;
  font-size: .74rem;
  line-height: 1.5;
  color: rgba(247,248,251,.68);
}
.groundery-request-note.ok { color: #b9f2c1; }
.groundery-request-note.err { color: #ffb3b3; }
.basket-review-box {
  width: min(720px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  position: relative;
}
.basket-review-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
}
.basket-review-items {
  display: grid;
  gap: .65rem;
  margin: 1rem 0 1.1rem;
}
.basket-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  border: 1px solid rgba(107,79,160,.16);
  border-radius: 12px;
  padding: .8rem .9rem;
  background: #fcfbff;
}
.basket-review-main {
  min-width: 0;
}
.basket-review-product {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}
.basket-review-name {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.25;
}
.basket-review-meta {
  font-size: .74rem;
  color: var(--muted);
  margin-top: .15rem;
}
.basket-review-empty {
  border: 1px dashed rgba(107,79,160,.24);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  background: #fdfbff;
}
.basket-review-discount {
  margin-bottom: 1rem;
}
.basket-review-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: right;
}
.basket-review-total {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  width: 100%;
}
/* Shared */
.xsell-eyebrow { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; font-family: 'Lato',sans-serif; margin-bottom: .55rem; }
.xsell-heading { font-family: 'Playfair Display',serif; font-size: 1.55rem; font-weight: 400; line-height: 1.2; margin-bottom: .5rem; }
.xsell-media {
  margin: .45rem 0 .8rem;
  border-radius: 12px;
  overflow: hidden;
}
.xsell-media-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.xsell-sub { font-size: .84rem; line-height: 1.6; margin-bottom: 1.1rem; }
.xsell-sizes { display: flex; gap: .5rem; margin-bottom: .8rem; }
.xsell-sz {
  flex: 1; padding: .5rem .3rem; border: 1.5px solid; border-radius: 8px;
  font-family: 'Lato',sans-serif; font-size: .8rem; cursor: pointer;
  text-align: center; line-height: 1.3; transition: border-color .15s, color .15s;
}
.xsell-sz span { display: block; font-size: .65rem; margin-top: .15rem; }
.xsell-file-label {
  display: block; padding: .6rem .9rem; margin-bottom: .9rem;
  border: 1.5px dashed var(--border); border-radius: 8px;
  font-size: .82rem; color: var(--muted); cursor: pointer; text-align: center; transition: border-color .15s;
}
.xsell-file-label:hover { border-color: var(--lilac-mid); color: var(--text); }
.xsell-name-input {
  width: 100%; margin-bottom: .8rem; padding: .7rem .9rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Lato',sans-serif; font-size: .95rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.xsell-actions { display: flex; flex-direction: column; gap: .55rem; }
.xsell-accept {
  width: 100%; padding: .82rem 1rem; border: none; border-radius: 10px;
  font-family: 'Lato',sans-serif; font-size: .95rem; cursor: pointer; transition: background .15s;
}
.xsell-skip {
  background: none; border: none; font-family: 'Lato',sans-serif;
  font-size: .8rem; cursor: pointer; padding: .3rem; text-align: center; transition: color .15s;
}

/* ══════════════════════════════════════════════════════════════════════════
   Piecery content
   ══════════════════════════════════════════════════════════════════════════ */

.piecery-content               { display: none; }
body.piecery .piecery-content  { display: block; }
body.piecery .lumery-content   { display: none; }

/* Colour tokens */
.piecery-content {
  --pc:       #4a7c59;
  --pc-mid:   #5e9970;
  --pc-light: #c8e6d0;
  --pc-text:  #1e3328;
  --pc-muted: #6a8c74;
  --pc-bg:    #eef6ef;
  --pc-surf:  #ffffff;
  --pc-surf2: #f4faf5;
  --pc-border:  rgba(74,124,89,.18);
  --pc-bstr:    rgba(74,124,89,.35);
  --pc-shadow:  0 6px 32px rgba(74,124,89,.10);
  background: var(--pc-bg);
  color: var(--pc-text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

/* Hero */
.piecery-content .hero { text-align: center; padding: 3rem 1.5rem 1.5rem; }
.piecery-content .piecery-logo-wrap {
  display: block;
  width: min(240px, 52vw);
  margin: 0 auto .75rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.piecery-content .piecery-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}
.piecery-content .hero-logo-wrap {
  display: block;
  width: min(340px, 76vw);
  margin: 0 auto .7rem;
}
.piecery-content .hero-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(74,124,89,.12));
}
.piecery-content .hero-eyebrow {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: .85rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--pc-muted); margin-bottom: .75rem;
}
.piecery-content .hero h1 {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  color: var(--pc); line-height: 1.1; margin-bottom: .6rem;
}
.piecery-content .hero-tag {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--pc-muted);
}

/* Steps bar */
.piecery-content .steps-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: 560px; margin: 2rem auto 0; padding: 0 1.5rem;
}
.piecery-content .step-item {
  display: flex; flex-direction: column; align-items: center;
  gap: .35rem; flex: 1; position: relative;
}
.piecery-content .step-num { display: none; }
.piecery-content .step-item:not(:last-child)::after {
  content: ''; position: absolute; top: 18px;
  left: calc(50% + 18px); right: calc(-50% + 18px);
  height: 2px; background: var(--pc-border); transition: background .3s;
}
.piecery-content .step-item.done:not(:last-child)::after { background: var(--pc-light); }
.piecery-content .step-label {
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pc-muted); white-space: nowrap;
}
.piecery-content .step-item.active .step-label { color: var(--pc); font-weight: 500; }

/* Main */
.piecery-content .main { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }

/* Cards */
.piecery-content .card {
  background: var(--pc-surf); border: 1px solid var(--pc-border);
  border-radius: 20px; padding: 2.2rem;
  box-shadow: var(--pc-shadow); margin-bottom: 1.5rem;
}
.piecery-content .card-title {
  font-family: 'Dancing Script', cursive; font-size: 1.6rem;
  color: var(--pc); margin-bottom: 1.2rem;
}
.piecery-content .card-accent {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--pc-muted); font-size: 1rem; margin-bottom: 1.5rem; display: block;
}
.piecery-content #cardUpload {
  padding: 1.5rem;
}
.piecery-content .piecery-story-card {
  position: relative;
  overflow: hidden;
  padding-right: 8.8rem;
}
.piecery-content .piecery-story-card .card-title,
.piecery-content .piecery-story-card .card-accent {
  position: relative;
  z-index: 1;
}
.piecery-content .piecery-pen-cluster {
  position: absolute;
  top: .7rem;
  right: .75rem;
  width: 7.1rem;
  height: 4.7rem;
  opacity: .94;
  pointer-events: none;
}
.piecery-content .piecery-pen-cluster svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 10px 16px rgba(74,124,89,.12));
}

/* Upload zone */
.piecery-content .upload-zone {
  border: 2px dashed var(--pc-bstr); border-radius: 16px;
  background: var(--pc-surf2); padding: 1.8rem 1.25rem;
  text-align: center; cursor: pointer; transition: all .2s; position: relative;
}
.piecery-content .upload-zone:hover,
.piecery-content .upload-zone.drag-over {
  border-color: var(--pc); background: #f0f9f3;
  box-shadow: 0 0 0 4px rgba(74,124,89,.08);
}
.piecery-content .upload-zone.has-file { border-color: var(--pc); background: #f0f9f3; }
.piecery-content .upload-icon { font-size: 1.9rem; margin-bottom: .55rem; display: block; line-height: 1; }
.piecery-content .upload-title {
  font-family: 'Dancing Script', cursive; font-size: 1.2rem; color: var(--pc); margin-bottom: .28rem;
}
.piecery-content .upload-hint { font-size: .75rem; color: var(--pc-muted); }
.piecery-content .upload-hint strong { color: var(--pc); font-weight: 500; }
.piecery-content .upload-input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.piecery-content .file-chosen {
  display: none; align-items: center; gap: .75rem; margin-top: 1.2rem;
  background: #fff; border: 1px solid var(--pc-border); border-radius: 10px;
  padding: .5rem .8rem;
}
.piecery-content .file-chosen.show { display: flex; }
.piecery-content .file-thumb {
  width: 48px; height: 48px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--pc-border);
}
.piecery-content .file-name {
  font-size: .82rem; color: var(--pc-text); flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.piecery-content .file-remove {
  background: none; border: none; cursor: pointer; color: var(--pc-muted);
  font-size: 1.1rem; padding: .25rem; transition: color .2s;
}
.piecery-content .file-remove:hover { color: #c0392b; }

/* Generate button */
.piecery-content .generate-btn {
  width: 100%; margin-top: 1rem; padding: .9rem; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--pc-mid), var(--pc));
  color: #fff; font-family: 'Montserrat', sans-serif; font-size: .85rem;
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: all .2s; box-shadow: 0 4px 20px rgba(74,124,89,.28);
}
.piecery-content .generate-btn:hover:not(:disabled) {
  transform: translateY(-1px); box-shadow: 0 6px 28px rgba(74,124,89,.38);
}
.piecery-content .generate-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Spinner */
.piecery-content .spinner-card { text-align: center; padding: 3rem 2rem; }
.piecery-content .spinner {
  width: 52px; height: 52px; border: 3px solid var(--pc-border);
  border-top-color: var(--pc); border-radius: 50%;
  margin: 0 auto 1.5rem; animation: piecery-spin 0.9s linear infinite;
}
@keyframes piecery-spin { to { transform: rotate(360deg); } }
.piecery-content .spinner-title {
  font-family: 'Dancing Script', cursive; font-size: 1.5rem; color: var(--pc); margin-bottom: .5rem;
}
.piecery-content .spinner-hint { font-size: .8rem; color: var(--pc-muted); }

/* Preview */
.piecery-content .preview-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin-bottom: 1.5rem;
}
.piecery-content .preview-stack {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 0;
}
.piecery-preview-section {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pc-border);
}
.piecery-content .preview-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pc-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f7faf5);
  aspect-ratio: var(--preview-aspect, 1.4);
  min-width: 0;
}
.piecery-content .preview-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.piecery-content .preview-original {
  z-index: 1;
}
.piecery-content .preview-processed {
  z-index: 1;
}
.piecery-content .preview-processed-base {
  z-index: 1;
}
.piecery-content .preview-processed-colour {
  z-index: 2;
}
.piecery-content .preview-panel-label {
  position: absolute;
  top: .7rem;
  left: .7rem;
  z-index: 3;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  border: 1px solid var(--pc-border);
  border-radius: 999px;
  padding: .28rem .85rem;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pc);
  pointer-events: none;
}
.piecery-content .piecery-reveal-ui {
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .8rem;
  z-index: 4;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--pc-border);
  border-radius: 16px;
  padding: .55rem .7rem;
}
.piecery-content .piecery-reveal-copy {
  display:flex;
  justify-content:space-between;
  gap:1rem;
  font-size:.62rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--pc);
  margin-bottom:.3rem;
}
.piecery-content .piecery-reveal-ui input[type=range] {
  width:100%;
  margin:0;
}
.piecery-content .piecery-palette-decor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .38rem;
  padding: .1rem .15rem 0;
  min-height: .95rem;
}
.piecery-content .piecery-palette-decor.is-empty {
  display: none;
}
.piecery-content .piecery-mini-pen {
  position: relative;
  width: 2.35rem;
  height: .72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 1px rgba(24, 33, 28, .12));
  transform-origin: center bottom;
}
.piecery-content .piecery-mini-pen-cap,
.piecery-content .piecery-mini-pen-body,
.piecery-content .piecery-mini-pen-tip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block;
}
.piecery-content .piecery-mini-pen-cap {
  left: 0;
  width: .34rem;
  height: .36rem;
  border-radius: 999px 0 0 999px;
  background: rgba(250, 251, 249, .95);
  border: 1px solid rgba(34, 44, 39, .16);
  border-right: none;
}
.piecery-content .piecery-mini-pen-body {
  left: .28rem;
  right: .54rem;
  height: .42rem;
  border-radius: 999px;
  background: var(--pen-color, #b9c4bc);
  border: 1px solid rgba(34, 44, 39, .16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34);
}
.piecery-content .piecery-mini-pen-tip {
  right: 0;
  width: .48rem;
  height: .42rem;
  transform: translateY(-50%) skewX(-18deg);
  border-radius: 0 .18rem .18rem 0;
  background: linear-gradient(135deg, rgba(38, 42, 46, .96), rgba(98, 104, 110, .82));
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.piecery-content .piecery-mini-pen svg {
  width: 100%;
  height: 100%;
  display: block;
}
.piecery-content .canvas-wrap { position: relative; margin-bottom: 1.5rem; }
.piecery-content .puzzle-canvas {
  width: 100%; border-radius: 12px; border: 1px solid var(--pc-border); display: block;
}
.piecery-content .canvas-label {
  position: absolute; bottom: .6rem; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.88); backdrop-filter: blur(4px);
  border: 1px solid var(--pc-border); border-radius: 999px;
  padding: .28rem .9rem; font-size: .65rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pc); white-space: nowrap; pointer-events: none;
}

/* Size selector */
.piecery-content .size-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-bottom: 1.5rem; }
.piecery-content .size-radio { display: none; }
.piecery-content .size-radio + label {
  display: block; text-align: center; padding: 1rem .6rem;
  border: 2px solid var(--pc-border); border-radius: 14px; cursor: pointer;
  transition: all .18s; background: var(--pc-surf2);
}
.piecery-content .size-radio + label:hover { border-color: var(--pc-mid); background: #f0f9f3; }
.piecery-content .size-radio:checked + label {
  border-color: var(--pc); background: #eaf6ee; box-shadow: 0 0 0 3px rgba(74,124,89,.12);
}
.piecery-content .sz-name { display: block; font-family: 'Dancing Script', cursive; font-size: 1.3rem; color: var(--pc); margin-bottom: .15rem; }
.piecery-content .sz-dim  { display: block; font-size: .68rem; color: var(--pc-muted); margin-bottom: .2rem; }
.piecery-content .sz-pieces { display: block; font-size: .72rem; color: var(--pc); font-weight: 500; margin-bottom: .35rem; }
.piecery-content .sz-price  { display: block; font-size: 1rem; font-weight: 600; color: var(--pc-text); }

/* Info strip */
.piecery-content .info-strip {
  background: var(--pc-surf2); border: 1px solid var(--pc-border);
  border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.piecery-content .info-item { display: flex; flex-direction: column; gap: .18rem; }
.piecery-content .info-key { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pc-muted); }
.piecery-content .info-val { font-size: .9rem; color: var(--pc-text); font-weight: 500; }
.piecery-content .info-val em {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400;
  color: var(--pc-muted); font-size: .95rem;
}

.piecery-content .piecery-order-summary {
  margin-top: 1rem;
  border: 1px solid var(--pc-border);
  background: var(--pc-surf2);
}

.piecery-content .piecery-order-summary-price {
  font-weight: 600;
  color: var(--pc-text);
  text-align: center;
}

.piecery-content .piecery-order-summary-delivery {
  color: var(--pc-muted);
  text-align: center;
}

@media (max-width: 700px) {
  .piecery-content .preview-compare {
    grid-template-columns: 1fr;
  }
  .piecery-content .preview-stack {
    gap: .55rem;
  }
  .piecery-content .piecery-mini-pen {
    width: 2.1rem;
    height: .66rem;
  }
}

/* Order button */
.piecery-content .order-btn {
  margin-top: .9rem;
}
.piecery-content .secure-note { text-align: center; font-size: .7rem; color: var(--pc-muted); margin-top: .7rem; }

/* Error box */
.piecery-content .err-box {
  background: #fff5f5; border: 1px solid #fca5a5; border-radius: 10px;
  padding: .8rem 1rem; font-size: .82rem; color: #991b1b; margin-top: 1rem; display: none;
}
.piecery-content .err-box.show { display: block; }

/* How it works */
.piecery-content .how { background: #fff; border-top: 1px solid var(--pc-border); padding: 3.5rem 1.5rem; }
.piecery-content .how-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.piecery-content .how h2 {
  font-family: 'Dancing Script', cursive; font-size: 2rem; color: var(--pc); margin-bottom: .75rem; line-height: 1.05;
}
.piecery-content .how-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: var(--pc-muted); margin-bottom: 2.5rem; font-size: 1rem;
}
.piecery-content .how-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.piecery-content .how-step { text-align: center; }
.piecery-content .how-step-n {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pc-light), #d4edd9);
  color: var(--pc); font-family: 'Dancing Script', cursive; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .8rem; border: 2px solid var(--pc-border);
}
.piecery-content .how-step h3 { font-size: .82rem; font-weight: 600; margin-bottom: .35rem; }
.piecery-content .how-step p  { font-size: .78rem; color: var(--pc-muted); line-height: 1.6; }

.piecery-content .site-footer {
  text-align: center;
  padding: 0 0 1rem;
}

@media (max-width: 600px) {
  .piecery-content .size-grid    { grid-template-columns: 1fr; }
  .piecery-content .how-steps    { grid-template-columns: repeat(2,1fr); }
  .piecery-content .card         { padding: 1.5rem; }
  .piecery-content .step-label   { display: none; }
  .piecery-content .piecery-story-card {
    padding-right: 1.5rem;
    padding-top: 5.8rem;
  }
  .piecery-content .piecery-pen-cluster {
    top: .8rem;
    right: 50%;
    transform: translateX(50%);
    width: 6.3rem;
    height: 4.1rem;
  }
}

/* ══════════════════════════════════════════
   CRESTERY — standalone page styles
══════════════════════════════════════════ */

body.crestery-page {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(204, 0, 0, .34) 0%, rgba(204, 0, 0, 0) 52%),
    radial-gradient(120% 120% at 100% 0%, rgba(27, 42, 94, .34) 0%, rgba(27, 42, 94, 0) 52%),
    radial-gradient(120% 120% at 0% 100%, rgba(26, 107, 60, .34) 0%, rgba(26, 107, 60, 0) 52%),
    radial-gradient(120% 120% at 100% 100%, rgba(201, 168, 76, .34) 0%, rgba(201, 168, 76, 0) 52%),
    linear-gradient(180deg, #faf8f4 0%, #f3efe7 100%);
  color: #2c241d;
  min-height: 100vh;
}

body.crestery {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(204, 0, 0, .34) 0%, rgba(204, 0, 0, 0) 52%),
    radial-gradient(120% 120% at 100% 0%, rgba(27, 42, 94, .34) 0%, rgba(27, 42, 94, 0) 52%),
    radial-gradient(120% 120% at 0% 100%, rgba(26, 107, 60, .34) 0%, rgba(26, 107, 60, 0) 52%),
    radial-gradient(120% 120% at 100% 100%, rgba(201, 168, 76, .34) 0%, rgba(201, 168, 76, 0) 52%),
    linear-gradient(180deg, #faf8f4 0%, #f3efe7 100%);
  color: #2c241d;
}

body.crestery-page .brand-switcher {
  background: rgba(248,244,239,.88);
  border-bottom-color: rgba(107,79,55,.12);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
}

body.crestery .brand-switcher {
  background: rgba(248,244,239,.88);
  border-bottom-color: rgba(107,79,55,.12);
  backdrop-filter: blur(14px);
}

body.crestery-page .site-footer {
  padding: 0 1.2rem 1.2rem;
}

body.crestery .site-footer {
  padding: 0 1.2rem 1.2rem;
}

.crestery-content {
  min-height: 100vh;
  background:
    radial-gradient(130% 130% at 0% 0%, rgba(204, 0, 0, .28) 0%, rgba(204, 0, 0, 0) 54%),
    radial-gradient(130% 130% at 100% 0%, rgba(27, 42, 94, .28) 0%, rgba(27, 42, 94, 0) 54%),
    radial-gradient(130% 130% at 0% 100%, rgba(26, 107, 60, .28) 0%, rgba(26, 107, 60, 0) 54%),
    radial-gradient(130% 130% at 100% 100%, rgba(201, 168, 76, .28) 0%, rgba(201, 168, 76, 0) 54%),
    #f6f1ea;
}

.crestery-content .hero {
  text-align: center;
  padding: 1.35rem 1.5rem 0;
}

.crestery-logo-wrap {
  display: block;
  width: min(220px, 50vw);
  margin: 0 auto -10px;
}

.crestery-logo {
  width: 100%;
  height: auto;
  display: block;
}

.crestery-content .hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 400;
  color: #2f251d;
  line-height: 1.05;
  margin: 0 auto .35rem;
}

.crestery-content .hero-eyebrow {
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8b745f;
  margin-bottom: .75rem;
}

.crestery-content .hero-tag {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #7a6654;
  margin-bottom: .65rem;
}

.crestery-sub {
  max-width: 560px;
  margin: 0 auto;
  font-size: .94rem;
  line-height: 1.7;
  color: #7c6857;
}

.crestery-content .steps-bar {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  max-width: 720px;
}

.crestery-steps-bar {
  margin: 0 auto;
  padding: 0 1.5rem;
}

.crestery-content .step-item {
  position: relative;
  flex: 1;
  text-align: center;
  color: #9d8a79;
}

.crestery-content .step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: .55rem;
  left: calc(50% + 2.3rem);
  right: calc(-50% + 2.3rem);
  height: 1px;
  background: rgba(124,102,82,.18);
}

.crestery-content .step-item.active {
  color: #7d5635;
}

.crestery-content .step-num {
  display: none;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0 auto .45rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124,102,82,.18);
  background: rgba(255,255,255,.86);
  font-size: .68rem;
  color: inherit;
}

.crestery-content .step-label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: inherit;
}

.crestery-page h1,
.crestery-success-card h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2.35rem, 4.5vw, 4.1rem);
  line-height: .96;
  margin-bottom: .9rem;
  color: #241913;
}

.crestery-how-copy h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
  margin: 0 0 .8rem;
  color: #241913;
}

.crestery-intro,
.crestery-success-card p,
.crestery-how-copy p {
  font-size: 1rem;
  line-height: 1.68;
  color: #625242;
}

.crestery-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin: 0 0 1.15rem;
}

.crestery-note {
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  background: rgba(255,251,246,.8);
  border: 1px solid rgba(88,65,47,.09);
  box-shadow: 0 12px 34px rgba(52,37,25,.05);
}

.crestery-note strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6f533d;
  margin-bottom: .45rem;
}

.crestery-note span,
.crestery-mark-copy {
  font-size: .9rem;
  line-height: 1.58;
  color: #6a5a49;
}

.crestery-hero-stats {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.crestery-stat-chip {
  min-width: 148px;
  padding: .82rem .95rem;
  border-radius: 18px;
  border: 1px solid rgba(88,65,47,.1);
  background: rgba(255,255,255,.72);
}

.crestery-stat-label,
.crestery-live-label {
  display: block;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8b7664;
  margin-bottom: .25rem;
}

.crestery-stat-value {
  font-size: .95rem;
  font-weight: 700;
  color: #2c211a;
}

.crestery-mark-title {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #7a614c;
}

.crestery-mark-card {
  height: 100%;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
  background:
    radial-gradient(circle at top right, rgba(184,148,91,.16), transparent 34%),
    linear-gradient(180deg, rgba(255,252,248,.98), rgba(241,232,221,.95));
}

.crestery-mark-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.05;
  color: #271d17;
}

.crestery-mark-list {
  display: grid;
  gap: .55rem;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6c5949;
}

.crestery-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 5px 1.5rem 4rem;
}

.crestery-content .card,
.crestery-success-card.card {
  background: #fffdf9;
  border: 1px solid rgba(124,102,82,.12);
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(68,49,34,.05);
  padding: 1.7rem;
  margin-bottom: 1.25rem;
}

.crestery-story-card.card {
  padding-top: 5px;
}

.crestery-story-card .hero-eyebrow {
  text-align: center;
  margin: 0 auto .45rem;
}

.crestery-story-card .crestery-logo {
  display: block;
  width: min(156px, 44vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto .75rem;
}

.crestery-content .card-title {
  font-size: 1.2rem;
  color: #2f251d;
  margin-bottom: .35rem;
}

.crestery-story-card .card-title {
  text-align: center;
}

.crestery-story-card .crestery-logo-wrap {
  width: min(66px, 16vw);
  margin: 0 auto .18rem;
}

.crestery-content .card-accent {
  display: block;
  font-size: .86rem;
  line-height: 1.55;
  color: #796656;
  margin-bottom: 1rem;
}

.crestery-build-strip {
  background: #f8f3eb;
  border: 1px solid rgba(124,102,82,.12);
  border-radius: 12px;
  padding: .9rem 1rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.crestery-build-item {
  min-width: 130px;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}

.crestery-label {
  color: #775b44;
  margin-bottom: 1.25rem;
}

.crestery-label::after {
  background: rgba(119,91,68,.18);
}

.crestery-preview-frame {
  position: relative;
  background: linear-gradient(180deg, #f7f2ea, #ede3d6);
  border: 1px solid rgba(124,102,82,.12);
  border-radius: 14px;
  padding: .75rem;
  min-height: 520px;
  overflow: hidden;
}

.crestery-preview-frame::before,
.crestery-preview-frame::after {
  content: '';
  position: absolute;
  inset: .75rem;
  border-radius: 12px;
  pointer-events: none;
}

.crestery-preview-frame::before {
  background:
    linear-gradient(180deg, rgba(10, 18, 28, .24), rgba(10, 18, 28, .38)),
    url('/assets/Crestery-BG.png') center center / cover no-repeat;
  filter: blur(8px) saturate(1.02);
  transform: scale(1.1);
}

.crestery-preview-frame::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 18%, rgba(255,255,255,.03) 100%),
    radial-gradient(120% 90% at 50% 100%, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 58%);
  box-shadow: inset 0 0 0 1px rgba(216, 232, 255, .08);
}

.crestery-preview-stage,
.crestery-preview-canvas {
  width: 100%;
  display: block;
  border-radius: 12px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.crestery-preview-stage {
  min-height: 500px;
  overflow: hidden;
}

.crestery-preview-stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.crestery-preview-canvas {
  height: auto;
}

.crestery-preview-stage[hidden],
.crestery-preview-canvas[hidden] {
  display: none;
}

.crestery-gallery-strip {
  position: relative;
  width: 100%;
  margin: .9rem 0 1rem;
}

.groundery-carousel-strip {
  position: relative;
  z-index: 20;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  overflow: visible;
  box-sizing: border-box;
  padding: 0;
  margin: .1rem calc(50% - 50vw) -.8rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.groundery-carousel-strip .crestery-carousel-track {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 0;
  padding: 5px .75rem .55rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  scroll-padding-inline: .75rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pinch-zoom;
  overscroll-behavior-x: contain;
  cursor: grab;
  scrollbar-width: none;
  align-items: stretch;
}

.groundery-carousel-strip .crestery-carousel-track.is-dragging {
  cursor: grabbing;
}

.groundery-carousel-strip .groundery-set {
  display: flex;
  gap: .75rem;
  padding-right: .75rem;
}

.groundery-carousel-strip .crestery-carousel-slide {
  flex: 0 0 clamp(118px, 12vw, 162px);
  scroll-snap-align: start;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: grab;
  appearance: none;
  -webkit-appearance: none;
  user-select: none;
}

.groundery-carousel-strip .crestery-carousel-slide:active {
  cursor: grabbing;
}

.groundery-carousel-strip .crestery-carousel-image {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0,0,0,.26);
}

.groundery-carousel-strip .crestery-carousel-track::-webkit-scrollbar {
  display: none;
}

.crestery-gallery-hint {
  position: absolute;
  top: 50%;
  right: .2rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(96, 72, 50, .55);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(250,245,238,.88) 42%, rgba(250,245,238,.96) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.crestery-gallery-hint.is-visible {
  opacity: 1;
}

/* Groundery picker modal */
.groundery-picker-box {
  position: relative;
  width: 95vw;
  max-width: 95vw;
  height: 95vh;
  max-height: 95vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.3rem 1.1rem;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 38%),
    linear-gradient(180deg, rgba(14,22,48,.98), rgba(8,14,28,.98));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 32px 80px rgba(0,0,0,.52);
  color: #f7f8fb;
}
.groundery-picker-eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(175,208,255,.78);
  margin-bottom: .5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
}
.groundery-picker-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  float: none;
  margin: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
  flex-shrink: 0;
}
.groundery-picker-selects {
  flex-shrink: 0;
}
.groundery-picker-preview {
  flex: 0 1 auto;
  width: min(100%, 760px);
  height: min(58vh, 620px);
  align-self: center;
  position: relative;
  overflow: hidden;
  margin-top: .4rem;
  margin-bottom: .6rem;
}
.groundery-picker-box .groundery-preview-block {
  max-width: 100%;
  gap: 0;
  display: block;
}
.groundery-picker-box .groundery-preview-inline,
.groundery-picker-box .groundery-preview-open,
.groundery-picker-box .groundery-preview-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  max-width: none;
}
.groundery-picker-box .groundery-preview-open {
  cursor: zoom-in;
}
.groundery-picker-box .groundery-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  margin: 0;
  display: block;
  max-height: none;
}
.groundery-picker-preview {
  align-self: stretch;
}
.groundery-picker-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: .6rem;
  flex-shrink: 0;
}
.groundery-picker-actions .groundery-btn {
  width: 100%;
}

/* Gallery hero — single-image carousel */
.groundery-gallery-hero {
  width: 100%;
  margin-bottom: .65rem;
}
.groundery-gallery-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}
.groundery-gallery-hero .storefront-gallery-track {
  grid-auto-columns: 100%;
  gap: 0;
  scroll-snap-type: x mandatory;
  overflow-x: scroll;
  scrollbar-width: none;
  padding-bottom: 0;
}
.groundery-gallery-hero .storefront-gallery-track::-webkit-scrollbar { display: none; }
.groundery-gallery-hero .storefront-gallery-tile {
  scroll-snap-align: start;
  width: 100%;
}
.groundery-gallery-hero .storefront-gallery-image {
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}
.groundery-gallery-hero .storefront-gallery-caption {
  display: none;
}
.groundery-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  appearance: none;
  border: none;
  background: rgba(0,0,0,.42);
  color: #fff;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .15s;
}
.groundery-gallery-nav-btn:hover { background: rgba(0,0,0,.7); }
.groundery-gallery-nav-prev { left: .5rem; }
.groundery-gallery-nav-next { right: .5rem; }

/* Picker modal — visible dropdowns */
.groundery-picker-selects {
  display: grid;
  gap: .45rem;
  margin-bottom: .5rem;
}
.groundery-picker-select {
  width: 100%;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(6,12,22,.82), rgba(10,18,32,.94)) no-repeat;
  background-image:
    linear-gradient(180deg, rgba(6,12,22,.82), rgba(10,18,32,.94)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 1rem center;
  color: #f5f7ff;
  padding: .9rem 2.5rem .9rem 1rem;
  min-height: 52px;
  font: inherit;
  font-size: .95rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.groundery-picker-select option,
.groundery-picker-select optgroup {
  background-color: #0a1220;
  color: #f5f7ff;
}
.groundery-picker-select:focus {
  outline: none;
  border-color: rgba(175,208,255,.62);
  box-shadow: 0 0 0 3px rgba(175,208,255,.12);
}

.groundery-selection-name {
  display: block;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,.92);
}
.groundery-selected-change {
  appearance: none;
  border: 1px solid rgba(175,208,255,.4);
  background: transparent;
  color: rgba(175,208,255,.9);
  border-radius: 8px;
  padding: .35rem .85rem;
  font-size: .76rem;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: .04em;
  display: block;
  width: fit-content;
  margin-inline: auto;
}
.groundery-selected-change[hidden] { display: none; }
.groundery-selected-change:hover {
  background: rgba(175,208,255,.1);
  border-color: rgba(175,208,255,.7);
}

/* CTA open-picker button */
.groundery-picker-cta,
.groundery-price-box #grounderyCheckoutBtn {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

@media (max-width: 700px) {
  .groundery-picker-cta {
    margin-top: -.08rem;
    margin-bottom: -.04rem;
  }

  .groundery-price-box-head {
    margin-bottom: -.28rem;
  }

  .groundery-club-picker {
    gap: .35rem;
  }

  .groundery-format-link {
    margin-top: -.08rem;
  }
}

/* Pricebox poster preview */
.groundery-pricebox-preview {
  display: grid;
  gap: .5rem;
  justify-items: center;
  margin-bottom: .4rem;
  scroll-margin-top: 50px;
  cursor: zoom-in;
}
.groundery-pricebox-preview[hidden] { display: none; }
.groundery-pricebox-preview-frame {
  position: relative;
  isolation: isolate;
  width: min(100%, 220px);
  background: #0a0d12;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 24px rgba(0,0,0,.32);
  border-radius: 4px;
  padding: 4px;
  line-height: 0;
  overflow: hidden;
}
.groundery-pricebox-preview-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}
.groundery-pricebox-preview-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  letter-spacing: .02em;
  margin-bottom: .3rem;
}
.groundery-pricebox-preview-label[hidden] { display: none; }

.groundery-format-row {
  display: grid;
  gap: .45rem;
  justify-items: center;
  margin-top: .85rem;
}
.groundery-format-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(208,224,255,.82);
  display: block;
  padding: 0;
  margin-top: .28rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
  width: fit-content;
  margin-inline: auto;
  opacity: .95;
}
.groundery-format-link:hover { color: #fff; opacity: 1; }

.groundery-size-guide-link {
  margin-top: .08rem;
}

.groundery-size-modal {
  align-items: flex-start;
  overflow-y: auto;
  padding: 1rem;
}
.groundery-size-box {
  width: min(100%, 880px);
  margin: auto;
  border-radius: 28px;
  padding: 1.05rem;
  background:
    radial-gradient(circle at top left, rgba(175,208,255,.15), transparent 36%),
    linear-gradient(180deg, rgba(9,15,28,.98), rgba(8,12,22,.98));
  border: 1px solid rgba(175,208,255,.14);
  box-shadow: 0 28px 70px rgba(0,0,0,.52);
}
.groundery-size-head {
  display: grid;
  gap: .35rem;
  margin-bottom: .95rem;
  padding-right: 2.2rem;
}
.groundery-size-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.02;
  color: #f6f8ff;
  margin: 0;
}
.groundery-size-sub {
  color: rgba(235,241,255,.76);
  font-size: .95rem;
  line-height: 1.45;
  max-width: 60ch;
}
.groundery-size-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.groundery-size-guide-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: .5rem;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(8,12,28,.18));
  box-shadow: 0 16px 34px rgba(4,8,20,.18);
}
.groundery-size-guide-tag {
  width: fit-content;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: rgba(175,208,255,.12);
  color: rgba(235,241,255,.92);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.groundery-size-guide-card h4 {
  margin: 0;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}
.groundery-size-guide-card p {
  margin: 0;
  color: rgba(235,241,255,.72);
  line-height: 1.5;
  font-size: .92rem;
}
.groundery-size-guide-action {
  width: 100%;
  max-width: none;
}

.groundery-compare-modal {
  align-items: flex-start;
  overflow-y: auto;
  padding: 1rem;
}
.groundery-compare-box {
  width: min(100%, 760px);
  margin: auto;
  border-radius: 28px;
  padding: 1.05rem;
  background:
    radial-gradient(circle at top left, rgba(175,208,255,.15), transparent 36%),
    linear-gradient(180deg, rgba(9,15,28,.98), rgba(8,12,22,.98));
  border: 1px solid rgba(175,208,255,.14);
  box-shadow: 0 28px 70px rgba(0,0,0,.52);
}
.groundery-compare-head {
  display: grid;
  gap: .35rem;
  margin-bottom: .95rem;
  padding-right: 2.2rem;
}
.groundery-compare-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.02;
  color: #f6f8ff;
  margin: 0;
}
.groundery-compare-sub {
  color: rgba(235,241,255,.76);
  font-size: .95rem;
  line-height: 1.45;
  max-width: 56ch;
}
.groundery-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  align-items: stretch;
}
.groundery-compare-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(255,255,255,.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  height: 100%;
}
.groundery-compare-card.is-framed {
  background:
    radial-gradient(circle at top right, rgba(175,208,255,.16), transparent 48%),
    linear-gradient(180deg, rgba(12,25,47,.95), rgba(8,15,28,.98));
}
.groundery-compare-card.is-kit {
  background:
    radial-gradient(circle at top right, rgba(255,191,122,.16), transparent 48%),
    linear-gradient(180deg, rgba(38,22,12,.95), rgba(18,12,8,.98));
}
.groundery-compare-card h4 {
  margin: 0 0 .45rem;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.groundery-compare-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border-radius: 999px;
  padding: .35rem .6rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .7rem;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
}
.groundery-compare-tag.is-framed { background: rgba(175,208,255,.15); }
.groundery-compare-tag.is-kit { background: rgba(255,191,122,.16); }
.groundery-compare-card p {
  margin: 0;
  color: rgba(235,241,255,.78);
  font-size: .92rem;
  line-height: 1.45;
}
.groundery-compare-list {
  display: grid;
  gap: .45rem;
  margin: .8rem 0 1rem;
  padding: 0;
  list-style: none;
}
.groundery-compare-list li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(245,247,255,.84);
  font-size: .9rem;
  line-height: 1.35;
}
.groundery-compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .52em;
  width: .4rem;
  height: .4rem;
  border-radius: 999px;
  background: currentColor;
  opacity: .8;
}
.groundery-compare-price {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-top: auto;
}
.groundery-compare-action {
  width: 100%;
  margin-top: .9rem;
}
.groundery-compare-close {
  top: .8rem;
  right: .8rem;
}

/* Mobile: compact picker modal */
@media (max-width: 560px) {
  .brand-switcher {
    gap: .45rem;
    padding: 6px 8px;
  }
  .gang-switch {
    gap: 3px;
    padding: 0 2px;
  }
  .gang-logo {
    height: 16px;
    max-width: 34px;
  }
  .gang-label {
    font-size: .6rem;
    letter-spacing: .12em;
  }
  #grounderyPickerModal {
    padding: .45rem;
  }
  .groundery-picker-box {
    width: calc(100vw - .9rem);
    max-width: calc(100vw - .9rem);
    height: calc(100dvh - .9rem);
    max-height: calc(100dvh - .9rem);
    padding: .9rem .82rem .9rem;
  }
  .groundery-gallery-nav-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
  .groundery-pricebox-preview-frame {
    width: min(100%, 140px);
  }
  .groundery-size-guide-grid {
    grid-template-columns: 1fr;
  }
  .groundery-size-box {
    width: min(100%, 100%);
    padding: .95rem;
    border-radius: 22px;
  }
  .groundery-size-head {
    padding-right: 2rem;
  }
  .groundery-compare-box {
    width: min(100%, 100%);
    padding: .95rem;
    border-radius: 22px;
  }
  .groundery-compare-grid {
    grid-template-columns: 1fr;
  }
  .groundery-compare-card {
    height: auto;
  }
  .groundery-compare-card h4 {
    font-size: .98rem;
    line-height: 1.2;
    margin-bottom: .35rem;
  }
  .groundery-compare-card p {
    font-size: .84rem;
    line-height: 1.38;
  }
  .groundery-compare-list {
    gap: .3rem;
    margin: .7rem 0 .85rem;
  }
  .groundery-compare-list li {
    font-size: .82rem;
    line-height: 1.28;
  }
  .groundery-compare-price {
    font-size: 1.22rem;
    line-height: 1.1;
  }
  .groundery-compare-action {
    margin-top: .75rem;
  }
  .groundery-picker-actions {
    flex-direction: column;
  }
  .groundery-picker-preview {
    width: 100%;
    height: min(54dvh, 520px);
    margin-top: .55rem;
    margin-bottom: .45rem;
  }
  body.groundery .groundery-content,
  html.product-groundery .groundery-content { padding-top: 0; }
  .groundery-page {
    padding-left: 0;
    padding-right: 0;
  }
}

.crestery-gallery-hint-arrow {
  font-size: 1.25rem;
  line-height: 1;
}

.crestery-carousel-track {
  display: flex;
  gap: .7rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scroll-padding-inline: .25rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: none;
  align-items: stretch;
  padding: 0;
}

.crestery-carousel-track::-webkit-scrollbar {
  display: none;
}

.crestery-carousel-slide {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  cursor: zoom-in;
}

.crestery-carousel-image {
  width: auto;
  height: auto;
  max-width: min(38vw, 320px);
  max-height: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10pt;
  background: transparent;
  box-shadow: none;
}


.crestery-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(4, 8, 18, .9);
}

.crestery-gallery-modal[hidden] {
  display: none !important;
}

.crestery-gallery-modal-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.crestery-gallery-modal-image {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 10pt;
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
  background: transparent;
}

.crestery-gallery-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  appearance: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(10,17,26,.72);
  color: #edf3ff;
  border-radius: 999px;
  padding: .7rem .95rem;
  font: inherit;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}

.crestery-section {
  margin-bottom: 1.2rem;
}

.crestery-config-intro,
.crestery-helper-copy {
  color: #776758;
  line-height: 1.55;
}

.crestery-config-intro {
  margin: -.2rem 0 1.2rem;
  font-size: .92rem;
}

.crestery-helper-copy {
  font-size: .74rem;
}

.crestery-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
}

.crestery-field-label,
.crestery-slider-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #846f5e;
}

.crestery-counter,
.crestery-slider-value {
  font-size: .76rem;
  color: #6d594a;
}

.crest-grid,
.font-grid,
.crestery-colour-grid {
  display: grid;
  gap: .7rem;
}

.crest-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px,1fr));
}

.crestery-select {
  width: 100%;
  border: 1.5px solid rgba(88,65,47,.12);
  border-radius: 10px;
  padding: .9rem 1rem;
  background: #fff;
  color: #2f2218;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  outline: none;
}

.crestery-select:focus {
  border-color: #6f5139;
  box-shadow: 0 0 0 3px rgba(111,81,57,.1);
}

.crestery-select-meta {
  margin-top: .55rem;
  font-size: .78rem;
  line-height: 1.5;
  color: #7b6857;
}
.crestery-picker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 0.5fr));
  gap: .35rem;
  margin: .4rem 0 .8rem;
  justify-content: center;
}
.crestery-picker-grid .crest-card {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font: inherit;
  cursor: pointer;
  transform: none;
  gap: .2rem;
}
.crestery-picker-grid .crest-card:hover {
  transform: translateY(-1px);
  filter: none;
}
.crestery-picker-grid .crest-card.active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  filter: none;
}
.crestery-picker-grid .crest-card.active img {
  filter:
    drop-shadow(0 0 14px rgba(255,255,255,.55))
    drop-shadow(0 0 28px rgba(255,255,255,.22));
}
.crestery-picker-grid .crest-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: block;
  filter: none;
}

.crestery-picker-grid .crest-card-badge {
  display: block;
  margin: 0 0 .12rem;
  font-size: .48rem;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(183, 194, 214, .88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

.crest-grid-hero {
  grid-template-columns: repeat(auto-fit, minmax(128px,1fr));
}

.font-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.crest-card,
.font-btn,
.swatch-btn {
  border: 1.5px solid rgba(88,65,47,.1);
  border-radius: 12px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.crest-card:hover,
.font-btn:hover,
.swatch-btn:hover {
  border-color: rgba(107,79,55,.24);
  transform: translateY(-1px);
}

.crest-card.active,
.font-btn.active,
.swatch-btn.active {
  border-color: #6f5139;
  box-shadow: 0 0 0 3px rgba(111,81,57,.1);
  background: #f8f1e7;
}

.crestery-picker-grid .crest-card.active {
  background: transparent;
}

.crest-card {
  padding: .85rem;
  text-align: left;
  cursor: pointer;
}

.crest-card-hero {
  padding: .72rem;
}

.crest-preview {
  aspect-ratio: 107 / 162;
  border-radius: 10px;
  border: 1px solid rgba(88,65,47,.08);
  background: linear-gradient(180deg, #fffdfa, #f2eadd);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .7rem;
  margin-bottom: .8rem;
}

.crest-preview img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.crest-card-hero .crest-preview {
  margin-bottom: .55rem;
  padding: .5rem;
}

.crest-card-hero .crest-title {
  font-size: .82rem;
}

.crest-card-hero .crest-meta {
  font-size: .67rem;
}

.crest-title {
  font-size: .95rem;
  font-weight: 700;
  color: #2c211a;
}

.crest-meta {
  margin-top: .2rem;
  font-size: .74rem;
  color: #786453;
}

.crest-cta {
  margin-top: .5rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6f5139;
}

.crestery-hero-chooser {
  margin: 1.05rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(88,65,47,.1);
}

.crestery-chooser-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6f5139;
}

.crestery-chooser-copy {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: #8c7764;
}

body.crestery-page input[type=text],
body.crestery .crestery-content input[type=text] {
  width: 100%;
  border: 1.5px solid rgba(88,65,47,.12);
  border-radius: 10px;
  padding: .8rem .9rem;
  background: rgba(255,255,255,.95);
  color: #2f2218;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

body.crestery-page input[type=text]:focus,
body.crestery .crestery-content input[type=text]:focus {
  border-color: #6f5139;
  box-shadow: 0 0 0 3px rgba(111,81,57,.1);
}

.font-btn {
  min-height: 70px;
  padding: .8rem .75rem;
  font-size: .96rem;
  color: #2f2218;
}

.font-btn small {
  display: block;
  margin-top: .4rem;
  font-family: 'Lato', sans-serif;
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #83705f;
}

.crestery-colour-grid {
  grid-template-columns: repeat(7, minmax(0,1fr));
}

.swatch-btn {
  padding: .55rem .2rem;
  display: grid;
  justify-items: center;
  gap: .35rem;
  background: #fff;
}

.swatch-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.08);
}

.swatch-name {
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6f5e50;
}

.crestery-slider-block {
  margin-bottom: .85rem;
}

body.crestery-page input[type=range],
body.crestery .crestery-content input[type=range] {
  width: 100%;
  accent-color: #6f5139;
}

.crestery-reset-btn {
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(111,81,57,.16);
  background: rgba(255,255,255,.72);
  color: #6f5139;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.crestery-reset-btn:hover {
  border-color: rgba(111,81,57,.3);
}

.crestery-summary {
  margin-top: 1.1rem;
  background: #f8f3eb;
  text-align: center;
}

.crestery-summary-line {
  font-size: .92rem;
  color: #56473a;
  margin-top: .75rem;
}

.crestery-summary-delivery {
  color: #8a7563;
}

.crestery-price {
  color: #2d2017;
}

.crestery-buy-btn {
  margin-top: 1rem;
}

.crestery-secure-note {
  color: #85705f;
}

.crestery-error {
  min-height: 1.2rem;
  margin-top: .75rem;
  font-size: .82rem;
  color: #a34343;
}

.crestery-content .how {
  background: #fffdfa;
  border-top: 1px solid rgba(124,102,82,.12);
  padding: 3.2rem 1.5rem;
}

.crestery-content .how-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.crestery-content .how h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #2f251d;
  margin-bottom: .75rem;
  line-height: 1.08;
}

.crestery-content .how-sub {
  color: #7a6654;
  margin-bottom: 2rem;
  font-size: .9rem;
}

.crestery-content .how-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.2rem;
}

.crestery-content .how-step {
  text-align: center;
}

.crestery-content .how-step-n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4ebde;
  color: #8b5e39;
  font-size: .92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .8rem;
  border: 1px solid rgba(124,102,82,.12);
}

.crestery-content .how-step h3 {
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .35rem;
}

.crestery-content .how-step p {
  font-size: .78rem;
  color: #7a6654;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .crestery-content .steps-bar {
    gap: .6rem;
  }

  .crestery-content .step-item:not(:last-child)::after {
    left: calc(50% + 1.45rem);
    right: calc(-50% + 1.45rem);
  }

  .crestery-main {
    padding: 5px 1rem 3rem;
  }

  .crestery-content .card {
    padding: 1.35rem;
  }

  .crest-grid,
  .font-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crestery-build-strip,
  .crestery-summary {
    display: grid;
    grid-template-columns: 1fr;
  }

.crestery-summary-price {
  text-align: center;
}

  .crestery-content .how-steps {
    grid-template-columns: 1fr;
  }

  .crestery-colour-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

.crestery-success-page {
  display: flex;
  flex-direction: column;
}

.crestery-success-shell {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1.4rem 3rem;
}

.crestery-success-card {
  width: min(680px, 100%);
  text-align: center;
}

.crestery-success-intro {
  max-width: 580px;
  margin: 0 auto;
}

.crestery-order-ref {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8ee, #ebdbc6);
  color: #6b4827;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: .4rem 0 1.2rem;
}

.crestery-success-steps {
  display: grid;
  gap: .8rem;
  margin: 0 0 1.35rem;
}

.crestery-success-step {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(88,65,47,.08);
  text-align: left;
}

.crestery-success-step strong {
  display: block;
  margin-bottom: .35rem;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #715842;
}

.crestery-success-step span {
  font-size: .92rem;
  line-height: 1.58;
  color: #665344;
}

.crestery-success-links {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.crestery-success-links a {
  color: #6b4827;
  font-weight: 700;
}

@media (max-width: 980px) {
  .crestery-workbench,
  .crestery-how {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .crestery-stage.card,
  .crestery-config.card {
    padding: 1.45rem;
  }

  .font-grid,
  .crestery-how {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crestery-live-specs {
    grid-template-columns: 1fr;
  }

  .crestery-colour-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }

  .crestery-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .crestery-summary-price {
    text-align: center;
  }

  .crestery-stage-meta {
    letter-spacing: .12em;
  }
}

/* ══════════════════════════════════════════
   CRESTERY — Football Theme Override
══════════════════════════════════════════ */
html.product-crestery body,
body.crestery,
body.crestery-page {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(199, 31, 55, .28) 0%, rgba(199, 31, 55, 0) 56%),
    radial-gradient(120% 120% at 100% 0%, rgba(38, 68, 165, .28) 0%, rgba(38, 68, 165, 0) 56%),
    radial-gradient(120% 120% at 0% 100%, rgba(31, 138, 76, .24) 0%, rgba(31, 138, 76, 0) 56%),
    radial-gradient(120% 120% at 100% 100%, rgba(232, 182, 63, .22) 0%, rgba(232, 182, 63, 0) 56%),
    linear-gradient(180deg, #0b1118 0%, #0f1721 48%, #0a1219 100%);
  color: #e8eef7;
}

html.product-crestery .brand-switcher,
body.crestery .brand-switcher,
body.crestery-page .brand-switcher {
  background: rgba(8, 14, 22, .82);
  border-bottom-color: rgba(255, 255, 255, .12);
}

html.product-crestery .crestery-content,
body.crestery .crestery-content,
body.crestery-page .crestery-content {
  background:
    radial-gradient(140% 140% at 50% 0%, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(7, 13, 20, .84) 0%, rgba(7, 13, 20, .66) 100%);
}

html.product-crestery .crestery-content .hero h1,
html.product-crestery .crestery-page h1,
html.product-crestery .crestery-success-card h1,
body.crestery .crestery-content .hero h1,
body.crestery-page .crestery-content .hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #f2f7ff;
}

html.product-crestery .crestery-content .hero-eyebrow,
html.product-crestery .crestery-content .hero-tag,
body.crestery .crestery-content .hero-eyebrow,
body.crestery .crestery-content .hero-tag {
  color: #b9c6d9;
  letter-spacing: .22em;
}

html.product-crestery .crestery-sub,
body.crestery .crestery-sub {
  color: #d2dceb;
}

html.product-crestery .crestery-content .card,
html.product-crestery .crestery-success-card.card,
body.crestery .crestery-content .card,
body.crestery .crestery-success-card.card {
  background: linear-gradient(180deg, rgba(16, 24, 36, .9), rgba(11, 18, 28, .88));
  border: 1px solid rgba(139, 169, 215, .22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
}

html.product-crestery .crestery-content .card-title,
body.crestery .crestery-content .card-title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #f3f7ff;
}

html.product-crestery .crestery-content .card-accent,
body.crestery .crestery-content .card-accent {
  color: #9fb3cf;
}

html.product-crestery .crestery-gallery-card,
body.crestery .crestery-gallery-card {
  background: linear-gradient(180deg, rgba(13, 21, 32, .88), rgba(10, 16, 25, .84));
  border-color: rgba(130, 160, 203, .22);
}

html.product-crestery .crestery-carousel-image,
body.crestery .crestery-carousel-image {
  background: rgba(255,255,255,.03);
}

html.product-crestery .crestery-build-strip,
body.crestery .crestery-build-strip {
  background: rgba(12, 20, 30, .7);
  border-color: rgba(132, 162, 206, .22);
}

html.product-crestery .crestery-preview-frame,
body.crestery .crestery-preview-frame {
  background: linear-gradient(180deg, #0e1824 0%, #0a131d 100%);
  border-color: rgba(130, 160, 203, .26);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255,255,255,.06);
}

html.product-crestery .crestery-content .info-key,
body.crestery .crestery-content .info-key {
  color: #96abca;
}

html.product-crestery .crestery-content .info-val,
body.crestery .crestery-content .info-val {
  color: #e8effa;
}

html.product-crestery .crestery-select,
html.product-crestery .crestery-content input[type=text],
body.crestery .crestery-select,
body.crestery .crestery-content input[type=text] {
  background: rgba(10, 17, 26, .84);
  border-color: rgba(125, 156, 199, .34);
  color: #edf3ff;
}

html.product-crestery .swatch-btn,
html.product-crestery .font-btn,
body.crestery .swatch-btn,
body.crestery .font-btn {
  background: rgba(11, 19, 29, .88);
  border-color: rgba(126, 157, 200, .26);
  color: #d7e3f6;
}

html.product-crestery .swatch-btn.active,
html.product-crestery .font-btn.active,
body.crestery .swatch-btn.active,
body.crestery .font-btn.active {
  border-color: rgba(232, 182, 63, .68);
  box-shadow: 0 0 0 3px rgba(232, 182, 63, .14);
}

html.product-crestery .crestery-buy-btn,
body.crestery .crestery-buy-btn {
  width: 100%;
  padding: 1.1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2458d1, #1b8a4c);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(24, 80, 181, .32);
}

html.product-crestery .crestery-buy-btn:hover:not(:disabled),
body.crestery .crestery-buy-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #2d67ea, #23a35a);
  box-shadow: 0 6px 28px rgba(24, 80, 181, .4);
}

/* Extra punch: make Crestery feel like a football product, not bridal stationery */
html.product-crestery .crestery-content::before,
body.crestery .crestery-content::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.02) 0px,
      rgba(255,255,255,.02) 1px,
      transparent 1px,
      transparent 56px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.015) 0px,
      rgba(255,255,255,.015) 1px,
      transparent 1px,
      transparent 56px
    );
}

html.product-crestery .crestery-content > *,
body.crestery .crestery-content > * {
  position: relative;
  z-index: 1;
}

html.product-crestery .crestery-logo-wrap,
body.crestery .crestery-logo-wrap {
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.35));
}

html.product-crestery .crestery-content .hero h1,
body.crestery .crestery-content .hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.1rem);
  line-height: .95;
  text-shadow:
    0 2px 0 rgba(0,0,0,.35),
    0 10px 30px rgba(0,0,0,.38);
}

html.product-crestery .crestery-content .hero-tag,
body.crestery .crestery-content .hero-tag {
  font-weight: 700;
  color: #d4e0f2;
}

html.product-crestery .crestery-content .steps-bar,
body.crestery .crestery-content .steps-bar {
  gap: .65rem;
}

html.product-crestery .crestery-content .step-item,
body.crestery .crestery-content .step-item {
  border: 1px solid rgba(120, 152, 196, .28);
  border-radius: 999px;
  padding: .55rem .8rem;
  background: rgba(10, 18, 28, .68);
  backdrop-filter: blur(3px);
}

html.product-crestery .crestery-content .step-item.active,
body.crestery .crestery-content .step-item.active {
  border-color: rgba(232, 182, 63, .62);
  box-shadow: 0 0 0 2px rgba(232, 182, 63, .14);
}

html.product-crestery .crestery-content .step-item:not(:last-child)::after,
body.crestery .crestery-content .step-item:not(:last-child)::after {
  display: none;
}

html.product-crestery .crestery-content .card,
body.crestery .crestery-content .card {
  border-radius: 18px;
  border-width: 1.5px;
}

html.product-crestery .crestery-build-item,
body.crestery .crestery-build-item {
  background: rgba(7, 13, 22, .7);
  border: 1px solid rgba(124, 156, 201, .2);
  border-radius: 10px;
  padding: .55rem .65rem;
}

html.product-crestery .crestery-preview-stage,
html.product-crestery .crestery-preview-canvas,
body.crestery .crestery-preview-stage,
body.crestery .crestery-preview-canvas {
  border-radius: 12px;
  background: transparent;
}

html.product-crestery .crestery-select,
body.crestery .crestery-select {
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

html.product-crestery .crestery-buy-btn,
body.crestery .crestery-buy-btn {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 400;
  border-radius: 10px;
}

html.product-crestery .secure-note,
body.crestery .secure-note {
  color: #a6b9d3;
}
