/* ============================================================
   DARTEE GOLF, Product Detail Page (PDP) styles
   Layered on top of styles.css. Matches site design system.
   ============================================================ */

/* breadcrumb */
.pdp-details { margin: -8px 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp-details summary { list-style: none; cursor: pointer; padding: 13px 0; font-weight: 800; font-size: 13.5px; letter-spacing: .02em; color: var(--green-800); display: flex; align-items: center; justify-content: space-between; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--gold-600); }
.pdp-details[open] summary::after { content: "\2212"; }
.pdp-details ul { list-style: none; padding: 0 0 14px; margin: 0; display: grid; gap: 9px; }
.pdp-details li { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.pdp-details strong { color: var(--green-900); }
.pdp-iconrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 6px 0 24px; }
.pdp-iconrow__item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pdp-iconrow__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--green-800); }
.pdp-iconrow__ic svg { width: 23px; height: 23px; }
.pdp-iconrow__item span:last-child { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); line-height: 1.25; max-width: 12ch; }
@media (max-width: 480px){ .pdp-iconrow { grid-template-columns: 1fr 1fr; gap: 14px; } }
.breadcrumb { background: var(--cream-50); border-bottom: 1px solid var(--line); }
.breadcrumb__row { display: flex; align-items: center; gap: 9px; padding: 14px 0; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--green-800); }
.breadcrumb span.sep { opacity: .5; }
.breadcrumb .cur { color: var(--green-900); font-weight: 800; }

/* ---------- PDP layout ---------- */
.pdp { padding: 40px 0 70px; }
.pdp__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }

/* gallery */
.pdp__gallery { position: sticky; top: 90px; }
.pdp__main { position: relative; aspect-ratio: 1/1; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--cream-100), #ece2cc); border: 1px solid var(--line); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__main-tag { position: absolute; top: 16px; left: 16px; background: var(--green-900); color: var(--cream-50); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; z-index: 2; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.pdp__thumb { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); background: var(--cream-100); cursor: pointer; padding: 0; transition: border-color .15s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb.active { border-color: var(--gold); }

/* info column */
.pdp__eyebrow { color: var(--gold-600); }
.pdp__title { font-family: var(--ff-display); text-transform: uppercase; font-size: clamp(34px, 4.4vw, 52px); line-height: .96; margin: 6px 0 12px; }
.pdp__rating { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pdp__rating .stars svg { width: 17px; height: 17px; }
.pdp__rating a { font-weight: 700; font-size: 14px; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.pdp__rating a:hover { color: var(--green-800); }

.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.price-now { font-family: var(--ff-display); font-size: 38px; color: var(--green-900); }
.price-was { font-size: 19px; color: #a99b7c; text-decoration: line-through; }
.price-save { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green-900); background: var(--gold); padding: 4px 11px; border-radius: 999px; }
.price-install { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 20px; }
.price-install b { color: var(--green-800); }

.pdp__desc { font-size: 16px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 22px; max-width: 52ch; }

.pdp__bullets { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.pdp__bullets li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.pdp__bullets svg { width: 19px; height: 19px; color: var(--green-600); flex: none; margin-top: 2px; }

.pdp__label { font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--green-900); margin: 0 0 11px; display: flex; align-items: center; justify-content: space-between; }
.pdp__label .sel { color: var(--ink-soft); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 13.5px; }

/* swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.swatch { width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; position: relative; padding: 0; transition: transform .12s, box-shadow .12s; background-repeat: no-repeat; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
/* Collection texture swatches — zoomed so leather fills entire circle, cropping empty PNG edges */
.swatch--gator,
.swatch--ostrich,
.swatch--raincheck,
.swatch--dockline,
.swatch--birdhunter { background-repeat: no-repeat !important; background-position: center !important; background-size: 175% 175% !important; }
/* gator + ostrich + raincheck + dockline + birdhunter: per-variant photo set inline from JS */
.swatch:hover { transform: scale(1.08); }
.swatch.active { box-shadow: 0 0 0 2px var(--green-800); }

/* bundle tier cards */
.bundle-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.bundle-card { position: relative; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 12px 14px; text-align: center; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.bundle-card.active { border-color: var(--gold); box-shadow: 0 8px 22px rgba(200,162,75,.22); }
.bundle-card__qty { font-family: var(--ff-display); font-size: 17px; text-transform: uppercase; color: var(--green-900); }
.bundle-card__deal { font-size: 12px; font-weight: 800; color: var(--gold-600); margin-top: 3px; }
.bundle-card__sub { font-size: 11.5px; color: var(--ink-soft); margin-top: 4px; }
.bundle-card__flag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--green-800); color: var(--cream-50); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.bundle-card--featured .bundle-card__flag { background: var(--gold); color: var(--green-900); }

/* quantity + add to cart */
.buybar { display: flex; gap: 12px; margin-bottom: 14px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; flex: none; }
.qty button { width: 46px; height: 54px; font-size: 22px; color: var(--green-900); display: flex; align-items: center; justify-content: center; }
.qty input { width: 38px; text-align: center; border: none; font-family: var(--ff-sans); font-weight: 800; font-size: 16px; color: var(--ink); background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.addcart { flex: 1; }
.buynow { width: 100%; margin-bottom: 18px; }

.pdp-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pdp-trust span { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13.5px; color: var(--ink-soft); }
.pdp-trust svg { width: 19px; height: 19px; color: var(--green-600); flex: none; }

/* accordion */
.acc { margin-top: 10px; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary { list-style: none; cursor: pointer; padding: 17px 0; font-weight: 800; font-size: 15px; color: var(--green-900); display: flex; align-items: center; justify-content: space-between; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--gold-600); }
.acc__item[open] summary::after { content: "\2212"; }
.acc__item p, .acc__item ul { margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.acc__item ul { padding-left: 18px; }

/* feature highlight band */
.pdp-feats { background: var(--green-900); color: var(--cream-50); }
.pdp-feats .eyebrow { color: var(--gold-100); }
.pdp-feats h2 { color: var(--cream-50); }
.pdp-featgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.pdp-feat { text-align: center; }
.pdp-feat__hex { color: var(--gold); margin: 0 auto 14px; display: flex; justify-content: center; }
.pdp-feat__hex svg { width: 54px; height: 54px; }
.pdp-feat h4 { font-family: var(--ff-sans); font-weight: 800; font-size: 16px; margin: 0 0 7px; color: var(--cream-50); }
.pdp-feat p { margin: 0; font-size: 13.5px; color: rgba(243,236,219,.72); line-height: 1.5; }

/* in the box */
.box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.box-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.box-item__n { font-family: var(--ff-display); font-size: 30px; color: var(--gold-600); }
.box-item h4 { font-size: 15px; margin: 8px 0 5px; }
.box-item p { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   PDP conversion extras
   ============================================================ */
/* bundle mix-and-match slots */
.bundle-slots { margin: 4px 0 22px; }
.bundle-slots__hint { font-size: 13px; font-weight: 700; color: var(--green-800); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.bundle-slots__hint svg { width: 16px; height: 16px; color: var(--gold-600); }
.bundle-slots__row { display: grid; gap: 9px; }
.bslot { display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 9px 12px; min-height: 58px; transition: border-color .15s, background .15s; }
.bslot--filled { border-style: solid; border-color: var(--green-700); background: rgba(23,84,62,.04); }
.bslot--active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,75,.18); }
.bslot__n { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--cream); color: var(--green-900); font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.bslot--filled .bslot__n { background: var(--green-800); color: var(--cream-50); }
.bslot__thumb { width: 38px; height: 38px; flex: none; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); }
.bslot__sw { width: 38px; height: 38px; flex: none; border-radius: 8px; border: 1px solid var(--line); }
.bslot__name { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bslot__empty { flex: 1; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.bslot__price { font-size: 13px; font-weight: 700; color: var(--green-900); flex: none; }
.bslot__rm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: none; background: var(--cream); color: var(--ink-soft); font-size: 17px; line-height: 1; cursor: pointer; }
.bslot__rm:hover { background: #e7d9c2; color: var(--green-900); }
.addcart:disabled { opacity: .5; cursor: not-allowed; }

/* gallery video */
.pdp__main video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0b3225; }
.pdp__thumb--video { position: relative; }
.pdp__thumb--video::after { content: ""; position: absolute; inset: 0; background: rgba(11,50,37,.42); }
.pdp__thumb--video .play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.pdp__thumb--video .play svg { width: 20px; height: 20px; color: #fff; }

/* buy-box review snippet */
.buybox-reviews { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; margin: 0 0 20px; }
.buybox-reviews__top { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.buybox-reviews__top .stars svg { width: 14px; height: 14px; }
.buybox-reviews__top b { font-size: 13.5px; color: var(--green-900); }
.buybox-reviews__q { font-size: 13.5px; color: var(--ink); font-style: italic; line-height: 1.45; margin: 0; }
.buybox-reviews__a { font-size: 12px; color: var(--ink-soft); font-weight: 700; margin: 5px 0 0; }

/* fit module */
.fit-module { margin: -6px 0 22px; }
.fit-module summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 13.5px; color: var(--green-800); }
.fit-module summary::-webkit-details-marker { display: none; }
.fit-module summary svg { width: 17px; height: 17px; }
.fit-module summary .chev { margin-left: 2px; transition: transform .2s; }
.fit-module[open] summary .chev { transform: rotate(180deg); }
.fit-module__body { margin: 12px 0 0; padding: 14px 16px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-md); }
.fit-module__body ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; }
.fit-module__body li { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.fit-module__body a { display: inline-block; margin-top: 10px; font-weight: 800; font-size: 13px; color: var(--green-800); }

/* ship nudge */
.ship-nudge { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; font-size: 13.5px; font-weight: 700; color: var(--green-800); }
.ship-nudge svg { width: 18px; height: 18px; color: var(--green-600); flex: none; }
.ship-nudge .bar { flex: 1; height: 7px; border-radius: 999px; background: var(--cream); overflow: hidden; min-width: 60px; }
.ship-nudge .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-700), var(--gold)); transition: width .4s ease; }
.ship-nudge.done { color: var(--green-700); }

/* delivery estimate */
.delivery-est { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.45; }
.delivery-est svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; margin-top: 1px; }
.delivery-est b { color: var(--green-900); }

/* button microcopy */
.buy-micro { display: flex; flex-wrap: wrap; gap: 7px 16px; justify-content: center; margin: 0 0 18px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.buy-micro span { display: inline-flex; align-items: center; gap: 6px; }
.buy-micro svg { width: 14px; height: 14px; color: var(--green-600); }

/* reviews breakdown */
.rev-breakdown { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; margin-top: 18px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.rev-breakdown__score { text-align: center; }
.rev-breakdown__num { font-family: var(--ff-display); font-size: 58px; color: var(--green-900); line-height: 1; }
.rev-breakdown__stars { margin: 6px 0 4px; }
.rev-breakdown__stars .stars svg { width: 17px; height: 17px; }
.rev-breakdown__count { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.rev-breakdown__bars { display: grid; gap: 7px; }
.rev-bar { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--ink-soft); }
.rev-bar__lbl { width: 38px; font-weight: 700; color: var(--green-900); display: inline-flex; align-items: center; gap: 3px; }
.rev-bar__lbl svg { width: 12px; height: 12px; color: var(--gold); }
.rev-bar__track { flex: 1; height: 9px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.rev-bar__fill { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.rev-bar__pct { width: 38px; text-align: right; font-weight: 700; }
@media (max-width: 560px) { .rev-breakdown { grid-template-columns: 1fr; gap: 18px; text-align: center; } }

/* real review cards: title + date */
.review__title { font-weight: 800; font-size: 14.5px; color: var(--green-900); margin: 2px 0 0; }
.review__date { font-size: 12px; color: var(--ink-soft); margin-left: auto; }

/* accessory PDP style selectors */
.glove-opts { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 4px; }
.glove-opt { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: 11px 18px; font-family: var(--ff-sans); font-weight: 700; font-size: 14px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.glove-opt:hover { border-color: var(--green-700); }
.glove-opt.active { background: var(--green-800); border-color: var(--green-800); color: var(--cream-50); }
/* Front & Back 9 pair upsell */
.glove-pair { display: grid; gap: 10px; margin: 22px 0 4px; }
.glove-pair__opt { position: relative; display: flex; align-items: center; gap: 13px; border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 16px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.glove-pair__opt.active { border-color: var(--green-800); box-shadow: 0 0 0 2px rgba(14,107,97,.18); }
.glove-pair__opt--deal.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(200,162,75,.28); }
.glove-pair__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; }
.glove-pair__opt.active .glove-pair__radio { border-color: var(--green-800); }
.glove-pair__opt.active .glove-pair__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--green-800); }
.glove-pair__opt--deal.active .glove-pair__radio { border-color: var(--gold-600); }
.glove-pair__opt--deal.active .glove-pair__radio::after { background: var(--gold-600); }
.glove-pair__txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.glove-pair__txt b { font-size: 14.5px; color: var(--green-900); }
.glove-pair__txt span { font-size: 12.5px; color: var(--ink-soft); }
.glove-pair__price { font-weight: 800; font-size: 15px; color: var(--green-900); flex: none; }
.glove-pair__flag { position: absolute; top: -10px; right: 14px; background: var(--gold); color: var(--green-900); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.lifestyle-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.life-img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; box-shadow: var(--shadow-sm); }
.life-img--tall { grid-row: span 2; }
.life-img--wide { grid-column: span 2; }
@media (max-width: 760px) {
  .lifestyle-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 9px; }
  .life-img--tall { grid-row: span 2; }
  .life-img--wide { grid-column: span 2; }
}
.acc-swatches { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; }
.acc-sw { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--cream-100); transition: border-color .12s, transform .12s; }
.acc-sw:hover { transform: translateY(-2px); border-color: var(--green-700); }
.acc-sw.active { border-color: var(--gold); box-shadow: 0 0 0 3px var(--cream-50), 0 0 0 4px var(--gold); }
.acc-sw img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Judge.me live reviews, blended into the brand reviews section */
.jdgm-live { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.jdgm-live__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.jdgm-live__label { font-family: var(--ff-display); text-transform: uppercase; font-size: clamp(20px, 2.4vw, 28px); color: var(--green-900); letter-spacing: .01em; }
.jdgm-live__head .btn { flex: none; }
.jdgm-live .jdgm-widget { --jdgm-primary-color: var(--green-800); }
.jdgm-live .jdgm-rev__author, .jdgm-live .jdgm-rev__title { color: var(--green-900) !important; }
.jdgm-live .jdgm-star { color: var(--gold) !important; }
.jdgm-live .jdgm-rev-widg__summary-text { color: var(--ink-soft) !important; }
.jdgm-live .jdgm-write-rev-link, .jdgm-live .jdgm-all-reviews-rating-wrapper { font-family: var(--ff-sans) !important; }

/* In the Box, full-bleed photo band with overlaid text */
.inbox-band { position: relative; overflow: hidden; background: url("assets/photos/inbox.webp") center/cover no-repeat; padding: 0; }
.inbox-band__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,32,27,.82) 0%, rgba(9,32,27,.42) 32%, rgba(9,32,27,.55) 70%, rgba(9,32,27,.9) 100%); }
.inbox-band__content { position: relative; z-index: 2; padding: 70px 0 60px; min-height: 620px; display: flex; flex-direction: column; justify-content: space-between; }
.inbox-band .eyebrow { color: var(--gold-100); }
.inbox-band h2 { color: var(--cream-50); }
.inbox-band .box-grid { margin-top: auto; }
.inbox-band .box-item { background: rgba(255,255,255,.08); border: 1px solid rgba(234,217,168,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.inbox-band .box-item h4 { color: var(--cream-50); }
.inbox-band .box-item p { color: rgba(243,236,219,.75); }
@media (max-width: 560px) { .inbox-band__content { min-height: 560px; padding: 50px 0 44px; } }

/* you may also like */
.ymal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.ymal-card { display: block; color: inherit; }
.ymal-card__media { aspect-ratio: 1/1; border-radius: var(--r-md); overflow: hidden; background: var(--cream-100); border: 1px solid var(--line); }
.ymal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ymal-card:hover .ymal-card__media img { transform: scale(1.05); }
.ymal-card__name { font-weight: 800; font-size: 15px; margin: 12px 0 3px; }
.ymal-card__price { font-weight: 700; color: var(--ink-soft); font-size: 14px; }

/* PDP sticky add-to-cart */
.pdp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(251,247,236,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: 0 -8px 26px rgba(24,22,15,.12); }
.pdp-sticky.show { transform: translateY(0); }
.pdp-sticky__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; }
.pdp-sticky__left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pdp-sticky__thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.pdp-sticky__name { font-weight: 800; font-size: 15px; color: var(--green-900); line-height: 1.2; }
.pdp-sticky__price { font-size: 13.5px; color: var(--ink-soft); }
.pdp-sticky__price b { color: var(--green-900); font-size: 15px; }
.pdp-sticky .btn { flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pdp__grid { grid-template-columns: 1fr; gap: 30px; }
  .pdp__grid,
  .pdp__grid > *,
  .pdp__info { min-width: 0; max-width: 100%; }
  .pdp__title { overflow-wrap: anywhere; }
  .pdp__gallery { position: static; }
  .pdp-featgrid, .box-grid { grid-template-columns: repeat(2, 1fr); }
  .ymal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .pdp__info,
  .bundle-cards,
  .bundle-slots,
  .buybar { min-width: 0; max-width: 100%; }
  .bundle-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; overflow: hidden; }
  .bundle-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(72px, 86px);
    gap: 2px 12px;
    text-align: left;
    padding: 16px 14px 14px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .bundle-card__qty { grid-column: 1; }
  .bundle-card__deal { grid-column: 1; }
  .bundle-card__sub { grid-column: 1; }
  .bundle-card__qty,
  .bundle-card__deal,
  .bundle-card__sub { min-width: 0; overflow-wrap: anywhere; }
  .bundle-card__flag {
    position: static;
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    justify-self: end;
    transform: none;
    white-space: normal;
    text-align: center;
    width: 100%;
    max-width: 86px;
    padding: 4px 7px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .bundle-slots__hint { align-items: flex-start; line-height: 1.3; }
  .bundle-slots__hint span { min-width: 0; }
  .bslot { min-width: 0; padding: 9px 10px; gap: 10px; }
  .bslot__empty { min-width: 0; overflow-wrap: anywhere; }
  .bslot__price { font-size: 12px; }
  .buybar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: stretch; }
  .qty button { width: 38px; height: 52px; }
  .qty input { width: 32px; }
  .addcart { min-width: 0; padding: 12px 14px; font-size: 13px; line-height: 1.15; white-space: normal; text-align: center; }
}
@media (max-width: 560px) {
  .pdp { padding: 24px 0 60px; }
  /* Mobile: swap main image + thumb grid for a single horizontal swipeable gallery */
  .pdp__main { display: none; }
  .pdp__thumbs {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    margin: 0 -16px;
    padding: 0 16px 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--cream-100);
  }
  .pdp__thumbs::-webkit-scrollbar { height: 6px; }
  .pdp__thumbs::-webkit-scrollbar-track { background: var(--cream-100); border-radius: 999px; }
  .pdp__thumbs::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }
  .pdp__thumb {
    flex: 0 0 88%;
    aspect-ratio: 1/1;
    scroll-snap-align: center;
    border-width: 1px;
    border-radius: var(--r-lg);
  }
  .pdp__thumb.active { border-color: var(--line); }
  .pdp-trust { grid-template-columns: 1fr; }
  .pdp-featgrid { grid-template-columns: 1fr 1fr; }
  .box-grid { grid-template-columns: 1fr; }
  .ymal-grid { grid-template-columns: 1fr 1fr; }
  .pdp-sticky__price { display: none; }
  .pdp-sticky__name { font-size: 13.5px; }
  .price-now { font-size: 32px; }
}

/* Sold-out swatch + CTA on the product page */
.swatch.is-sold-out {
  opacity: .45;
  filter: grayscale(0.7);
  cursor: not-allowed;
  position: relative;
}
.swatch.is-sold-out::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 46%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.55) 52%, transparent 54%);
  pointer-events: none;
}
.btn.is-sold-out, button.is-sold-out {
  background: #555 !important;
  cursor: not-allowed !important;
  opacity: .85;
}
