
/* LOCAL DENNIS PILOT CANDIDATE. Neutral TPW surfaces; existing CTA coral and native stock classes. */
.tpw-variant-panel,.tpw-variant-field{--tpw-orange:var(--button-background-color,#ff8153);--tpw-ink:#2e2f31;--tpw-muted:#696b6f;--tpw-line:#e5e5e5;font-family:"Noto Sans",Arial,sans-serif;color:var(--tpw-ink)}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-field{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;align-content:start!important;position:relative!important;z-index:3!important;margin:8px 0 12px!important;min-width:0!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-field .tpw-variant-field-label{font:inherit!important;color:inherit!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-trigger{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;width:100%!important;min-height:48px!important;height:auto!important;padding:11px 12px!important;border:1px solid #dcdcdc!important;border-radius:7px!important;background:#fff!important;color:var(--tpw-ink)!important;font:inherit!important;font-weight:400!important;text-align:left!important;cursor:pointer;box-shadow:none!important;touch-action:manipulation}
.tpw-variant-trigger-value{min-width:0;overflow-wrap:anywhere;white-space:normal}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-trigger .tpw-variant-trigger-value{font:inherit!important;font-weight:400!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-trigger .tpw-variant-value-selected{font-weight:700!important}
.tpw-variant-panel .tpw-variant-option[aria-selected="true"] .tpw-variant-option-title{font-weight:700}
.tpw-variant-trigger svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .16s}
.tpw-variant-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-trigger:hover,html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-trigger[aria-expanded="true"]{border-color:var(--tpw-orange)!important;background:#fff!important}
.tpw-variant-trigger[aria-disabled="true"]{opacity:.65;cursor:wait!important}
.tpw-variant-trigger:focus:not(:focus-visible){outline:none!important}
.tpw-variant-trigger:focus-visible{outline:2px solid var(--tpw-orange)!important;outline-offset:2px}
.tpw-variant-hint{font-size:12px;line-height:1.5;color:var(--tpw-muted)}
.tpw-variant-panel{position:fixed;inset:auto;transform:none;box-sizing:border-box;margin:0;padding:0;border:1px solid var(--tpw-line);border-radius:12px;background:#fff;box-shadow:0 12px 50px #00000024;overflow:hidden;font-size:14px;max-width:calc(100vw - 32px)}
.tpw-variant-panel *{box-sizing:border-box}
.tpw-variant-panel[open]{display:flex;flex-direction:column}
.tpw-variant-panel::backdrop{background:#00000012}
.tpw-variant-panel .tpw-variant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 20px 16px;border-bottom:1px solid var(--tpw-line);background:#fff;flex:none}
.tpw-variant-heading{min-width:0}.tpw-variant-panel .tpw-variant-head h2{margin:0 0 5px;font:700 19px/1.3 "Noto Sans",Arial,sans-serif;letter-spacing:-.3px;color:var(--tpw-ink)}
.tpw-variant-subtitle{margin:0;color:var(--tpw-muted);font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.tpw-variant-panel .tpw-variant-close{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#f4f4f4;color:var(--tpw-ink);font:400 25px/1 Arial;cursor:pointer}
.tpw-variant-list-frame{position:relative;display:flex;flex:1 1 auto;min-height:0;overflow:hidden}
.tpw-variant-list{flex:1 1 auto;min-width:0;overflow-y:auto;overscroll-behavior:contain;min-height:0;max-height:360px;padding:8px 10px;background:#fff;scrollbar-width:thin;scrollbar-color:#ff8153 #e0e6e5;-webkit-overflow-scrolling:touch;touch-action:pan-y}
html body #tpw-variant-panel .tpw-variant-option{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:72px;margin:0 0 4px;padding:12px 10px;border:1px solid transparent;border-bottom-color:#ececec;border-radius:7px;background:#fff!important;color:var(--tpw-ink)!important;outline:none!important;appearance:none;-webkit-tap-highlight-color:transparent;font:400 13px/1.45 "Noto Sans",Arial,sans-serif;text-align:left;cursor:pointer;box-shadow:none;touch-action:manipulation}
.tpw-variant-panel .tpw-variant-option:last-child{margin-bottom:0;border-bottom-color:transparent}
@media(hover:hover){html body #tpw-variant-panel .tpw-variant-option:hover:not(:disabled):not([aria-selected="true"]){background:#fafafa!important}}
html body #tpw-variant-panel .tpw-variant-option[aria-selected="true"]{border-color:var(--tpw-orange)!important;background:#fff5f0!important;box-shadow:inset 3px 0 0 var(--tpw-orange)!important}
.tpw-variant-option-copy{min-width:0;display:flex;flex-direction:column;gap:5px}
.tpw-variant-option-title{font-weight:600;overflow-wrap:anywhere;white-space:normal}
/* Stock semantics and actual card typography/colours are preserved; use the same solid status dot. */
.tpw-variant-option-stock{display:inline-flex;align-items:center;gap:0;width:max-content;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font:400 14px/1.5 "Noto Sans",sans-serif;white-space:normal}
.tpw-variant-panel .tpw-variant-option-stock::before{content:""!important;display:block!important;position:static!important;flex:none;width:var(--tpw-stock-dot-width,10px)!important;height:var(--tpw-stock-dot-height,10px)!important;margin:var(--tpw-stock-dot-margin,0 5px 0 0)!important;border-radius:var(--tpw-stock-dot-radius,10px)!important;background:var(--tpw-stock-dot-color,currentColor)!important;font-size:0!important}
.tpw-variant-panel .tpw-variant-option-price{white-space:nowrap;font-weight:700;color:var(--tpw-ink)}
.tpw-variant-panel .tpw-variant-option.is-unavailable{color:#818181}
html body #tpw-variant-panel .tpw-variant-option.is-unavailable:not([aria-selected="true"]){background:#fafafa!important}
html body #tpw-variant-panel .tpw-variant-option:disabled{background:#fafafa!important;cursor:not-allowed;color:#818181!important;outline:none!important;box-shadow:none!important}
.tpw-variant-panel .tpw-variant-option:disabled .tpw-variant-option-price{color:#818181}
.tpw-variant-panel .tpw-variant-foot{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 20px;background:#fff;border-top:1px solid var(--tpw-line);flex:none}
.tpw-variant-help{margin:0;font-size:11px;line-height:1.55;color:var(--tpw-muted)}
html body #tpw-variant-panel button:focus-visible{outline:2px solid var(--tpw-orange)!important;outline-offset:-3px}
.tpw-variant-handle{display:none}
body.tpw-variant-panel-open{overflow:hidden!important}
.tpw-variant-panel--sheet{inset:auto 0 0!important;top:auto!important;left:0!important;width:100%!important;max-width:none!important;max-height:85vh!important;max-height:85dvh!important;border-radius:20px 20px 0 0;border:0;background:#fff;box-shadow:0 -10px 50px #00000030;padding-bottom:env(safe-area-inset-bottom,0px);animation:tpw-sheet-in .18s ease-out}
.tpw-variant-panel--sheet::backdrop{background:#00000066}
.tpw-variant-panel--sheet .tpw-variant-handle{display:block;width:36px;height:4px;border-radius:8px;background:#d8d8d8;align-self:center;margin:10px 0 0;flex:none}
.tpw-variant-panel--sheet .tpw-variant-head{padding:16px 20px}
.tpw-variant-panel--sheet .tpw-variant-head h2{font-size:22px}
.tpw-variant-panel--sheet .tpw-variant-subtitle{font-size:13px}
.tpw-variant-panel--sheet .tpw-variant-list{padding:8px 12px;max-height:none}
.tpw-variant-panel--sheet .tpw-variant-option{min-height:82px;gap:12px;padding:15px 10px;font-size:14px}
.tpw-variant-panel--sheet .tpw-variant-option-stock{font-size:12px}
.tpw-variant-panel--sheet .tpw-variant-close{width:44px;height:44px}
.tpw-variant-panel--sheet .tpw-variant-foot{padding:12px 20px}
.tpw-variant-panel--sheet .tpw-variant-help{font-size:12px}
@keyframes tpw-sheet-in{from{transform:translateY(20px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.tpw-variant-panel--sheet{animation:none}.tpw-variant-trigger svg{transition:none}}
@media(max-width:767px){html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-trigger{font-size:inherit!important}.tpw-variant-panel--sheet .tpw-variant-option-title{font-size:14px}}

/* Match the existing menu scrollbar. Mobile uses a visual rail because iOS controls native scrollbar colours. */
@supports selector(::-webkit-scrollbar){
 .tpw-variant-list{scrollbar-width:auto;scrollbar-color:auto}
 .tpw-variant-list::-webkit-scrollbar{width:4px;background:#e0e6e5;border-radius:5px}
 .tpw-variant-list::-webkit-scrollbar-thumb{background:#ff8153;border-radius:5px}
}
.tpw-variant-scrollbar{display:none;position:absolute;inset:4px 4px 4px auto;width:4px;border-radius:5px;background:#e0e6e5;pointer-events:none}
.tpw-variant-scrollbar[hidden]{display:none!important}
.tpw-variant-scroll-thumb{display:block;width:4px;border-radius:5px;background:#ff8153;will-change:transform}
.tpw-variant-panel--sheet .tpw-variant-scrollbar{display:block}
.tpw-variant-panel--sheet .tpw-variant-list{scrollbar-width:none;padding-right:24px}
.tpw-variant-panel--sheet .tpw-variant-list::-webkit-scrollbar{display:none;width:0}

/* Stable title, features, size and stock slots; responsive row measurements may grow them without clipping text. */
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .p-title{min-height:0!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .product-label-wrapper{min-height:calc(var(--tpw-name-row,23px) + var(--tpw-heading-gap,0px))!important;padding-bottom:var(--tpw-heading-gap,0px)!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .product-label-wrapper[hidden][hidden][hidden][hidden]{display:block!important;visibility:hidden}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .specifications-wrapper{display:flex!important;flex-direction:column!important;min-height:var(--tpw-specs-row,180px)!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .specifications-wrapper>.specification:not(.tpw-search-product-size){order:0;flex:none}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .specifications-wrapper>.tpw-size-specification{order:2!important;flex:none;min-height:var(--tpw-size-row,84px)!important;margin:8px 0 12px!important;margin-top:auto!important;padding-top:8px!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-search-product-size{display:grid!important;grid-template-columns:48% minmax(0,1fr)!important;gap:4px!important;align-content:start}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-search-product-size>.specification-title{padding:0 0 0 24px!important;font:inherit!important;font-weight:400!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-search-product-size>.specification-title svg{display:block!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-search-product-size>.specification-value{display:block!important;min-height:0;padding:0!important;border:0;font:inherit!important;font-weight:700!important}
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .info-wrapper{min-height:var(--tpw-stock-row,29px)!important}
@media(max-width:991px){
 html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card{align-self:start!important}
 html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-search-product-size{gap:6px!important}
 html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .p-title{min-height:0!important}
 html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .product-label-wrapper{min-height:calc(var(--tpw-name-row,20px) + var(--tpw-heading-gap,0px))!important}
 html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .specifications-wrapper{min-height:var(--tpw-specs-row,186px)!important}
 html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .info-wrapper{min-height:var(--tpw-stock-row,22px)!important}
}

@media(min-width:992px){
html.tpw-layout-v2 .section-products .tpw-product-card.tpw-product-card.tpw-search-card .price-wrapper{min-height:var(--tpw-price-row,0px)!important;justify-content:flex-end!important}
}

/* Keep the trigger orange throughout pointer, touch and keyboard activation. */
html.tpw-layout-v2 body .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-trigger{appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;outline:2px solid transparent!important;outline-offset:2px;transition:border-color .15s,background-color .15s!important}
html.tpw-layout-v2 body .section-products .tpw-product-card.tpw-product-card.tpw-search-card .tpw-variant-trigger:is(:focus,:focus-visible,:active,[aria-expanded="true"]){outline:2px solid var(--tpw-orange)!important;outline-offset:2px!important;border-color:var(--tpw-orange)!important;background:#fff!important;color:var(--tpw-ink)!important}
/* The selected option uses the same light surface on desktop and mobile, in every interaction state. */
html body #tpw-variant-panel .tpw-variant-option{box-shadow:none!important;transition:background-color .12s,border-color .12s}
html body #tpw-variant-panel .tpw-variant-option[aria-selected="true"]:is(:hover,:active,:focus,:focus-visible){background:#fff5f0!important;border-color:var(--tpw-orange)!important;box-shadow:inset 3px 0 0 var(--tpw-orange)!important}
/* Equal mobile rows apply only to product cards mounted directly in slider slides. */
@media(max-width:991px){
 html.tpw-layout-v2 body .section-products .swiper-slide>.tpw-product-card.tpw-product-card.tpw-search-card{height:100%!important;align-self:stretch!important;grid-template-rows:auto auto auto auto minmax(0,1fr)!important}
 html.tpw-layout-v2 body .section-products .swiper-slide>.tpw-product-card.tpw-product-card.tpw-search-card .tpw-search-product-link{align-self:start!important}
 html.tpw-layout-v2 body .section-products .swiper-slide>.tpw-product-card.tpw-product-card.tpw-search-card .p-title{min-height:var(--tpw-title-row,42px)!important}
 html.tpw-layout-v2 body .section-products .swiper-slide>.tpw-product-card.tpw-product-card.tpw-search-card .product-label-wrapper{min-height:var(--tpw-name-row,20px)!important;padding-bottom:0!important}
 html.tpw-layout-v2 body .section-products .swiper-slide>.tpw-product-card.tpw-product-card.tpw-search-card>.detail-wrapper{align-self:end!important}
 html.tpw-layout-v2 body .section-products .swiper-slide>.tpw-product-card.tpw-product-card.tpw-search-card .price-wrapper{min-height:var(--tpw-price-row,24px)!important;justify-content:flex-end!important}
}
