/* Shared product presentation; category and homepage themes stay unchanged. */
.product-page {
  --detail-ink: #20281f;
  --detail-muted: #596456;
  --detail-line: #d8ded3;
  --detail-photo: #eef2ec;
  max-width: 1440px;
  padding: 32px 40px 64px;
  color: var(--detail-ink);
}
.product-page.floral-product { --detail-photo: #f5e9e9; }
.product-page .breadcrumbs { margin-bottom: 28px; font-size: 12px; line-height: 1.6; flex-wrap: wrap; }
.product-page .product-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.product-page .product-gallery, .product-page .product-summary { min-width: 0; }
.product-page .product-image-stage {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  max-height: none;
  padding: 0;
  border-radius: 4px;
  background: var(--detail-photo);
  overflow: hidden;
}
.product-page #product-main-image { position: absolute; inset: 50px 26px 28px; width: calc(100% - 52px); height: calc(100% - 78px); object-fit: scale-down; }
.product-page .photo-topline { position: absolute; inset: 19px 24px auto; display: flex; justify-content: space-between; gap: 16px; font-size: 10px; line-height: 1.4; color: #53614f; }
.product-page .photo-expand, .product-photo-dialog .photo-close { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid #ced6c8; background: #fff; border-radius: 50%; }
.product-page .photo-expand { position: absolute; bottom: 16px; right: 16px; }
.product-page .photo-expand:hover, .product-photo-dialog .photo-close:hover { background: #e5f0d6; }
.product-page .photo-expand img { width: 20px; height: 20px; }
.product-page .gallery-thumbs { margin-top: 14px; gap: 10px; padding: 4px 2px 8px; }
.product-page .gallery-thumbs button { width: 68px; height: 68px; flex-basis: 68px; border-radius: 3px; background: #f1f3ee; border: 1px solid transparent; }
.product-page .gallery-thumbs button[aria-pressed="true"] { border-color: #33452b; background: #e3edda; }
.product-page .gallery-thumbs img { width: 100%; height: 100%; object-fit: scale-down; }
.product-page .supplier-photo-caption, .product-page .detail-photo-caption, .product-page .colour-photo-caption { font-size: 11px; line-height: 1.6; color: var(--detail-muted); margin: 10px 0 4px; }
.product-page .product-summary > .eyebrow { margin: 4px 0 12px; font-size: 11px; line-height: 1.5; font-weight: 600; color: #536744; }
.product-page .product-summary h1 { font-family: Inter, Arial, sans-serif; font-size: 34px; line-height: 1.16; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.product-page .detail-code { font-size: 11px; line-height: 1.6; margin: 13px 0 0; color: var(--detail-muted); }
.product-page .product-intro { font-size: 14px; line-height: 1.8; color: #45513f; margin: 22px 0 20px; max-width: none; }
.product-page .product-benefit-summary { margin: 0 0 22px; padding-left: 19px; color: #384d2c; font-size: 13px; line-height: 1.7; }
.product-page .product-benefit-summary li { margin: 7px 0; }
.product-page .product-benefit-summary li::marker { color: #657f43; }
.product-page .ingredient-preview { border-left: 3px solid #839762; padding: 2px 0 2px 15px; margin: 0 0 24px; }
.product-page .ingredient-preview strong { display: block; font-size: 12px; margin-bottom: 6px; }
.product-page .ingredient-preview p { font-size: 13px; line-height: 1.65; color: #46523f; }
.product-page .ingredient-jump { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; margin-top: 7px; min-height: 32px; }
.product-page .ingredient-jump img { width: 16px; height: 16px; }
.product-page .product-quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; padding: 17px 0; margin: 0 0 20px; border-block: 1px solid var(--detail-line); }
.product-page .product-quick-facts > div { min-width: 0; }
.product-page .product-quick-facts dt { font-size: 11px; line-height: 1.5; color: var(--detail-muted); margin-bottom: 5px; }
.product-page .product-quick-facts dd { font-size: 17px; font-weight: 600; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.product-page .product-specs { border: 0; padding: 0; margin: 18px 0; }
.product-page .product-specs h2 { font: 600 12px/1.6 Inter, Arial, sans-serif; }
.product-page .product-specs ul { margin: 5px 0 0; padding-left: 17px; font-size: 12px; line-height: 1.7; color: var(--detail-muted); }
.product-page .specification-choice { font-size: 12px; margin-top: 18px; }
.product-page .option-picker { margin: 18px 0 22px; border-color: var(--detail-line); }
.product-page .option-picker summary { font-size: 12px; }
.product-page .option-photos { grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); max-height: 252px; }
.product-page .option-photos button { border-radius: 3px; }
.product-page .option-photos span { font-size: 10px; line-height: 1.4; min-height: 28px; overflow-wrap: anywhere; }
.product-page .product-purchase { margin: 22px 0 18px; padding: 22px; background: #eef3e8; border: 1px solid #d5decd; border-radius: 6px; }
.product-page .purchase-label { font-size: 10px; font-weight: 600; color: #51634a; }
.product-page .detail-price { font: 600 23px/1.35 Inter, Arial, sans-serif; margin: 9px 0; color: var(--detail-ink); }
.product-page .price-terms { font-size: 11px; line-height: 1.7; color: var(--detail-muted); max-width: 460px; }
.product-page .product-order-fields { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; margin: 20px 0 15px; }
.product-page .product-order-fields label { font-size: 12px; }
.product-page .product-summary select, .product-page .product-summary input { height: 44px; padding: 10px; font-size: 12px; border-radius: 3px; border-color: #c5cfbd; }
.product-page #product-order > .button { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 16px; margin: 0; font-size: 13px; border-color: #c4f443; background: #c4f443; color: #1d2817; }
.product-page #product-order > .button:hover { background: #b5e42f; border-color: #b5e42f; }
.product-page #product-order > .button img { flex: 0 0 18px; }
.product-page .price-basis { margin: 8px 0 4px; font-size: 12px; color: #52634a; }
.product-page .price-scope, .product-page .price-carton { margin: 8px 0 14px; font-size: 13px; line-height: 1.5; }
.product-page .price-option-label { display: grid; gap: 8px; margin-bottom: 16px; font-size: 12px; min-width: 0; }
.product-page .price-option-label select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; font: inherit; border: 1px solid #c3ccbd; background: #fff; color: #20281e; border-radius: 2px; }
.product-page .detail-price { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.quote-row .quote-price { color: #31432a; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-page .product-summary > .text-link { font-size: 12px; color: #53614d; }
.product-page .product-detail-nav { display: flex; flex-wrap: wrap; gap: 0 32px; border-top: 1px solid var(--detail-line); border-bottom: 1px solid var(--detail-line); margin: 40px 0 0; padding: 0; }
.product-page .product-detail-nav button { padding: 18px 0; min-height: 48px; font-size: 13px; line-height: 1.4; font-weight: 500; border: 0; background: transparent; }
.product-page .product-detail-nav button:hover { color: #587936; box-shadow: inset 0 -2px #587936; }
.product-page .product-story { border: 0; margin: 0; padding: 30px 0 0; }
.product-page .product-story h2 { font: 600 23px/1.3 Inter, Arial, sans-serif; margin: 0 0 24px; }
.product-page .product-story h3 { font: 600 15px/1.5 Inter, Arial, sans-serif; margin: 0 0 14px; color: #263720; }
.product-page .product-story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; }
.product-page .product-story p, .product-page .product-story li, .product-page .product-story dl { font-size: 13px; line-height: 1.8; }
.product-page .product-story ul { margin-bottom: 24px; }
.product-page .product-story li::marker { color: #718451; }
.product-page .ingredient-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; }
.product-page .ingredient-groups section { min-width: 0; }
.product-page .ingredient-groups h4 { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.product-page .ingredient-groups p { margin: 0 0 12px; color: #53614b; }
.product-page .ingredient-groups .ingredient-list { columns: 1; margin-bottom: 0; }
.product-page .product-story dl > div { grid-template-columns: minmax(100px, .65fr) minmax(0, 1fr); padding: 12px 0; border-color: var(--detail-line); }
.product-page .product-story dl > div:first-child { padding-top: 0; }
.product-page .product-story dd { font-weight: 500; }
.product-page .detail-section { padding: 28px 0; border-color: var(--detail-line); }
.product-page .detail-section:first-of-type { padding-top: 0; }
.product-page .detail-specification-table table { font-size: 13px; }
.product-page .detail-specification-table thead { background: #edf2e8; }
.product-page .detail-specification-table th, .product-page .detail-specification-table td { padding: 14px 18px; border-color: var(--detail-line); line-height: 1.65; vertical-align: top; }
.product-page .detail-specification-table thead th { font-size: 11px; font-weight: 600; color: #4d6042; }
.product-page .detail-specification-table tbody tr:nth-child(even) { background: #f3f5f0; }
.product-page .detail-specification-table tbody th { font-weight: 500; }
.product-page .product-information { margin-top: 0; }
.product-page .info-detail { padding: 18px 0; font-size: 13px; }
.product-page .related-section { margin-top: 40px; }
.product-page .related-section > h2 { font: 600 23px/1.4 Inter, Arial, sans-serif; margin-bottom: 24px; }
.product-photo-dialog { position: fixed; width: min(1000px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 48px 20px 16px; border: 0; border-radius: 6px; background: #f7f8f4; }
.product-photo-dialog::backdrop { background: #192117bd; }
.product-photo-dialog .photo-close { position: absolute; right: 12px; top: 10px; z-index: 1; }
.product-photo-dialog .expanded-product-photo { width: 100%; height: min(750px, calc(100dvh - 145px)); object-fit: scale-down; }
.product-photo-dialog .expanded-photo-label { text-align: center; font-size: 12px; margin-top: 12px; }
@media (max-width: 1100px) {
  .product-page { padding-inline: 28px; }
  .product-page .product-layout { gap: 30px; }
  .product-page .product-summary h1 { font-size: 30px; }
  .product-page .product-purchase { padding: 18px; }
  .product-page .product-order-fields { grid-template-columns: 1fr; }
  .product-page .product-story-grid { gap: 28px; }
}
@media (max-width: 760px) {
  .product-page { padding: 22px 5% 40px; }
  .product-page .breadcrumbs { margin-bottom: 20px; font-size: 11px; }
  .product-page .product-layout { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .product-page .product-gallery { margin: 0; }
  .product-page .product-summary h1 { font-size: 28px; }
  .product-page .product-intro { margin: 18px 0; }
  .product-page .product-order-fields { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; }
  .product-page .product-detail-nav { gap: 0 22px; margin-top: 30px; }
  .product-page .product-detail-nav button { font-size: 12px; padding: 15px 0; }
  .product-page .product-story-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .product-page .product-story dl > div { grid-template-columns: minmax(95px, .7fr) minmax(0, 1fr); }
  .product-page .detail-specification-table th, .product-page .detail-specification-table td { padding: 12px 10px; }
  .product-page .product-story h2, .product-page .related-section > h2 { font-size: 21px; }
}
@media (max-width: 380px) {
  .product-page .product-summary h1 { font-size: 25px; }
  .product-page .product-order-fields { grid-template-columns: 1fr; }
  .product-page .product-purchase { padding: 16px; }
  .product-page .detail-price { font-size: 21px; }
  .product-page .photo-topline { inset-inline: 16px; font-size: 9px; }
  .product-page #product-main-image { inset: 44px 18px 24px; width: calc(100% - 36px); height: calc(100% - 68px); }
}
#quote-dialog { width: min(680px, calc(100% - 24px)); }
#quote-dialog .quote-row { grid-template-columns: minmax(0, 1fr) 85px 38px; align-items: center; }
#quote-dialog .quote-options { border-block: 1px solid var(--line); margin: 18px 0; padding: 14px 0; }
#quote-dialog .quote-options summary { font-size: 13px; font-weight: 600; }
#quote-packaging { display: grid; gap: 12px; }
#quote-packaging:not(:empty) { margin-top: 16px; }
#quote-packaging label { grid-template-columns: minmax(0, 1fr) minmax(160px, 1fr); align-items: center; }
#quote-packaging span { overflow-wrap: anywhere; }
#quote-dialog .quote-options .caption { margin-top: 12px; }
#quote-dialog .quote-recipient { margin: 12px 0 0; }
#quote-dialog .enquiry-status { margin: 12px 0; color: #31432a; font-size: 13px; }
#quote-dialog .result-actions { flex-wrap: wrap; }
#quote-dialog #message-preview { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 480px) {
 #quote-dialog { padding: 20px 16px; }
 #quote-dialog .form-grid { grid-template-columns: 1fr; }
 #quote-dialog .quote-row { grid-template-columns: minmax(0, 1fr) 72px 38px; gap: 8px; }
 #quote-packaging label { grid-template-columns: 1fr; }
 #quote-dialog .dialog-head h2 { font-size: 26px; }
}
