/* ==========================================================================
   JyotiDeep storefront - pages & app shell
   Loaded after premium-store.css. Sections: app shell (mobile header, bottom nav),
   reels, product page, dialogs, forms, cart, checkout, order preview, auth, account.
   ========================================================================== */

:root { --jd-bnav-h: 80px; --jd-safe-b: env(safe-area-inset-bottom, 0px); }
.jd-muted { color: var(--jd-muted); }
.jd-link--muted { color: var(--jd-muted); }
.jd-badge-soft { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--jd-sand); color: var(--jd-muted); font-size: 12px; font-weight: 600; }

/* ---------- app shell: compact mobile header + bottom navigation ---------- */
@media (max-width: 760px) {
	.jd-iconbtn.jd-header__burger, .jd-actions__wish, .jd-actions__account { display: none; }
	.jd-body { padding-bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b)); }
	.jd-toasts { bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b) + 14px); }
	.jd-top { bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b) + 14px); }
}
.jd-bnav { display: none; }
@media (max-width: 760px) {
	.jd-bnav { position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--jd-safe-b)); z-index: 75; display: grid; grid-template-columns: repeat(5, 1fr); height: 64px; padding: 6px; background: rgba(255, 252, 247, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--jd-line); border-radius: 24px; box-shadow: 0 14px 34px rgba(60, 40, 20, .18); }
	.jd-bnav__ind { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 5); border-radius: 18px; background: rgba(218, 37, 28, .11); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .6s cubic-bezier(.34, 1.4, .5, 1), opacity .3s; pointer-events: none; }
	.jd-bnav.no-cur .jd-bnav__ind { opacity: 0; }
	.jd-bnav__item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: none; border: 0; padding: 0; font-size: 11px; font-weight: 500; letter-spacing: .01em; color: var(--jd-muted); -webkit-tap-highlight-color: transparent; transition: color .3s, transform .3s var(--jd-ease); }
	.jd-bnav__item:active { transform: scale(.92); }
	.jd-bnav__item .jd-i { width: 24px; height: 24px; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), color .3s; }
	.jd-bnav__item.is-active { color: var(--jd-red-deep); font-weight: 700; }
	.jd-bnav__item.is-active .jd-i { transform: translateY(-2px) scale(1.12); }
	.jd-bnav__reel { display: grid; place-items: center; width: 44px; height: 26px; margin-bottom: -1px; border-radius: 9px; background: var(--jd-red); color: #fff; box-shadow: 0 6px 14px rgba(218, 37, 28, .32); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
	.jd-bnav__reel .jd-i { width: 15px; height: 15px; fill: currentColor; stroke: none; transform: none !important; }
	.jd-bnav__item--reels.is-active .jd-bnav__reel { transform: translateY(-2px) scale(1.1); }
	.jd-bnav__dot { position: absolute; top: 7px; left: 55%; min-width: 16px; height: 16px; padding-inline: 4px; border-radius: 8px; background: var(--jd-red); color: #fff; font: 700 10px/16px var(--jd-font-ui); text-align: center; font-style: normal; box-shadow: 0 0 0 2px #fff; }
	@media (prefers-reduced-motion: reduce) { .jd-bnav__ind, .jd-bnav__item .jd-i, .jd-bnav__reel { transition: none; } }
}

/* ---------- tints (light backdrops behind product photos) ---------- */
.jd-tint-0 { background: #F1E8D8; }
.jd-tint-1 { background: #F5E6DE; }
.jd-tint-2 { background: #EFE8D6; }
.jd-tint-3 { background: #F3EADF; }

/* ---------- homepage reels strip ---------- */
.jd-reelstrip__tools { display: flex; align-items: center; gap: 20px; }
.jd-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 22px; overscroll-behavior-x: contain; }
.jd-rail::-webkit-scrollbar { display: none; }
.jd-rcard { flex: 0 0 clamp(190px, 21vw, 262px); scroll-snap-align: start; border-radius: 20px; overflow: hidden; position: relative; transition: transform .5s var(--jd-ease), box-shadow .5s var(--jd-ease); }
@media (hover: hover) { .jd-rcard:hover { transform: translateY(-4px); box-shadow: var(--jd-shadow-md); } }
.jd-rcard__link { display: block; position: relative; aspect-ratio: 9 / 16; }
.jd-rcard__media { position: absolute; inset: 0; display: block; }
.jd-rcard__media img, .jd-rcard__media video { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 68%; object-fit: contain; mix-blend-mode: multiply; padding: 12% 8% 0; transition: transform .8s var(--jd-ease); }
.jd-rcard__media video { mix-blend-mode: normal; padding: 0; height: 100%; object-fit: cover; }
@media (hover: hover) { .jd-rcard:hover .jd-rcard__media img { transform: scale(1.05); } }
.jd-rcard__chip { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 11.5px; font-weight: 600; color: var(--jd-ink-2); }
.jd-rcard__play { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.jd-rcard__play .jd-i { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.jd-rcard__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 44px 14px 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 46%); }
.jd-rcard__cat { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--jd-muted); font-weight: 600; }
.jd-rcard__name { font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jd-rcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin-top: 2px; }
.jd-rcard__price strong { font-family: var(--jd-font-head); font-size: 18px; }
.jd-rcard__price s { font-size: 13px; color: var(--jd-muted); }
.jd-rcard__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.jd-rcard__row strong { font-family: var(--jd-font-head); font-size: 18px; }
.jd-rcard__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--jd-red-deep); }
@media (max-width: 560px) { .jd-reelstrip__tools .jd-carousel__nav { display: none; } .jd-rcard { flex-basis: 62vw; } }

/* ---------- reels page ---------- */
.jd-page-reels .jd-announce { display: none; }
.jd-reels { padding: 20px var(--jd-gutter) 40px; background: var(--jd-sand); }
.jd-reels__stage { display: flex; justify-content: center; align-items: center; gap: 20px; }
.jd-reels__rail { width: min(404px, 100%); height: clamp(560px, calc(100svh - 150px), 820px); overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; border-radius: 28px; background: #fff; box-shadow: var(--jd-shadow-md); overscroll-behavior: contain; outline-offset: 4px; }
.jd-reels__rail::-webkit-scrollbar { display: none; }
.jd-reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.jd-reel__media { position: absolute; inset: 0; }
.jd-reel__media img { position: absolute; left: 0; top: 0; width: 100%; height: 66%; object-fit: contain; mix-blend-mode: multiply; padding: 14% 10% 0; opacity: 0; transform: scale(.96); transition: opacity .6s ease, transform .9s var(--jd-ease); }
.jd-reel.is-active .jd-reel__media img { opacity: 1; transform: none; }
.jd-reel__media video { width: 100%; height: 100%; object-fit: cover; }
.jd-reel__chip { position: absolute; top: 16px; left: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 600; color: var(--jd-ink-2); }
.jd-reel__side { position: absolute; right: 12px; top: 28%; display: flex; flex-direction: column; gap: 14px; z-index: 2; }
.jd-reel__btn { width: 52px; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; padding: 0; font-size: 11px; font-weight: 600; color: var(--jd-ink-2); }
.jd-reel__btn .jd-i { box-sizing: content-box; width: 22px; height: 22px; padding: 11px; border-radius: 50%; background: #fff; box-shadow: var(--jd-shadow-sm); transition: transform .3s var(--jd-ease), color .2s; }
.jd-reel__btn:active .jd-i { transform: scale(.9); }
.jd-reel__btn.is-on { color: var(--jd-red-deep); }
.jd-reel__btn.is-on .jd-i { color: var(--jd-red); fill: currentColor; }
.jd-reel__info { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 70px 20px 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 34%); z-index: 1; }
.jd-reel__cat { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--jd-muted); font-weight: 600; }
.jd-reel__name { font-size: 22px; letter-spacing: -.01em; max-width: 78%; }
.jd-reel__cta { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 6px; }
.jd-reel__cta .jd-btn { min-height: 46px; padding-inline: 20px; flex: 1 1 auto; }
.jd-reels__nav { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) {
	.jd-reels { padding: 0; background: #fff; }
	.jd-reels__rail { width: 100%; height: calc(100svh - var(--jd-header-h) - var(--jd-bnav-h) - var(--jd-safe-b)); border-radius: 0; box-shadow: none; }
	.jd-reels__nav { display: none; }
	.jd-reel__info { padding-bottom: 18px; }
	.jd-page-reels .jd-footer { display: none; }
	.jd-page-reels .jd-top { display: none; }
}
@media (max-width: 960px) and (min-width: 761px) { .jd-reels__nav { display: none; } }

/* ---------- product page ---------- */
.jd-gallery { min-width: 0; position: sticky; top: calc(var(--jd-header-all) + 16px); align-self: start; }
.jd-gallery__main { position: relative; background: #fff; border: 1px solid var(--jd-line); border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; }
.jd-gallery__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.jd-gallery__track::-webkit-scrollbar { display: none; }
.jd-gallery__slide { flex: 0 0 100%; scroll-snap-align: center; height: 100%; }
.jd-gallery__zoom { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.jd-gallery__zoom img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .8s var(--jd-ease); }
@media (hover: hover) { .jd-gallery__zoom:hover img { transform: scale(1.04); } }
.jd-gallery__tag { position: absolute; top: 14px; left: 14px; }
.jd-gallery__hint { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: var(--jd-shadow-sm); font-size: 12px; font-weight: 500; color: var(--jd-ink-2); pointer-events: none; }
.jd-gallery__nav { position: absolute; top: 50%; translate: 0 -50%; }
.jd-gallery__nav--prev { left: 12px; } .jd-gallery__nav--next { right: 12px; }
.jd-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.jd-gallery__thumb { width: 72px; height: 72px; padding: 4px; border-radius: 12px; border: 1.5px solid var(--jd-line); background: #fff; transition: border-color .25s; }
.jd-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.jd-gallery__thumb.is-active { border-color: var(--jd-ink); }
.jd-pdp__rating[hidden] { display: none; }
.jd-pdp__rating { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--jd-muted); }
.jd-pdp__rating:hover span:last-child { color: var(--jd-red-deep); text-decoration: underline; }
.jd-stars { display: inline-flex; gap: 2px; }
.jd-stars[hidden] { display: none; }
.jd-stars svg { fill: none; stroke: #CFC4B0; }
.jd-stars svg.is-on { fill: #F5A524; stroke: #F5A524; }
.jd-avail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #11803F; }
.jd-avail i { width: 8px; height: 8px; border-radius: 50%; background: #1FA855; }
.jd-benefits { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--jd-line); width: 100%; font-size: 14.5px; color: var(--jd-ink-2); }
.jd-benefits li { display: flex; align-items: center; gap: 10px; }
.jd-benefits .jd-i { color: var(--jd-red); }
.jd-pdp__now { max-width: 520px; }
.jd-pdp__wish.is-on { color: var(--jd-red); }

.jd-details { margin-top: clamp(36px, 5vw, 72px); }
.jd-tabbar { display: flex; gap: 6px; border-bottom: 1px solid var(--jd-line); margin-bottom: 28px; }
.jd-tabbar__tab { position: relative; padding: 14px 20px; background: none; border: 0; font-weight: 600; font-size: 15.5px; color: var(--jd-muted); transition: color .2s; }
.jd-tabbar__tab::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--jd-red); transform: scaleX(0); transition: transform .35s var(--jd-ease); }
.jd-tabbar__tab.is-active { color: var(--jd-ink); }
.jd-tabbar__tab.is-active::after { transform: scaleX(1); }
.jd-panel { display: none; max-width: 980px; }
.jd-panel.is-active { display: block; animation: jd-fadein .45s var(--jd-ease); }
@keyframes jd-fadein { from { opacity: 0; transform: translateY(8px); } }
.jd-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.jd-prose-text { color: var(--jd-ink-2); font-size: 16.5px; max-width: 70ch; margin-bottom: 12px; }
.jd-specs { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--jd-line); border-radius: 14px; overflow: hidden; }
.jd-specs th, .jd-specs td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--jd-line); font-size: 15px; vertical-align: top; }
.jd-specs th { width: 34%; color: var(--jd-muted); font-weight: 500; background: var(--jd-ivory); }
.jd-specs tr:last-child th, .jd-specs tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) {
	.jd-tabbar { display: none; }
	.jd-panel, .jd-panel.is-active { display: block; padding-block: 24px; border-top: 1px solid var(--jd-line); animation: none; }
	.jd-panel__title { position: static; width: auto; height: auto; clip: auto; overflow: visible; font-size: 22px; margin-bottom: 14px; }
	.jd-gallery { position: static; }
	.jd-gallery__nav { display: none; }
}

.jd-reviews { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.jd-rsum__score { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.jd-rsum__score strong { font-family: var(--jd-font-head); font-size: 52px; line-height: 1; }
.jd-rsum__score span:last-child { color: var(--jd-muted); font-size: 14px; }
.jd-rsum__dist { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.jd-rsum__dist li { display: grid; grid-template-columns: 14px 1fr 24px; align-items: center; gap: 10px; font-size: 13px; color: var(--jd-muted); }
.jd-rsum__dist i { display: block; height: 6px; border-radius: 3px; background: var(--jd-sand-2); overflow: hidden; }
.jd-rsum__dist b { display: block; height: 100%; background: #F5A524; border-radius: 3px; transition: width .6s var(--jd-ease); }
.jd-rsum__dist em { font-style: normal; text-align: right; }
.jd-reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.jd-revlist { display: flex; flex-direction: column; gap: 14px; }
.jd-rev { background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.jd-rev h3 { font-size: 17px; }
.jd-rev p { color: var(--jd-ink-2); }
.jd-rev__photo { border-radius: 10px; object-fit: cover; border: 1px solid var(--jd-line); }
.jd-rev footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--jd-muted); }
@media (max-width: 860px) { .jd-reviews { grid-template-columns: 1fr; } }

.jd-recent { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jd-recent__item { display: flex; flex-direction: column; gap: 6px; padding: 12px; background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; font-size: 14px; transition: box-shadow .3s, transform .4s var(--jd-ease); }
.jd-recent__item img { width: 100%; aspect-ratio: 1; object-fit: contain; }
@media (hover: hover) { .jd-recent__item:hover { box-shadow: var(--jd-shadow-md); transform: translateY(-3px); } }
@media (max-width: 760px) { .jd-recent { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.jd-buybar { display: none; }
@media (max-width: 860px) {
	.jd-page-products .jd-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 72; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--jd-gutter) calc(10px + var(--jd-safe-b)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--jd-line); box-shadow: 0 -6px 20px rgba(31, 26, 23, .06); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .4s var(--jd-ease), visibility 0s .3s; }
	.jd-page-products .jd-buybar.is-in { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.jd-buybar__price { display: flex; flex-direction: column; line-height: 1.2; }
	.jd-buybar__price strong { font-family: var(--jd-font-head); font-size: 20px; }
	.jd-buybar__price s { color: var(--jd-muted); font-size: 13px; }
	.jd-buybar .jd-btn { min-height: 46px; flex: 1; max-width: 220px; }
}
@media (max-width: 760px) { .jd-page-products .jd-buybar { bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b)); padding-bottom: 10px; } }

/* ---------- dialogs ---------- */
.jd-modal--sm .jd-dialog { width: min(420px, 100%); padding: 28px; background: #fff; border-radius: 20px; box-shadow: var(--jd-shadow-lg); transform: translateY(18px) scale(.98); transition: transform .45s var(--jd-ease); }
.jd-modal--sm.is-open .jd-dialog { transform: none; }
.jd-dialog h2 { font-size: 22px; margin-bottom: 8px; }
.jd-dialog p { color: var(--jd-ink-2); }
.jd-dialog__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.jd-zoom { background: rgba(255, 255, 255, .97); }
.jd-zoom img { max-width: min(92vw, 1000px); max-height: 88svh; object-fit: contain; }
.jd-modal__card--form { display: block; width: min(520px, 100%); padding: clamp(22px, 4vw, 34px); }
@media (max-width: 720px) { .jd-modal__card--form { border-radius: 24px 24px 0 0; } .jd-modal .jd-modal__card--form { max-height: 92svh; } }
.jd-reviewform { gap: 16px; }
.jd-reviewform h2 { font-size: 24px; padding-right: 36px; }
.jd-ratepick { border: 0; padding: 0; margin: 0; }
.jd-ratepick legend { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.jd-ratepick__stars { display: flex; gap: 4px; }
.jd-ratepick__stars button { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0; border-radius: 12px; color: #CFC4B0; transition: transform .25s var(--jd-ease), color .2s; }
.jd-ratepick__stars button .jd-i { width: 30px; height: 30px; }
.jd-ratepick__stars button.is-on { color: #F5A524; } .jd-ratepick__stars button.is-on svg { fill: currentColor; }
.jd-ratepick__stars button:hover { transform: scale(1.12); }
.jd-upload { display: flex; align-items: center; gap: 14px; }
.jd-upload__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px dashed var(--jd-sand-2); border-radius: 12px; font-size: 14px; font-weight: 500; cursor: pointer; }
.jd-upload__btn:hover { border-color: var(--jd-ink); }
.jd-upload__preview { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--jd-line); }

/* ---------- forms ---------- */
.jd-form textarea { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--jd-line); background: #fff; font: inherit; font-size: 16px; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.jd-form textarea:focus, .jd-f textarea:focus { outline: 0; border-color: var(--jd-ink); box-shadow: 0 0 0 3px rgba(31, 26, 23, .08); }
.jd-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jd-req { color: var(--jd-red); font-weight: 700; }
.jd-f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.jd-f--full { grid-column: 1 / -1; }
.jd-f input, .jd-f textarea { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--jd-line); background: #fff; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.jd-f textarea { height: auto; padding: 12px 16px; resize: vertical; }
.jd-f select { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--jd-line); background: #fff; font: inherit; font-size: 16px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.jd-f select:focus { outline: 0; border-color: var(--jd-ink); box-shadow: 0 0 0 3px rgba(31, 26, 23, .08); }
.jd-f select.is-bad { border-color: var(--jd-red); box-shadow: 0 0 0 3px rgba(218, 37, 28, .1); }
.jd-f--check { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 500; margin: 14px 0 4px; }
.jd-f--check input { width: 18px; height: 18px; flex: none; }
.jd-f input:focus { outline: 0; border-color: var(--jd-ink); box-shadow: 0 0 0 3px rgba(31, 26, 23, .08); }
.jd-f input.is-bad, .jd-form input.is-bad { border-color: var(--jd-red); box-shadow: 0 0 0 3px rgba(218, 37, 28, .1); }
.jd-err { color: var(--jd-red-deep); font-size: 13px; font-weight: 500; }
@media (max-width: 600px) { .jd-fields { grid-template-columns: 1fr; } }

/* ---------- summary / cart / checkout ---------- */
.jd-pagehead__count { font-family: var(--jd-font-ui); font-size: .45em; font-weight: 500; color: var(--jd-muted); vertical-align: middle; }
.jd-cartpage, .jd-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.jd-cartpage.is-empty { grid-template-columns: 1fr; }
.jd-summary { position: sticky; top: calc(var(--jd-header-all) + 16px); display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--jd-line); border-radius: 20px; }
.jd-summary h2 { font-size: 22px; }
.jd-summary__rows { display: flex; flex-direction: column; gap: 10px; }
.jd-summary__rows > div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.jd-summary__rows dd { margin: 0; text-align: right; }
.jd-summary__total { padding-top: 12px; border-top: 1px solid var(--jd-line); font-weight: 700; font-size: 18px !important; }
.jd-summary__note { font-size: 13px; color: var(--jd-muted); }
.jd-coupon { display: flex; flex-wrap: wrap; gap: 8px; }
.jd-coupon input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--jd-line); font: inherit; }
.jd-coupon input:focus { outline: 0; border-color: var(--jd-ink); }
.jd-coupon .jd-err { width: 100%; }
.jd-cartlist { display: flex; flex-direction: column; }
.jd-cartrow { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--jd-line); align-items: start; }
.jd-cartrow:first-child { padding-top: 0; }
.jd-cartrow__img { display: block; width: 120px; height: 120px; background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; overflow: hidden; }
.jd-cartrow__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.jd-cartrow__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jd-cartrow__name { font-weight: 600; font-size: 17px; line-height: 1.3; }
.jd-cartrow__name:hover { color: var(--jd-red-deep); }
.jd-cartrow__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.jd-cartrow__total { font-family: var(--jd-font-head); font-size: 19px; }
.jd-qty--sm { height: 40px; } .jd-qty--sm button { width: 38px; }
@media (max-width: 960px) { .jd-cartpage, .jd-checkout { grid-template-columns: 1fr; } .jd-summary { position: static; } .jd-checkout .jd-summary { order: -1; } }
@media (max-width: 560px) {
	.jd-cartrow { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
	.jd-cartrow__img { width: 88px; height: 88px; }
	.jd-cartrow__total { grid-column: 2; }
}
.jd-fs { border: 1px solid var(--jd-line); border-radius: 20px; background: #fff; padding: 22px 24px 26px; margin: 0 0 18px; }
.jd-fs legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-left: -8px; font-family: var(--jd-font-head); font-weight: 700; font-size: 19px; }
.jd-fs legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--jd-ink); color: #fff; font-size: 14px; }
.jd-fs .jd-fields { margin-top: 10px; }
.jd-checkout__submit { margin-top: 6px; }
.jd-checkout__submit[disabled] { opacity: .65; pointer-events: none; }
.jd-sumlist { display: flex; flex-direction: column; gap: 12px; }
.jd-sumlist li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14.5px; }
.jd-sumlist__img { position: relative; width: 56px; height: 56px; border: 1px solid var(--jd-line); border-radius: 12px; background: #fff; }
.jd-sumlist__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.jd-sumlist__img b { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--jd-ink); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.jd-sumlist__name { line-height: 1.3; }

/* ---------- order preview ---------- */
.jd-success { display: flex; justify-content: center; }
.jd-success__card { width: min(680px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: clamp(24px, 5vw, 48px); background: #fff; border: 1px solid var(--jd-line); border-radius: 24px; }
.jd-success__check { width: 84px; height: 84px; }
.jd-success__check .c { fill: #E9F7EF; stroke: #1FA855; stroke-width: 3; stroke-dasharray: 227; stroke-dashoffset: 227; animation: jd-draw .7s var(--jd-ease) .1s forwards; }
.jd-success__check .t { fill: none; stroke: #1FA855; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: jd-draw .5s var(--jd-ease) .7s forwards; }
@keyframes jd-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .jd-success__check .c, .jd-success__check .t { animation: none; stroke-dashoffset: 0; } }
.jd-success__title { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.02em; }
.jd-success__lead { color: var(--jd-ink-2); max-width: 48ch; }
.jd-success__meta { display: grid; gap: 10px; width: 100%; text-align: left; padding: 16px 18px; background: var(--jd-ivory); border-radius: 14px; font-size: 14.5px; }
.jd-success__meta > div { display: flex; justify-content: space-between; gap: 16px; }
.jd-success__meta dt { color: var(--jd-muted); } .jd-success__meta dd { margin: 0; text-align: right; font-weight: 600; }
.jd-success__items { width: 100%; display: flex; flex-direction: column; text-align: left; }
.jd-success__items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--jd-line); }
.jd-success__items img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--jd-line); border-radius: 12px; padding: 4px; background: #fff; }
.jd-success__items small { display: block; color: var(--jd-muted); font-size: 13px; }
.jd-success__total { width: 100%; display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.jd-success__total strong { font-family: var(--jd-font-head); font-size: 26px; }
.jd-success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }
@media (max-width: 480px) { .jd-success__actions { flex-direction: column; width: 100%; } .jd-success__actions .jd-btn { width: 100%; } }

/* ---------- sign in ---------- */
.jd-auth { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; max-width: 1000px; }
.jd-auth__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.jd-auth__brand h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
.jd-auth__brand p { color: var(--jd-ink-2); }
.jd-auth__card { background: #fff; border: 1px solid var(--jd-line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); }
.jd-auth__card .jd-form { gap: 16px; }
@media (max-width: 760px) { .jd-auth { grid-template-columns: 1fr; } }

/* ---------- account ---------- */
.jd-acct { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.jd-acct__nav { position: sticky; top: calc(var(--jd-header-all) + 16px); display: flex; flex-direction: column; gap: 4px; padding: 10px; background: #fff; border: 1px solid var(--jd-line); border-radius: 18px; }
.jd-acct__link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 500; color: var(--jd-ink-2); transition: background .2s, color .2s; }
.jd-acct__link:hover { background: var(--jd-sand); color: var(--jd-ink); }
.jd-acct__link.is-active { background: var(--jd-ink); color: #fff; }
.jd-welcome h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.jd-welcome p { color: var(--jd-ink-2); margin-top: 6px; }
.jd-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 8px; }
.jd-stat a { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; transition: box-shadow .3s, transform .4s var(--jd-ease); }
@media (hover: hover) { .jd-stat a:hover { box-shadow: var(--jd-shadow-md); transform: translateY(-3px); } }
.jd-stat strong { font-family: var(--jd-font-head); font-size: 30px; }
.jd-stat span { color: var(--jd-muted); font-size: 14px; }
.jd-block { margin-top: 30px; }
.jd-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.jd-block__head h3 { font-size: 20px; }
.jd-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.jd-quick a { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--jd-line); border-radius: 14px; font-weight: 500; transition: border-color .2s; }
.jd-quick a:hover { border-color: var(--jd-ink); }
.jd-quick .jd-i { color: var(--jd-red); }
.jd-olist { display: flex; flex-direction: column; gap: 14px; }
.jd-ocard { padding: 18px 20px; background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; display: flex; flex-direction: column; gap: 14px; }
.jd-ocard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.jd-ocard__head span:not(.jd-status) { display: block; color: var(--jd-muted); font-size: 13.5px; }
.jd-ocard__imgs { display: flex; gap: 8px; }
.jd-ocard__imgs img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--jd-line); border-radius: 10px; padding: 4px; background: #fff; }
.jd-ocard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14.5px; }
.jd-status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.jd-status--demo { background: #FFF4DB; color: #8A5A00; }
.jd-status--ok { background: #E3F6EA; color: #11803F; }
.jd-odetail { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--jd-line); border-radius: 18px; }
.jd-odetail h3 { font-size: 18px; margin-top: 8px; }
.jd-track { display: flex; gap: 12px; padding: 6px 0; }
.jd-track li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--jd-muted); }
.jd-track li i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--jd-sand-2); }
.jd-track li.is-done { color: var(--jd-ink); } .jd-track li.is-done i { background: #1FA855; border-color: #1FA855; }
.jd-addr { font-style: normal; color: var(--jd-ink-2); line-height: 1.6; }
.jd-wishlist { display: flex; flex-direction: column; }
.jd-wrow { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--jd-line); }
.jd-wrow .jd-cartrow__img { width: 96px; height: 96px; }
.jd-wrow__act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.jd-addrgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.jd-addrcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; }
.jd-addrcard.is-default { border-color: var(--jd-ink); }
.jd-addrcard .jd-status { align-self: flex-start; }
.jd-addrcard__act { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.jd-addrform { padding: 20px; margin-bottom: 18px; background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; }
.jd-profile { max-width: 640px; padding: 22px; background: #fff; border: 1px solid var(--jd-line); border-radius: 18px; }
@media (max-width: 960px) {
	.jd-acct { grid-template-columns: 1fr; }
	.jd-acct__nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; }
	.jd-acct__link { flex: none; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
}
@media (max-width: 640px) {
	.jd-quick { grid-template-columns: 1fr; }
	.jd-stat { gap: 8px; } .jd-stat a { padding: 14px 12px; } .jd-stat strong { font-size: 24px; }
	.jd-addrgrid { grid-template-columns: 1fr; }
	.jd-wrow { grid-template-columns: 72px minmax(0, 1fr); }
	.jd-wrow .jd-cartrow__img { width: 72px; height: 72px; }
	.jd-wrow__act { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- red & beige accents ---------- */
.jd-announce { background: #C41F17; color: #fff; border-bottom: 0; }
.jd-announce__set li::after { background: rgba(255, 255, 255, .7); }
.jd-pagehead--band { background: var(--jd-sand); padding-block: clamp(28px, 4vw, 56px); border-bottom: 1px solid var(--jd-line); }
.jd-pagehead--band + .jd-section { padding-top: clamp(32px, 4vw, 56px); }
.jd-btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.jd-btn--outline-light:hover { background: #fff; color: var(--jd-ink); }

/* ---------- company pages ---------- */
.jd-pcats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jd-pcat { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; background: #fff; border: 1px solid var(--jd-line); border-radius: 20px; transition: transform .4s var(--jd-ease), box-shadow .4s var(--jd-ease), border-color .3s; }
.jd-pcat h3 { font-size: 22px; } .jd-pcat p { color: var(--jd-ink-2); flex: 1; }
@media (hover: hover) { .jd-pcat:hover { transform: translateY(-4px); box-shadow: var(--jd-shadow-md); border-color: transparent; } }
.jd-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jd-branch { display: flex; flex-direction: column; gap: 6px; padding: 24px; background: #fff; border: 1px solid var(--jd-line); border-radius: 20px; }
.jd-branch__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: var(--jd-sand); color: var(--jd-red); }
.jd-branch h3 { font-size: 21px; } .jd-branch p { color: var(--jd-muted); font-size: 14px; }
.jd-branch__act { display: flex; gap: 18px; margin-top: 10px; }
.jd-ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jd-ccard { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px; background: #fff; border: 1px solid var(--jd-line); border-radius: 18px; transition: border-color .25s, transform .4s var(--jd-ease); }
.jd-ccard small { color: var(--jd-muted); font-size: 13px; } .jd-ccard strong { font-size: 16px; overflow-wrap: anywhere; }
.jd-ccard__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; background: var(--jd-red); color: #fff; }
@media (hover: hover) { .jd-ccard:hover { border-color: var(--jd-red); transform: translateY(-3px); } }
.jd-formwrap { display: flex; justify-content: center; }
.jd-formcard { width: min(760px, 100%); display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 4vw, 40px); background: #fff; border: 1px solid var(--jd-line); border-radius: 24px; }
.jd-formcard h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.jd-formcard .jd-btn { align-self: flex-start; }
.jd-formcard__hint { font-size: 13px; color: var(--jd-muted); }
.jd-ctaband { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(26px, 4vw, 48px); background: #C41F17; color: #fff; border-radius: 26px; }
.jd-ctaband h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); } .jd-ctaband p { opacity: .9; margin-top: 4px; }
.jd-ctaband__act { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .jd-ccards { grid-template-columns: repeat(2, 1fr); } .jd-pcats, .jd-branches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jd-ccards, .jd-pcats, .jd-branches { grid-template-columns: 1fr; } .jd-ctaband__act { width: 100%; flex-direction: column; } .jd-ctaband__act .jd-btn { width: 100%; } }

/* ---------- all pages index ---------- */
.jd-allpages__tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.jd-allpages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.jd-allpages__group { padding: 22px; background: #fff; border: 1px solid var(--jd-line); border-radius: 20px; }
.jd-allpages__group h2 { font-size: 20px; margin-bottom: 10px; color: var(--jd-red-deep); }
.jd-allpages__group a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--jd-line); font-size: 15px; font-weight: 500; }
.jd-allpages__group li:last-child a { border-bottom: 0; }
.jd-allpages__group a:hover { color: var(--jd-red-deep); }
@media (max-width: 1100px) { .jd-allpages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jd-allpages { grid-template-columns: 1fr; } }

/* ---------- full-width banner slider ---------- */
.jd-banner { position: relative; width: 100%; background: var(--jd-sand); }
.jd-banner__swiper { width: 100%; overflow: hidden; }
.jd-banner__swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }
.jd-banner__link { display: block; width: 100%; }
.jd-banner__link img { display: block; width: 100%; height: auto; }
.jd-banner__nav { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; translate: 0 -50%; border: 0; border-radius: 50%; background: rgba(255, 252, 247, .92); color: var(--jd-ink); box-shadow: 0 6px 18px rgba(60, 40, 20, .22); opacity: 0; transition: opacity .3s, background .25s, color .25s, transform .3s var(--jd-ease); }
.jd-banner__nav--prev { left: clamp(10px, 2vw, 28px); } .jd-banner__nav--next { right: clamp(10px, 2vw, 28px); }
.jd-banner:hover .jd-banner__nav, .jd-banner__nav:focus-visible { opacity: 1; }
.jd-banner__nav:hover { background: var(--jd-red); color: #fff; }
.jd-banner__nav.swiper-button-disabled { opacity: 0 !important; pointer-events: none; }
.jd-banner__dots { position: absolute; left: 50% !important; right: auto !important; width: auto !important; bottom: clamp(8px, 1.4vw, 16px) !important; z-index: 3; translate: -50% 0; display: flex; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 252, 247, .88); box-shadow: 0 4px 14px rgba(60, 40, 20, .15); }
.jd-dotb { width: 8px; height: 8px; border-radius: 4px; background: #CFC4B0; cursor: pointer; transition: width .4s var(--jd-ease), background .3s; }
.jd-dotb.is-active { width: 26px; background: var(--jd-red); }
@media (hover: none) { .jd-banner__nav { display: none; } }
@media (max-width: 640px) { .jd-dotb { width: 6px; height: 6px; } .jd-dotb.is-active { width: 20px; } .jd-banner__dots { padding: 5px 8px; gap: 5px; } }

/* ---------- active mobile tab pops out in front of the bar ---------- */
@media (max-width: 760px) {
	.jd-bnav__ind { top: -19px; bottom: auto; height: 56px; background: none; border-radius: 0; }
	.jd-bnav__ind::before { content: ""; position: absolute; left: 50%; top: 0; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: linear-gradient(160deg, #E8332A, #B51D15); box-shadow: 0 10px 20px rgba(196, 31, 23, .4), 0 0 0 4px #FFFCF7; }
	.jd-bnav__item.is-active { color: var(--jd-red-deep); }
	.jd-bnav__item.is-active .jd-i { transform: translateY(-17px) scale(1.04); color: #fff; }
	.jd-bnav__item--reels.is-active .jd-bnav__reel { background: transparent; box-shadow: none; transform: translateY(-17px); }
	.jd-bnav__item.is-active .jd-bnav__reel .jd-i { transform: none !important; }
}

/* rounded banner card; dots overlay the image so no extra space is added */
.jd-banner { max-width: 1360px; margin-inline: auto; padding: clamp(10px, 1.6vw, 20px) var(--jd-gutter) 0; background: none; }
.jd-banner__swiper { border-radius: clamp(16px, 2.4vw, 28px); transform: translateZ(0); box-shadow: 0 10px 30px rgba(60, 40, 20, .12); }
.jd-banner__nav { top: calc(50% + clamp(5px, .8vw, 10px)); }
.jd-banner__nav--prev { left: calc(var(--jd-gutter) + 12px); } .jd-banner__nav--next { right: calc(var(--jd-gutter) + 12px); }
.jd-banner__dots { bottom: clamp(8px, 1.2vw, 14px) !important; padding: 5px 9px; background: rgba(255, 252, 247, .82); box-shadow: 0 2px 8px rgba(60, 40, 20, .15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 640px) { .jd-banner { padding-top: 10px; } .jd-banner__swiper { border-radius: 14px; } .jd-banner__dots { bottom: 6px !important; padding: 4px 7px; } }

/* ---------- quick view as a mobile bottom sheet ---------- */
@media (max-width: 720px) {
	.jd-modal:not(.jd-modal--sm):not(.jd-zoom) .jd-modal__card:not(.jd-modal__card--form) { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; }
	.jd-modal__card:not(.jd-modal__card--form)::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--jd-sand-2); z-index: 3; }
	.jd-modal__media { position: relative; height: clamp(210px, 36svh, 320px); min-height: 0; aspect-ratio: auto; padding: 0; overflow: hidden; }
	.jd-modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; padding: 22px 8% 8px; }
	.jd-modal__info { gap: 12px; padding: 20px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
	.jd-modal__info h2 { font-size: 1.45rem; padding-right: 0; }
	.jd-modal__desc { font-size: 15px; }
	.jd-modal .jd-pdp__buy { flex-wrap: nowrap; }
	.jd-modal .jd-pdp__buy .jd-btn { min-height: 50px; }
}

/* ---------- active tab sits in a curved notch cut into the bar ---------- */
@property --nx { syntax: '<length-percentage>'; inherits: true; initial-value: 0px; }
@media (max-width: 760px) {
	.jd-bnav { --nx: calc(6px + (var(--i, 0) + .5) * (100% - 12px) / 5); transition: --nx .6s cubic-bezier(.34, 1.4, .5, 1); background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.jd-bnav__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: drop-shadow(0 10px 16px rgba(60, 40, 20, .16)); }
	.jd-bnav__bg::before { content: ""; position: absolute; inset: 0; border-radius: 24px; background: rgba(255, 252, 247, .97); box-shadow: inset 0 0 0 1px var(--jd-line);
		-webkit-mask: radial-gradient(circle 36px at var(--nx) 0, transparent 35px, #000 36px); mask: radial-gradient(circle 36px at var(--nx) 0, transparent 35px, #000 36px); }
	.jd-bnav.no-cur .jd-bnav__bg::before { -webkit-mask: none; mask: none; }
	.jd-bnav__ind { top: -27px; height: 54px; z-index: 1; }
	.jd-bnav__ind::before { box-shadow: 0 10px 20px rgba(196, 31, 23, .38); }
	.jd-bnav__item { z-index: 2; }
	.jd-bnav__item.is-active .jd-i { transform: translateY(-24px) scale(1.04); }
	.jd-bnav__item--reels.is-active .jd-bnav__reel { transform: translateY(-24px); }
	.jd-bnav__item.is-active { padding-top: 4px; }
}

/* cradle ring + slightly whiter bar so the notch reads clearly */
@media (max-width: 760px) {
	.jd-bnav__bg::before { background: rgba(255, 255, 255, .98); }
	.jd-bnav__ind::before { box-shadow: 0 0 0 7px rgba(110, 80, 40, .09), 0 12px 22px rgba(196, 31, 23, .4); }
}

/* bag drawer: action buttons side by side */
.jd-drawer__btns { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; }
.jd-drawer__btns .jd-btn { min-height: 50px; padding-inline: 12px; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 380px) { .jd-drawer__btns .jd-btn { font-size: 13.5px; padding-inline: 8px; } }

/* ==========================================================================
   Round 2: richer shopping UI
   ========================================================================== */

/* ---------- product cards: save line, quick-add stepper, shimmer ---------- */
.jd-card__priceblock { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jd-save { font-size: 12px; font-weight: 700; color: #11803F; }
.jd-card__action { flex: none; display: flex; }
.jd-card__step { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; border: 1.5px solid var(--jd-ink); background: #fff; animation: jd-pop .35s var(--jd-ease); }
.jd-card__step[hidden] { display: none; }
.jd-card__step button { width: 34px; height: 100%; display: grid; place-items: center; background: none; border: 0; border-radius: 999px; transition: background .2s, color .2s; }
.jd-card__step button:hover { background: var(--jd-red); color: #fff; }
.jd-card__step span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
@keyframes jd-pop { from { transform: scale(.85); opacity: 0; } }
@media (max-width: 760px) { .jd-card__action, .jd-card__step { width: 100%; } .jd-card__step { justify-content: space-between; } .jd-card__step button { width: 44px; } }

.jd-card__media img { transition: transform .9s var(--jd-ease), opacity .5s ease; }
.jd-js .jd-card__media:not(.is-loaded) img, .jd-js .jd-rcard__media:not(.is-loaded) img { opacity: 0; }
.jd-js .jd-card__media:not(.is-loaded)::after, .jd-js .jd-rcard__media:not(.is-loaded)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(229, 214, 188, .6) 50%, transparent 70%) 0 0 / 220% 100%; animation: jd-shimmer 1.3s linear infinite; pointer-events: none; }
@keyframes jd-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ---------- fly to bag ---------- */
.jd-fly { position: fixed; z-index: 400; border-radius: 16px; background: #fff center / contain no-repeat; box-shadow: 0 12px 30px rgba(60, 40, 20, .28); pointer-events: none; will-change: transform, opacity; }

/* ---------- checkout steps ---------- */
.jd-steps { display: flex; align-items: center; justify-content: flex-start; gap: 0; margin-top: 22px; max-width: 520px; }
.jd-steps__item { display: flex; align-items: center; gap: 10px; flex: 1; font-size: 14px; font-weight: 600; color: var(--jd-muted); }
.jd-steps__item:last-child { flex: none; }
.jd-steps__item:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin-inline: 12px; border-radius: 2px; background: var(--jd-sand-2); }
.jd-steps__item.is-done:not(:last-child)::after { background: var(--jd-red); }
.jd-steps__dot { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--jd-sand-2); background: #fff; font-size: 13px; }
.jd-steps__item.is-current { color: var(--jd-ink); }
.jd-steps__item.is-current .jd-steps__dot { border-color: var(--jd-red); background: var(--jd-red); color: #fff; box-shadow: 0 0 0 5px rgba(218, 37, 28, .14); }
.jd-steps__item.is-done .jd-steps__dot { border-color: var(--jd-red); background: #fff; color: var(--jd-red); }
.jd-section > .jd-wrap > .jd-steps { margin: 0 auto 26px; }
@media (max-width: 520px) { .jd-steps__label { font-size: 13px; } .jd-steps__item:not(:last-child)::after { margin-inline: 8px; } }

/* ---------- trust strip ---------- */
.jd-strip { background: #fff; border-block: 1px solid var(--jd-line); margin-top: clamp(14px, 2vw, 24px); }
.jd-strip__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jd-strip__list li, .jd-strip__list li > * { min-width: 0; }
.jd-strip__list li { display: flex; }
.jd-strip__list li > *, .jd-strip__list li > a { flex: 1; display: flex; align-items: center; gap: 14px; padding: 18px clamp(10px, 1.6vw, 24px); }
.jd-strip__list li:not(:last-child) { border-right: 1px solid var(--jd-line); }
.jd-strip__list .jd-i { flex: none; box-sizing: content-box; width: 22px; height: 22px; padding: 11px; border-radius: 50%; background: var(--jd-sand); color: var(--jd-red); transition: background .3s, color .3s, transform .4s var(--jd-ease); }
.jd-strip__list a:hover .jd-i { background: var(--jd-red); color: #fff; transform: scale(1.06); }
.jd-strip__list strong { display: block; font-size: 15px; line-height: 1.25; }
.jd-strip__list small { display: block; color: var(--jd-muted); font-size: 12.5px; margin-top: 2px; }
@media (max-width: 860px) {
	.jd-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jd-strip__list li:nth-child(2) { border-right: 0; }
	.jd-strip__list li:nth-child(-n+2) { border-bottom: 1px solid var(--jd-line); }
	.jd-strip__list li > *, .jd-strip__list li > a { padding: 14px 12px; gap: 10px; }
	.jd-strip__list .jd-i { padding: 9px; width: 20px; height: 20px; }
	.jd-strip__list strong { font-size: 13.5px; } .jd-strip__list small { font-size: 11.5px; }
}

/* ---------- shop by budget ---------- */
.jd-budget__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.jd-bcard { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 190px; height: 100%; padding: 22px; border-radius: 22px; overflow: hidden; isolation: isolate; border: 1px solid transparent; transition: transform .5s var(--jd-ease), box-shadow .5s var(--jd-ease); }
.jd-bcard::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .55); z-index: -1; transition: transform .7s var(--jd-ease); }
.jd-bcard--0 { background: #F4E7D3; } .jd-bcard--1 { background: #F6DDD3; } .jd-bcard--2 { background: #EFE3C9; } .jd-bcard--3 { background: #C41F17; color: #fff; }
.jd-bcard--3::after { background: rgba(255, 255, 255, .12); }
.jd-bcard__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 13px; background: #fff; color: var(--jd-red); box-shadow: 0 4px 10px rgba(60, 40, 20, .08); }
.jd-bcard strong { font-family: var(--jd-font-head); font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.15; letter-spacing: -.02em; }
.jd-bcard small { font-size: 14px; opacity: .78; }
.jd-bcard__foot { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-size: 13.5px; font-weight: 700; }
.jd-bcard__foot .jd-i { transition: transform .35s var(--jd-ease); }
@media (hover: hover) { .jd-bcard:hover { transform: translateY(-5px); box-shadow: var(--jd-shadow-md); } .jd-bcard:hover::after { transform: scale(1.5); } .jd-bcard:hover .jd-bcard__foot .jd-i { transform: translateX(4px); } }
@media (max-width: 860px) { .jd-budget__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jd-bcard { min-height: 160px; padding: 18px; border-radius: 18px; } }

/* ---------- section heading accent ---------- */
.jd-sechead h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--jd-red); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--jd-ease) .25s; }
.jd-sechead.is-seen h2::after, html:not(.jd-js) .jd-sechead h2::after { transform: scaleX(1); }
.jd-pagehead .jd-sechead h2::after { display: none; }

/* ---------- product page extras ---------- */
.jd-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; max-width: 520px; }
.jd-highlights li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--jd-line); border-radius: 14px; }
.jd-highlights .jd-i { flex: none; color: var(--jd-red); }
.jd-highlights small { display: block; font-size: 11.5px; color: var(--jd-muted); } .jd-highlights strong { display: block; font-size: 14px; line-height: 1.25; }
.jd-gallery__zoom img { will-change: transform; }
.jd-minibar { display: none; }
@media (min-width: 861px) {
	.jd-minibar { display: block; position: fixed; left: 0; right: 0; top: calc(var(--jd-header-h) + 49px); z-index: 70; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--jd-line); box-shadow: 0 10px 24px rgba(60, 40, 20, .1); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform .45s var(--jd-ease), opacity .3s, visibility 0s .45s; }
	.jd-minibar.is-in { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
	.jd-minibar__in { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
	.jd-minibar img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--jd-line); border-radius: 10px; padding: 3px; background: #fff; }
	.jd-minibar__name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
	.jd-minibar__name strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.jd-minibar__name span { font-family: var(--jd-font-head); font-weight: 700; } .jd-minibar__name s { font-family: var(--jd-font-ui); font-weight: 400; font-size: 13px; color: var(--jd-muted); }
	.jd-minibar .jd-btn { min-height: 44px; padding-inline: 24px; }
}

/* ---------- bag / checkout / confirmation ---------- */
.jd-summary__save { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; font-weight: 600; color: #11803F; }
.jd-summary__save dd { margin: 0; }
.jd-success__save { padding: 8px 16px; border-radius: 999px; background: #E3F6EA; color: #11803F; font-weight: 600; font-size: 14px; }
.jd-keep { margin-top: clamp(32px, 5vw, 56px); } .jd-keep h2 { font-size: 24px; margin-bottom: 16px; }
.jd-sumtoggle { display: none; }
.jd-checkout .jd-summary h2 { display: none; }
.jd-checkout .jd-sumtoggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; background: none; border: 0; font-family: var(--jd-font-head); font-weight: 700; font-size: 22px; cursor: default; }
.jd-sumtoggle__total { margin-left: auto; font-size: 18px; } .jd-sumtoggle .jd-i { display: none; }
.jd-checkout .jd-sumbody { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
@media (max-width: 960px) {
	.jd-checkout .jd-sumtoggle { cursor: pointer; }
	.jd-sumtoggle .jd-i { display: block; transition: transform .35s var(--jd-ease); }
	.jd-sumtoggle[aria-expanded="true"] .jd-i { transform: rotate(180deg); }
	.jd-checkout .jd-sumbody { display: none; }
	.jd-checkout .jd-summary.is-open .jd-sumbody { display: flex; animation: jd-fadein .35s var(--jd-ease); }
}

/* ---------- sticky category chips on phones ---------- */
@media (max-width: 760px) {
	.jd-discover .jd-toolbar { display: contents; }
	.jd-discover .jd-chips { position: sticky; top: var(--jd-header-h); z-index: 25; padding: 10px 0 8px; margin-bottom: 10px; background: rgba(248, 242, 232, .96); box-shadow: 0 0 0 100vmax rgba(248, 242, 232, .96); clip-path: inset(0 -100vmax); }
	.jd-discover .jd-toolbar__tools { margin-bottom: 14px; }
	.jd-field--select { flex: 1; } .jd-field--select select { width: 100%; }
}

/* ---------- buttons: soft shine on primary ---------- */
.jd-btn--primary { position: relative; overflow: hidden; }
.jd-btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
@media (hover: hover) { .jd-btn--primary:hover::after { transform: translateX(130%); transition: transform .8s var(--jd-ease); } }

/* ---------- smooth page-to-page transitions ---------- */
@view-transition { navigation: auto; }
.jd-header { view-transition-name: jd-header; }
.jd-bnav { view-transition-name: jd-bnav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@supports not (view-transition-name: none) { #jd-main { animation: jd-fadein .45s var(--jd-ease); } }
@media (prefers-reduced-motion: reduce) {
	.jd-card__step, .jd-js .jd-card__media:not(.is-loaded)::after, .jd-js .jd-rcard__media:not(.is-loaded)::after { animation: none; }
	.jd-btn--primary:hover::after { transition: none; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ==========================================================================
   Round 3: tighter page headers, aligned strip, header cleanup, small-screen fixes
   ========================================================================== */

/* desktop header: the search icon is redundant next to the search bar */
.jd-iconbtn.jd-actions__search { display: none; }
@media (max-width: 760px) { .jd-iconbtn.jd-actions__search { display: inline-grid; } }

/* trust strip: every item is one aligned row */
.jd-strip__list li > *, .jd-strip__list li > a { flex: none; padding: 0; gap: 0; }
.jd-strip__list li { display: block; }
.jd-strip__item { display: flex; align-items: center; gap: 14px; width: 100%; height: 100%; padding: 16px clamp(10px, 1.6vw, 24px); min-width: 0; }
.jd-strip__item > span { display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 860px) { .jd-strip__item { padding: 12px 10px; gap: 10px; } }
@media (max-width: 420px) { .jd-strip__item { gap: 8px; padding: 10px 8px; } .jd-strip__list .jd-i { width: 18px; height: 18px; padding: 8px; } .jd-strip__list strong { font-size: 12.5px; } .jd-strip__list small { font-size: 11px; } }

/* page headers: less empty space above and below the breadcrumb + title */
.jd-pagehead { padding-block: clamp(12px, 1.8vw, 22px) 2px; }
.jd-pagehead--slim { padding-bottom: 0; }
.jd-pagehead__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-top: 6px; line-height: 1.05; }
.jd-pagehead .jd-sechead__lead { margin-top: 8px; font-size: clamp(15px, 1.2vw, 17px); }
.jd-pagehead .jd-steps { margin-top: 14px; }
.jd-pagehead--band { padding-block: clamp(14px, 2vw, 26px); }
.jd-pagehead--band + .jd-section { padding-top: clamp(20px, 3vw, 36px); }
.jd-pagehead + .jd-section, .jd-pagehead + .jd-section--tight { padding-top: clamp(14px, 2.2vw, 28px); }
.jd-pagehead--slim + .jd-section { padding-top: clamp(10px, 1.6vw, 20px); }
.jd-crumbs { font-size: 13.5px; gap: 6px; }
.jd-section--tight { padding-block: clamp(20px, 3.2vw, 44px) clamp(36px, 5vw, 72px); }
.jd-allpages__tools { margin-top: 14px; }

/* brand-story tiles: show the product larger, less blank sand around it */
.jd-story__tile img { padding: 4%; }
.jd-story__tile--a img { padding: 6% 4% 10%; }
.jd-story__tile--a { display: flex; align-items: flex-end; }
@media (max-width: 860px) { .jd-story__visual { aspect-ratio: 1 / .85; max-width: none; } }

/* ---------- product page: every screen size ---------- */
.jd-pdp, .jd-pdp > * { min-width: 0; }
.jd-pdp__title { overflow-wrap: anywhere; }
.jd-pdp__buy { flex-wrap: wrap; }
.jd-pdp__buy .jd-btn--grow { flex: 1 1 160px; min-width: 0; }
.jd-specs { table-layout: auto; }
.jd-specs th, .jd-specs td { overflow-wrap: anywhere; }
@media (max-width: 600px) {
	.jd-pdp { gap: 18px; }
	.jd-pdp__info { gap: 14px; }
	.jd-pdp__title { font-size: clamp(1.5rem, 7vw, 2rem); }
	.jd-price--lg .jd-price__now { font-size: 26px; }
	.jd-pdp__buy { gap: 10px; }
	.jd-pdp__buy .jd-qty { flex: none; }
	.jd-pdp__desc { font-size: 15.5px; }
	.jd-highlights { grid-template-columns: 1fr 1fr; gap: 8px; }
	.jd-highlights li { padding: 10px 11px; gap: 8px; }
	.jd-specs th, .jd-specs td { padding: 11px 12px; font-size: 14px; }
	.jd-specs th { width: 40%; }
	.jd-gallery__main { border-radius: 18px; }
	.jd-gallery__thumb { width: 60px; height: 60px; }
	.jd-reviews { gap: 20px; }
	.jd-rsum__score strong { font-size: 40px; }
	.jd-reviews__head { flex-wrap: wrap; }
	.jd-reviews__head .jd-btn { flex: 1; }
}
@media (max-width: 380px) {
	.jd-highlights { grid-template-columns: 1fr; }
	.jd-pdp__buy .jd-btn--grow { flex-basis: 100%; order: 3; }
	.jd-pdp__buy .jd-iconbtn { width: 44px; height: 44px; }
	.jd-specs th, .jd-specs td { display: block; width: 100%; }
	.jd-specs th { padding-bottom: 2px; border-bottom: 0; }
	.jd-specs td { padding-top: 0; }
}
@media (max-width: 340px) {
	:root { --jd-gutter: 12px; }
	.jd-pagehead__title { font-size: 1.6rem; }
	.jd-bnav__item { font-size: 10px; }
}

@media (max-width: 420px) {
	.jd-steps__item:not(.is-current) .jd-steps__label { display: none; }
	.jd-steps__item { gap: 8px; }
	.jd-steps__item:not(:last-child)::after { margin-inline: 6px; min-width: 14px; }
}

/* strip item spacing (higher specificity than the generic li > * rule above) */
.jd-strip__list li .jd-strip__item { display: flex; align-items: center; gap: 14px; padding: 16px clamp(12px, 1.8vw, 26px); }
@media (max-width: 860px) { .jd-strip__list li .jd-strip__item { padding: 12px 10px; gap: 10px; } }
@media (max-width: 420px) { .jd-strip__list li .jd-strip__item { padding: 10px 8px; gap: 8px; } }

/* breadcrumb stays on one line, the current page truncates */
.jd-crumbs { flex-wrap: nowrap; overflow: hidden; }
.jd-crumbs > * { flex: none; }
.jd-crumbs > [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* product page buy bar on phones: floating card that clears the raised nav tab */
@media (max-width: 760px) {
	.jd-page-products .jd-buybar { left: 10px; right: 10px; bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b) + 32px); padding: 10px 12px 10px 16px; border: 1px solid var(--jd-line); border-radius: 20px; background: rgba(255, 255, 255, .98); box-shadow: 0 12px 30px rgba(60, 40, 20, .18); }
	.jd-buybar .jd-btn { flex: 1; max-width: none; min-height: 48px; }
	.jd-buybar__price { flex: none; }
	.jd-body:has(.jd-buybar) { padding-bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b) + 92px); }
}

/* ==========================================================================
   Even vertical rhythm: one spacing unit for every section, top to bottom
   ========================================================================== */
:root { --jd-gap: clamp(28px, 4vw, 56px); --jd-head-gap: clamp(18px, 2.4vw, 30px); }
.jd-section, .jd-section--tight { padding-block: var(--jd-gap); }
.jd-story, .jd-promo { margin-block: 0; }
.jd-story.jd-section { padding-block: calc(var(--jd-gap) * 1.4); }
.jd-promo__copy { padding-block: calc(var(--jd-gap) * 1.4); }
.jd-sechead { margin-bottom: var(--jd-head-gap); }
.jd-center { margin-top: var(--jd-head-gap); }
.jd-pagehead + .jd-section, .jd-pagehead + .jd-section--tight, .jd-pagehead--slim + .jd-section, .jd-pagehead--band + .jd-section { padding-top: calc(var(--jd-gap) * .6); }
.jd-banner { padding-block: clamp(10px, 1.6vw, 20px) 0; }
.jd-bento { padding-block: clamp(12px, 1.6vw, 20px) 0; }
.jd-strip { margin-top: var(--jd-gap); }
.jd-footer { padding-top: var(--jd-gap); }
.jd-footer__base { margin-top: var(--jd-gap); }
.jd-grid + .jd-center, .jd-discover + .jd-center { margin-top: var(--jd-head-gap); }
.jd-trust__contact { margin-top: var(--jd-head-gap); }
.jd-keep { margin-top: var(--jd-gap); }
.jd-details { margin-top: var(--jd-gap); }

/* ==========================================================================
   About page
   ========================================================================== */
.jd-ab-hero { position: relative; overflow: hidden; padding-block: clamp(16px, 2.4vw, 32px) var(--jd-gap); background: linear-gradient(180deg, var(--jd-sand), var(--jd-ivory)); border-bottom: 1px solid var(--jd-line); }
.jd-ab-hero::before { content: ""; position: absolute; right: -8vw; top: -10vw; width: min(640px, 55vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--jd-line); box-shadow: 0 0 0 40px rgba(255, 255, 255, .35), 0 0 0 41px var(--jd-line); pointer-events: none; }
.jd-ab-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.jd-ab-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.jd-ab-hero__copy .jd-crumbs { margin-bottom: 6px; }
.jd-ab-hero h1 { font-size: clamp(2.2rem, 4.8vw, 4.3rem); line-height: 1; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; }
.jd-ab-hero h1 em { font-style: normal; color: var(--jd-red); }
.jd-ab-hero__lead { max-width: 48ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--jd-ink-2); }
.jd-ab-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.jd-ab-collage { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.4vw, 16px); aspect-ratio: 1 / .92; width: 100%; max-width: 600px; margin-inline: auto; }
.jd-ab-collage > div:not(.jd-ab-badge) { position: relative; border-radius: 26px; overflow: hidden; }
.jd-ab-collage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.jd-ab-collage__a { grid-row: 1 / 3; border-radius: 999px 999px 26px 26px !important; }
.jd-ab-collage__a img { padding: 14% 4% 8%; }
.jd-ab-badge { position: absolute; left: -2%; bottom: 7%; display: flex; flex-direction: column; padding: 14px 18px 14px 20px; background: #fff; border-radius: 16px; box-shadow: var(--jd-shadow-md); border-left: 5px solid var(--jd-red); line-height: 1.25; }
.jd-ab-badge strong { font-family: var(--jd-font-head); font-size: 17px; } .jd-ab-badge span { font-size: 13px; color: var(--jd-muted); }

.jd-ab-stats { background: #fff; border-bottom: 1px solid var(--jd-line); }
.jd-ab-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jd-ab-stats__list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: clamp(18px, 2.6vw, 34px) 12px; }
.jd-ab-stats__list li:not(:last-child) { border-right: 1px solid var(--jd-line); }
.jd-ab-stats__list strong { font-family: var(--jd-font-head); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--jd-red); letter-spacing: -.03em; }
.jd-ab-stats__list strong small { font-size: .4em; font-weight: 700; letter-spacing: 0; color: var(--jd-ink); }
.jd-ab-stats__list li > span { font-size: 14px; color: var(--jd-ink-2); font-weight: 500; }

.jd-ab-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.jd-ab-row + .jd-ab-row { margin-top: var(--jd-gap); }
.jd-ab-row--flip .jd-ab-row__media { order: 2; }
.jd-ab-row__media { position: relative; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; }
.jd-ab-row__img { position: absolute; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--jd-ease); }
.jd-ab-row__img--a { left: 3%; bottom: -4%; width: 62%; }
.jd-ab-row__img--b { right: 2%; top: 4%; width: 44%; }
@media (hover: hover) { .jd-ab-row:hover .jd-ab-row__img { transform: scale(1.05); } }
.jd-ab-row__copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.jd-ab-row__no { font-family: var(--jd-font-head); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--jd-sand-2); }
.jd-ab-row__copy h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.025em; }
.jd-ab-row__copy p:not(.jd-eyebrow) { color: var(--jd-ink-2); max-width: 46ch; font-size: clamp(15.5px, 1.2vw, 17.5px); }

.jd-ab-promise { background: #C41F17; color: #fff; padding-block: calc(var(--jd-gap) * 1.4); position: relative; overflow: hidden; }
.jd-ab-promise::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04); pointer-events: none; }
.jd-sechead--light h2 { color: #fff; } .jd-sechead--light h2::after { background: #fff; }
.jd-ab-promise__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.jd-ab-promise__grid li { padding: clamp(20px, 2.6vw, 32px); border: 1px solid rgba(255, 255, 255, .28); border-radius: 22px; background: rgba(255, 255, 255, .07); transition: background .3s, transform .5s var(--jd-ease); }
@media (hover: hover) { .jd-ab-promise__grid li:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); } }
.jd-ab-promise__grid .jd-i--lg { margin-bottom: 16px; }
.jd-ab-promise__grid h3 { font-size: 20px; margin-bottom: 6px; } .jd-ab-promise__grid p { opacity: .9; font-size: 15px; }

.jd-ab-reach__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.jd-ab-reach h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.03em; margin-top: 12px; }
.jd-ab-reach__lead { color: var(--jd-ink-2); margin-top: 12px; max-width: 48ch; }
.jd-ab-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.jd-ab-chips a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--jd-line); font-weight: 600; font-size: 14.5px; transition: background .25s, color .25s, border-color .25s; }
.jd-ab-chips a .jd-i { color: var(--jd-red); } .jd-ab-chips a:hover { background: var(--jd-ink); color: #fff; border-color: var(--jd-ink); } .jd-ab-chips a:hover .jd-i { color: #fff; }
.jd-ab-reach__links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.jd-ccards--stack { grid-template-columns: 1fr; }

@media (max-width: 960px) {
	.jd-ab-hero__grid { grid-template-columns: 1fr; }
	.jd-ab-collage { max-width: 520px; }
	.jd-ab-badge { left: 2%; }
	.jd-ab-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jd-ab-stats__list li:nth-child(2) { border-right: 0; }
	.jd-ab-stats__list li:nth-child(-n+2) { border-bottom: 1px solid var(--jd-line); }
	.jd-ab-row, .jd-ab-reach__grid { grid-template-columns: 1fr; }
	.jd-ab-row--flip .jd-ab-row__media { order: 0; }
	.jd-ab-promise__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.jd-ab-hero h1 { max-width: none; }
	.jd-ab-hero__cta .jd-btn { flex: 1 1 100%; }
	.jd-ab-collage > div:not(.jd-ab-badge) { border-radius: 20px; }
	.jd-ab-badge { padding: 10px 14px; bottom: 5%; } .jd-ab-badge strong { font-size: 15px; }
	.jd-ab-row__media { aspect-ratio: 4 / 3.4; border-radius: 22px; }
}

/* ---------- checkout: saved address picker (equal-height cards) ---------- */
.jd-addrpick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; margin: 12px 0 16px; }
.jd-addrpick[hidden] { display: none; }
.jd-pick { position: relative; display: block; height: 100%; cursor: pointer; }
.jd-pick__box { position: relative; display: flex; flex-direction: column; gap: 5px; height: 100%; min-height: 148px; padding: 16px 44px 16px 18px; border: 1.5px solid var(--jd-line); border-radius: 16px; background: #fff; transition: border-color .25s, box-shadow .25s, background .25s, transform .35s var(--jd-ease); }
@media (hover: hover) { .jd-pick:hover .jd-pick__box { border-color: var(--jd-ink); transform: translateY(-2px); } }
.jd-pick input:checked + .jd-pick__box { border-color: var(--jd-red); background: #FFF8F3; box-shadow: 0 0 0 3px rgba(218, 37, 28, .12); }
.jd-pick input:focus-visible + .jd-pick__box { outline: 2px solid var(--jd-red); outline-offset: 3px; }
.jd-pick__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jd-pick__top strong { font-size: 16px; line-height: 1.25; }
.jd-pick__addr { color: var(--jd-ink-2); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jd-pick__phone { margin-top: auto; font-size: 13.5px; color: var(--jd-muted); font-weight: 500; }
.jd-pick__tick { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--jd-sand-2); background: #fff; color: transparent; transition: background .25s, border-color .25s, color .25s, transform .35s var(--jd-ease); }
.jd-pick input:checked + .jd-pick__box .jd-pick__tick { background: var(--jd-red); border-color: var(--jd-red); color: #fff; transform: scale(1.08); }
.jd-pick--new .jd-pick__box { align-items: center; justify-content: center; text-align: center; padding: 16px 18px; border-style: dashed; background: transparent; gap: 6px; }
.jd-pick--new .jd-pick__tick { display: none; }
.jd-pick--new input:checked + .jd-pick__box { border-style: solid; background: #FFF8F3; }
.jd-pick__plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--jd-sand); color: var(--jd-red); transition: background .25s, color .25s; }
.jd-pick--new:hover .jd-pick__plus, .jd-pick--new input:checked + .jd-pick__box .jd-pick__plus { background: var(--jd-red); color: #fff; }
.jd-pick--new .jd-pick__addr { -webkit-line-clamp: 2; }
.jd-fields[data-jd-newaddr][hidden] { display: none; }
.jd-fields[data-jd-newaddr]:not([hidden]) { animation: jd-fadein .35s var(--jd-ease); }
.jd-check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.jd-check input { width: 18px; height: 18px; accent-color: var(--jd-red); flex: none; }
@media (max-width: 640px) { .jd-addrpick { grid-template-columns: 1fr; } .jd-pick__box { min-height: 124px; } }

/* ==========================================================================
   Quick view
   ========================================================================== */
.jd-qv .jd-modal__card.jd-qv__card { width: min(1020px, 100%); grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-radius: 28px; background: #fff; overflow: hidden; max-height: min(720px, calc(100svh - 32px)); }
.jd-qv .jd-modal__close { top: 14px; right: 14px; z-index: 5; background: #fff; box-shadow: var(--jd-shadow-sm); }
.jd-qv__media { display: flex; flex-direction: column; min-height: 0; background: linear-gradient(180deg, #FBF6EC, #F3EAD9); padding: 20px; gap: 14px; }
.jd-qv__stage { position: relative; flex: 1; min-height: 340px; border-radius: 22px; background: #fff; overflow: hidden; }
.jd-qv__stage > img[data-jd-q-img] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: opacity .2s ease, transform .5s var(--jd-ease); }
.jd-qv__stage > img.is-swap { opacity: 0; transform: scale(.97); }
.jd-qv__off { position: absolute; top: 14px; left: 14px; }
.jd-qv__wish { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--jd-shadow-sm); color: var(--jd-ink); transition: transform .3s var(--jd-ease), color .2s; }
.jd-qv__wish:hover { transform: scale(1.08); } .jd-qv__wish.is-on { color: var(--jd-red); } .jd-qv__wish.is-on svg { fill: currentColor; }
.jd-qv__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: var(--jd-shadow-sm); transition: background .2s, color .2s; }
.jd-qv__arrow:hover { background: var(--jd-red); color: #fff; } .jd-qv__arrow--prev { left: 10px; } .jd-qv__arrow--next { right: 10px; } .jd-qv__arrow[hidden] { display: none; }
.jd-qv__thumbs { display: flex; gap: 10px; justify-content: center; } .jd-qv__thumbs[hidden] { display: none; }
.jd-qv__thumbs button { width: 60px; height: 60px; padding: 4px; border-radius: 12px; border: 1.5px solid transparent; background: #fff; transition: border-color .25s, transform .3s var(--jd-ease); }
.jd-qv__thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.jd-qv__thumbs button.is-active { border-color: var(--jd-ink); } .jd-qv__thumbs button:hover { transform: translateY(-2px); }

.jd-qv__info { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: #fff; }
.jd-qv__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 30px 32px 12px; overflow-y: auto; overscroll-behavior: contain; }
.jd-qv__body h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.025em; padding-right: 44px; line-height: 1.1; }
.jd-qv__pricebox { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.jd-qv__save { padding: 4px 12px; border-radius: 999px; background: #E3F6EA; color: #11803F; font-size: 13px; font-weight: 700; } .jd-qv__save[hidden] { display: none; }
.jd-qv .jd-modal__desc { color: var(--jd-ink-2); font-size: 15.5px; line-height: 1.6; }
.jd-qv__hl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; } .jd-qv__hl[hidden] { display: none; }
.jd-qv__hl li { padding: 10px 12px; border-radius: 12px; background: var(--jd-sand); }
.jd-qv__hl small { display: block; font-size: 11.5px; color: var(--jd-muted); } .jd-qv__hl strong { display: block; font-size: 14px; line-height: 1.25; }
.jd-qv__trust { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--jd-ink-2); margin-top: auto; padding-top: 4px; } .jd-qv__trust .jd-i { color: var(--jd-red); }
.jd-qv__actions { display: flex; flex-direction: column; gap: 10px; padding: 16px 32px 24px; border-top: 1px solid var(--jd-line); background: #fff; }
.jd-qv__row { display: flex; align-items: center; gap: 10px; } .jd-qv__row .jd-btn--grow { flex: 1; min-width: 0; }
.jd-qv__row--2 > * { flex: 1; min-width: 0; }
.jd-qv .jd-btn { min-height: 50px; }

@media (min-width: 721px) { .jd-qv .jd-modal__card.jd-qv__card { height: min(660px, calc(100svh - 32px)); } .jd-qv__media, .jd-qv__info { height: 100%; } }
@media (max-width: 720px) {
	.jd-qv { align-items: flex-end; padding: 0; }
	.jd-qv .jd-modal__card.jd-qv__card { display: flex; flex-direction: column; width: 100%; max-height: 92svh; border-radius: 26px 26px 0 0; overflow: hidden; }
	.jd-qv__card::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--jd-sand-2); z-index: 6; }
	.jd-qv__media { flex: none; padding: 22px 14px 12px; gap: 10px; }
	.jd-qv__stage { flex: none; min-height: 0; height: clamp(190px, 34svh, 290px); border-radius: 18px; }
	.jd-qv__thumbs button { width: 48px; height: 48px; }
	.jd-qv__info { flex: 1; min-height: 0; }
	.jd-qv__body { padding: 16px 18px 8px; gap: 10px; }
	.jd-qv__body h2 { font-size: 1.35rem; padding-right: 0; }
	.jd-qv__actions { padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 20px rgba(60, 40, 20, .08); }
	.jd-qv .jd-btn { min-height: 48px; }
	.jd-qv__arrow { width: 36px; height: 36px; }
}
@media (max-width: 380px) { .jd-qv__hl { grid-template-columns: 1fr; } .jd-qv__row--2 .jd-btn { font-size: 14px; padding-inline: 10px; } }

/* quick view on phones: keep the heart clear of the close button */
@media (max-width: 720px) { .jd-qv__wish { top: auto; bottom: 10px; right: 10px; width: 42px; height: 42px; } .jd-qv .jd-modal__close { top: 12px; right: 12px; } }

/* ---------- search bar typewriter ---------- */
.jd-searchbar > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-height: 1.4em; }
.jd-typer__txt { color: var(--jd-ink); font-weight: 500; }
.jd-typer__caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -.16em; background: var(--jd-red); animation: jd-caret 1s steps(1) infinite; }
@keyframes jd-caret { 50% { opacity: 0; } }

/* ==========================================================================
   Reels: video-only viewer
   ========================================================================== */
.jd-rv { padding: clamp(14px, 2vw, 24px) var(--jd-gutter) 40px; background: var(--jd-sand); }
.jd-rv__stage { position: relative; display: flex; justify-content: center; align-items: center; gap: 20px; }
.jd-rv__rail { width: min(420px, 100%); height: clamp(560px, calc(100svh - 170px), 860px); overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; border-radius: 28px; background: #000; box-shadow: var(--jd-shadow-lg); overscroll-behavior: contain; outline-offset: 4px; }
.jd-rv__rail::-webkit-scrollbar { display: none; }
.jd-rv__item { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #000; color: #fff; }
.jd-rv__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.jd-rv__tap { position: absolute; inset: 0; z-index: 1; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.jd-rv__flash { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .35s var(--jd-ease); pointer-events: none; }
.jd-rv__flash .jd-i { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.jd-rv__item.is-paused .jd-rv__flash { opacity: 1; transform: none; }
.jd-rv__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .72) 100%); }
.jd-rv__who { position: absolute; z-index: 2; top: calc(16px + env(safe-area-inset-top, 0px)); left: 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.jd-rv__avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; overflow: hidden; }
.jd-rv__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.jd-rv__close { display: none; }

.jd-rv__side { position: absolute; z-index: 2; right: 12px; bottom: 150px; display: flex; flex-direction: column; gap: 18px; }
.jd-rv__act { width: 62px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); -webkit-tap-highlight-color: transparent; }
.jd-rv__circle { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--jd-ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); transition: transform .3s var(--jd-ease), background .2s, color .2s; }
.jd-rv__act:active .jd-rv__circle { transform: scale(.9); }
.jd-rv__act.is-on .jd-rv__circle { background: var(--jd-red); color: #fff; }
.jd-rv__act.is-on .jd-rv__circle svg { fill: currentColor; }
.jd-rv__circle svg[hidden] { display: none; }

.jd-rv__bottom { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: flex-end; gap: 10px; }
.jd-rv__product { display: flex; align-items: flex-end; gap: 12px; min-width: 0; flex: 1; }
.jd-rv__thumb { flex: none; width: 82px; height: 96px; border: 2px solid #fff; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.jd-rv__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.jd-rv__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.jd-rv__name { max-width: 100%; font-size: 14px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jd-rv__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.jd-rv__price strong { font-family: var(--jd-font-head); font-size: 22px; line-height: 1; }
.jd-rv__price s { font-size: 15px; opacity: .85; }
.jd-rv__badge { padding: 4px 11px; border-radius: 999px; background: #0E9F5B; font-size: 13px; font-weight: 700; text-shadow: none; }
.jd-rv__add { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--jd-red); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 8px 20px rgba(196, 31, 23, .5); transition: transform .3s var(--jd-ease), background .2s; }
.jd-rv__add:hover { background: var(--jd-red-deep); } .jd-rv__add:active { transform: scale(.94); }
.jd-rv__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); }
.jd-rv__bar i { display: block; height: 100%; width: 0; background: var(--jd-red); }
.jd-rv__nav { display: flex; flex-direction: column; gap: 12px; }

.jd-rv--empty { min-height: 60svh; display: grid; place-items: center; }
.jd-rv__empty { max-width: 460px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: clamp(28px, 5vw, 48px); background: #fff; border: 1px solid var(--jd-line); border-radius: 26px; }
.jd-rv__emptyicon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--jd-sand); color: var(--jd-red); }
.jd-rv__empty h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); } .jd-rv__empty p { color: var(--jd-ink-2); }
.jd-rv__emptyact { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

/* phones: immersive full-screen player, header and tab bar tuck away */
@media (max-width: 760px) {
	body:has(.jd-rv:not(.jd-rv--empty)) { overflow: hidden; padding-bottom: 0; }
	body:has(.jd-rv:not(.jd-rv--empty)) .jd-header, body:has(.jd-rv:not(.jd-rv--empty)) .jd-announce, body:has(.jd-rv:not(.jd-rv--empty)) .jd-bnav, body:has(.jd-rv:not(.jd-rv--empty)) .jd-footer, body:has(.jd-rv:not(.jd-rv--empty)) .jd-top { display: none; }
	.jd-rv:not(.jd-rv--empty) { position: fixed; inset: 0; z-index: 150; padding: 0; background: #000; }
	.jd-rv:not(.jd-rv--empty) .jd-rv__stage { display: block; height: 100%; }
	.jd-rv__rail { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
	@supports (height: 100dvh) { .jd-rv:not(.jd-rv--empty) { height: 100dvh; bottom: auto; } }
	.jd-rv__nav { display: none; }
	.jd-rv__close { display: grid; place-items: center; position: absolute; z-index: 6; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(40, 44, 52, .72); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
	.jd-rv__side { bottom: 148px; }
}
/* narrow phones: keep thumb + details + Add inside the row instead of overflowing */
.jd-rv__meta { flex: 1 1 0; overflow: hidden; }
/* the caption is the first child of the flex row; give it its own line so it stops squeezing the product details */
.jd-rv__bottom { flex-wrap: wrap; }
.jd-rv__bottom .jd-rv__cap { flex: 0 0 100%; }
@media (max-width: 480px) {
	.jd-rv__bottom { align-items: center; }
	.jd-rv__product { align-items: center; gap: 10px; }
	.jd-rv__thumb { width: 68px; height: 82px; }
	.jd-rv__price strong { font-size: 19px; }
	.jd-rv__price s { font-size: 13px; }
	.jd-rv__badge { font-size: 12px; padding: 3px 9px; }
	.jd-rv__add { width: 46px; padding: 0; justify-content: center; }
	.jd-rv__add span { display: none; }
}
@media (min-width: 761px) and (max-width: 960px) { .jd-rv__nav { display: none; } }

/* reels on phones: keep the bottom tab bar; the video fills the space above it */
@media (max-width: 760px) {
	body:has(.jd-rv:not(.jd-rv--empty)) .jd-bnav { display: grid; z-index: 160; }
	.jd-rv:not(.jd-rv--empty) { bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b) - 6px); height: auto; border-radius: 0 0 26px 26px; overflow: hidden; }
	@supports (height: 100dvh) { .jd-rv:not(.jd-rv--empty) { height: auto; bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b) - 6px); } }
	.jd-rv__bottom { bottom: 40px; }
	.jd-rv__side { bottom: 168px; }
	.jd-rv__bar { bottom: 0; }
}

/* reels on phones: video runs full-screen; the tab bar floats on top of it */
@media (max-width: 760px) {
	.jd-rv:not(.jd-rv--empty) { inset: 0; bottom: 0; height: 100%; border-radius: 0; }
	@supports (height: 100dvh) { .jd-rv:not(.jd-rv--empty) { height: 100dvh; bottom: auto; } }
	.jd-rv__bottom { bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b) + 34px); }
	.jd-rv__side { bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b) + 156px); }
	.jd-rv__bar { bottom: calc(76px + var(--jd-safe-b)); z-index: 3; }
	.jd-rv__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, .78) 100%); }
	body:has(.jd-rv:not(.jd-rv--empty)) .jd-bnav { box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
}

@media (max-width: 760px) {
	body:has(.jd-rv:not(.jd-rv--empty)) .jd-bnav { box-shadow: none; }
	body:has(.jd-rv:not(.jd-rv--empty)) .jd-bnav__bg { filter: none; }
	body:has(.jd-rv:not(.jd-rv--empty)) .jd-bnav__ind::before { box-shadow: 0 0 0 5px rgba(255, 255, 255, .18), 0 8px 18px rgba(196, 31, 23, .55); }
}

/* ==========================================================================
   Phone tab bar stays usable while a drawer is open
   ========================================================================== */
@media (max-width: 760px) {
	.jd-bnav { z-index: 105; }
	body:has(.jd-rv:not(.jd-rv--empty)) .jd-bnav { z-index: 105; }
	.jd-rv:not(.jd-rv--empty) { z-index: 50; }
	.jd-drawer { bottom: calc(var(--jd-bnav-h) + var(--jd-safe-b)); border-radius: 0 0 26px 26px; }
	.jd-drawer--right { border-top-left-radius: 0; }
	.jd-drawer__foot { padding-bottom: 18px; }
	.jd-scrim { bottom: 0; }
}

/* ==========================================================================
   Round 4: trust strip, tighter bottoms, product videos
   ========================================================================== */

/* ---------- tighter bottom spacing in every section ---------- */
:root { --jd-gap-b: clamp(16px, 2.2vw, 30px); }
.jd-section, .jd-section--tight { padding-block: var(--jd-gap) var(--jd-gap-b); }
.jd-story.jd-section { padding-block: calc(var(--jd-gap) * 1.2) calc(var(--jd-gap) * .8); }
.jd-ab-promise, .jd-promo__copy { padding-bottom: calc(var(--jd-gap) * .9); }
.jd-center { margin-top: calc(var(--jd-head-gap) * .8); }
.jd-footer { padding-top: calc(var(--jd-gap) * .9); }
.jd-carousel { padding-bottom: 14px; }
.jd-rail { padding-bottom: 8px; }
.jd-keep { margin-top: var(--jd-gap-b); }

/* ---------- trust strip: contained card, evenly spaced cells ---------- */
.jd-strip { background: none; border: 0; margin-top: clamp(14px, 2vw, 24px); }
.jd-strip__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid var(--jd-line); border-radius: 22px; box-shadow: 0 10px 30px rgba(60, 40, 20, .06); overflow: hidden; }
.jd-strip__cell { display: block; min-width: 0; position: relative; }
.jd-strip__cell:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: var(--jd-line); }
.jd-strip__list li { border: 0 !important; }
.jd-strip__list li .jd-strip__item { display: flex; align-items: center; gap: 14px; width: 100%; height: 100%; padding: 20px clamp(14px, 2vw, 28px); position: relative; transition: background .3s; }
.jd-strip__icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--jd-sand); color: var(--jd-red); transition: background .35s, color .35s, transform .5s var(--jd-ease); }
.jd-strip__list .jd-i { padding: 0; width: 24px; height: 24px; background: none; box-sizing: border-box; border-radius: 0; }
.jd-strip__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.jd-strip__txt strong { font-family: var(--jd-font-head); font-size: 16.5px; letter-spacing: -.01em; }
.jd-strip__txt small { color: var(--jd-muted); font-size: 13px; margin-top: 2px; }
.jd-strip__list .jd-strip__go { width: 14px; height: 14px; margin-left: auto; color: var(--jd-muted); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--jd-ease); flex: none; }
a.jd-strip__item:hover { background: #FFFBF6; }
a.jd-strip__item:hover .jd-strip__icon { background: var(--jd-red); color: #fff; transform: translateY(-2px) rotate(-6deg); }
a.jd-strip__item:hover .jd-strip__go { opacity: 1; transform: none; color: var(--jd-red); }
@media (max-width: 1024px) { .jd-strip__txt strong { font-size: 15px; } .jd-strip__list li .jd-strip__item { gap: 11px; padding: 16px 12px; } .jd-strip__icon { width: 42px; height: 42px; border-radius: 13px; } .jd-strip__list .jd-i { width: 21px; height: 21px; } .jd-strip__go { display: none; } }
@media (max-width: 860px) {
	.jd-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
	.jd-strip__cell:nth-child(2)::after { display: none; }
	.jd-strip__cell:nth-child(-n+2) { border-bottom: 1px solid var(--jd-line); }
	.jd-strip__cell::after { top: 20%; bottom: 20%; }
	.jd-strip__txt small { font-size: 12px; }
}
@media (max-width: 420px) {
	.jd-strip__list li .jd-strip__item { gap: 9px; padding: 14px 10px; }
	.jd-strip__icon { width: 36px; height: 36px; border-radius: 11px; } .jd-strip__list .jd-i { width: 18px; height: 18px; }
	.jd-strip__txt strong { font-size: 13.5px; } .jd-strip__txt small { font-size: 11px; }
}

/* ---------- product video: crossfade over the photo on hover ---------- */
.jd-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .55s ease; background: #000; pointer-events: none; z-index: 1; }
.jd-card__media.is-playing .jd-card__video { opacity: 1; }
.jd-card__media.is-playing > a img { transform: none; }
.jd-card__badges, .jd-card__wish, .jd-card__quick { z-index: 3; }
.jd-card__quick { z-index: 3; }
.jd-tag--vid { display: inline-flex; align-items: center; gap: 5px; background: rgba(23, 25, 28, .82); }
.jd-tag--vid .jd-i { fill: currentColor; stroke: none; width: 10px; height: 10px; }
.jd-card__media.has-video::after { content: ""; }

/* ---------- product page: video slide + thumb ---------- */
.jd-gallery__slide--video { background: #111; display: grid; place-items: center; position: relative; }
.jd-gallery__fs { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--jd-shadow-sm); color: var(--jd-ink); cursor: pointer; transition: transform .25s var(--jd-ease); }
.jd-gallery__fs:hover { transform: scale(1.08); }
.jd-gallery__video { width: 100%; height: 100%; object-fit: contain; background: #111; }
.jd-gallery__thumb--video { position: relative; }
.jd-gallery__playdot { position: absolute; right: 5px; bottom: 5px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--jd-red); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.jd-gallery__playdot .jd-i { fill: currentColor; stroke: none; width: 10px; height: 10px; }
.jd-gallery__hint { z-index: 2; }

.jd-strip__item > .jd-strip__icon { display: grid; place-items: center; flex-direction: initial; }

/* profile photo */
.jd-pphoto { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.jd-pphoto__img { flex: none; display: grid; place-items: center; border-radius: 50%; overflow: hidden; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--jd-red), #F2765E); box-shadow: 0 6px 18px rgba(31, 26, 23, .14); border: 3px solid #fff; }
.jd-pphoto__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jd-pphoto__img--lg { width: 96px; height: 96px; font-size: 32px; }
.jd-pphoto__img--md { width: 64px; height: 64px; font-size: 22px; }
.jd-pphoto__img--sm { width: 48px; height: 48px; font-size: 17px; }
.jd-pphoto__act { display: grid; gap: 4px; }
.jd-pphoto__act small { color: var(--jd-muted); font-size: 13px; }
.jd-pphoto__act > div { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.jd-pphoto__pick { cursor: pointer; }
.jd-welcome--photo { display: flex; align-items: center; gap: 16px; }

/* the signed-in Account drawer: greeting on one line, links stacked, nothing wider than the panel */
.jd-drawer__body { overflow-x: hidden; }
.jd-drawer .jd-welcome--photo { align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--jd-line); }
.jd-drawer .jd-welcome--photo > div { min-width: 0; }
.jd-drawer .jd-welcome h2 { font-size: 26px; line-height: 1.15; margin: 0; }
.jd-drawer .jd-welcome p { margin: 4px 0 0; font-size: 14px; color: var(--jd-muted); overflow-wrap: anywhere; }
.jd-drawer .jd-quick { grid-template-columns: 1fr; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.jd-drawer .jd-quick a { padding: 14px 16px; }

/* vertical delivery timeline with date and time */
.jd-track--v { flex-direction: column; gap: 0; padding: 4px 0 8px; }
.jd-track--v li { position: relative; align-items: flex-start; gap: 14px; padding-bottom: 18px; }
.jd-track--v li:last-child { padding-bottom: 0; }
.jd-track--v li i { flex: none; margin-top: 4px; position: relative; z-index: 1; background: #fff; }
.jd-track--v li:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 18px; bottom: -4px; width: 2px; background: var(--jd-sand-2); }
.jd-track--v li.is-done:not(:last-child)::before { background: #1FA855; }
.jd-track--v li b { display: block; color: var(--jd-ink); font-weight: 700; }
.jd-track--v li small { display: block; color: var(--jd-muted); font-weight: 500; font-size: 13px; }
.jd-track--v li:not(.is-done) b { color: var(--jd-muted); }

/* available coupons on checkout */
.jd-offers { margin: 4px 0 14px; }
.jd-offers__h { margin: 0 0 8px; font-weight: 700; font-size: 14px; }
.jd-offers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jd-offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px dashed var(--jd-sand-2); border-radius: 12px; background: #fff; font-size: 14px; }
.jd-offer b { letter-spacing: .04em; }
.jd-offer small { display: block; color: var(--jd-muted); font-size: 12.5px; }
.jd-offer em { font-style: normal; font-weight: 700; color: #1FA855; font-size: 13px; }
.jd-offer.is-on { border-style: solid; border-color: #1FA855; }
.jd-offer.is-locked { opacity: .65; }
.jd-offer .jd-link:disabled { cursor: not-allowed; opacity: .5; }
.jd-success__items li.jd-success__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--jd-ink-2, inherit); }
.jd-success__items li.jd-success__row strong { white-space: nowrap; }

/* text pages written in the admin (delivery, shipping, returns, privacy, terms) */
.jd-prose { max-width: 820px; margin: 0 auto; padding: 8px 0 24px; font-size: 16px; line-height: 1.75; color: var(--jd-ink); }
.jd-prose h2 { margin: 28px 0 8px; font-size: 22px; }
.jd-prose h3 { margin: 22px 0 6px; font-size: 18px; }
.jd-prose p { margin: 0 0 14px; }
.jd-prose ul, .jd-prose ol { margin: 0 0 16px; padding-left: 22px; }
.jd-prose ul { list-style: disc; } .jd-prose ol { list-style: decimal; }
.jd-prose li { margin: 4px 0; }
.jd-prose a { color: var(--jd-red, #DA251C); text-decoration: underline; }
.jd-prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.jd-prose th, .jd-prose td { border: 1px solid var(--jd-line); padding: 8px 10px; text-align: left; }

/* product filters: chips on the first row; search, price and sort share the second row edge to edge */
@media (min-width: 761px) {
	.jd-toolbar__tools { width: 100%; flex-wrap: nowrap; }
	.jd-toolbar__tools .jd-field--search { flex: 1 1 auto; min-width: 0; }
	.jd-toolbar__tools .jd-field--search input { width: 100%; }
	.jd-toolbar__tools .jd-field--select { flex: 0 0 240px; width: 240px; }
	.jd-toolbar__tools .jd-field--select .select2-container { width: 100% !important; }
}

/* product list pagination */
.jd-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 36px 0 8px; }
.jd-pager[hidden] { display: none; }
.jd-pager__b { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--jd-line); background: var(--jd-white); font: inherit; font-size: 14.5px; font-weight: 500; color: var(--jd-ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.jd-pager__b:hover:not(:disabled) { border-color: var(--jd-ink); color: var(--jd-ink); }
.jd-pager__b.is-active { background: var(--jd-ink); border-color: var(--jd-ink); color: #fff; }
.jd-pager__b:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- one-time code: six boxes, one digit each (sign-in code step) ---------- */
.jd-otp-field { display: flex; flex-direction: column; gap: 8px; }
.jd-otp-field__label { font-size: 14px; font-weight: 500; }
.jd-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.jd-form .jd-otp__box { width: 100%; min-width: 0; height: 56px; padding: 0; text-align: center; font-family: var(--jd-font-head); font-size: 24px; font-weight: 700; color: var(--jd-ink); caret-color: var(--jd-red);
	border-radius: 12px; border: 1.5px solid var(--jd-line); background: var(--jd-white); transition: border-color .2s, box-shadow .2s, transform .15s; -moz-appearance: textfield; }
.jd-form .jd-otp__box:focus { border-color: var(--jd-red); box-shadow: 0 0 0 3px rgba(218, 37, 28, .12); transform: translateY(-1px); }
.jd-form .jd-otp__box.is-filled { border-color: var(--jd-ink-2); background: #FFFDF9; }
.jd-form .jd-otp__box.is-bad { border-color: var(--jd-red); background: #FFF6F5; box-shadow: 0 0 0 3px rgba(218, 37, 28, .1); }
.jd-form .jd-otp__box.is-shake { animation: jd-otp-shake .35s ease; }
@keyframes jd-otp-shake { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
@media (max-width: 380px) { .jd-otp { gap: 6px; } .jd-form .jd-otp__box { height: 50px; font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .jd-form .jd-otp__box, .jd-form .jd-otp__box.is-shake { animation: none; transition: none; } }

/* ---------- contact page: tighter cards, form with image beside it ---------- */
.jd-section--contact { padding-bottom: clamp(8px, 1.5vw, 16px); }
.jd-section--contact + .jd-section--form { padding-top: clamp(12px, 2vw, 24px); }
.jd-ccards { gap: 12px; align-items: stretch; }
.jd-ccard { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: 14px; row-gap: 2px; padding: 16px 18px; }
.jd-ccard .jd-ccard__icon { grid-row: 1 / span 2; margin: 0; }
.jd-ccard small, .jd-ccard strong { grid-column: 2; min-width: 0; }
.jd-ccard small { align-self: end; }
.jd-ccard strong { align-self: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(12px, 1.05vw, 14px); }
.jd-formwrap--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(16px, 2.5vw, 32px); align-items: stretch; }
.jd-formwrap--split .jd-formcard { width: 100%; }
.jd-formimg { position: relative; border-radius: 24px; overflow: hidden; background: var(--jd-sand); min-height: 320px; }
.jd-formimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; object-position: center; }
@media (max-width: 860px) { .jd-formwrap--split { display: flex; } .jd-formimg { display: none; } }

/* ---------- login page ---------- */
.jd-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--jd-line); border-radius: 28px; overflow: hidden; box-shadow: var(--jd-shadow-md); }
.jd-login__brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 48px); color: #fff; background: linear-gradient(155deg, var(--jd-red) 0%, var(--jd-red-deep) 100%); overflow: hidden; isolation: isolate; }
.jd-login__brand::before, .jd-login__brand::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.jd-login__brand::before { width: 320px; height: 320px; right: -120px; top: -100px; }
.jd-login__brand::after { width: 240px; height: 240px; left: -90px; bottom: -90px; }
.jd-login__logo { display: inline-flex; align-self: flex-start; padding: 10px 16px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.jd-login__logo img { display: block; height: 36px; width: auto; }
.jd-login__intro h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -.03em; color: #fff; }
.jd-login__intro p { margin-top: 12px; color: rgba(255, 255, 255, .86); max-width: 34ch; }
.jd-login__perks { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 14.5px; font-weight: 500; }
.jd-login__perks li { display: flex; align-items: center; gap: 12px; }
.jd-login__perks span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.jd-login__panel { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(28px, 4vw, 52px); }
.jd-login__logo--sm { display: none; padding: 0; background: none; box-shadow: none; }
.jd-login__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -.02em; }
.jd-login__head p { margin-top: 6px; color: var(--jd-muted); font-size: 14.5px; }
.jd-login__panel .jd-form { gap: 16px; }
@media (max-width: 760px) {
	.jd-login { grid-template-columns: 1fr; border-radius: 22px; max-width: 480px; }
	.jd-login__brand { display: none; }
	.jd-login__logo--sm { display: inline-flex; }
	.jd-login__logo--sm img { height: 34px; }
}

/* ---------- account drawer (signed out) ---------- */
.jd-accauth { display: flex; flex-direction: column; gap: 16px; }
.jd-accauth__hero { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border-radius: 20px; color: #fff; background: linear-gradient(155deg, var(--jd-red) 0%, var(--jd-red-deep) 100%); overflow: hidden; isolation: isolate; }
.jd-accauth__hero::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%; background: rgba(255, 255, 255, .09); }
.jd-accauth__hero h3 { font-size: 1.35rem; letter-spacing: -.02em; color: #fff; }
.jd-accauth__hero p { color: rgba(255, 255, 255, .86); font-size: 14px; }
.jd-accauth__hero ul { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding-top: 14px; width: 100%; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; font-weight: 500; }
.jd-accauth__hero li { display: flex; align-items: center; gap: 8px; }
.jd-accauth__card { padding: 20px; background: #fff; border: 1px solid var(--jd-line); border-radius: 20px; }
.jd-accauth__card .jd-form { gap: 14px; }

/* "keep shopping" / recently viewed tiles: every tile in a row is the same height */
.jd-recent { align-items: stretch; }
.jd-recent > li { display: flex; }
.jd-recent__item { flex: 1; width: 100%; }
.jd-recent__item > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; line-height: 1.4; }
.jd-recent__item > strong { margin-top: auto; }
/* product card carousels and grids: slides stretch to the tallest card */
.swiper-wrapper { align-items: stretch; }
.swiper-slide.jd-card { height: auto; }

/* checkout: terms checkbox above the Place order button */
.jd-terms { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 14px; font-size: 13.5px; color: var(--jd-ink-2); }
.jd-terms .jd-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.jd-terms .jd-check input { width: 18px; height: 18px; flex: none; accent-color: var(--jd-red); }
.jd-terms .jd-check input { margin-top: 3px; }
.jd-terms a { color: var(--jd-red-deep); text-decoration: underline; text-underline-offset: 2px; }
.jd-terms .jd-err { color: var(--jd-red); }

/* mobile buy bar: thumbnail + name/price on the left, Add to bag on the right */
.jd-buybar__img { flex: none; width: 52px; height: 52px; object-fit: contain; padding: 3px; border-radius: 12px; background: #fff; border: 1px solid var(--jd-line); }
.jd-buybar__info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.jd-buybar__name { font-size: 13px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jd-buybar__info .jd-buybar__price { flex-direction: row; align-items: baseline; gap: 8px; flex: none; }
.jd-buybar__info .jd-buybar__price strong { font-size: 16px; }
.jd-buybar__info .jd-buybar__price s { font-size: 12px; }
.jd-buybar .jd-btn { flex: none; width: auto; min-width: 118px; max-width: none; padding-inline: 20px; white-space: nowrap; }

/* ---------- account: wishlist as square cards, compact order cards, horizontal order status ---------- */
.jd-wishlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.jd-wrow { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--jd-line); border-radius: 18px; }
.jd-wrow .jd-cartrow__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #fff; }
.jd-wrow .jd-cartrow__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.jd-wrow > div:nth-child(2) { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.jd-wrow .jd-cartrow__name { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.jd-wrow .jd-price { margin: 0; }
.jd-wrow__act { display: flex; flex-direction: column; align-items: stretch; gap: 6px; text-align: center; }
.jd-wrow__act .jd-btn { width: 100%; }
@media (max-width: 640px) {
	.jd-wishlist { grid-template-columns: 1fr; gap: 12px; }
	.jd-wrow { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 6px 14px; background: var(--jd-sand); border-color: transparent; }
	.jd-wrow .jd-cartrow__img { width: 84px; height: 84px; }
	.jd-wrow .jd-cartrow__name { min-height: 0; }
	.jd-wrow__act { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
	.jd-wrow__act .jd-btn { width: auto; flex: 1; }
}

.jd-olist { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; align-items: stretch; }
.jd-ocard { gap: 12px; padding: 16px 18px; }
.jd-ocard__foot { margin-top: auto; flex-direction: column; align-items: flex-start; gap: 8px; }
@media (max-width: 640px) { .jd-olist { grid-template-columns: 1fr; } .jd-ocard { background: var(--jd-sand); border-color: transparent; } }

@media (min-width: 700px) {
	.jd-track--v { flex-direction: row; align-items: flex-start; gap: 0; padding: 6px 0 2px; }
	.jd-track--v li { flex: 1 1 0; min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 12px 0 0; }
	.jd-track--v li i { margin-top: 0; }
	.jd-track--v li:not(:last-child)::before { left: 18px; right: 6px; top: 5px; bottom: auto; width: auto; height: 2px; }
	.jd-track--v li small { font-size: 12.5px; }
}

/* checkout order summary: each product in a card */
.jd-sumlist { gap: 10px; }
.jd-sumlist li { padding: 10px 12px; background: var(--jd-sand); border: 1px solid var(--jd-line); border-radius: 14px; }
.jd-sumlist li > strong { white-space: nowrap; }

/* profile page: photo and details in one card, actions aligned left */
.jd-pcard { background: #fff; border: 1px solid var(--jd-line); border-radius: 18px; padding: clamp(18px, 3vw, 32px); }
.jd-pcard .jd-pphoto { margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--jd-line); gap: 20px; }
.jd-pcard .jd-profile { max-width: none; padding: 0; border: 0; background: none; border-radius: 0; }
.jd-pcard .jd-fields { gap: 18px 20px; }
.jd-pcard .jd-success__actions { justify-content: flex-start; margin-top: 26px; }
@media (max-width: 600px) {
	.jd-pcard .jd-pphoto { flex-wrap: nowrap; gap: 14px; }
	.jd-pcard .jd-pphoto__img--lg { width: 72px; height: 72px; font-size: 26px; }
	.jd-pcard .jd-success__actions { flex-direction: row; width: 100%; }
	.jd-pcard .jd-success__actions .jd-btn { flex: 1; width: auto; }
}

/* account wishlist: Add to bag + Buy now side by side, small delete icon in the top-right corner */
.jd-wrow { position: relative; }
.jd-wrow__act { flex-direction: row; align-items: center; gap: 8px; }
.jd-wrow__act .jd-btn { flex: 1 1 0; width: auto; white-space: nowrap; }
.jd-wrow__del { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #F6F2EA; color: var(--jd-red-deep); box-shadow: var(--jd-shadow-sm); cursor: pointer; transition: background .2s, color .2s; }
.jd-wrow__del:hover { background: var(--jd-red); color: #fff; }
@media (max-width: 640px) {
	.jd-wrow { padding-right: 12px; }
	.jd-wrow > div:nth-child(2) { padding-right: 34px; }
	.jd-wrow__del { background: #fff; }
}

/* lighter card background for wishlist and order cards on small screens */
@media (max-width: 640px) {
	.jd-wrow, .jd-ocard { background: #FFFCF7; border-color: var(--jd-line); }
}

/* policy / text pages: use the full site width like the About page instead of a narrow centred column */
.jd-prose { max-width: none; margin: 0; }
.jd-prose { padding: clamp(20px, 3vw, 36px); background: #FFFCF7; border: 1px solid var(--jd-line); border-radius: 20px; }
.jd-prose > :first-child { margin-top: 0; } .jd-prose > :last-child { margin-bottom: 0; }

/* ---------- distributor landing page ---------- */
.jd-dl-hero { background: linear-gradient(135deg, var(--jd-red) 0%, var(--jd-red-deep) 100%); color: #fff; overflow: hidden; }
.jd-dl-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 72px); }
.jd-dl-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.jd-dl-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.jd-dl-hero__lead { color: rgba(255, 255, 255, .9); font-size: clamp(15.5px, 1.3vw, 18px); max-width: 52ch; }
.jd-dl-hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.jd-dl-hero__img { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); border: 4px solid rgba(255, 255, 255, .25); }
.jd-dl-hero__img img { display: block; width: 100%; height: auto; }
.jd-crumbs--light, .jd-crumbs--light a { color: rgba(255, 255, 255, .8); }
.jd-dl-stats { background: #fff; border-bottom: 1px solid var(--jd-line); }
.jd-dl-stats ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jd-dl-stats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: clamp(16px, 2.4vw, 28px) 12px; }
.jd-dl-stats li + li { border-left: 1px solid var(--jd-line); }
.jd-dl-stats strong { font-family: var(--jd-font-head); font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--jd-red-deep); line-height: 1.1; }
.jd-dl-stats span { color: var(--jd-muted); font-size: 14px; }
.jd-dl-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jd-dl-perks li { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--jd-line); border-radius: 18px; transition: border-color .25s, transform .4s var(--jd-ease); }
@media (hover: hover) { .jd-dl-perks li:hover { border-color: var(--jd-red); transform: translateY(-3px); } }
.jd-dl-perks__ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 4px; border-radius: 50%; background: var(--jd-red); color: #fff; }
.jd-dl-perks h3 { font-size: 18px; } .jd-dl-perks p { color: var(--jd-ink-2); font-size: 15px; }
.jd-dl-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jd-dl-cats a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; background: var(--jd-sand); border: 1px solid var(--jd-line); border-radius: 18px; transition: border-color .25s; }
.jd-dl-cats a:hover { border-color: var(--jd-ink); }
.jd-dl-cats h3 { font-size: 20px; } .jd-dl-cats p { color: var(--jd-ink-2); font-size: 15px; } .jd-dl-cats .jd-link { margin-top: auto; padding-top: 6px; }
.jd-dl-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.jd-dl-steps { display: flex; flex-direction: column; gap: 14px; }
.jd-dl-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 18px; background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; }
.jd-dl-steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--jd-ink); color: #fff; font-family: var(--jd-font-head); font-weight: 700; }
.jd-dl-steps h3 { font-size: 17px; } .jd-dl-steps p { color: var(--jd-ink-2); font-size: 14.5px; margin-top: 2px; }
.jd-dl-who { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--jd-line); border-radius: 18px; }
.jd-dl-who h3 { font-size: 20px; }
.jd-dl-who ul { display: flex; flex-direction: column; gap: 12px; }
.jd-dl-who li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--jd-ink-2); }
.jd-dl-who li .jd-i { flex: none; margin-top: 3px; color: #11803F; }
.jd-dl-faq { display: flex; flex-direction: column; gap: 10px; }
.jd-dl-faq details { background: #fff; border: 1px solid var(--jd-line); border-radius: 14px; padding: 0 18px; }
.jd-dl-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.jd-dl-faq summary::-webkit-details-marker { display: none; }
.jd-dl-faq summary .jd-i { flex: none; transition: transform .25s; }
.jd-dl-faq details[open] summary .jd-i { transform: rotate(180deg); }
.jd-dl-faq details p { padding: 0 0 16px; color: var(--jd-ink-2); }
.jd-dl-formhead { padding-bottom: 0; }
.jd-dl-formhead + .jd-section--form { padding-top: clamp(12px, 2vw, 20px); }
@media (max-width: 960px) {
	.jd-dl-hero__in { grid-template-columns: 1fr; }
	.jd-dl-perks, .jd-dl-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jd-dl-split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.jd-dl-perks, .jd-dl-cats { grid-template-columns: 1fr; }
	.jd-dl-stats li { padding: 14px 6px; } .jd-dl-stats span { font-size: 12.5px; }
	.jd-dl-hero__act .jd-btn { flex: 1 1 100%; }
}

/* distributor page: information on the left, enquiry form on the right (overrides the earlier stacked layout) */
.jd-dl-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.jd-dl-info { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 34px); min-width: 0; }
.jd-dl-block .jd-sechead { margin-bottom: 14px; }
.jd-dl-block .jd-sechead h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.jd-dl-formcol { position: sticky; top: calc(var(--jd-header-all) + 16px); min-width: 0; }
.jd-dl-formcol .jd-formcard { width: 100%; padding: clamp(18px, 2.4vw, 28px); gap: 16px; }
.jd-dl-formcol .jd-fields { gap: 14px; }
.jd-dl-formcol .jd-formcard h2 { font-size: 1.4rem; }
.jd-dl-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jd-dl-perks li { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px 16px; }
.jd-dl-perks__ic { flex: none; width: 38px; height: 38px; margin: 0; }
.jd-dl-perks h3 { font-size: 15.5px; } .jd-dl-perks p { font-size: 13.5px; margin-top: 2px; }
.jd-dl-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.jd-dl-cats a { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; }
.jd-dl-cats h3 { font-size: 15.5px; } .jd-dl-cats .jd-link { margin: 0; padding: 0; white-space: nowrap; }
.jd-dl-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jd-dl-steps li { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
.jd-dl-steps li > span { width: 36px; height: 36px; font-size: 15px; }
.jd-dl-steps h3 { font-size: 15.5px; } .jd-dl-steps p { font-size: 13.5px; }
.jd-dl-who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--jd-line); border-radius: 16px; }
.jd-dl-who li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--jd-ink-2); }
.jd-dl-who li .jd-i { flex: none; margin-top: 2px; color: #11803F; }
.jd-dl-main { padding-top: clamp(20px, 3vw, 36px); }
@media (max-width: 1100px) { .jd-dl-grid { grid-template-columns: 1fr; } .jd-dl-formcol { position: static; } }
@media (max-width: 700px) { .jd-dl-perks, .jd-dl-steps, .jd-dl-who { grid-template-columns: 1fr; } .jd-dl-cats { grid-template-columns: 1fr; } }

/* faq accordion: the arrow turns with the same easing as the height animation, answer fades in */
.jd-dl-faq details { transition: border-color .25s, box-shadow .25s; }
.jd-dl-faq details[open] { border-color: var(--jd-ink); box-shadow: var(--jd-shadow-sm); }
.jd-dl-faq summary .jd-i { transition: transform .32s cubic-bezier(.22, 1, .36, 1); }
.jd-dl-faq details.is-opening p { animation: jd-fadein .4s ease both; }
@media (prefers-reduced-motion: reduce) { .jd-dl-faq summary .jd-i { transition: none; } }
.jd-dl-faq details.is-closing summary .jd-i { transform: none; }
.jd-crumbs--light span, .jd-crumbs--light [aria-current="page"] { color: #fff; } .jd-crumbs--light > span:not([aria-current]) { opacity: .7; } .jd-crumbs--light [aria-current="page"] { font-weight: 600; }

/* careers: brand panel beside the form, equal-height job cards, file field in the site theme */
.jd-formimg--brand { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(24px, 3.5vw, 40px); color: #fff; background: linear-gradient(155deg, var(--jd-red) 0%, var(--jd-red-deep) 100%); isolation: isolate; }
.jd-formimg--brand::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -110px; top: -100px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.jd-formimg--brand::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; left: -80px; bottom: -80px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.jd-formimg__copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.jd-formimg__copy p { margin-top: 12px; color: rgba(255, 255, 255, .88); max-width: 36ch; }
.jd-formimg--brand .jd-login__perks { font-size: 14px; }
.jd-branches { align-items: stretch; }
.jd-branch { height: 100%; }
.jd-branch__act { margin-top: auto; padding-top: 10px; }
.jd-f input[type="file"] { height: auto; min-height: 50px; padding: 8px; display: flex; align-items: center; width: 100%; border: 1.5px dashed var(--jd-sand-2); border-radius: 12px; background: #FFFCF7; color: var(--jd-muted); font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.jd-f input[type="file"]:hover { border-color: var(--jd-red); background: #fff; }
.jd-f input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--jd-red); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background .2s; }
.jd-f input[type="file"]::file-selector-button:hover { background: var(--jd-red-deep); }
.jd-f input[type="file"].is-bad { border-color: var(--jd-red); }
@media (max-width: 860px) { .jd-formimg--brand { display: none; } }
.jd-formimg--brand .jd-login__logo img { position: static; inset: auto; width: auto; height: 36px; object-fit: contain; }

/* about page: one full picture per collection */
.jd-ab-row__media--photo { aspect-ratio: 1 / 1; background: var(--jd-sand); box-shadow: var(--jd-shadow-md); }
.jd-ab-row__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--jd-ease); }
@media (hover: hover) { .jd-ab-row:hover .jd-ab-row__photo { transform: scale(1.04); } }
@media (max-width: 960px) { .jd-ab-row__media--photo { aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; } }

/* about page: smaller pictures and tighter spacing between the collection rows */
.jd-ab-offer { padding-block: clamp(32px, 5vw, 64px); }
.jd-ab-row { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); justify-content: center; }
.jd-ab-row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
.jd-ab-row + .jd-ab-row { margin-top: clamp(24px, 3.5vw, 44px); }
.jd-ab-row__media--photo { border-radius: 24px; }
.jd-ab-row__copy { gap: 10px; }
@media (max-width: 960px) {
	.jd-ab-row, .jd-ab-row--flip { grid-template-columns: 1fr; }
	.jd-ab-row__media--photo { max-width: 440px; }
}

/* file field: exactly the width and height of the other inputs, long file names are cut instead of stretching it */
.jd-f input[type="file"] { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; height: 50px; min-height: 0; padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jd-f input[type="file"]::file-selector-button { flex: none; padding: 7px 16px; }
