/* Deep South — product page styles (loads after styles.css) */

.breadcrumbs { padding: 24px 0 8px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--rust); }
.breadcrumbs [aria-current] { color: var(--pine); font-weight: 600; }

.pdp { display: flex; flex-wrap: wrap; gap: 56px; padding: 16px 0 72px; align-items: flex-start; }

/* Gallery */
.gallery { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.main-image { aspect-ratio: 1 / 1; background: #fff; border: 1px solid #E2D9C8; border-radius: 6px; position: relative; display: flex; align-items: flex-end; padding: 24px; }
.main-image .img-note { font-size: 13px; color: var(--muted); }
.sale-flag { position: absolute; top: 16px; left: 16px; background: var(--rust); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.06em; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.thumb { aspect-ratio: 1 / 1; background: #fff; border: 2px solid #E2D9C8; border-radius: 6px; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding: 8px; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.thumb:hover { border-color: var(--line); }
.thumb.active { border-color: var(--pine); color: var(--pine); font-weight: 600; }

/* Buy box */
.buybox { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eyebrow-dark { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }
.buybox h1 { font-size: clamp(40px, 5vw, 56px); line-height: 1; }
.rating-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.rating-link span:first-child { color: var(--rust); letter-spacing: 2px; }
.price-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.price-now { font-size: 28px; font-weight: 700; }
.price-was { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.save-pill { background: var(--pine); color: var(--sand); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.06em; }

.picker { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.picker legend { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 0; margin-bottom: 12px; }
.picker legend strong { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--body); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid var(--line); outline-offset: 2px; cursor: pointer; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.swatch.active { outline: 2px solid var(--pine); outline-offset: 3px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--line); background: #fff; border-radius: 4px; font-family: var(--sans); font-size: 14px; font-weight: 600; cursor: pointer; color: var(--pine); }
.pill:hover { border-color: var(--pine); }
.pill.active { background: var(--pine); border-color: var(--pine); color: var(--sand); }
.fit-note { margin: 0; font-size: 14px; color: var(--muted); }

.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: flex; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; height: 56px; }
.qty button { width: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--pine); }
.qty input { width: 48px; border: 0; text-align: center; font-size: 16px; font-family: var(--sans); -moz-appearance: textfield; background: transparent; color: var(--pine); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-bag { flex: 1 1 220px; height: 56px; padding: 0 24px; }
.added-msg { margin: -6px 0 0; min-height: 1.2em; font-size: 14px; font-weight: 600; color: var(--pine-3); }

.perks { list-style: none; margin: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.perks li { display: flex; align-items: center; gap: 12px; }

.desc p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--body); }

.accordions details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.accordions details:first-child { border-top: 1px solid var(--line); }
.accordions summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; display: flex; justify-content: space-between; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; font-size: 22px; line-height: 1; }
.accordions details[open] summary::after { content: "–"; }
.accordions p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--body); }
.spec-list { margin: 12px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.8; color: var(--body); }
.size-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid #E2D9C8; }
.size-table th { font-weight: 500; color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; padding: 56px 0; border-top: 1px solid var(--line); }
.feature { background: var(--sand-2); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.feature svg { color: var(--rust); }
.feature h2 { font-size: 24px; letter-spacing: 0.04em; }
.feature p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* Reviews */
.reviews { padding: 56px 0; }
.reviews-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.review-summary { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.big-score { font-family: var(--display); font-size: 64px; line-height: 1; }
.stars { color: var(--rust); font-size: 20px; letter-spacing: 3px; }
.bars { list-style: none; padding: 0; margin: 8px 0 16px; width: 100%; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.bars li { display: grid; grid-template-columns: 32px 1fr 36px; align-items: center; gap: 10px; }
.bar { height: 8px; background: #E2D9C8; border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--pine); }
.review-list { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.review-card { background: #fff; border: 1px solid #E2D9C8; border-radius: 6px; padding: 24px; }
.review-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.review-head span:first-child { color: var(--rust); letter-spacing: 2px; }
.review-meta { font-size: 13px; color: var(--muted); }
.review-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* Related */
.related { padding: 56px 0 96px; border-top: 1px solid var(--line); }
.related .product { color: var(--pine); }
.related .product:hover .product-name { color: var(--rust); }

/* Sticky mobile bar */
.sticky-bar { display: none; }
@media (max-width: 960px) {
  .pdp { gap: 32px; padding-bottom: 48px; }
  .gallery { position: static; }
  .sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--pine); color: var(--sand); padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transform: translateY(100%); transition: transform .25s ease; }
  .sticky-bar.show { transform: translateY(0); }
  .sticky-bar > div { display: flex; flex-direction: column; }
  .sticky-name { font-weight: 600; font-size: 14px; }
  .sticky-price { font-size: 14px; color: var(--mist); }
  .sticky-bar .btn { padding: 14px 22px; }
}

/* Real product photos (used by hooked-on-my-rig-tee.html and future product pages) */
.main-image.has-photo { padding: 0; overflow: hidden; }
.main-image.has-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb.has-photo { padding: 0; overflow: hidden; }
.thumb.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.swatch { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.pills.needs-choice .pill { border-color: var(--rust); }

/* "Designs Sewn in the South" perk with the flag & cotton logo */
.perks .perk-logo img { width: 28px; height: auto; flex: none; }
.perks li > svg { flex: none; margin: 0 3px; }
