/* Product detail reference layout; keep the platform's existing price and action colors. */
.product-detail-showcase{background:#fff;padding:24px 0 60px}
.product-detail-wrap{width:calc(100% - 80px);max-width:1900px;margin:0 auto}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:64px;align-items:start}
.product-detail-gallery{display:grid;grid-template-columns:80px minmax(0,1fr);gap:36px;min-width:0}
.product-detail-thumbnails{display:flex;flex-direction:column;gap:14px;max-height:780px;overflow:auto;scrollbar-width:thin}
.product-detail-thumb{padding:0;border:1px solid transparent;background:#fff;flex:none;width:80px;height:80px}
.product-detail-thumb img{width:100%;height:100%;object-fit:contain}
.product-detail-thumb.active{border-color:var(--purple)}
.product-detail-image{display:block;width:100%;border:0;background:#fff;padding:0;cursor:zoom-in}
.product-detail-image img{width:100%;height:auto;aspect-ratio:1/1;max-height:780px;object-fit:contain}
.product-detail-info{min-width:0;padding:0 0 18px}
.product-detail-info h1{font-size:18px;line-height:1.6;font-weight:400;margin:0 0 8px}
.product-detail-price{font-size:30px;font-weight:600;color:#df6561;line-height:1.5;margin:0 0 26px}
.product-detail-option{margin:0 0 27px}
.product-detail-option p{margin:0 0 13px;font-size:16px;line-height:1.5}
.product-detail-option p>span{color:#999}
.product-detail-choices{display:flex;flex-wrap:wrap;gap:10px}
.product-detail-choice{border:1px solid #ddd;border-radius:0;background:#fff;min-width:42px;min-height:46px;padding:10px 15px;color:#888;font-size:16px;line-height:24px}
.product-detail-choice.active{border-color:var(--purple);color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple)}
.product-detail-color{display:inline-flex;align-items:center;gap:10px;padding:3px 12px 3px 4px;min-height:46px}
.product-detail-color img{width:38px;height:38px;object-fit:contain}
.product-detail-quantity{margin-bottom:22px}
.product-detail-stepper{display:flex;align-items:center;width:max-content}
.product-detail-stepper button{height:38px;width:38px;padding:0;border:1px solid #eee;background:#fff;font-size:20px;line-height:1;color:#666}
.product-detail-stepper button:disabled{background:#e7e7e7;color:#aaa;cursor:default}
.product-detail-stepper input{border:0;width:40px;min-width:40px;height:38px;text-align:center;outline:none;padding:0;appearance:textfield;-moz-appearance:textfield}
.product-detail-stepper input::-webkit-inner-spin-button,.product-detail-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}
.product-detail-actions{--product-action-color:#352b96;display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:2px}
.product-detail-actions>.btn{flex:0 1 160px;width:160px;max-width:100%;height:48px;min-height:48px;border-radius:24px;padding:0 20px;font-size:16px;line-height:22px;white-space:nowrap}
.product-detail-customize{background:var(--product-action-color);border-color:var(--product-action-color);color:#fff;font-weight:600}
.product-detail-customize:hover{background:#292174;border-color:#292174;color:#fff}
.product-detail-favorite{background:#fff;border-color:var(--product-action-color);color:var(--product-action-color);font-weight:400}
.product-detail-favorite:hover{background:#f5f4fc;color:var(--product-action-color);border-color:var(--product-action-color)}
.product-detail-favorite[aria-pressed=true]{background:#fff;color:var(--product-action-color)}
.product-detail-favorite:disabled{cursor:wait;opacity:.65}
.product-detail-meta{margin-top:17px;color:#000;font-size:16px;line-height:1.8;overflow-wrap:anywhere}
.product-detail-meta [data-product-factory-address]{white-space:pre-line}
.product-detail-description{width:min(1200px,75%);margin:64px auto 0;font-size:16px;line-height:1.8}
.product-detail-description summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:14px 0;font-weight:600}
.product-detail-description summary::-webkit-details-marker{display:none}
.product-detail-description summary svg{width:16px;height:16px;color:#888;transform:rotate(180deg)}
.product-detail-description[open] summary svg{transform:none}
.product-detail-description-body{padding:20px 0 0}
.product-detail-description-facts{display:grid;grid-template-columns:1fr 1fr;gap:3px 40px}
.product-detail-description-body p{white-space:pre-wrap;margin:8px 0}
.product-detail-service-state{font-size:12px;color:#999}
.product-detail-charts{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;width:100%;min-width:0;margin:36px 0 0}
.product-detail-chart{min-width:0}
.product-detail-chart h2{margin:0 0 16px;font-size:20px;line-height:1.6;color:#000;font-weight:600}
.product-detail-chart-image{display:block;width:100%;min-width:0;padding:0;border:0;background:#fff;cursor:zoom-in}
.product-detail-chart-image img{display:block;width:100%;max-width:100%;height:auto;max-height:none;object-fit:contain}
.seller-product .product-detail-showcase{min-height:calc(100vh - 60px)}
.product-detail-showcase button:focus-visible,.product-detail-customize:focus-visible,.product-detail-description summary:focus-visible,.product-detail-stepper input:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
@media(min-width:1700px){.product-detail-wrap{width:calc(100% - 180px)}.product-detail-gallery{gap:52px}.product-detail-layout{gap:80px}.product-detail-description{margin-top:70px}}
@media(max-width:1100px){.product-detail-wrap{width:calc(100% - 48px)}.product-detail-layout{gap:32px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.product-detail-gallery{grid-template-columns:56px minmax(0,1fr);gap:16px}.product-detail-thumb{width:56px;height:56px}.product-detail-info h1{font-size:17px}.product-detail-option{margin-bottom:23px}.product-detail-description{width:90%;margin-top:40px}}
@media(max-width:760px){.product-detail-showcase{padding:18px 0 40px}.product-detail-wrap{width:calc(100% - 28px)}.product-detail-layout{grid-template-columns:minmax(0,1fr);gap:24px}.product-detail-gallery{grid-template-columns:54px minmax(0,1fr);gap:14px}.product-detail-thumb{width:54px;height:54px}.product-detail-info{padding-bottom:0}.product-detail-description{width:100%;margin-top:30px}.product-detail-description-facts{grid-template-columns:1fr;gap:4px}.product-detail-thumbnails{max-height:420px}.product-detail-actions{gap:10px}.product-detail-customize{flex-basis:190px;padding:0 20px}.product-detail-favorite{padding:0 18px}}
@media(max-width:480px){.product-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,160px))}.product-detail-actions>.btn{width:100%;padding:0 12px}}
