/* Softnape Personalize */
:root { --snp-navy: #1E2340; --snp-clay: #B4553A; --snp-cream: #F7F3EC; --snp-line: #E8E2D6; --snp-muted: #4A4F6A; }

/* ---------- personalization box ---------- */
.snp { display: flex; flex-direction: column; gap: 16px; width: 100%; margin: 0 0 18px; padding: 20px; border: 1px solid #DCD5C8; border-radius: 18px; background: #FBF9F5; box-sizing: border-box; }
.snp__title { margin: 0; font-size: 17px; font-weight: 700; }
.snp__sub { margin: 4px 0 0; font-size: 14px; color: var(--snp-muted); }
.snp-preview { margin: 0; }
.snp-preview__stage { position: relative; overflow: hidden; border-radius: 12px; background: #fff; container-type: inline-size; }
.snp-preview__base { display: block; width: 100%; height: auto; }
.snp-layer { position: absolute; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); white-space: nowrap; line-height: 1; pointer-events: none; }
.snp-layer--script { font-family: 'SNP Script', cursive; font-weight: 700; }
.snp-layer--serif { font-family: var(--wp--preset--font-family--playfair, Georgia, serif); }
.snp-layer--sans { font-family: var(--wp--preset--font-family--dm-sans, system-ui, sans-serif); font-weight: 700; }
.snp-layer--sample { opacity: .4; }
.snp-layer--photo { overflow: hidden; background: rgb(0 0 0 / .06); }
.snp-layer--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snp-layer--circle { border-radius: 50%; }
.snp-layer--rounded { border-radius: 12%; }
.snp-preview__cap { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--snp-muted); }
.snp-badge { flex: none; padding: 3px 10px; border-radius: 99px; background: var(--snp-clay); color: #fff; font-size: 12px; font-weight: 600; }
.snp__fields { display: flex; flex-direction: column; gap: 14px; }
.snp-field[hidden] { display: none; }
.snp-field__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.snp-req { color: #B3402A; }
.snp-count { font-weight: 400; font-size: 13px; color: var(--snp-muted); }
.snp-input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #9C978C; border-radius: 12px; background: #fff; color: var(--snp-navy); font: inherit; font-size: 16px; box-sizing: border-box; }
.snp-input:focus-visible { outline: 2px solid var(--snp-clay); outline-offset: 1px; }
.snp-field__hint { margin: 6px 0 0; font-size: 13px; color: var(--snp-muted); }
.snp-field__error { margin: 6px 0 0; font-size: 13px; color: #B3402A; font-weight: 600; }
.snp-upload { position: relative; }
.snp-upload__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.snp-upload__ui { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px; border: 1.5px dashed #C9C2B4; border-radius: 12px; background: #fff; }
.snp-upload__input:focus-visible + .snp-upload__ui { outline: 2px solid var(--snp-clay); }
.snp-upload__thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.snp-upload__text { flex: 1; font-size: 14px; color: var(--snp-muted); }
.snp-upload__btn { flex: none; padding: 8px 12px; border-radius: 8px; background: var(--snp-navy); color: #fff; font-size: 13px; font-weight: 600; }
.snp-confirm { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.snp-confirm input { width: 20px; height: 20px; margin: 0; accent-color: var(--snp-navy); flex: none; }

/* No express "Buy now" buttons on personalized products – they would skip the names. */
.snp-personalized .ppc-button-wrapper,
.snp-personalized #ppc-button-ppcp-gateway,
.snp-personalized .wc-block-components-express-payment,
.snp-personalized form.cart .wcpay-payment-request-wrapper { display: none !important; }

/* ---------- ETA + trust ---------- */
.snp-eta { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid var(--snp-line); border-radius: 12px; font-size: 15px; }
.snp-eta svg { flex: none; color: var(--snp-clay); }
.snp-trustlist { list-style: none; margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--snp-cream); display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.snp-trustlist li { display: flex; gap: 10px; align-items: flex-start; }
.snp-trustlist svg { flex: none; color: var(--snp-clay); }

/* ---------- free shipping bar + cart note ---------- */
.snp-ship { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--snp-cream); }
.wc-block-mini-cart__drawer .snp-ship { margin: 16px 16px 12px; position: relative; }
.snp-ship__text { margin: 0 0 8px; font-size: 14px; line-height: 1.35; }
.snp-ship__track { height: 6px; border-radius: 99px; background: #E6DFD2; overflow: hidden; }
.snp-ship__bar { display: block; height: 100%; border-radius: inherit; background: var(--snp-clay); transition: width .4s ease; }
.snp-ship--done .snp-ship__bar { background: #2f7d4f; }
.snp-cart-note { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--snp-muted); }

/* ---------- product details section ---------- */
.snd { max-width: 1280px; margin: 64px auto 24px; color: var(--snp-navy); }
.snd [id] { scroll-margin-top: 100px; }
.snd-nav { border-block: 1px solid var(--snp-line); overflow-x: auto; }
.snd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; white-space: nowrap; font-size: 15px; font-weight: 600; }
.snd-nav a { display: block; padding: 16px 14px; text-decoration: none; color: inherit; }
.snd-nav a:hover { color: var(--snp-clay); }
@media (max-width: 749px) { .snd-nav ul { justify-content: flex-start; } }
.snd-sec { margin-top: 72px; }
.snd-center { text-align: center; }
.snd-muted { color: var(--snp-muted); font-size: 15px; line-height: 1.6; }
.snd-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--snp-clay); }
.snd-h2 { margin: 0 0 16px; font-family: var(--wp--preset--font-family--playfair, Georgia, serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; }
.snd-h3 { margin: 0 0 10px; font-size: 20px; }
.snd-love { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.snd-love__img { flex: 1 1 400px; min-width: 0; }
.snd-love__img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; display: block; }
.snd-love__copy { flex: 1 1 380px; min-width: 0; }
.snd-points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.snd-points li { display: flex; gap: 14px; }
.snd-points strong { display: block; font-size: 16px; }
.snd-points li > span:last-child > span { font-size: 15px; line-height: 1.5; color: var(--snp-muted); }
.snd-points__dot { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--snp-cream); color: var(--snp-clay); font-weight: 700; }
.snd-designs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.snd-design { border: 1px solid var(--snp-line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.snd-design img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.snd-design strong { font-size: 18px; }
.snd-how { margin-top: 72px; background: var(--snp-cream); border-radius: 28px; padding: 48px 28px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.snd-how img { flex: 1 1 320px; min-width: 0; width: 100%; max-width: 460px; height: auto; border-radius: 20px; }
.snd-how > div { flex: 1 1 360px; min-width: 0; }
.snd-how ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.55; }
.snd-specs { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; }
.snd-dl { margin: 0; border-top: 1px solid var(--snp-line); font-size: 15px; }
.snd-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--snp-line); }
.snd-dl dt { color: var(--snp-muted); }
.snd-dl dd { margin: 0; font-weight: 600; text-align: right; }
.snd-cutoff { margin: 0 0 28px; }
.snd-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.snd-timeline li { border-top: 3px solid #D8D2C6; padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.snd-timeline li.is-done { border-color: var(--snp-clay); }
.snd-timeline strong { font-size: 16px; }
.snd-timeline span { font-size: 14px; color: var(--snp-muted); }
.snd-faq { max-width: 860px; margin-inline: auto; }
.snd-faq > div { border-top: 1px solid var(--snp-line); }
.snd-faq details { border-bottom: 1px solid var(--snp-line); padding: 18px 4px; }
.snd-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.snd-faq details p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--snp-muted); }
