/* Tire detail pages reuse the catalogue header and purchase component. */
/* Shared surface tokens for both detail panels; matches the catalogue cards. */
body.tyre-product-redesign{--tyre-card-surface:linear-gradient(180deg,#FFFFFF 0%,#FAFAFA 48%,#F0F1F3 100%);--tyre-card-border:1px solid #D2D9E0;--tyre-card-shadow:0 4px 12px rgba(31,41,55,0.06)}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign{background:#e5ebf0;color:#263540;font-family:Arial,Helvetica,sans-serif}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-layout>tbody>tr{grid-template-columns:minmax(0,1fr)}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-layout>tbody>tr>td:last-child{width:100%!important;min-width:0}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-main,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-main>table{width:100%!important}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tyre-product-sizes{max-width:100%;overflow-x:auto}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tyre-product-sizes .tbl_list{border-collapse:collapse;background:#fff}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tyre-product-sizes .tbl_list td{padding:12px 10px;border-color:#e3e9ee;background:none}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tyre-product-sizes .tbl_list tr:first-child{background:#f1f5f8}
@media(max-width:1199px){
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .content>tbody>tr>td>table,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .content>tbody>tr>td>table>tbody,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .content>tbody>tr>td>table>tbody>tr{display:block;width:100%!important;min-width:0;box-sizing:border-box}
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign>table,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign>table>tbody,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign>table>tbody>tr,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign>table>tbody>tr>td{display:block;width:100%!important;box-sizing:border-box;min-width:0}
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign>table>tbody>tr>td:first-child{display:none}
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-main>table{display:block;max-width:100%;box-sizing:border-box}
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-layout,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-layout>tbody,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-layout>tbody>tr,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-layout>tbody>tr>td{display:block;width:100%!important;box-sizing:border-box;min-width:0}
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-layout>tbody>tr>td.internal-sidebar{display:none}

}
@media(max-width:600px){
 body.tyre-product-redesign #byoneclick{box-sizing:border-box;width:calc(100% - 24px);max-width:380px;left:50%;margin-left:0;transform:translateX(-50%);padding:16px}
 body.tyre-product-redesign #byoneclick .cart{width:100%;padding:0;box-sizing:border-box}
 body.tyre-product-redesign #byoneclick .info>div:not(.error){display:flex;flex-direction:column;align-items:stretch}
 body.tyre-product-redesign #byoneclick input{box-sizing:border-box;max-width:100%}
}
/* Product detail: presentation only; catalogue cards and purchase rules are unchanged. */
body.tyre-product-redesign .internal-page-content{background:transparent;box-shadow:none;border:0}
body.tyre-product-redesign .tp-breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:4px 0 16px;color:#75818c;font:13px/1.5 Arial,Helvetica,sans-serif}
body.tyre-product-redesign .tp-breadcrumbs a{color:#667581;text-decoration:none}
body.tyre-product-redesign .tp-back{display:inline-block;margin:0 0 8px;color:#657583;font-size:13px}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tyre-product-card{display:grid;background:#fff;border:1px solid #e0e6eb;box-sizing:border-box;grid-template-columns:minmax(240px,1.05fr) minmax(260px,1.15fr) minmax(240px,.85fr);grid-template-rows:auto 1fr;grid-template-areas:"photo heading buy" "photo specs buy";align-items:start;gap:16px 32px;padding:32px;margin:0 0 20px;border-radius:18px;box-shadow:0 8px 28px rgba(34,48,62,.055)}
body.tyre-product-redesign .tp-heading{grid-area:heading;min-width:0;padding:4px 0 12px}
body.tyre-product-redesign .tp-eyebrow{font-size:13px;color:#687987;margin-bottom:9px}
body.tyre-product-redesign .tp-heading h1{font:700 29px/1.2 Arial,Helvetica,sans-serif;color:#243443;margin:0 0 14px;overflow-wrap:anywhere}
body.tyre-product-redesign .tp-size{font:700 25px/1.35 Arial,Helvetica,sans-serif;color:#253746}
body.tyre-product-redesign .tp-size span{display:inline-block;font-size:15px;font-weight:400;color:#73808b}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .img_tovar{float:none;margin:0;padding:0;border:0;background:none;position:relative;text-align:center;box-sizing:border-box;grid-area:photo;width:100%;align-self:center;min-width:0}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .img_tovar .example-image{width:400px;height:420px;max-width:100%;object-fit:contain}
body.tyre-product-redesign .tp-image-hint{display:block;color:#84909a;font-size:12px;margin-top:12px}
body.tyre-product-redesign .tp-details{grid-area:specs;min-width:0}
body.tyre-product-redesign .tp-details h2{font:600 15px/1.4 Arial,Helvetica,sans-serif;margin:0 0 10px;color:#334656}
body.tyre-product-redesign .tp-details .chars{font:15px/1.65 Arial,Helvetica,sans-serif;color:#52616d}
body.tyre-product-redesign .tp-details .chars>div:not(.site-product-stock){padding:10px 0;border-bottom:1px solid #eaf0f3;background:none}
body.tyre-product-redesign .tp-details .chars b{color:#344552;font-weight:600}
body.tyre-product-redesign .tp-details .chars a{color:inherit;text-decoration:none}
body.tyre-product-redesign .tp-details .chars a:hover{color:#d52730}
body.tyre-product-redesign .tp-details .chars .site-stock-legacy{display:none}
body.tyre-product-redesign .tp-details .site-product-stock{margin:15px 0 0!important;padding:0!important;align-items:flex-start!important;text-align:left!important;width:auto!important;font-size:13px}
body.tyre-product-redesign .tp-details .site-product-stock__title{font-size:13px}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase{grid-area:buy;display:block!important;align-self:stretch;width:auto!important;min-width:0;padding:24px!important;background:#f3f6f8;border:1px solid #e8edf1!important;border-radius:14px;box-sizing:border-box}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket{width:100%!important;margin:0!important;padding:0!important;text-align:left}
body.tyre-product-redesign .tp-price-caption{font-size:13px;color:#697986;margin-bottom:9px}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .cost{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;text-align:left!important;color:#788591;margin:0 0 14px!important;line-height:1.2}
body.tyre-product-redesign .tp-purchase .cost b{font:700 40px/1.15 Arial,Helvetica,sans-serif;color:#223442}
body.tyre-product-redesign .tp-purchase .cost span{font-size:12px}
body.tyre-product-redesign .tp-purchase .site-product-stock{align-items:flex-start!important;text-align:left!important;margin:0 0 20px!important;padding:0!important;width:auto!important;gap:5px;font-size:13px}
body.tyre-product-redesign .tp-purchase .site-product-stock__title{display:none}
body.tyre-product-redesign .tp-purchase .site-product-stock__term,body.tyre-product-redesign .tp-purchase .site-product-stock__count{font-size:13px!important;line-height:1.5}
body.tyre-product-redesign .tp-quantity-label{display:block;font-size:12px;color:#6c7a86;margin:0 0 7px}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket .tp-quantity{display:flex!important;width:128px!important;height:40px;border:1px solid #dce3e9;border-radius:8px;background:#fff;overflow:hidden;margin:0 0 15px;box-sizing:border-box}
body.tyre-product-redesign .tp-quantity button{border:0;background:transparent;width:36px;flex-shrink:0;color:#394e60;font-size:21px;cursor:pointer}
body.tyre-product-redesign .tp-quantity button:hover{background:#eaf0f4}
body.tyre-product-redesign .tp-quantity input{width:54px;min-width:0;border:0;background:#fff;text-align:center;font:600 15px Arial;padding:0;appearance:textfield;-moz-appearance:textfield;box-sizing:border-box}
body.tyre-product-redesign .tp-quantity input::-webkit-inner-spin-button,body.tyre-product-redesign .tp-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket .butgray{display:flex!important;justify-content:center;align-items:center;width:100%!important;height:46px!important;box-sizing:border-box;margin:0 0 10px!important;text-decoration:none;white-space:nowrap;font-size:13px!important}
body.tyre-product-redesign .tp-set-price{border-top:1px solid #dfe6eb;margin-top:18px;padding-top:16px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:12px;color:#697a88}
body.tyre-product-redesign .tp-set-price strong{font-size:15px;color:#344958}
body.tyre-product-redesign .tp-set-price small{font-size:10px;line-height:1.5;width:100%;color:#86929c}
body.tyre-product-redesign .tp-question{padding-top:18px;font:12px/1.6 Arial,Helvetica,sans-serif;color:#72808b}
body.tyre-product-redesign .tp-hit-note{font-size:12px;color:#b12a31;margin-top:12px}
body.tyre-product-redesign .tp-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px 12px;background:#fff;border:1px solid #e1e7ec;border-radius:12px;margin-bottom:24px}
body.tyre-product-redesign .tp-services>a,body.tyre-product-redesign .tp-services>span{display:flex;justify-content:center;align-items:center;gap:12px;padding:4px 10px;color:#405361;text-decoration:none;font:600 14px/1.4 Arial,Helvetica,sans-serif;border-right:1px solid #e9edf0}
body.tyre-product-redesign .tp-services>:last-child{border:0}
body.tyre-product-redesign .tp-services a:hover{color:#ce2730}
body.tyre-product-redesign .tp-services>*>span{color:#8b99a6;font-size:20px;font-weight:400}
body.tyre-product-redesign .tp-description{padding:28px 32px;background:#fff;border:1px solid #e1e7ec;border-radius:14px;color:#5b6a76;font:15px/1.8 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
body.tyre-product-redesign .tp-description h2{margin:0 0 16px;font-size:21px;line-height:1.4;color:#293e4f}
body.tyre-product-redesign .tp-description>div{max-width:900px}
body.tyre-product-redesign .tp-description img{max-width:100%;height:auto}
body.tyre-product-redesign .tp-purchase a:focus-visible,body.tyre-product-redesign .tp-quantity :focus-visible{outline:2px solid #be2930;outline-offset:2px}
@media(max-width:1100px){
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tyre-product-card{grid-template-columns:minmax(0,1fr) minmax(230px,1fr);grid-template-areas:"heading heading" "photo buy" "specs specs";padding:24px;gap:20px}
 body.tyre-product-redesign .tp-heading{padding:0}
 body.tyre-product-redesign .tp-details .chars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
 body.tyre-product-redesign .tp-details .chars .site-product-stock{grid-column:1/-1}
}
@media(max-width:600px){
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .internal-page-content{padding:0;background:transparent}
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tyre-product-card{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "photo" "buy" "specs";padding:20px 16px;gap:20px;border-radius:14px;margin:0 0 16px}
 body.tyre-product-redesign .tp-heading h1{font-size:25px;margin-bottom:10px}
 body.tyre-product-redesign .tp-size{font-size:23px}
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .img_tovar .example-image{width:290px;height:300px}
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase{grid-row:auto!important;padding:20px!important}
 body.tyre-product-redesign .tp-details .chars{display:block}
 body.tyre-product-redesign .tp-services{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 6px;gap:12px 0}
 body.tyre-product-redesign .tp-services>a,body.tyre-product-redesign .tp-services>span{font-size:12px;gap:8px;padding:4px}
 body.tyre-product-redesign .tp-services>:nth-child(2){border:0}
 body.tyre-product-redesign .tp-description{padding:20px;font-size:14px}
 body.tyre-product-redesign .tp-breadcrumbs{font-size:12px;gap:6px}
}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase{grid-area:buy!important}
body.tyre-product-redesign .tp-purchase .site-product-stock,body.tyre-product-redesign .tp-details .site-product-stock{display:flex!important;flex-direction:column}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket>div.tp-quantity{display:flex!important}
body.tyre-product-redesign .tp-purchase .site-product-stock__count{color:#27834f;font-weight:600}
body.tyre-product-redesign .tp-purchase .site-product-stock__count:before{content:none!important}

body.tyre-product-redesign .img_tovar a{display:block;padding:0;border:0;background:none;box-shadow:none}
body.tyre-product-redesign .tp-purchase span.butgray{opacity:.5;cursor:not-allowed}
/* Isolate detail children from the catalogue's mobile purchase grid. */
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket{display:block!important}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket>div:not(.cost){display:block!important;grid-column:auto;grid-row:auto}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket>div.tp-quantity{display:flex!important}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket>div.site-product-stock{display:flex!important;flex-direction:column;gap:5px}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket>div.tp-set-price{display:flex!important;margin-top:18px!important}

/* Compact stock indicator and clearer purchase hierarchy. */
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .cost b{font:700 40px/1.15 Arial,Helvetica,sans-serif;color:#203342;letter-spacing:-1px}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket>div.site-product-stock{gap:4px;margin:14px 0 18px!important}
body.tyre-product-redesign .tp-purchase .site-product-stock__term{display:flex;align-items:center;gap:7px;color:#317c52!important;font-weight:600!important}
body.tyre-product-redesign .tp-purchase .site-product-stock__term:before{content:""!important;display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor}
body.tyre-product-redesign .tp-purchase .site-product-stock__count{font-weight:400!important;color:#657580!important}
body.tyre-product-redesign .tp-details .chars{font-size:15px;color:#52616d;line-height:1.65}
body.tyre-product-redesign .tp-quantity input:invalid{outline:1px solid #cd2832}
@media(max-width:600px){
 body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .cost b{font-size:36px}
 body.tyre-product-redesign .tp-details .chars{font-size:14px}
}body.tyre-product-redesign .tp-purchase:not(.tp-stock-ready) .site-product-stock__term{color:#697986!important}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .cost b{font-size:40px!important;line-height:1.15!important}
body.tyre-product-redesign .tp-details .chars>div:not(.site-product-stock),body.tyre-product-redesign .tp-details .chars>div:not(.site-product-stock) b{font-size:15px!important;line-height:1.65!important}
@media(max-width:600px){body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .cost b{font-size:36px!important}}
/* Product photo label uses the existing AtomAx hit flag. */
body.tyre-product-redesign .img_tovar .example-image-link{position:relative;width:100%;max-width:420px;margin:0 auto}
body.tyre-product-redesign .tp-hit-badge{position:absolute;z-index:2;top:12px;left:12px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:165px;height:44px;border-radius:8px;background:linear-gradient(135deg,#ef303b,#cd1522);box-shadow:0 4px 10px rgba(171,25,38,.2);color:#fff;font:600 15px/1 Arial,Helvetica,sans-serif;letter-spacing:.35px;pointer-events:none}
@media(max-width:600px){body.tyre-product-redesign .img_tovar .example-image-link{max-width:310px}body.tyre-product-redesign .tp-hit-badge{width:132px;height:35px;border-radius:7px;top:8px;left:8px;font-size:12px}}
body.tyre-product-redesign .tp-supply-note{margin:10px 0 14px;color:#657580;font:12px/1.5 Arial,Helvetica,sans-serif}body.tyre-product-redesign .tp-supply-note[hidden]{display:none!important}
/* Detail availability: retain AtomAx status and hit text, without a stock panel. */
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .tp-has-hit>div.site-product-stock{margin-bottom:8px!important}
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase .at_basket>div.tp-hit-note{display:flex!important;align-items:center;gap:8px;margin:0 0 20px;padding:0;border:0;background:none;box-shadow:none;animation:none;color:#c51b30;font:600 14px/1.5 Arial,Helvetica,sans-serif}
body.tyre-product-redesign .tp-purchase .tp-hit-note svg{flex:0 0 18px}

/* Surface only: keep panel geometry, radii and purchase controls intact. */
body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tyre-product-card,body.catalog-redesign.tyres-results-redesign.tyre-product-redesign .tp-purchase{background:var(--tyre-card-surface);border:var(--tyre-card-border)!important;box-shadow:var(--tyre-card-shadow)}
