/* Product overview: equally stretched gallery and information cards. */
.product-detail .detail-layout{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:stretch;gap:clamp(28px,3vw,44px)}
.product-detail .detail-media,.product-detail .detail-copy{border:1px solid #e4dfd2;border-radius:22px;background:var(--paper);box-shadow:0 8px 28px #1c3d2f04;min-width:0;overflow:hidden}
.product-detail .detail-media{display:flex;flex-direction:column;padding:0}
.product-detail .detail-media .gallery-open{flex:1 0 auto;aspect-ratio:1;min-height:0;overflow:hidden;border-radius:0;background:#fff;isolation:isolate}
.product-detail .detail-media .gallery-open .brand-image{position:absolute;inset:0;aspect-ratio:auto;height:auto;border:0;border-radius:0;background:#fff}
.product-detail .detail-media .gallery-open img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:0;mix-blend-mode:normal}
.product-detail .gallery-open:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}
.product-detail .gallery-enlarge{top:13px;right:13px;gap:7px;padding:8px 11px;border-radius:9px;background:#fdfbf7ef;box-shadow:none}
.product-detail .gallery-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;flex-shrink:0;min-width:0;padding:18px;background:#fff}
.product-detail .gallery-carousel>.gallery-prev,.product-detail .gallery-carousel>.gallery-next,.product-detail .gallery-dialog-footer>button{width:44px;height:44px;border-radius:11px;background:var(--cream);color:var(--green);font-size:22px;font-weight:400;transition:background .2s,color .2s,border-color .2s}
.product-detail .gallery-carousel>button:hover,.product-detail .gallery-dialog-footer>button:hover{background:var(--green);color:var(--cream);border-color:var(--green)}
.product-detail .gallery-carousel>button:focus-visible,.product-detail .gallery-thumb:focus-visible,.product-detail .gallery-dialog-footer>button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.product-detail .detail-media .gallery-thumbs{min-width:0;margin:0;padding:4px;gap:10px;overflow-x:auto;scroll-padding:4px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none}
.product-detail .gallery-thumbs::-webkit-scrollbar{display:none}
.product-detail .detail-media .gallery-thumb{width:76px;height:76px;border-radius:10px;padding:5px;scroll-snap-align:start;transition:border-color .2s,box-shadow .2s}
.product-detail .detail-media .gallery-thumb[aria-pressed=true]{border-color:var(--gold);box-shadow:0 0 0 2px #d9770610}
.product-detail .detail-media .gallery-thumb img{position:static;padding:0;border-radius:5px}
.product-detail .detail-copy{display:flex;flex-direction:column;padding:30px;background:#fffdf9}
.product-detail .detail-copy h1{font-size:clamp(26px,2.5vw,30px);line-height:1.23;letter-spacing:-.035em;overflow-wrap:anywhere}
.product-detail .detail-copy .lead{margin-top:20px;font-size:14px;line-height:1.85}
.product-detail .key-attributes{margin-top:20px}
.product-detail .key-attributes h2{font-size:16px;line-height:1.5;margin-bottom:12px;letter-spacing:-.2px}
.product-detail .key-attributes-table-wrap{overflow:hidden;border:1px solid #dce2d4;border-radius:14px;background:#fffefb}
.product-detail .key-attributes-table{width:100%;margin:0;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:left}
.product-detail .key-attributes-table :is(th,td){padding:13px 16px;border:0;border-bottom:1px solid #e1e6da;vertical-align:top;line-height:1.65;overflow-wrap:anywhere;word-break:normal;text-align:left}
.product-detail .key-attributes-table th{width:34%;background:#f0f3e9;border-right:1px solid #e1e6da;color:#526653;font-size:13px;font-weight:500}
.product-detail .key-attributes-table td{background:#fffefb;color:var(--green);font-size:14px;font-weight:400}
.product-detail .key-attributes-table tr:nth-child(even) td{background:#f8faf4}
.product-detail .key-attributes-table tr:last-child :is(th,td){border-bottom:0}
@media(max-width:760px){
 .product-detail .key-attributes-table-wrap{border-radius:11px}
 .product-detail .key-attributes-table :is(th,td){padding:12px;line-height:1.65}
 .product-detail .key-attributes-table th{width:37%;font-size:12px}
 .product-detail .key-attributes-table td{font-size:13px}
}
@media(max-width:370px){.product-detail .key-attributes-table :is(th,td){padding:11px 9px}}
.product-detail .detail-copy .spec-list{padding:0 17px;border:1px solid #e6e0d2;border-radius:14px;background:var(--cream);margin-top:18px;font-size:12px}
.product-detail .spec-list>div{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr);gap:18px;padding:13px 0;line-height:1.7;border-color:#e8e2d4}
.product-detail .spec-list dt,.product-detail .spec-list dd{overflow-wrap:anywhere}
.product-detail .detail-actions-wrap{margin-top:0;padding-top:20px}
.product-detail .detail-actions-wrap .hero-actions{margin:0;gap:14px 22px;align-items:center}
.product-detail .detail-actions-wrap .text-link{min-height:44px}
.product-detail .detail-actions-wrap .fineprint{margin-top:16px;font-size:11px;line-height:1.8;color:#798270}
/* A balanced pair of purchase actions, with quieter icons and clear hierarchy. */
.product-detail .detail-actions-wrap .product-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;max-width:640px;align-items:stretch}
.product-detail .detail-actions-wrap .product-actions .product-action{
 --ui-icon-size:18px;--ui-icon-color:currentColor;
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 width:100%;min-width:0;min-height:52px;padding:14px 18px;border:1px solid;
 border-radius:10px;font-size:14px;font-weight:500;line-height:1.5;letter-spacing:0;
 text-align:left;text-decoration:none;white-space:normal;
 transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s;
}
.product-detail .detail-actions-wrap .product-actions .product-action-primary{background:#e5ac43;border-color:#dca039;color:#1c3d2f;box-shadow:0 3px 8px #93641912,inset 0 1px 0 #ffffff30}
.product-detail .detail-actions-wrap .product-actions .product-action-secondary{background:#fffdf9;border-color:#cbd5c7;color:#1c3d2f;box-shadow:none}
.product-detail .detail-actions-wrap .product-actions .product-action-primary:hover{background:#1c3d2f;border-color:#1c3d2f;color:#fdfbf7;box-shadow:0 5px 14px #1c3d2f18;transform:translateY(-1px)}
.product-detail .detail-actions-wrap .product-actions .product-action-secondary:hover{background:#edf2e8;border-color:#9aac96;color:#1c3d2f;box-shadow:0 3px 8px #1c3d2f08;transform:translateY(-1px)}
.product-detail .detail-actions-wrap .product-actions .product-action:focus-visible{outline:2px solid #8a4900;outline-offset:3px}
.product-detail .detail-actions-wrap .product-actions .product-action:active{transform:translateY(0);box-shadow:none}
.product-detail .detail-actions-wrap .product-actions .product-action>span{flex-shrink:0}
.product-detail .detail-actions-wrap>.text-link{margin-top:18px}
/* Share spare column height evenly between title, summary, attributes and actions. */
@media(min-width:1101px){
 .product-detail .detail-copy{justify-content:space-between;gap:24px}
 .product-detail .detail-copy .detail-heading,.product-detail .detail-copy .detail-information{display:contents}
 .product-detail .detail-copy .lead,.product-detail .detail-copy .key-attributes{margin:0}
 .product-detail .detail-copy .detail-actions-wrap{margin:0;padding:0}
}
@media(max-width:600px){.product-detail .detail-actions-wrap .product-actions{grid-template-columns:minmax(0,1fr);gap:10px;max-width:none}}
@media(prefers-reduced-motion:reduce){.product-detail .detail-actions-wrap .product-actions .product-action{transition:none}.product-detail .detail-actions-wrap .product-actions .product-action:hover{transform:none}}
@media(max-width:1100px){
 .product-detail .detail-layout{grid-template-columns:minmax(0,1fr);gap:24px}
 .product-detail .detail-media .gallery-open{flex:none;aspect-ratio:1.35}
 .product-detail .detail-copy{padding:28px}
 .product-detail .detail-actions-wrap{margin-top:0}
}
@media(max-width:760px){
 .product-detail .detail-layout{gap:22px}
 .product-detail .detail-media,.product-detail .detail-copy{border-radius:17px;box-shadow:none}
 .product-detail .detail-media{padding:0}
 .product-detail .detail-media .gallery-open{aspect-ratio:1}
 .product-detail .gallery-enlarge{top:9px;right:9px;padding:7px 9px;font-size:10px;border-radius:8px}
 .product-detail .gallery-enlarge svg{width:14px;height:14px}
 .product-detail .gallery-carousel{padding:12px;gap:8px}
 .product-detail .detail-media .gallery-thumbs{padding:4px;gap:9px}
 .product-detail .detail-media .gallery-thumb{width:64px;height:64px;border-radius:9px;padding:4px}
 .product-detail .detail-media .gallery-thumb img{padding:0}
 .product-detail .detail-copy{padding:23px 20px}
 .product-detail .detail-copy h1{line-height:1.25;letter-spacing:-.03em}
 .product-detail .detail-copy .lead{font-size:13px;line-height:1.85;margin-top:20px}
 .product-detail .key-attributes{margin-top:22px}
 .product-detail .key-attributes h2{font-size:15px;margin-bottom:11px}
 .product-detail .detail-copy .spec-list{margin-top:16px;padding:0 13px;font-size:11px;border-radius:12px}
 .product-detail .spec-list>div{grid-template-columns:minmax(70px,.65fr) minmax(0,1.35fr);gap:12px;padding:12px 0}
 .product-detail .detail-actions-wrap{padding-top:20px}
 .product-detail .detail-actions-wrap .hero-actions{flex-direction:column;align-items:stretch;gap:9px}
 .product-detail .detail-actions-wrap .button{width:100%}
 .product-detail .detail-actions-wrap .text-link{justify-content:center;align-self:center}
 .product-detail .detail-actions-wrap .fineprint{font-size:10px;line-height:1.8;margin-top:13px}
}
@media(max-width:370px){.product-detail .detail-copy{padding:21px 17px}}

/* Compact recommendations from the product's own category. */
.related-products{padding:64px 0 72px;background:#f5f2ea;border-top:1px solid var(--line)}
.related-products .related-products-heading{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;margin:0 0 28px;padding-bottom:22px}
.related-products-heading h2{font-size:clamp(28px,2.6vw,38px);line-height:1.2;letter-spacing:-.035em}
.related-products-heading>.text-link{margin:0;font-size:13px;line-height:1.6;min-height:44px;max-width:50%;gap:16px}
.related-products-heading .ico-arrow{flex-shrink:0}
.related-products .featured-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.related-products .product-card-body{padding:20px}
.related-products .product-card-body h3{margin:0;font-size:16px;line-height:1.5;letter-spacing:-.015em}
@media(max-width:1100px){
 .related-products .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .related-products{padding:40px 0 48px}
 .related-products .related-products-heading{align-items:flex-start;flex-direction:column;gap:8px;padding-bottom:18px;margin-bottom:24px}
 .related-products-heading>.text-link{max-width:100%;margin:0}
 .related-products .featured-grid{gap:20px}
 .related-products .product-card-body{padding:18px}
}
@media(max-width:540px){
 .related-products .featured-grid{grid-template-columns:minmax(0,1fr)}
}
