/* Review-only layout; existing production content and component styles retained. */
#car-tire-design .hero{height:261px}
#car-tire-design .hero h1{font-size:30px;line-height:40px;letter-spacing:0}
#car-tire-design .hero-guide{position:relative;z-index:5;margin-top:8px;font-size:13px;line-height:20px;color:#505c66}
#car-tire-design .hero em{color:#00afff}
#car-tire-design .mx-banner-cta{text-decoration:none;margin-top:8px}
#car-tire-design .mx-common{border-top:8px solid #f2f4f6}
#car-tire-design .mx-site-footer{padding-bottom:130px}
#model-tabs{display:flex;gap:20px;position:relative;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:0 20px;border-bottom:1px solid #e9edf0;scroll-padding:20px}
#model-tabs button{white-space:nowrap;flex:none;font-size:15px;font-weight:600;padding:12px 0;min-height:48px;border-bottom:3px solid transparent;color:#6d7882}
#model-tabs button[aria-selected=true]{color:#1a2128;border-bottom-color:#00afff}
#size-select{width:100%;min-height:44px;padding:8px 12px;background:#fff;border:1px solid #dfe4e8;border-radius:8px;font:inherit;font-size:15px;font-weight:600}
#size-select:disabled{color:#8e98a0;background:#f2f4f6}
[data-selector=tabs] .selection{padding-top:0}
[data-selector=tabs] .size-line{margin-top:6px}
@media(max-width:350px){#car-tire-design .hero{height:241px}#car-tire-design .hero h1{font-size:26px;line-height:36px}#car-tire-design .hero-guide{font-size:12px}#model-tabs{margin:0 -16px;padding:0 16px}}

[data-selector=tabs] .size-line{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin:8px 0}
[data-selector=tabs] #size-select{min-width:0;width:100%;padding:8px;font-size:14px}
#car-tire-design .fitment-note{margin-top:8px}
@media(max-width:350px){#positioning-map-root{margin-left:-16px;margin-right:-16px}}
.pm-svg,.pm-gap-svg{max-width:100%}

#show-all-products{width:100%;min-height:44px;border:1px solid #dfe4e8;border-radius:8px;margin:8px 0 12px;font-size:14px;font-weight:600;background:#fff}

#car-tire-design .pm-sample-note{margin:0 16px 10px;font-size:11px;line-height:17px;color:#6d7882}

/* Keep image assets intact; crop the source logo using the production window ratio. */
#car-tire-design .cars{bottom:16px;right:4px}
#car-tire-design .cars .car{bottom:6px;object-position:center bottom}
#car-tire-design .cars .car-one{left:calc(17% - 50px);bottom:26px;width:28.991519928%}
#car-tire-design .cars .car-two{left:calc(29% - 33px);bottom:16px;width:33.443788752%}
#car-tire-design .cars .car-three{left:calc(41% - 16px);width:54.646714%;transform:translateY(2.415459%)}
#car-tire-design .hero-tire-group{position:absolute;right:-16px;bottom:-18px;width:47.082449%;aspect-ratio:221/194;z-index:4}
#car-tire-design .hero-tire-window{position:absolute;inset:0;overflow:hidden}
#car-tire-design .hero-tire-window .hero-tire{position:absolute;right:0;bottom:0;width:100%;height:auto;aspect-ratio:1;display:block}

.model-tabs-shell{--tab-inline-padding:20px;position:relative;margin:0 -20px;background:#fff}
.model-tabs-shell #model-tabs{margin:0;padding:0 20px;scroll-padding:44px;overscroll-behavior-x:contain}
.model-tabs-shell.has-overflow #model-tabs{padding:0 44px}
#model-tabs button[aria-selected=true]{font-weight:700}
.model-tabs-arrow{position:absolute;top:0;bottom:1px;width:44px;min-height:48px;z-index:2;display:flex;align-items:center;justify-content:center;color:#b5bdc4}
.model-tabs-arrow.is-left{left:0;background:linear-gradient(90deg,#fff 62%,#ffffff00)}
.model-tabs-arrow.is-right{right:0;background:linear-gradient(270deg,#fff 62%,#ffffff00)}
@media(max-width:350px){.model-tabs-shell{--tab-inline-padding:16px;margin:0 -16px}.model-tabs-shell #model-tabs{padding:0 16px}.model-tabs-shell.has-overflow #model-tabs{padding:0 44px}}

/* Ratios preserve the reviewed 390px composition relative to the tire group. */
#car-tire-design .hero-recommend-badge{position:absolute;right:20.28857%;bottom:73.67%;width:31.496%;height:auto;z-index:5}

/* Product text flows together, independently of the image column height. */
#car-tire-design .product{grid-template-columns:86px minmax(0,1fr);gap:12px;padding:12px 0;min-height:124px;align-items:center}
#car-tire-design .product-visual{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
#car-tire-design .product-visual .corner-label{position:absolute;left:0;top:auto;bottom:0;white-space:nowrap;z-index:2}
#car-tire-design .product-visual .product-image{display:block;width:86px;height:90px;object-fit:contain}
#car-tire-design .product-info{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;row-gap:8px;align-items:start}
#car-tire-design .product-copy{grid-column:1;grid-row:1;align-self:start}
#car-tire-design .product h3{max-width:none}
#car-tire-design .price-block{grid-column:2;grid-row:1;align-self:start}
#car-tire-design .coupon-label{display:block;font-size:12px;line-height:18px;color:#00afff;font-weight:600}
#car-tire-design .price-bottom{display:flex;justify-content:flex-end;align-items:baseline;gap:5px}
#car-tire-design .price-block .discount{margin:0;color:#00afff}
#car-tire-design .product-copy .reason{margin:8px 0 0;font-size:11px;line-height:17px}
@media(max-width:350px){#car-tire-design .product{grid-template-columns:72px minmax(0,1fr);gap:8px}#car-tire-design .product-visual .product-image{width:72px;height:86px}#car-tire-design .product-info{column-gap:6px}#car-tire-design .price-block strong{font-size:22px}}


#car-tire-design #selected-model-context{font-size:12px;line-height:18px;color:#505c66;margin:10px 0 6px}
#car-tire-design #products>.product:first-child{border-top:0}
#car-tire-design .coupon-note{border-top:0}

#car-tire-design #size-select,#car-tire-design #model{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23505c66' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}
#car-tire-design #size-select:disabled{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e98a0' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}

/* Full-width list groups, with content gutters inside each clickable cell. */
#car-tire-design #recommendation{--list-inset:20px}
#car-tire-design #products,#car-tire-design #more-products{margin-inline:calc(-1 * var(--list-inset))}
#car-tire-design #recommendation .product{padding-inline:var(--list-inset)}
#car-tire-design #recommendation .card-click{border-radius:0}
#car-tire-design #recommendation .empty{padding-inline:var(--list-inset)}
@media(max-width:350px){#car-tire-design #recommendation{--list-inset:16px}}

/* Inset separators preserve full-width hover and click targets. */
#car-tire-design #recommendation .product{border-top:0}
#car-tire-design #products>.product+.product::before,
#car-tire-design #more-products>.product::before{content:"";position:absolute;top:0;left:var(--list-inset);right:var(--list-inset);height:1px;background:#e9edf0;pointer-events:none}
#car-tire-design #recommendation .price-block strong{font-size:20px;line-height:28px}

#car-tire-design #profile{padding-bottom:24px}

#car-tire-design .app-nav{color:#1a2128}
#car-tire-design #product-detail .solid{display:block;text-align:center;color:#fff}

/* The actual landing page owns the content; the shell owns close and app CTA. */
#car-tire-design #product-detail{padding:0;width:min(500px,calc(100% - 32px));height:min(900px,calc(100dvh - 32px));max-width:none;max-height:none;overflow:hidden;background:#fff;box-sizing:border-box}
#car-tire-design #product-detail[open]{display:flex;flex-direction:column}
#product-detail .detail-close{position:absolute;z-index:5;top:max(12px,env(safe-area-inset-top));right:12px;width:44px;height:44px;display:grid;place-items:center;border:1px solid #e7e9ed;border-radius:50%;background:rgba(255,255,255,.96);color:#454b55;box-shadow:0 2px 10px #1722321f;padding:0;cursor:pointer}
#product-detail .detail-close:focus-visible{outline:2px solid #169cec;outline-offset:2px}
#product-detail #detail-content{flex:1;min-height:0;position:relative;margin:0}
#product-detail .detail-landing{overflow:hidden}
#product-detail .detail-viewport{position:absolute;inset:0;overflow:hidden}
#product-detail iframe.detail-media{display:block;border:0;width:100%;height:calc(100% + var(--detail-crop));position:absolute;top:calc(-1 * var(--detail-crop));left:0;background:#fff}
#product-detail .detail-image-viewport{overflow:auto;overscroll-behavior:contain}
#product-detail .detail-image-viewport img{width:100%;height:auto;display:block}
#product-detail .detail-footer{flex:none;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eff0f2;z-index:2}
#car-tire-design #product-detail .detail-footer .solid{margin:0;min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-size:16px}
#product-detail .detail-load-state{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:64px 24px;text-align:center;background:#fff;color:#626873;font-size:14px;line-height:1.6}
#product-detail .detail-load-state[hidden],#product-detail .detail-load-state button[hidden]{display:none}
#product-detail .detail-load-state button{padding:10px 16px;border:1px solid #ddd;border-radius:8px;background:#fff}
#product-detail .detail-summary{padding:64px 24px 24px;overflow:auto;overscroll-behavior:contain}
@media(max-width:540px){#car-tire-design #product-detail{width:100%;height:100dvh;max-width:100%;max-height:100dvh;inset:0;margin:0;border-radius:0}}

