/* Owner's photograph stays beneath the whole storefront, including its outer frame. */
html:has(body.photo-catalog){background:#dce5ef;isolation:isolate}
html:has(body.photo-catalog)::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#e9f0f752,#e9f0f752),url("assets/store-watermark.png") center center/cover no-repeat}
body.photo-catalog{--store-frame:1cm;width:calc(100% - 2 * var(--store-frame));max-width:1800px;margin:var(--store-frame) auto;min-height:calc(100vh - 2 * var(--store-frame));background:rgba(255,255,255,.72);border:1px solid #ffffffad;border-radius:14px;box-shadow:0 12px 50px #082b4d26}
.photo-catalog .app-masthead{border-radius:13px 13px 0 0}
.photo-catalog footer{border-radius:0 0 13px 13px}
.photo-catalog .catalog-section{background:transparent}
.photo-catalog .tire-table-row{background:rgba(255,255,255,.38)}
.photo-catalog .tire-table-row:hover{background:rgba(242,247,252,.78)}
.photo-catalog .cart-summary{max-width:calc(100% - 2 * var(--store-frame));margin-inline:auto}
@media(max-width:600px){
 html:has(body.photo-catalog)::before{background-position:right center}
 .photo-catalog .container{width:calc(100% - 20px)}
 .photo-catalog .app-masthead-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .photo-catalog .app-identity{grid-column:1/-1;grid-row:1}
 .photo-catalog .app-phone{grid-column:1;grid-row:2;justify-self:start}
 .photo-catalog .app-phone b{font-size:14px}
 .photo-catalog .app-hours{grid-column:2;grid-row:2;justify-self:end}
 .photo-catalog .app-hours span{flex-direction:column;gap:2px}
 .photo-catalog .masthead-booking{grid-column:1/-1;grid-row:3;justify-self:stretch;margin:0}
 .photo-catalog .header-inner{gap:6px;flex-wrap:wrap}
 .photo-catalog .header nav{gap:10px;font-size:11px}
 .photo-catalog .header-actions{gap:0}
 .photo-catalog .cart-label{display:none}
 .photo-catalog .hero h1{font-size:25px;letter-spacing:-.6px}
 .photo-catalog .tabs{flex-wrap:wrap}
 .photo-catalog .tabs .tab{flex:1 1 45%;font-size:11px}
 .photo-catalog .tabs .fitting-tab{flex-basis:100%}
 .photo-catalog .search-fields,.photo-catalog .car-fields:has(.homologation-filter){grid-template-columns:repeat(2,minmax(0,1fr))}
 .photo-catalog .search-fields select{font-size:13px}
 .photo-catalog .search-button{min-width:0;font-size:12px;padding-inline:5px}
 .photo-catalog .quick-search input{width:100%;min-width:0}
 .photo-catalog .sort-label{flex-wrap:wrap}
 .photo-catalog .sort-label select{min-width:0;max-width:100%}
 .photo-catalog .tire-table-row{grid-template-columns:minmax(0,1fr) 80px}
 .photo-catalog .table-product{min-width:0;align-items:flex-start}
 .photo-catalog .table-product-name b{overflow-wrap:anywhere}
 .photo-catalog .table-price{font-size:14px}
 .photo-catalog .table-stock{font-size:12px}
 .photo-catalog .table-actions .button{font-size:10px;padding:6px 4px}
 .photo-catalog .table-size{padding-left:0;flex-wrap:wrap}
}
@media(max-width:360px){
 .photo-catalog .table-product{grid-column:1/-1;grid-row:1}
 .photo-catalog .table-price{grid-column:2;grid-row:2}
 .photo-catalog .table-size{grid-column:1;grid-row:2;font-size:11px}
 .photo-catalog .table-eu{grid-column:1;grid-row:3;padding-left:0}
 .photo-catalog .table-season{grid-column:2;grid-row:3}
 .photo-catalog .table-stock{grid-column:2;grid-row:4}
 .photo-catalog .table-delivery{grid-column:1/-1;grid-row:5}
 .photo-catalog .table-actions{grid-column:1/-1;grid-row:6}
}
@media print{html:has(body.photo-catalog)::before{display:none}body.photo-catalog{width:100%;max-width:none;margin:0;border:0;box-shadow:none;background:#fff}}

/* Only useful destinations are shown; all menu entries remain reachable on phones. */
.photo-catalog .header nav a[hidden]{display:none!important}
.photo-catalog .header nav a{color:#09244c;border-bottom:2px solid transparent;padding-block:8px}
.photo-catalog .header nav a[aria-current="location"]{color:#0067c8;border-bottom-color:#0067c8}
.photo-catalog #service-prices,.photo-catalog #storage,.photo-catalog #tire-knowledge{scroll-margin-top:75px}
@media(max-width:1120px){
 .photo-catalog .header-inner{flex-wrap:wrap;padding-block:5px}
 .photo-catalog .header nav{flex-wrap:wrap;gap:3px 14px}
 .photo-catalog .header nav a:nth-child(n+4){display:block}
}
@media(max-width:600px){
 .photo-catalog .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto}
 .photo-catalog .header nav{display:flex;gap:2px 12px;min-width:0}
 .photo-catalog .header nav a{padding-block:5px}
}

/* Owner-selected brands stay conspicuous against the workshop photograph. */
.photo-catalog .tire-table-row.featured-brand{
 --brand-accent:#123e65;--brand-wash:#edf4fc;
 background:linear-gradient(100deg,var(--brand-wash),#fff 70%);
 border:1px solid #b6cce2;border-left:6px solid var(--brand-accent);
 border-radius:8px;margin:7px 0;padding:12px 10px;min-height:104px;
 box-shadow:0 3px 10px #0b2c4510;
}
.photo-catalog .tire-table-row.featured-firestone{--brand-accent:#b41427;--brand-wash:#fff0ed;border-color:#e8bbb7;border-left-color:var(--brand-accent)}
.photo-catalog .tire-table-row.featured-brand:hover{background:linear-gradient(100deg,var(--brand-wash),#fff);box-shadow:0 4px 15px #0b2c4522}
.photo-catalog .featured-brand .table-product{gap:12px;align-items:center}
.photo-catalog .featured-brand .table-product-name{align-items:flex-start;gap:7px;overflow:visible;min-width:0}
.photo-catalog .featured-brand .brand-recommendation{display:inline-block;max-width:100%;box-sizing:border-box;padding:5px 8px;background:var(--brand-accent);color:#fff;border-radius:4px;font:700 10px/1.25 Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;text-align:left;white-space:normal}
.photo-catalog .featured-brand .brand-logo{width:126px;height:30px;max-width:100%;max-height:30px;object-fit:contain;object-position:left center}
.photo-catalog .featured-brand .table-product-name b{font-size:16px;font-weight:800;line-height:1.2;color:#102c46}
.photo-catalog .featured-brand .product-photo-button{width:64px;min-width:64px;height:72px;background:#fff;border-radius:5px}
.photo-catalog .featured-brand .product-photo-button>img{width:62px;height:70px;max-height:70px}
.photo-catalog .featured-brand.out-of-stock{background:#f4f5f7!important;box-shadow:none;border-color:#cbd1d9;border-left-color:#7b8795}
.photo-catalog .featured-brand.out-of-stock .brand-recommendation{background:#556473}
@media(max-width:1120px){
 .photo-catalog .tire-table-row.featured-brand{padding:12px 10px}
 .photo-catalog .featured-brand .brand-logo{width:116px}
 .photo-catalog .featured-brand .table-product{grid-column:1/-1;grid-row:1}
 .photo-catalog .featured-brand .table-size{grid-column:1;grid-row:2;padding-left:0}
 .photo-catalog .featured-brand .table-price{grid-column:2;grid-row:2}
 .photo-catalog .featured-brand .table-eu{grid-column:1;grid-row:3;padding-left:0}
 .photo-catalog .featured-brand .table-season{grid-column:2;grid-row:3}
 .photo-catalog .featured-brand .table-stock{grid-column:2;grid-row:4}
 .photo-catalog .featured-brand .table-delivery{grid-column:1;grid-row:4}
 .photo-catalog .featured-brand .table-actions{grid-column:1/-1;grid-row:5}
}

/* Collection-only policy, visible before ordering. */
.pickup-only-notice{display:block;margin:16px 0;padding:14px 16px;border:1px solid #c4d3e2;border-left:5px solid #df001b;border-radius:8px;background:#f1f6fb;color:#15334d;text-align:left;line-height:1.5}
.pickup-only-notice strong{display:block;font-size:16px;font-weight:800;color:#15334d}
.pickup-only-notice p{margin:5px 0 0;font-size:14px;color:#15334d}

/* Seven spacious offers per page, with the same layout on every catalog page. */
.photo-catalog .tire-table-row{min-height:116px;padding-block:16px;border-bottom:1px solid #bdcfe1;background:rgba(255,255,255,.92)}
.photo-catalog .tire-table-row.featured-brand{min-height:116px;padding-block:16px}
.photo-catalog .table-product .product-photo-button{width:70px;min-width:70px;height:80px}
.photo-catalog .table-product .product-photo-button>img{width:68px;height:78px;max-height:78px;object-fit:contain}
.photo-catalog .table-product-name b{font-size:16px;line-height:1.3}
.photo-catalog .table-size{font-size:15px;line-height:1.4}
.photo-catalog .table-price,.photo-catalog .variant-group .table-price{font-size:19px;line-height:1.3}
.photo-catalog .table-stock{font-size:15px}
.photo-catalog .table-actions .button{min-height:44px;font-size:12px;line-height:1.3}
.photo-catalog .catalog-pages{padding:18px 12px;margin:20px 0;background:#f0f5fc;border:1px solid #bdcfe1;border-radius:10px;font-weight:700}
.photo-catalog .catalog-pages button{min-height:46px}
@media(min-width:1121px) and (max-width:1500px){
 .photo-catalog .tire-table-heading,.photo-catalog .tire-table-row{grid-template-columns:minmax(170px,1.7fr) 0px 145px 60px 60px 115px 80px minmax(85px,.8fr) 240px;column-gap:6px}
}
@media(min-width:1501px){
 .photo-catalog .tire-table-heading,.photo-catalog .tire-table-row{grid-template-columns:minmax(230px,2fr) minmax(100px,1fr) 158px 70px 75px 125px 85px minmax(100px,1fr) 310px}
}
@media(max-width:1120px){
 .photo-catalog .tire-table-row,.photo-catalog .tire-table-row.featured-brand{padding:16px 12px;row-gap:12px}
 .photo-catalog .table-product{grid-column:1/-1;grid-row:1}
 .photo-catalog .table-size{grid-column:1;grid-row:2;padding-left:0}
 .photo-catalog .table-price,.photo-catalog .featured-brand .table-price{grid-column:2;grid-row:2;font-size:19px}
 .photo-catalog .table-eu{grid-column:1;grid-row:3;padding-left:0}
 .photo-catalog .table-season{grid-column:2;grid-row:3}
 .photo-catalog .table-stock{grid-column:2;grid-row:4}
 .photo-catalog .table-delivery{grid-column:1;grid-row:4}
 .photo-catalog .table-actions{grid-column:1/-1;grid-row:5}
 .photo-catalog .tire-table-row{grid-template-columns:minmax(0,1fr) 110px}
 .photo-catalog .catalog-pages{gap:8px;padding:12px 8px}
 .photo-catalog .catalog-pages button{padding:10px 8px}
}
