/* Product overview and preorder are separate rows; long order content cannot stretch the gallery. */
.product-page{font-size:16px;line-height:1.7}
.product-page .product-hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:"media heading" "media facts";grid-template-rows:auto 1fr;
  gap:18px 28px;align-items:start;padding:24px;background:var(--paper);
  border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 18px #30361d09
}
.product-hero .product-heading{grid-area:heading;min-width:0}
.product-hero .product-media{grid-area:media;min-width:0;width:100%}
.product-hero .product-facts{grid-area:facts;min-width:0}
.product-page .product-hero .gallery{height:auto;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0}
.product-page .product-hero .gallery .gallery-inner{max-height:420px;border:1px solid #e6dfd1}
.product-page .product-hero .gallery .gallery-note{font-size:13px;line-height:1.7;margin-top:12px}
.product-hero .product-heading .label{font-size:13px;line-height:1.4;margin:0 0 8px}
.product-hero .product-heading .state-line{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
.product-hero h1{font-size:clamp(28px,2.6vw,34px);line-height:1.3;overflow-wrap:anywhere}
.product-hero .full-name{font-size:15px;line-height:1.7;margin:10px 0 0}
.product-hero .price-wrap{margin:0;padding:16px 18px;border:1px solid #e5dbc1;border-radius:12px;background:#f8f1dc}
.product-hero .price-caption{font-size:14px;line-height:1.5;margin:0 0 6px}
.product-hero .main-price{flex-wrap:wrap;gap:5px 7px}
.product-hero .main-price .number{font-size:44px;font-weight:850;line-height:1.15;overflow-wrap:anywhere}
.product-hero .main-price .currency{font-size:20px}.product-hero .main-price .unit{font-size:16px}
.product-hero .deposit{font-size:16px;font-weight:700;line-height:1.6;margin-top:7px}
.product-hero .purchase-eta{display:flex;flex-direction:column;gap:3px;margin:12px 0;padding:12px 15px;border:1px solid var(--line);border-radius:10px;background:#fffdf7;font-size:14px;line-height:1.65}
.product-hero .purchase-eta>span{font-size:13px;color:var(--muted)}
.product-hero .purchase-eta strong{font-size:15px;font-weight:650;overflow-wrap:anywhere}
.product-hero .scarcity{margin:12px 0;font-size:15px;line-height:1.7}
.product-hero .product-details-links{margin:14px 0 0;gap:8px}
.product-hero .product-details-links a{font-size:14px}
.preorder-state-panel{padding:18px;border:1px solid #d5d8d4;border-radius:12px;background:#f0f1ed;color:#3c463a;line-height:1.7}
.preorder-state-panel>strong{display:block;font-size:24px;line-height:1.4;font-weight:750;overflow-wrap:anywhere}
.preorder-state-panel>p{font-size:16px;line-height:1.75;margin:10px 0 12px}
.preorder-state-upcoming{background:#edf2f8;border-color:#cbd8e7;color:#304d70}
.preorder-state-paused{background:#faf1df;border-color:#e3d2af;color:#79501d}
.state-catalog-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:7px 0;font-size:14px;font-weight:650;color:inherit;text-decoration:underline;text-underline-offset:4px}

/* One full-width order card, with clear delivery, quantity and financial groups. */
.preorder-panel{margin-top:24px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:0 5px 18px #30361d09;min-width:0}
.preorder-heading{font-size:21px;line-height:1.4;margin:0 0 20px;color:var(--olive)}
.preorder-panel .delivery-selector-title{font-size:15px;line-height:1.5;margin:0 0 12px}
.preorder-panel .choice-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
.preorder-panel .choice{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px;min-width:0;min-height:0;padding:15px;border-radius:11px;font-size:15px}
.preorder-panel .choice-left{min-width:0;overflow-wrap:anywhere}
.preorder-panel .choice-left strong{font-size:16px;line-height:1.5}
.preorder-panel .choice-left>span{font-size:14px;line-height:1.65;margin-top:6px}
.preorder-panel .choice-check{font-size:12px;white-space:normal}
.preorder-panel .choice-price{font-size:19px;line-height:1.4;margin:0;min-width:0;max-width:100%;text-align:right;overflow-wrap:anywhere;white-space:normal}
.preorder-panel .choice-price small{font-size:13px;line-height:1.5}
.preorder-panel .order-review{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);grid-template-areas:"summary quantity" "summary action";grid-template-rows:auto 1fr;gap:12px 20px;align-items:start;margin:0}
.preorder-panel .quantity-row{grid-area:quantity;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:14px;border:1px solid var(--line);border-radius:11px;background:#fffdf7;min-width:0}
.preorder-panel .quantity-row label{font-size:15px;line-height:1.5}
.preorder-panel .quantity-controls{min-width:0;max-width:100%;gap:6px}
.preorder-panel .quantity-row input{width:74px;max-width:100%;min-width:0;flex:0 1 74px;font-size:16px}
.preorder-panel .quantity-controls button{flex:0 0 44px;min-width:44px;min-height:44px}
.preorder-panel .order-summary{grid-area:summary;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;margin:0;padding:14px 16px;border:1px solid #e5dbc1;border-radius:11px;background:#f8f1dc;min-width:0}
.preorder-panel .order-summary>div{min-width:0;margin:0;border:0;padding:0;font-size:14px;line-height:1.6;gap:8px}
.preorder-panel .order-summary>.summary-method,.preorder-panel .order-summary>.summary-fee{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline}
.preorder-panel .order-summary>.summary-method{align-items:center;flex-wrap:wrap;gap:8px 16px}
.preorder-panel .order-summary-title{grid-column:1/-1;display:flex;align-items:center;gap:9px;margin:0;color:var(--olive);font-size:17px;font-weight:700;line-height:1.5}
.preorder-panel .order-summary-title svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.preorder-panel .summary-method>span{font-size:15px;font-weight:650;color:var(--olive)}
.preorder-panel .order-summary>.summary-method>strong{flex:1 1 180px;min-width:0;font-size:16px;font-weight:700;line-height:1.6}
.preorder-panel .order-summary>.summary-fee{font-size:13px}
.preorder-panel .order-summary>.summary-amount{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding-top:10px;border-top:1px solid #ded3b9}
.preorder-panel .order-summary>.summary-amount>span{font-size:13px;color:var(--muted)}
.preorder-panel .order-summary strong{overflow-wrap:anywhere;text-align:left}
.preorder-panel .order-summary>.summary-method strong,.preorder-panel .order-summary>.summary-fee strong{text-align:right}
.preorder-panel .summary-amount strong{font-size:19px;line-height:1.5;font-weight:750}
.preorder-panel .summary-total strong{color:var(--orange-dark)}
.preorder-panel .order-action{grid-area:action;display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;margin:0}
.preorder-panel .order-action>.cta{width:100%}
.preorder-panel .order-action>.micro{font-size:14px;line-height:1.7;text-align:center;margin:0;color:var(--muted);overflow-wrap:anywhere}
.preorder-panel .field-error{flex-basis:100%;font-size:14px;margin:0}
.preorder-panel .order-fallback{font-size:14px;line-height:1.7}
.preorder-panel>.cta-secondary{max-width:360px;margin-left:auto}
.preorder-panel .closed-panel{margin-top:0}
.preorder-panel .closed-panel p{font-size:15px;line-height:1.7}

/* A single payment card for all screen sizes; repeated method notes appear once. */
.payment-card{margin-top:22px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fffdf7;color:var(--ink);font-size:14px;line-height:1.7;min-width:0}
.payment-card h2{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:700;line-height:1.5;color:var(--olive);margin:0}
.payment-card h2 svg{fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}
.payment-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;max-width:100%;margin:12px 0 16px;overflow-wrap:anywhere}
.payment-context-label{font-size:14px;line-height:1.5;color:var(--muted)}
.payment-context strong{display:inline-block;min-width:0;max-width:100%;padding:5px 11px;border:1px solid #d9ddc8;border-radius:6px;background:#eff0e2;color:var(--olive);font-size:16px;font-weight:700;line-height:1.6}
.payment-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;min-width:0}
.payment-stage{min-width:0;border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:12px}
.payment-stage-label{display:block;font-size:14px;font-weight:700;color:var(--olive);margin-bottom:9px}
.payment-method-list{display:flex;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.payment-method-list li{min-width:0;max-width:100%;overflow-wrap:anywhere}
.payment-method-name{display:inline-block;padding:4px 10px;border:1px solid #d9ddc8;border-radius:6px;background:#eff0e2;color:var(--olive);font-weight:650;font-size:14px}
.payment-notes{grid-column:1/-1;margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.payment-notes li{display:flex;flex-wrap:wrap;gap:3px 12px;margin-top:10px;font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.payment-notes strong{font-size:13px;font-weight:650;color:var(--olive)}
.payment-notes span{color:var(--muted);min-width:0}
.payment-guidance{margin:14px 0 0;padding:11px 13px;border-radius:8px;background:#f1f1e8;color:var(--muted);font-size:14px;line-height:1.75}
.payment-pending{font-size:14px;margin:0;color:var(--muted)}
.payment-overview{display:grid;gap:10px;margin-top:14px}
.payment-closed-method{border:1px solid var(--line);border-radius:8px;padding:0 12px}
.payment-closed-method>summary{font-size:14px;font-weight:650;padding:12px 0;min-height:44px;cursor:pointer;overflow-wrap:anywhere}
.payment-closed-method[open]{padding-bottom:12px}

/* Full-width information cards retain native disclosure and readable content. */
.product-page .detail-section{margin-top:20px;box-shadow:none}
.detail-section>details>summary{cursor:pointer;list-style:none}
.detail-section>details>summary::-webkit-details-marker{display:none}
.product-page .detail-section .section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;font-size:20px;line-height:1.4}
.detail-indicator::after{content:"+";font-size:23px;font-weight:400}
details[open]>summary .detail-indicator::after{content:"−"}
.detail-section .section-body{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.detail-section .eta{grid-template-columns:minmax(0,1fr);gap:14px;padding:16px;background:#f8f1dc;border:1px solid #e5dbc1;border-radius:10px}
.detail-section .eta-date{font-size:22px;line-height:1.5;overflow-wrap:anywhere}
.detail-section .eta-badge{max-width:none;padding:0 0 0 12px;font-size:14px;line-height:1.75}
.detail-section .delivery-details{gap:12px;margin-top:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.detail-section .delivery-details>div{padding:14px;border:1px solid var(--line);border-radius:9px;background:#fffdf7;min-width:0}
.detail-section .delivery-details strong{font-size:15px;overflow-wrap:anywhere}
.detail-section .delivery-details p{font-size:14px;line-height:1.75;margin:6px 0 0}
.detail-section .terms{font-size:16px;line-height:1.8}
#preorder,#description,#delivery,#terms{scroll-margin-top:18px}

@media(max-width:900px){
  .product-page .product-hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "media" "facts";grid-template-rows:auto;gap:18px;padding:20px}
  .product-hero h1{font-size:clamp(24px,5.5vw,28px)}
  .product-hero .main-price .number{font-size:clamp(34px,9vw,40px)}
  .product-hero .main-price .currency{font-size:18px}
  .product-hero .main-price .unit{font-size:15px}
  .preorder-panel{padding:20px;margin-top:20px}
  .preorder-panel .choice-list{grid-template-columns:minmax(0,1fr)}
  .preorder-panel .choice{padding:13px}
  .preorder-panel .choice-left strong{font-size:15px}
  .preorder-panel .choice-price{font-size:18px}
  .preorder-panel .order-review{gap:12px 16px}
}
@media(max-width:800px){
  .preorder-panel .order-review{grid-template-columns:minmax(0,1fr);grid-template-areas:"quantity" "summary" "action";grid-template-rows:auto;gap:14px}
}
@media(max-width:700px){
  .preorder-panel .choice-list{grid-template-columns:minmax(0,1fr);gap:10px}
  .preorder-panel .choice-price{font-size:17px}
  .preorder-panel .summary-amount strong{font-size:18px}
  .preorder-panel>.cta-secondary{max-width:none}
}
@media(max-width:600px){
  .product-page{font-size:15px}
  .product-page .product-hero{padding:16px;gap:16px;border-radius:14px}
  .product-hero .price-wrap{padding:14px 15px}
  .preorder-state-panel{padding:15px}
  .preorder-state-panel>strong{font-size:21px}
  .product-hero .full-name{font-size:15px}
  .product-hero .purchase-eta strong{font-size:14px}
  .product-hero .product-details-links{margin-top:12px}
  .preorder-panel{padding:16px;border-radius:14px}
  .preorder-heading{font-size:20px;margin-bottom:16px}
  .preorder-panel .order-summary{padding:12px;gap:10px}
  .preorder-panel .order-summary-title{font-size:16px}
  .preorder-panel .order-summary>.summary-fee{font-size:13px}
  .preorder-panel .order-summary>.summary-amount>span{font-size:13px}
  .payment-card{padding:14px;margin-top:18px}
  .payment-methods{grid-template-columns:minmax(0,1fr)}
  .payment-card h2{font-size:16px}
  .payment-notes li{display:block;font-size:14px}
  .payment-notes strong,.payment-notes span{display:block}
  .product-page .detail-section .section-title{font-size:18px;padding:15px 16px}
  .detail-section .section-body{font-size:15px;padding:16px}
  .detail-section .eta{padding:13px}
  .detail-section .eta-date{font-size:19px}
  .detail-section .terms{font-size:15px}
}
@media(max-width:360px){
  .preorder-panel .quantity-row{flex-wrap:wrap;gap:10px}
  .preorder-panel .quantity-controls{margin-left:auto}
  .preorder-panel .order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .preorder-panel .order-summary>.summary-total{grid-column:1/-1}
}
