/* Product template: Figma PDP 127:3597 / 964:6897, mobile 1009:18194. */
.product-page { background: #fff; }
.pdp { padding-top: 28px; padding-bottom: 80px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; margin-bottom: 20px; color: var(--brown-600); }
.breadcrumbs a:hover { color: var(--copper); }
.pdp-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px 24px; align-items: start; grid-template-rows: min-content 1fr; }
.pdp-gallery { display: grid; grid-template-columns: 85px minmax(0,1fr); gap: 24px; min-width: 0; }
.pdp-thumbnails { display: flex; flex-direction: column; gap: 24px; }
.pdp-thumbnails button { padding: 0; border: 1px solid transparent; border-radius: 8px; overflow: hidden; background: var(--paper); }
.pdp-thumbnails button[aria-pressed="true"] { border-color: var(--green); }
.pdp-thumbnails img { width: 85px; height: 80px; object-fit: cover; }
.pdp-gallery-track { display: flex; overflow: auto; scrollbar-width: none; scroll-snap-type: x mandatory; border-radius: 8px; min-width: 0; }
.pdp-gallery-track::-webkit-scrollbar { display: none; }
.pdp-gallery-slide { flex: 0 0 100%; min-width: 0; position: relative; scroll-snap-align: start; margin: 0; }
.pdp-gallery-slide img { width: 100%; height: auto; aspect-ratio: 520/488; object-fit: cover; border-radius: 8px; }
.pdp-gallery-slide .product-badge { top: 24px; left: 24px; }
.pdp-gallery-controls { display: none; }
.pdp-summary { grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.pdp-rating { font-size: 14px; gap: 8px; }
.pdp-rating .stars { gap: 4px; }
.pdp-rating .stars .icon { width: 24px; height: 24px; }
.pdp-summary h1 { font: var(--title-h2); margin: 12px 0 8px; }
.pdp-subtitle { font-size: 16px; }
.pdp-price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; font-size: 28px; line-height: 1.25; }
.pdp-price strong { font-weight: 400; }
.pdp-price del { color: var(--brown-400); }
.pdp-price .product-badge { position: static; }
.pdp-volume h2 { font: var(--title-h6); margin-bottom: 16px; }
.pdp-volume table { width: 100%; border-collapse: collapse; font-size: 16px; }
.pdp-volume th { background: #f5f3f1; font-weight: 400; text-transform: uppercase; letter-spacing: 1.2px; font-size: 12px; padding: 6px 16px; text-align: left; }
.pdp-volume th:first-child { border-radius: 30px 0 0 30px; }
.pdp-volume th:last-child { border-radius: 0 30px 30px 0; text-align: center; }
.pdp-volume td { padding: 12px 16px; border-bottom: 1px solid #f5f3f1; }
.pdp-volume td:nth-child(2),.pdp-volume th:nth-child(2) { text-align: center; }
.pdp-volume td:last-child { text-align: center; }
.pdp-volume td .icon { width: 22px; height: 22px; margin-right: 8px; vertical-align: middle; }
.pdp-volume .tier-selected { background: var(--paper); }
.pdp-discount { display: inline-block; padding: 4px 10px; border-radius: 50px; background: var(--green); color: var(--cream-50); font-size: 10px; letter-spacing: 1.5px; white-space: nowrap; }
.pdp-shipping { display: flex; align-items: center; gap: 16px; padding: 10px 12px; margin-top: 24px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; box-shadow: 0 0 0 3px #fdf8f380; font-size: 12px; }
.pdp-shipping-copy { display: flex; align-items: center; gap: 12px; flex: 1 0 auto; }
.pdp-shipping .icon { width: 24px; height: 24px; }
.pdp-shipping progress { width: 100%; min-width: 32px; height: 6px; border: 0; border-radius: 50px; background: #e7dacb; color: var(--copper); overflow: hidden; }
.pdp-shipping progress::-webkit-progress-bar { background: #e7dacb; border-radius: 50px; }
.pdp-shipping progress::-webkit-progress-value { background: linear-gradient(90deg,#d9b18d,var(--copper)); border-radius: 50px; transition: width .3s ease; }
.pdp-shipping progress::-moz-progress-bar { background: var(--copper); }
.pdp-purchase { display: flex; align-items: stretch; gap: 24px; margin-top: 40px; }
.pdp-quantity { display: flex; align-items: center; height: 48px; border: 1px solid var(--green); border-radius: 50px; background: var(--paper); padding: 0 4px; flex: 0 0 130px; }
.pdp-quantity button { width: 40px; height: 44px; border: 0; background: none; color: var(--brown); font-size: 24px; border-radius: 50%; }
.pdp-quantity button:disabled { color: var(--brown-200); cursor: default; }
.pdp-quantity input { width: 36px; min-width: 0; padding: 0; border: 0; background: none; text-align: center; color: var(--brown); appearance: textfield; -moz-appearance: textfield; font: inherit; }
.pdp-quantity input::-webkit-inner-spin-button,.pdp-quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-purchase .pdp-add { flex: 1; margin: 0; width: auto; min-width: 0; min-height: 48px; }
.pdp-benefits { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 0; margin: 24px 0 32px; font-size: 16px; }
.pdp-benefits li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.pdp-benefits .icon { color: var(--green); width: 24px; height: 24px; }
.pdp-secure { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; height: 38px; border-radius: 50px; background: linear-gradient(100deg,#d5ad89,#96592f); color: var(--cream-50); font: var(--title-eyebrow); }
.pdp-secure img { width: 136px; height: 38px; object-fit: contain; }
.pdp-related { margin-top: 32px; }
.pdp-related h2 { font: var(--title-h6); margin: 0 0 16px; }
.pdp-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.pdp-related-card { background: var(--paper); border-radius: 8px; padding: 16px 10px; text-align: center; }
.pdp-related-card img { width: 84px; height: 80px; object-fit: cover; border-radius: 8px; margin: 0 auto 16px; }
.pdp-related-card h3 { font: var(--title-h6); margin-bottom: 8px; }
.pdp-related-card p { font-size: 16px; }
.pdp-related-card button { border: 0; background: none; color: var(--body); display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 2px 0; font-size: 14px; }
.pdp-related-card button:hover { color: var(--copper); }
.pdp-related-card .icon { width: 24px; height: 24px; }
.pdp-details { grid-column: 1; min-width: 0; }
.pdp-details details { overflow: hidden; border-bottom: 1px solid #eeeae6; }
.pdp-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 16px 8px; font-size: 16px; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary .icon { width: 24px; height: 24px; transition: transform .32s ease; }
.pdp-details details[data-expanded="true"] summary .icon { transform: rotate(180deg); }
.pdp-details .faq-answer { font-size: 14px; line-height: 1.6; padding: 0 8px 16px; }
.pdp-details dl { display: grid; grid-template-columns: 100px 1fr; margin: 0 0 12px; gap: 8px; }
.pdp-details dd { margin: 0; }
.pdp-reviews { padding: 100px 0; background: linear-gradient(180deg,var(--cream) 85%,#fff); }
.pdp-review-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding-bottom: 32px; border-bottom: 1px solid #e9dfd5; margin-bottom: 32px; }
.pdp-review-score { display: flex; align-items: center; gap: 32px; }
.pdp-review-score strong { font: 400 64px/1.1 var(--serif); color: var(--copper); }
.pdp-review-score p { font-size: 16px; margin-bottom: 16px; }
.pdp-rating-bars { display: grid; gap: 8px; font-size: 12px; }
.pdp-rating-bar { display: grid; align-items: center; grid-template-columns: 16px 1fr 40px; gap: 8px; }
.pdp-rating-bar>span:last-child { text-align: right; color: var(--brown-400); }
.pdp-rating-bar meter { width: 100%; height: 8px; background: #e7dacb; border: 0; border-radius: 50px; }
.pdp-rating-bar meter::-webkit-meter-bar { background: #e7dacb; border: 0; }
.pdp-rating-bar meter::-webkit-meter-optimum-value { background: var(--copper); }
.pdp-rating-bar meter::-moz-meter-bar { background: var(--copper); }
.pdp-review-list { display: grid; gap: 20px; }
.pdp-review { border-radius: 8px; background: var(--paper); padding: 16px; }
.pdp-review-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pdp-review h3 { font: var(--title-h6); margin: 0 0 4px; }
.pdp-review-header p { font-size: 12px; }
.pdp-review>p { font-size: 16px; line-height: 1.5; }
.pdp-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pdp-pagination button { width: 32px; height: 32px; border: 1px solid transparent; background: var(--cream-200); color: var(--body); border-radius: 4px; font-size: 12px; }
.pdp-pagination button[aria-current="page"] { border-color: var(--green); background: var(--paper); }
.pdp-pagination button:disabled { opacity: .4; cursor: default; }
.pdp-pagination .page-arrow { background: transparent; }
.product-page .popular .section-heading>.button { display: none; }
@media (max-width: 1100px) and (min-width: 761px) {
  .pdp-gallery { grid-template-columns: 60px minmax(0,1fr); gap: 12px; }
  .pdp-thumbnails img { width: 60px; height: 60px; }
  .pdp-benefits { flex-wrap: wrap; font-size: 13px; gap: 12px; }
  .pdp-related-grid { gap: 8px; }
  .pdp-related-card h3 { font-size: 15px; }
  .pdp-shipping { flex-wrap: wrap; }
  .pdp-shipping-copy { flex-basis: 100%; }
  .pdp-shipping progress { flex: 1; }
  .pdp-volume th,.pdp-volume td { padding: 8px 4px; }
  .pdp-volume td .icon { display: none; }
  .pdp-purchase { gap: 12px; }
}
@media (max-width: 760px) {
  .pdp { padding-top: 24px; padding-bottom: 48px; }
  .breadcrumbs { margin-bottom: 16px; font-size: 12px; }
  .pdp-layout { display: flex; flex-direction: column; gap: 32px; }
  .pdp-gallery { display: block; width: 100%; }
  .pdp-thumbnails { display: none; }
  .pdp-gallery-track { width: calc(100% + 19px); gap: 16px; border-radius: 0; padding-right: 19px; scroll-padding-left: 0; }
  .pdp-gallery-slide { flex-basis: 86%; }
  .pdp-gallery-slide img { aspect-ratio: 314/282; }
  .pdp-gallery-slide .product-badge { display: none; }
  .pdp-gallery-controls { display: flex; margin-top: 16px; padding: 0; gap: 24px; }
  .pdp-gallery-controls .circle-button { width: 40px; height: 40px; }
  .pdp-gallery-progress { display: flex; gap: 4px; }
  .pdp-gallery-progress button { padding: 12px 0; width: 56px; border: 0; background: transparent; }
  .pdp-gallery-progress button::after { content: ''; display: block; height: 3px; border-radius: 5px; background: var(--cream-200); }
  .pdp-gallery-progress button[aria-pressed="true"]::after { background: var(--green); }
  .pdp-summary { width: 100%; }
  .pdp-rating { gap: 6px; font-size: 12px; }
  .pdp-rating .stars { gap: 4px; }
  .pdp-rating .stars .icon { width: 24px; height: 24px; }
  .pdp-summary h1 { font: var(--title-h3); margin: 16px 0 12px; }
  .pdp-subtitle { font-size: 14px; }
  .pdp-price { font-size: 24px; margin-top: 20px; }
  .pdp-volume h2 { font-size: 18px; }
  .pdp-volume th { font-size: 10px; padding: 6px 10px; letter-spacing: .7px; }
  .pdp-volume td { font-size: 12px; padding: 12px 8px; }
  .pdp-volume td .icon { width: 20px; height: 20px; margin-right: 6px; }
  .pdp-discount { font-size: 9px; padding: 4px 8px; letter-spacing: 1px; }
  .pdp-shipping { margin-top: 16px; flex-wrap: wrap; gap: 10px 16px; padding: 12px; }
  .pdp-shipping-copy { flex-basis: 100%; }
  .pdp-shipping progress { flex: 1; }
  .pdp-shipping [data-shipping-percent] { min-width: 70px; }
  .pdp-purchase { margin-top: 32px; gap: 16px; }
  .pdp-quantity { flex-basis: 130px; }
  .pdp-purchase .pdp-add { font-size: 14px; padding: 10px 12px; }
  .pdp-benefits { flex-direction: column; gap: 12px; margin: 20px 0 28px; }
  .pdp-secure { height: 38px; }
  .pdp-related { margin-top: 32px; }
  .pdp-related h2 { display: none; }
  .pdp-related-grid { grid-template-columns: 1fr; gap: 16px; }
  .pdp-related-card { display: flex; gap: 24px; padding: 16px; text-align: left; align-items: center; }
  .pdp-related-card img { flex: 0 0 84px; margin: 0; }
  .pdp-related-card h3 { font-size: 18px; margin-bottom: 4px; }
  .pdp-related-card p { font-size: 14px; }
  .pdp-related-card button { margin-top: 4px; }
  .pdp-details { display: none; }
  .pdp-reviews { padding: 80px 0; }
  .pdp-review-overview { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .pdp-review-score { gap: 32px; }
  .pdp-rating-bars { gap: 12px; padding-top: 24px; border-top: 1px solid #e9dfd5; }
  .pdp-review-list { gap: 20px; }
  .pdp-review-header { gap: 8px; }
  .pdp-review-header .stars { gap: 3px; }
  .pdp-review-header .icon { width: 20px; height: 20px; }
  .pdp-review>p { font-size: 16px; }
}
@media (max-width: 360px) {
  .pdp-quantity { flex-basis: 104px; }
  .pdp-quantity button { width: 30px; }
  .pdp-purchase { gap: 8px; }
  .pdp-purchase .pdp-add { gap: 4px; padding: 10px 8px; }
  .pdp-volume td .icon { display: none; }
  .pdp-related-card { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-details summary .icon,.pdp-shipping progress::-webkit-progress-value { transition: none; }
}

.pdp-gallery-track:has(.pdp-gallery-slide:only-child) .pdp-gallery-slide { flex-basis: 100%; }
.pdp-gallery:has(.pdp-gallery-slide:only-child) .pdp-gallery-controls { display: none; }
@media (min-width: 761px) and (max-width: 1100px) {
  .pdp-related-grid { grid-template-columns: 1fr; gap: 12px; }
  .pdp-related-card { display: flex; align-items: center; gap: 16px; padding: 12px; text-align: left; }
  .pdp-related-card img { flex: 0 0 70px; width: 70px; height: 70px; margin: 0; }
  .pdp-related-card h3 { font-size: 16px; margin-bottom: 4px; }
  .pdp-related-card p,.pdp-related-card button { font-size: 14px; }
  .pdp-related-card button { margin-top: 4px; }
}
