/* Flat storefront look: product cards + product detail page */
.dgc { position: relative; display: block; min-width: 0; font-family: 'Poppins', 'Figtree', system-ui, sans-serif; }
.dgc-img { display: block; position: relative; aspect-ratio: 1; background: #f3f3f3; overflow: hidden; }
.dgc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.dgc:hover .dgc-img img { transform: scale(1.04); }
.dgc-tag { position: absolute; top: 18px; right: 8px; z-index: 2; background: #ff9a2b; color: #fff; font: 500 14px/1 'Poppins', system-ui, sans-serif; padding: 8px 14px; }
.dgc-t { font: 400 16.5px/1.5 'Poppins', system-ui, sans-serif; letter-spacing: .01em; margin: 14px 0 6px; color: #222; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dgc-t a { color: inherit; text-decoration: none; } .dgc-t a:hover { color: #e4002b; }
.dgc-p { font: 500 16px 'Poppins', system-ui, sans-serif; color: #e4002b; }
.dgc-p s { color: #888; margin-right: 4px; } .dgc-p b { font-weight: 500; } .dgc-p b.n { color: #222; }
.products-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 28px; }
@media (max-width: 1000px) { .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } .dgc-t { font-size: 14px; } .dgc-tag { font-size: 12px; padding: 6px 10px; top: 12px; } .dgc-p { font-size: 14px; } }

/* product page */
.pd { max-width: 1240px; margin: 0 auto; padding: 36px 20px 60px; font-family: 'Poppins', 'Figtree', system-ui, sans-serif; color: #222; }
.pd-crumb { font-size: 13px; color: #777; margin-bottom: 18px; } .pd-crumb a { color: #555; text-decoration: none; } .pd-crumb a:hover { color: #e4002b; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pd-gal { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; position: relative; }
.pd-th { display: flex; flex-direction: column; gap: 12px; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.pd-th button { border: 2px solid transparent; background: #f3f3f3; padding: 0; aspect-ratio: 1; cursor: pointer; flex: none; }
.pd-th button.on { border-color: #222; } .pd-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-main { position: relative; aspect-ratio: 1; background: #f3f3f3; overflow: hidden; cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pd-main.zoom img { transform: scale(1.8); }
.pd-sale { position: absolute; top: 14px; right: 0; background: #ff9a2b; color: #fff; font: 500 13px/1 'Poppins', system-ui, sans-serif; padding: 9px 16px; letter-spacing: .08em; z-index: 2; text-transform: uppercase; }
.pd-info h1 { font: 600 22px/1.35 'Poppins', system-ui, sans-serif; margin: 0 0 12px; }
.pd-rp { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pd-stars { color: #cfcfcf; letter-spacing: 3px; font-size: 18px; } .pd-stars i { color: #f5a300; font-style: normal; } .pd-stars span { color: #222; font-size: 15px; letter-spacing: 0; margin-left: 8px; }
.pd-price { font-size: 28px; font-weight: 500; color: #e4002b; } .pd-price s { color: #777; font-size: 25px; margin-right: 10px; }
.pd-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 18px; }
.pd-trust div { border: 1.5px solid #dfe6f5; border-radius: 12px; text-align: center; padding: 14px 6px 12px; background: linear-gradient(#fff, #f3f7ff); }
.pd-trust svg { width: 52px; height: 52px; display: block; margin: 0 auto 8px; }
.pd-trust b { display: block; font: 800 14px/1.15 'Bebas Neue', 'Oswald', Impact, sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.pd-trust div:nth-child(1) b, .pd-trust div:nth-child(1) svg { color: #1a56b0; } .pd-trust div:nth-child(2) b, .pd-trust div:nth-child(2) svg { color: #1f8a3a; } .pd-trust div:nth-child(3) b, .pd-trust div:nth-child(3) svg { color: #f07a00; } .pd-trust div:nth-child(4) b, .pd-trust div:nth-child(4) svg { color: #7a35b8; }
.pd-band { background: #0c1b3d; color: #ffd24a; text-align: center; font: italic 600 19px/1 'Lobster', 'Dancing Script', cursive; padding: 13px 10px; margin-bottom: 22px; border-radius: 4px; }
.pd-sizes { margin: 0 0 20px; } .pd-sizes h4 { margin: 0 0 8px; font: 600 14px 'Poppins', sans-serif; }
.pd-sizes .ch { display: flex; flex-wrap: wrap; gap: 8px; } .pd-sizes button { border: 1.5px solid #d9d9d9; background: #fff; padding: 9px 13px; font: 500 13.5px 'Poppins', sans-serif; cursor: pointer; border-radius: 4px; }
.pd-sizes button.on { border-color: #222; background: #222; color: #fff; }
.pd-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; color: #fff; font: 500 17px 'Poppins', sans-serif; padding: 14px 26px; text-decoration: none; cursor: pointer; border-radius: 4px; }
.pd-prev { background: #22a361; font-size: 15.5px; padding: 12px 18px; } .pd-prev:hover { background: #1b8a51; }
.pd-cust { background: #ff3b30; border-radius: 99px; padding: 14px 34px; font-size: 18px; } .pd-cust:hover { background: #e62e24; }
.pd-row { margin: 22px 0 0; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.pd-qty { display: inline-flex; align-items: center; border: 2px solid #222; border-radius: 99px; height: 52px; padding: 0 6px; }
.pd-qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 22px; cursor: pointer; } .pd-qty input { width: 44px; text-align: center; border: 0; font: 500 17px 'Poppins', sans-serif; background: none; }
.pd-heart { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #222; background: #fff; display: grid; place-items: center; cursor: pointer; } .pd-heart svg { width: 22px; height: 22px; fill: none; stroke: #222; stroke-width: 2; } .pd-heart[aria-pressed=true] svg { fill: #e4002b; stroke: #e4002b; }
.pd-feat { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; } .pd-feat li::before { content: '✓'; color: #22a361; font-weight: 700; margin-right: 9px; }
.pd-sec { margin-top: 56px; } .pd-sec h2 { font: 600 22px 'Poppins', sans-serif; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid #eee; } .pd-sec p { line-height: 1.7; color: #444; max-width: 80ch; }
.pd-rel { margin-top: 56px; } .pd-rel h2 { font: 600 22px 'Poppins', sans-serif; margin: 0 0 20px; }
.pd-sticky { display: none; }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; gap: 22px; } .pd-gal { grid-template-columns: 1fr; } .pd-th { flex-direction: row; order: 2; max-height: none; overflow-x: auto; } .pd-th button { width: 74px; } .pd-info h1 { font-size: 19px; } .pd-price { font-size: 24px; } .pd-trust svg { width: 40px; height: 40px; } .pd-trust b { font-size: 12px; } .pd-band { font-size: 15px; }
  .pd-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 56px; z-index: 40; background: #fff; border-top: 1px solid #ddd; padding: 10px 14px; gap: 12px; align-items: center; justify-content: space-between; } .pd-sticky b { color: #e4002b; font-size: 20px; font-weight: 500; } .pd-sticky .pd-cust { padding: 12px 28px; } .pd { padding-bottom: 130px; } }
.pd-lb { position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 200; display: grid; place-items: center; padding: 20px; } .pd-lb[hidden] { display: none; } .pd-lb img { max-width: 100%; max-height: 92vh; background: #fff; } .pd-lb button { position: absolute; top: 14px; right: 18px; font-size: 38px; background: none; border: 0; color: #fff; cursor: pointer; }
body:has(.pd) { background: #fff; }
.dg-sec { padding: 56px 0 8px; font-family: 'Poppins', 'Figtree', system-ui, sans-serif; background: #fff; }
.dg-sec .wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.dg-h { text-align: center; font: 600 28px 'Poppins', system-ui, sans-serif; letter-spacing: .04em; margin: 0; color: #222; }
.dg-sub { text-align: center; color: #777; margin: 6px 0 34px; font-size: 15px; }
.dg-ban-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dg-ban a { position: relative; display: block; aspect-ratio: 16/8; overflow: hidden; background: #eee; color: #fff; text-decoration: none; }
.dg-ban img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .dg-ban a:hover img { transform: scale(1.04); }
.dg-ban span { position: absolute; left: 24px; bottom: 22px; font: 600 26px 'Poppins', sans-serif; text-shadow: 0 2px 10px rgba(0,0,0,.55); } .dg-ban small { display: block; font-size: 14px; font-weight: 500; margin-top: 4px; }
@media (max-width: 680px) { .dg-ban-in { grid-template-columns: 1fr; gap: 14px; } .dg-h { font-size: 22px; } .dg-sec { padding-top: 38px; } }
.mos { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 14px !important; column-count: unset !important; }
.mos a { display: block; aspect-ratio: 1; overflow: hidden; background: #eee; margin: 0 !important; } .mos img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 680px) { .mos { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; } }
.dg-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1240px; margin: 56px auto 0; padding: 28px 20px; border-top: 1px solid #eee; font-family: 'Poppins', system-ui, sans-serif; text-align: center; }
.dg-feat b { display: block; font-weight: 600; letter-spacing: .05em; margin-bottom: 4px; } .dg-feat span { color: #666; font-size: 14px; }
@media (max-width: 680px) { .dg-feat { grid-template-columns: 1fr; gap: 14px; margin-bottom: 70px; } }
/* inline personalise + stage */
.pd-stage { position: relative; background: #fff; box-shadow: 0 1px 8px rgba(0,0,0,.12); }
.pd-bar { height: 56px; background: #0494ea; display: flex; align-items: center; justify-content: center; gap: 22px; position: relative; }
.pd-bar button { border: 0; background: none; color: #fff; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; } .pd-bar button:disabled { opacity: .45; cursor: default; }
.pd-bar svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pd-bar .pd-sale { top: 14px; right: 0; }
.pd-gal { align-items: start; } .pd-main { aspect-ratio: 1; }
.pd-live { position: absolute; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #111; line-height: 1.15; overflow: hidden; pointer-events: none; text-shadow: 0 1px 0 rgba(255,255,255,.6); word-break: break-word; }
.pd-pers { border: 1px solid #e6e6e6; padding: 12px; margin: 0 0 18px; box-shadow: 0 1px 6px rgba(0,0,0,.06); display: grid; gap: 12px; }
.pd-fld label { display: block; color: #777; font-size: 15px; margin: 4px 0 8px 4px; }
.pd-ta { position: relative; } .pd-ta textarea { width: 100%; min-height: 118px; border: 1px solid #1fa05a; border-radius: 3px; padding: 10px 12px; font: 400 17px 'Poppins', system-ui, sans-serif; resize: vertical; } .pd-ta textarea:focus { outline: 2px solid rgba(31,160,90,.25); }
.pd-clr { position: absolute; top: 4px; right: 6px; border: 0; background: none; font: 500 12px 'Poppins', sans-serif; color: #222; cursor: pointer; padding: 4px; }
.pd-pers select { width: 100%; height: 50px; border: 1px solid #ccc; border-radius: 3px; padding: 0 12px; font-size: 16px; background: #fff; }
.pd-pay { background: #22a361; border-radius: 99px; padding: 14px 34px; font-size: 18px; } .pd-pay:hover { background: #1b8a51; }
.pd-cust { background: #fff; color: #ff3b30; border: 2px solid #ff3b30; padding: 12px 24px; } .pd-cust:hover { background: #fff3f2; }
@media (max-width: 900px) {
  .pd-sticky { display: flex !important; bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.1); z-index: 60; }
  .pd-sticky b { font-size: 22px; } .pd-sticky .pd-pay { flex: 1; justify-content: center; max-width: 260px; padding: 13px 18px; font-size: 17px; }
  .pd-bar { gap: 14px; } .pd-th { order: 3; }
  .pd-row .pd-pay, .pd-row .pd-cust { flex: 1 1 100%; justify-content: center; }
  .pd { padding-bottom: 110px; }
}
body:has(.pd) .tabbar { display: none !important; } .pd-sticky { z-index: 950 !important; }
/* live product previews */
.pd-pv { position: absolute; inset: 0; background: #f3f3f3; display: grid; place-items: center; padding: 6%; font-family: 'Poppins', system-ui, sans-serif; overflow: hidden; }
.pd-dt span { font: 600 12px/1.2 'Poppins', sans-serif; color: #0494ea; display: grid; place-items: center; height: 100%; text-align: center; }
.pv-t { text-align: center; line-height: 1.12; color: #111; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; word-break: break-word; }
.pv-t div { max-width: 100%; white-space: nowrap; }
.pv-sheet { width: 62%; display: grid; gap: 4.5%; background: #7d7d7d; padding: 7% 8%; margin: auto; }
.pv-lab { height: 0; padding-bottom: 28%; position: relative; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.pv-lab { display: flex; align-items: center; gap: 4%; padding: 0; height: auto; aspect-ratio: 3 / 1; padding: 2% 5%; } .pv-lab i { font-style: normal; font-size: clamp(28px, 6vw, 62px); line-height: 1; flex: none; } .pv-lab .pv-t { flex: 1; height: 100%; }
.pv-sts { width: 82%; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; } .pv-st { aspect-ratio: 1; border-radius: 50%; padding: 14%; box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 0 0 4px #fff; }
.pv-key { position: relative; width: 52%; aspect-ratio: 3 / 4.6; margin: auto; padding-top: 12%; } .pv-key .ring { position: absolute; top: 0; left: 50%; width: 36%; aspect-ratio: 1; margin-left: -18%; border: 6px solid #c9ced4; border-radius: 50%; }
.pv-keyb { position: relative; height: 100%; background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.2); overflow: hidden; display: flex; flex-direction: column; } .pv-keyb .pv-t { flex: none; height: 20%; padding: 2% 4%; }
.pv-ph { background: #e9edf2; border: 2px dashed #9aa6b4; display: grid; place-items: center; color: #4a5a70; font-size: 13px; text-align: center; cursor: pointer; overflow: hidden; line-height: 1.3; }
.pv-ph.fill { flex: 1; } .pv-ph.sq { aspect-ratio: 1; width: 100%; } .pv-ph img { width: 100%; height: 100%; object-fit: cover; display: block; } .pv-ph:has(img) { border: 0; }
.pv-pol { width: 62%; background: #fff; padding: 6% 6% 3%; box-shadow: 0 8px 22px rgba(0,0,0,.2); display: grid; gap: 4%; } .pv-pol .pv-t { height: 11vw; max-height: 70px; min-height: 40px; }
.pv-frm { width: 66%; aspect-ratio: 4 / 5; background: #fff; border-radius: 10px; box-shadow: 0 8px 26px rgba(0,0,0,.22); padding: 4%; display: flex; flex-direction: column; gap: 3%; } .pv-frm .pv-t { flex: none; height: 16%; }
.pv-tag { position: relative; width: 50%; aspect-ratio: 3 / 4.4; background: #fff; clip-path: polygon(0 12%, 12% 0, 88% 0, 100% 12%, 100% 100%, 0 100%); padding: 22% 8% 8%; box-shadow: 0 6px 16px rgba(0,0,0,.2); } .pv-tag .hole { position: absolute; top: 7%; left: 50%; width: 9%; aspect-ratio: 1; margin-left: -4.5%; border-radius: 50%; background: #f3f3f3; }
.pv-tee { position: relative; width: 82%; aspect-ratio: 1; } .pv-tee svg { width: 100%; height: 100%; } .pv-tz { position: absolute; left: 33%; top: 30%; width: 34%; height: 24%; }
.pv-card { width: 82%; aspect-ratio: 1.75; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.2); padding: 8%; border-left: 12px solid #0494ea; } .pv-card.sq { aspect-ratio: 1; display: flex; flex-direction: column; gap: 4%; }
.pd-upl { margin-top: 2px; } .pd-up { width: 100%; height: 46px; border: 2px dashed #22a361; background: #f2fbf6; color: #1b8a51; font: 500 15px 'Poppins', sans-serif; border-radius: 4px; cursor: pointer; } .pd-upl small { display: block; margin-top: 6px; color: #666; }
.pd-main img#pdImg[style*="none"] { display: none; }
.pv-sheet, .pv-lab, .pv-st, .pv-keyb, .pv-pol, .pv-frm, .pv-card { box-sizing: border-box; }
.pv-sheet { width: 66%; } .pv-lab { padding: 2% 5% !important; min-width: 0; }
@media (max-width: 900px) {
  .pd-gal { display: contents; }
  .pd-stage { position: sticky; top: 0; z-index: 30; }
  .pd-stage .pd-main { aspect-ratio: auto; height: 40vh; min-height: 240px; }
  .pd-bar { height: 46px; }
  .pd-th { grid-row: auto; }
  .pd-ta textarea { min-height: 72px; }
  .pd-pers { gap: 6px; }
}
.pd-sw { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .pd-sw button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #c9c9c9; cursor: pointer; padding: 0; } .pd-sw button.on { box-shadow: 0 0 0 3px #22a361; }
.pd-cc { position: absolute; left: 10px; bottom: 6px; font-size: 12px; color: #888; z-index: 1; pointer-events: none; }
