/* AUTOPAINT presentation only. Native forms, validation, cart and pricing remain authoritative. */
.ap-store{--ap-black:#151515;--ap-red:#df1e28;--ap-yellow:#ffd321;--ap-line:#e4e4e4;--ap-grey:#f5f5f5;font-family:Arial,Helvetica,sans-serif;color:var(--ap-black);background:#fff;font-size:14px;line-height:1.55}
.ap-store a{color:inherit;text-decoration:none}.ap-store a:hover{color:var(--ap-red)}.ap-store img{max-width:100%;height:auto}.ap-store h1,.ap-store h2,.ap-store h3,.ap-store h4,.ap-store .ap-eyebrow,.ap-store .ap-quicknav{font-family:"Arial Narrow","Bahnschrift Condensed",Arial,sans-serif;font-weight:800;letter-spacing:-.025em;color:var(--ap-black)}
.ap-store h1{font-size:clamp(26px,3vw,43px);line-height:1.12}.ap-store h2{font-size:clamp(24px,2.4vw,34px);line-height:1.2}.ap-store .container{max-width:1320px}.ap-store :focus-visible{outline:3px solid var(--ap-yellow);outline-offset:3px}.ap-store .ap-skip{position:absolute;left:16px;top:-80px;z-index:99999;padding:12px;background:var(--ap-yellow);color:#111}.ap-store .ap-skip:focus{top:12px}
.ap-store .ap-header{background:#fff;border-top:4px solid var(--ap-black)}.ap-store .ap-header-main{min-height:194px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,2fr) auto auto;gap:25px;align-items:center}.ap-store .ap-brand{display:flex;flex-direction:column;align-items:center;line-height:1;color:#111}.ap-store .ap-header .ap-brand{grid-column:2;grid-row:1}.ap-store .ap-brand img{width:min(100%,560px);max-height:174px;object-fit:contain}.ap-store .ap-brand strong{font-size:clamp(27px,4vw,52px);font-style:italic;font-weight:900;letter-spacing:-3px}.ap-store .ap-brand strong span{color:var(--ap-red)}.ap-store .ap-brand small{font-size:10px;letter-spacing:2px;margin-top:8px}.ap-store .ap-search{grid-column:1;grid-row:1;margin:0}.ap-store #search .input-group{border:1px solid #ddd;border-radius:0}.ap-store #search .form-control{border:0;box-shadow:none;min-height:44px;font-size:13px;background:#fff}.ap-store #search button{background:#fff;color:#111;border:0;padding:12px}.ap-store .ap-account{font-size:11px;display:flex;flex-direction:column;align-items:center;gap:8px;white-space:nowrap}.ap-store .ap-account i{font-size:23px}.ap-store .ap-cart>.dropdown{margin:0}.ap-store #cart .btn{background:#fff;border:0;color:#111;border-radius:0;text-shadow:none;box-shadow:none;padding:12px;font-size:12px}.ap-store #cart .btn i{font-size:22px}.ap-store #cart .dropdown-menu{border-radius:0;min-width:320px;max-width:90vw;color:#111;background:#fff;z-index:1100;box-shadow:0 15px 35px #0002}
.ap-store .ap-nav{background:#202020;color:#fff;position:relative;z-index:20}.ap-store .ap-nav-inner{display:flex;align-items:center;gap:23px;min-height:62px;position:relative}.ap-store .ap-nav a:hover{color:var(--ap-yellow)}.ap-store .ap-all-categories{position:static;flex-shrink:0}.ap-store .ap-all-categories summary{list-style:none;cursor:pointer;font-weight:800;text-transform:uppercase;font-size:12px;display:flex;gap:10px;align-items:center;min-height:62px}.ap-store .ap-all-categories summary::-webkit-details-marker{display:none}.ap-store .ap-all-categories[open] summary{color:var(--ap-yellow)}.ap-store .ap-megamenu{position:absolute;top:100%;left:12px;right:12px;background:#fff;color:#111;box-shadow:0 15px 35px #0002;border-top:3px solid var(--ap-yellow);padding:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-height:65vh;overflow:auto}.ap-store .ap-megamenu>div{display:flex;flex-direction:column;gap:6px}.ap-store .ap-megamenu a{font-size:12px}.ap-store .ap-megamenu .ap-category-parent{font-weight:800;text-transform:uppercase;font-size:13px}.ap-store .ap-megamenu a:hover{color:var(--ap-red)}.ap-store .ap-quicknav{display:flex;align-items:center;gap:20px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin}.ap-store .ap-quicknav a{color:#fff;font-size:12px;letter-spacing:.01em;text-transform:uppercase;white-space:nowrap;line-height:1.2}.ap-store .ap-nav-contact{font-size:12px;white-space:nowrap}
.ap-store .ap-original-banner{padding-top:24px}.ap-store .ap-original-banner img{display:block;width:100%;height:auto}.ap-store .ap-hero{background:#151515;color:#fff;overflow:hidden}.ap-store .ap-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center;min-height:460px;padding-top:38px;padding-bottom:38px}.ap-store .ap-hero h1{color:#fff;font-size:clamp(35px,4.7vw,66px);letter-spacing:-.045em;margin:15px 0 22px}.ap-store .ap-hero h1 em{font-style:normal;color:var(--ap-yellow)}.ap-store .ap-hero .ap-eyebrow{color:#fff}.ap-store .ap-hero-copy>p:not(.ap-eyebrow){max-width:400px;color:#ccc;font-size:15px}.ap-store .ap-button-yellow{background:var(--ap-yellow);color:#111;border:0;border-radius:0;font-size:13px;font-weight:800;padding:16px 22px;margin-top:16px}.ap-store .ap-hero-visual{position:relative;padding:10px 30px;background:#fff;color:#111}.ap-store .ap-hero-label{font-size:10px;letter-spacing:2px;color:#555;display:block;text-align:center;margin:8px}.ap-store .ap-hero-image{display:block;text-align:center}.ap-store .ap-hero-image img{height:290px;width:100%;object-fit:contain}.ap-store .ap-hero-product{display:flex;gap:14px;align-items:center;border-top:1px solid #ddd;padding:18px 0}.ap-store .ap-hero-product>span:first-child{flex:1}.ap-store .ap-hero-product small{display:block;font-size:9px;letter-spacing:1px}.ap-store .ap-hero-product strong{font-size:13px}.ap-store .ap-hero-price{font-weight:800;white-space:nowrap}
.ap-store .ap-eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;margin-bottom:10px}.ap-store .ap-projects{display:grid;grid-template-columns:1fr 2fr;gap:30px;align-items:center;padding:40px 0;border-bottom:1px solid var(--ap-line)}.ap-store .ap-projects h2{font-size:28px}.ap-store .ap-project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.ap-store .ap-project-grid a{display:flex;align-items:center;gap:12px;padding:20px 0;border-bottom:3px solid var(--ap-black)}.ap-store .ap-project-grid strong{font-size:13px;flex:1}.ap-store .ap-step{color:var(--ap-red);font-weight:800;font-size:21px}.ap-store .ap-selection{padding:40px 0}.ap-store .ap-section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.ap-store .ap-section-title>a{font-size:12px;border-bottom:1px solid #111;padding-bottom:5px}.ap-store .ap-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.ap-store .ap-product-card{display:flex;flex-direction:column;margin:0;border:0;border-bottom:1px solid var(--ap-line);background:#fff;border-radius:0;overflow:visible}.ap-store .ap-product-card .image{margin:0;background:#fff;aspect-ratio:1/1;display:flex;justify-content:center;align-items:center}.ap-store .ap-product-card .image img{width:100%;height:auto;max-height:290px;object-fit:contain}.ap-store .ap-product-card .content{padding:18px 0 0;display:flex;flex-direction:column;flex:1;float:none;width:100%}.ap-store .ap-product-card .description{padding:0;min-height:115px;flex:1}.ap-store .ap-product-card h4{font-size:15px;line-height:1.35;min-height:40px;margin:0 0 8px}.ap-store .ap-reference{font-size:11px;color:#777;margin-bottom:7px}.ap-store .ap-product-card .price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:15px;font-size:22px;font-weight:800;color:#111}.ap-store .ap-product-card .price small{font-size:10px;font-weight:400}.ap-store .price-old{text-decoration:line-through;color:#777;font-size:14px}.ap-store .price-tax{display:block;width:100%;font-size:12px;font-weight:400;color:#666}.ap-store .ap-product-card form{margin:0}.ap-store .ap-product-card .button{background:transparent;border:0;display:block}.ap-store .ap-product-card .button button{background:#151515;color:#fff;border:0;border-radius:0;float:none;width:100%;font-size:12px;letter-spacing:.03em;text-transform:uppercase;min-height:42px;display:flex;justify-content:center;align-items:center;gap:10px;margin:0 0 20px}.ap-store .ap-product-card .button button:hover{background:var(--ap-red)}
.ap-store .ap-account-band{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:32px;background:var(--ap-grey);margin:10px 0 50px;border-left:4px solid var(--ap-yellow)}.ap-store .ap-account-band h2{font-size:27px}.ap-store .ap-account-band p{margin-bottom:5px}.ap-store .ap-account-band .btn{border-radius:0;font-size:13px;padding:14px 20px;white-space:nowrap}.ap-store .ap-footer{background:#f3f3f3;border-top:1px solid #e7e7e7;padding:42px 0 18px;color:#333}.ap-store .ap-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px}.ap-store .ap-footer .ap-brand{align-items:flex-start;max-width:220px}.ap-store .ap-footer .ap-brand strong{font-size:32px;letter-spacing:-2px}.ap-store .ap-footer p{font-size:12px;color:#777;margin-top:22px}.ap-store .ap-footer h2{font-size:14px;text-transform:uppercase;margin-bottom:17px}.ap-store .ap-footer ul{list-style:none;margin:0;padding:0}.ap-store .ap-footer li{margin:7px 0;font-size:12px}.ap-store .ap-footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #ddd;padding-top:18px;margin-top:32px;font-size:10px;color:#777}
.ap-store .breadcrumb{padding:20px 0;margin:0 0 20px;background:#fff;border-radius:0;border:0;font-size:11px}.ap-store .breadcrumb li a{color:#777}.ap-store .breadcrumb-item+.breadcrumb-item:before{color:#bbb}.ap-store #product-info>.row>#content>.row.mb-3{gap:30px}.ap-store #product-info .magnific-popup{display:block;text-align:center;background:#fff}.ap-store #product-info .magnific-popup>a>img{width:100%;height:auto;max-height:620px;object-fit:contain;border:0;padding:0}.ap-store #product-info .magnific-popup>div img{width:75px;height:75px;object-fit:contain;border:1px solid #eee}.ap-store #product-info h1{font-size:30px;margin:0 0 18px;max-width:650px}.ap-store #product-info .list-unstyled{font-size:12px;color:#666;margin-bottom:20px}.ap-store #product-info .price-new{font-size:36px;font-weight:800;color:#111}.ap-store #product-info .rating{font-size:11px}.ap-store #product-info .rating .fa-star{color:var(--ap-yellow)}.ap-store .ap-tier-badge{display:inline-block;background:#111;color:#fff;padding:7px 12px;font-size:10px;font-weight:800;letter-spacing:1px;margin-bottom:13px}.ap-store .ap-tiers{width:100%;font-size:12px;border:1px solid #ddd;border-collapse:collapse;margin:15px 0 22px;text-align:center}.ap-store .ap-tiers caption{caption-side:top;color:#111;font-weight:800;font-size:11px;text-transform:uppercase;padding-bottom:8px}.ap-store .ap-tiers th,.ap-store .ap-tiers td{border:1px solid #ddd;padding:9px 12px}.ap-store .ap-tiers th{background:#f5f5f5}.ap-store #form-product{padding:12px 0}.ap-store #form-product label{font-size:12px;font-weight:700}.ap-store .ap-purchase{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px}.ap-store .ap-quantity{display:flex;border:1px solid #bbb;align-items:center}.ap-store .ap-quantity button{border:0;background:#fff;color:#111;min-width:38px;min-height:49px;font-size:19px}.ap-store .ap-quantity #input-quantity{border:0;border-radius:0;box-shadow:none;text-align:center;width:48px;min-height:49px;padding:8px;font-size:14px}.ap-store #button-cart{background:#111;border:1px solid #111;color:#fff;border-radius:0;font-size:14px;text-transform:uppercase;font-weight:700;text-shadow:none;box-shadow:none;min-height:51px}.ap-store #button-cart:hover{background:var(--ap-red);border-color:var(--ap-red)}.ap-store .nav-tabs{border-bottom:1px solid #ddd}.ap-store .nav-tabs .nav-link{color:#777;border-radius:0;font-size:13px;font-weight:700;padding:13px 20px}.ap-store .nav-tabs .nav-link.active{color:#111;border-top:3px solid var(--ap-black);background:#f5f5f5}.ap-store #product-info .tab-content{background:#f5f5f5;padding:25px;line-height:1.8;margin-bottom:40px;color:#444}.ap-store #product-info .tab-content img{max-width:100%;height:auto}.ap-store #product-info .tab-content h2{font-size:22px}.ap-store .btn-primary,.ap-store .btn-dark{background:#151515;border-color:#151515;color:#fff;border-radius:0;text-shadow:none;box-shadow:none}.ap-store .btn-primary:hover{background:var(--ap-red);border-color:var(--ap-red)}.ap-store .btn-light,.ap-store .btn-secondary{border-radius:0;text-shadow:none;box-shadow:none}.ap-store .form-control,.ap-store .form-select{border-radius:0;border-color:#ccc;min-height:43px;box-shadow:none;color:#111;background-color:#fff}.ap-store .form-control:focus,.ap-store .form-select:focus{border-color:#111;box-shadow:0 0 0 2px #ffd32155}.ap-store .form-check-input:checked{background-color:#111;border-color:#111}.ap-store .form-check-input:focus{box-shadow:0 0 0 2px #ffd32155}.ap-store .invalid-feedback,.ap-store .text-danger{color:#c21b24}.ap-store .table{font-size:13px;--bs-table-color:#222}.ap-store .pagination .page-link{color:#111;border-radius:0}.ap-store .pagination .active>.page-link{background:#111;border-color:#111;color:#fff}.ap-store .list-group-item{border-radius:0!important;color:#333}.ap-store .list-group-item.active{background:#111;border-color:#111;color:#fff}.ap-store #product-category h1{font-size:30px;text-transform:uppercase}.ap-store #product-category #product-list{row-gap:25px}.ap-store #checkout-cart,.ap-store [id^="account-"],.ap-store #checkout-checkout,.ap-store #information-contact{padding-bottom:45px}.ap-store .alert{border-radius:0}.ap-store .required>.form-label:before{color:var(--ap-red)}
@media(min-width:992px){.ap-store #product-category #product-list>.col{width:25%;flex:none}.ap-store #product-category #content .product-list .ap-product-card{flex-direction:row}.ap-store #product-category #content .product-list .ap-product-card .image{width:30%;flex-shrink:0}.ap-store #product-category #content .product-list .ap-product-card .content{padding:20px}}
@media(max-width:1100px){.ap-store .ap-header-main{grid-template-columns:minmax(160px,1fr) minmax(200px,1.4fr) auto auto;gap:15px;min-height:160px}.ap-store .ap-nav-inner{gap:17px}.ap-store .ap-nav-contact{display:none}.ap-store .ap-quicknav{gap:17px}.ap-store .ap-product-grid{gap:20px}.ap-store .ap-projects{grid-template-columns:1fr}.ap-store .ap-projects>div:first-child{display:none}}
@media(max-width:767px){.ap-store .ap-header-main{grid-template-columns:1fr auto auto;gap:14px;min-height:148px;padding-top:15px;padding-bottom:15px}.ap-store .ap-header .ap-brand{grid-column:1;grid-row:1}.ap-store .ap-brand img{max-height:90px;width:260px}.ap-store .ap-account{grid-column:2;grid-row:1;font-size:9px}.ap-store .ap-cart{grid-column:3;grid-row:1}.ap-store #cart .btn{font-size:10px;padding:8px}.ap-store .ap-search{grid-column:1/-1;grid-row:2;width:100%}.ap-store .ap-nav-inner{min-height:52px;gap:18px}.ap-store .ap-all-categories summary{min-height:52px;font-size:10px}.ap-store .ap-quicknav a{font-size:10px}.ap-store .ap-megamenu{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px;gap:20px}.ap-store .ap-original-banner{padding-top:12px}.ap-store .ap-hero-grid{grid-template-columns:1fr;gap:24px;padding-top:28px;padding-bottom:28px}.ap-store .ap-hero h1{font-size:38px}.ap-store .ap-hero-visual{display:none}.ap-store .ap-projects{padding:24px 0}.ap-store .ap-project-grid{gap:10px}.ap-store .ap-project-grid a{padding:12px 0;gap:5px}.ap-store .ap-project-grid strong{font-size:10px;line-height:1.35}.ap-store .ap-step{font-size:15px}.ap-store .ap-project-grid i{display:none}.ap-store .ap-selection{padding:28px 0}.ap-store .ap-section-title h2{font-size:26px}.ap-store .ap-section-title>a{font-size:10px;max-width:110px}.ap-store .ap-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 15px}.ap-store .ap-product-card h4{font-size:12px;min-height:45px}.ap-store .ap-product-card .description{min-height:116px}.ap-store .ap-product-card .price{font-size:20px}.ap-store .ap-product-card .button button{font-size:9px;gap:7px;padding:7px;min-height:43px}.ap-store .ap-reference{font-size:10px}.ap-store .ap-account-band{align-items:start;flex-direction:column;padding:22px;gap:15px;margin-bottom:30px}.ap-store .ap-account-band h2{font-size:25px}.ap-store .ap-account-band p{font-size:12px}.ap-store .ap-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.ap-store .ap-footer-grid>div:first-child{grid-column:1/-1}.ap-store .ap-footer .ap-brand strong{font-size:28px}.ap-store .ap-footer-bottom{flex-direction:column;gap:8px}.ap-store .breadcrumb{padding:17px 0;margin-bottom:10px}.ap-store #product-info>.row>#content>.row.mb-3{gap:15px}.ap-store #product-info h1{font-size:26px}.ap-store #product-info .price-new{font-size:30px}.ap-store #product-info .magnific-popup>a>img{max-height:430px}.ap-store .ap-purchase{gap:9px}.ap-store .ap-quantity button{min-width:32px}.ap-store .ap-quantity #input-quantity{width:40px}.ap-store #button-cart{font-size:12px;padding:10px}.ap-store #product-info .tab-content{padding:17px}.ap-store .ap-tiers th,.ap-store .ap-tiers td{padding:8px}.ap-store .nav-tabs .nav-link{padding:12px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.ap-store *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.ap-store .ap-photo-note{font-family:Arial,Helvetica,sans-serif;font-size:11px;font-weight:400;line-height:1.45;color:#555;text-align:center;margin:6px 0 0;letter-spacing:0;text-transform:none}.ap-store .ap-product-card .image{position:relative}.ap-store .ap-product-card .image .ap-photo-note{position:absolute;bottom:3px;left:0;right:0;padding:3px 5px;background:#ffffffe8;margin:0;pointer-events:none}.ap-store #product-info .magnific-popup .ap-photo-note{margin:12px 0 15px}.ap-store .ap-original-banner .ap-photo-note{margin:7px 0 0}

/* Readable homepage artwork: the current logo and all copy stay separate from the photo. */
.ap-store .ap-launch-hero{padding-top:24px;padding-bottom:8px}
.ap-store .ap-launch-surface{position:relative;isolation:isolate;overflow:hidden;border-radius:12px 12px 0 0;background:#141414;min-height:410px}
.ap-store .ap-launch-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.ap-store .ap-launch-surface::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#111 0%,#111e 28%,#1116 47%,#1110 65%);z-index:1;pointer-events:none}
.ap-store .ap-launch-copy{position:relative;z-index:2;width:43%;min-height:410px;padding:32px 24px;text-align:center;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}
.ap-store .ap-launch-copy h1{color:#fff;font-size:clamp(30px,3.3vw,44px);line-height:1.18;margin:0;letter-spacing:-.025em}
.ap-store .ap-launch-copy p{color:#eee;font-size:17px;line-height:1.6;margin:0;font-weight:500}
.ap-store .ap-launch-cta{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:52px;padding:12px 24px;background:var(--ap-red);color:#fff;border:1px solid var(--ap-red);border-radius:7px;font-size:15px;font-weight:800;box-shadow:0 5px 15px #0003}
.ap-store .ap-launch-cta:hover{background:#bf1020;border-color:#bf1020;color:#fff}
.ap-store .ap-launch-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px 22px;background:#fff;border:1px solid #e4e4e4;border-top:0;border-radius:0 0 12px 12px}
.ap-store .ap-launch-benefits>div{display:flex;align-items:center;justify-content:center;gap:13px;text-align:center}
.ap-store .ap-launch-benefits i{font-size:25px;color:var(--ap-red)}
.ap-store .ap-launch-benefits span{display:flex;flex-direction:column;gap:4px;min-width:0}
.ap-store .ap-launch-benefits strong{font-size:15px;line-height:1.35;color:#171717;font-weight:800}
.ap-store .ap-launch-benefits small{font-size:13px;line-height:1.4;color:#555}
.ap-store .ap-footer .ap-payment-methods{display:block;width:min(100%,250px);height:auto;max-height:none;margin:18px auto 0}
@media(max-width:767px){
 .ap-store .ap-launch-hero{padding-top:18px}
 .ap-store .ap-launch-surface{min-height:0;display:flex;flex-direction:column}
 .ap-store .ap-launch-art{position:relative;inset:auto;height:190px;object-position:right center}
 .ap-store .ap-launch-surface::after{display:none}
 .ap-store .ap-launch-copy{width:100%;min-height:0;padding:28px 18px;gap:18px}
 .ap-store .ap-launch-copy h1{font-size:32px}
 .ap-store .ap-launch-copy p{font-size:16px}
 .ap-store .ap-launch-benefits{grid-template-columns:1fr;gap:17px;padding:21px 16px}
 .ap-store .ap-launch-benefits>div+div{border-top:1px solid #eee;padding-top:17px}
}

/* Working revision: preserve the native purchase controls. */
.ap-store #container{position:static;margin-bottom:0;min-height:100vh}
.ap-store #content,.ap-store #column-left,.ap-store #column-right{padding-bottom:0}
.ap-store .ap-footer{position:static;bottom:auto;width:100%;border:0;border-top:1px solid var(--ap-line)}
.ap-store .ap-header-main{min-height:160px}
.ap-store .ap-header .ap-brand img{max-height:140px}
.ap-store .ap-original-banner{padding-top:18px}
.ap-store .ap-original-banner img{aspect-ratio:2035/590;object-fit:cover;object-position:50% 60%}
.ap-store #common-home #content.ap-selection{padding:28px 0 36px}
.ap-store .ap-projects{padding:28px 0;border-top:1px solid var(--ap-line);border-bottom:0;margin-bottom:24px}
.ap-store .ap-product-card>.ap-photo-note{margin:8px 0 0;font-size:10px;line-height:1.4}
.ap-store .ap-product-card .content{padding-top:14px}
.ap-store .ap-product-card .description{display:flex;flex-direction:column;min-height:0}
.ap-store .ap-product-card h4{min-height:62px;overflow-wrap:anywhere}
.ap-store .ap-product-card .price{margin-top:auto}
.ap-store .ap-product-card .price-tax{color:#555;font-size:13px;line-height:1.4}
.ap-store .ap-product-card .button button:disabled{background:#777;cursor:not-allowed}
.ap-store #product-info .ap-product-summary h1{text-transform:none;overflow-wrap:anywhere}
.ap-store #product-info .ap-price-ex-tax{font-size:19px;color:#333;line-height:1.5}
.ap-store #product-info .ap-product-thumbnails{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.ap-store .ap-quantity button{min-width:42px}
.ap-store .ap-quantity #input-quantity{width:44px}
.ap-store .ap-tiers{margin-top:12px}
.ap-store .ap-tiers caption{text-transform:none;font-size:13px;letter-spacing:0}
@media(min-width:992px){
  .ap-store #product-info .ap-product-overview:has(.ap-product-gallery){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;margin-left:0;margin-right:0}
  .ap-store #product-info .ap-product-overview>.col-sm{padding:0;min-width:0}
  .ap-store #product-info .magnific-popup>a>img{width:50%;max-height:310px}
  .ap-store #product-info #content:has(.ap-product-gallery)>.ap-product-tabs,
  .ap-store #product-info #content:has(.ap-product-gallery)>.ap-product-details{width:100%}
  .ap-store #product-info .ap-product-summary{border-left:1px solid var(--ap-line);padding-left:32px}
}
@media(max-width:767px){
  .ap-store .ap-header-main{min-height:148px}
  .ap-store .ap-header .ap-brand img{max-height:90px}
  .ap-store .ap-original-banner{padding-top:12px}
  .ap-store #common-home #content.ap-selection{padding:24px 0}
  .ap-store .ap-section-title{align-items:center;gap:12px}
  .ap-store .ap-section-title h2{font-size:24px}
  .ap-store .ap-product-card h4{font-size:13px;min-height:72px}
  .ap-store .ap-product-card .price{font-size:21px}
  .ap-store .ap-product-card .price-tax{font-size:11px}
  .ap-store .ap-product-card .button button{font-size:10px;min-height:44px}
  .ap-store .ap-projects{padding:20px 0;margin-bottom:20px}
  .ap-store #product-info .ap-price-ex-tax{font-size:17px}
  .ap-store #product-info .ap-product-meta{line-height:1.7}
  .ap-store .breadcrumb{display:flex;flex-wrap:wrap;gap:6px 10px}
  .ap-store .breadcrumb li{display:block;max-width:100%;padding:0;margin:0;overflow-wrap:anywhere}
  .ap-store .breadcrumb li::after{display:none}
  .ap-store .breadcrumb li+li::before{content:"›";display:inline-block;position:static;margin-right:8px;padding:0;border:0}
  .ap-store .ap-purchase{grid-template-columns:auto minmax(0,1fr);gap:10px}
  .ap-store .ap-tiers th,.ap-store .ap-tiers td{min-width:62px}
}

/* Align catalogue headings and prices with the shared storefront organisation. */
.ap-store .ap-product-card .content,
.ap-store .ap-product-card h4,
.ap-store .ap-product-card .ap-reference{ text-align:center }
.ap-store .ap-product-card .price{justify-content:center;text-align:center}
.ap-store #product-category h1,
.ap-store #product-search h1{text-align:center}
.ap-store #product-info .ap-product-summary h1{margin-left:auto;margin-right:auto;text-align:center}
.ap-store #product-info .ap-product-meta,
.ap-store #product-info .ap-product-price,
.ap-store #product-info .ap-price-ex-tax{text-align:center}
.ap-store #product-info .ap-product-summary>.ap-tier-badge{display:table;margin-left:auto;margin-right:auto}
.ap-store #product-info .ap-product-details{text-align:left}
@media(min-width:992px){
  .ap-store .ap-nav-inner{justify-content:center}
  .ap-store .ap-quicknav{flex:0 1 auto;justify-content:center;justify-content:safe center}
  .ap-store .ap-megamenu{display:block;column-count:4;column-gap:26px}
  .ap-store .ap-megamenu>div{break-inside:avoid;margin-bottom:18px}
  .ap-store .ap-section-title{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:center;text-align:center}
  .ap-store .ap-section-title>div{grid-column:2}
  .ap-store .ap-section-title>a{grid-column:3;justify-self:end}
  .ap-store .ap-projects>div:first-child,
  .ap-store .ap-account-band>div{text-align:center}
}

/* Category pages retain their title and products without the native toolbar. */
.ap-store #product-category>.breadcrumb,
.ap-store #product-category #content>.row:has(#compare-total):has(#input-sort):has(#input-limit){display:none}
.ap-store #product-category #content>h1{margin-top:24px;margin-bottom:26px}
@media(min-width:992px){
  .ap-store #product-category #content>h3:has(+.row>.col-sm-3>ul){text-align:center;margin-bottom:22px}
  .ap-store #product-category #content>h3+.row>.col-sm-3:has(>ul){width:100%;flex:none}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 28px;max-width:1080px;margin:0 auto 24px;padding:0;list-style:none;text-align:center}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li{min-width:0}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li>a{display:flex;align-items:center;justify-content:center;position:relative;width:100%;min-height:58px;padding:14px 32px;border:1px solid #e0e0e0;border-left:3px solid var(--ap-red);background:#fafafa;color:#222;font-size:14px;line-height:1.45;text-decoration:none;transition:background .16s,border-color .16s,box-shadow .16s}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li>a::after{content:"→";position:absolute;right:12px;color:var(--ap-red);font-size:18px}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li>a:hover{background:#fff;border-color:var(--ap-red);box-shadow:0 3px 12px #0000000d}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li:nth-child(1){grid-column:1;grid-row:1}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li:nth-child(2){grid-column:2;grid-row:1}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li:nth-child(3){grid-column:1;grid-row:2}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li:nth-child(4){grid-column:2;grid-row:2}
  .ap-store #product-category #content>h3+.row>.col-sm-3>ul>li:nth-child(5){grid-column:3;grid-row:1}
}

/* Six native category links, centred on the desktop homepage. */
.ap-store .ap-projects.ap-projects-steps{display:block;background:#17191a;color:#fff;padding:30px 24px;border:0;margin:0 0 24px}
.ap-store .ap-projects-steps>.ap-project-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.ap-store .ap-projects-steps .ap-project-grid a{display:flex;flex-direction:column;align-items:center;gap:12px;padding:0;border:0;color:#fff}
.ap-store .ap-projects-steps .ap-project-track{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:36px}
.ap-store .ap-projects-steps .ap-project-track::after{content:"";position:absolute;left:calc(50% + 28px);right:0;top:50%;height:1px;background:#34373a}
.ap-store .ap-projects-steps .ap-step{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:var(--ap-red);color:#fff;font-size:14px;line-height:1;font-weight:800}
.ap-store .ap-projects-steps .ap-project-grid strong{flex:none;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4;text-align:center;color:#fff}
.ap-store .ap-projects-steps .ap-project-grid a:hover strong{color:var(--ap-yellow)}
.ap-store .ap-projects-footer{padding-top:18px}
.ap-store #product-category #content>#product-list+.row>.text-end{display:none}
.ap-store .breadcrumb{display:none}
@media(min-width:992px){.ap-store #product-info{padding-top:96px}}
/* Remove secondary catalogue actions from any native module in this storefront. */
.ap-store [formaction*="wishlist.add"],
.ap-store [formaction*="compare.add"],
.ap-store a[href*="route=product/compare"],
.ap-store a[href*="route=account/wishlist"]{display:none!important}
.ap-store #product-info .tab-content img[src*="/picto/sgh"]{display:inline-block;width:100px;height:100px;max-width:100%;object-fit:contain;margin:4px;vertical-align:middle}
@media(max-width:991px){.ap-store .ap-projects-steps>.ap-project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}}
@media(max-width:575px){.ap-store .ap-projects.ap-projects-steps{padding:24px 16px}.ap-store .ap-projects-steps>.ap-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}}
/* Desktop header controls retain their native search, account and cart actions. */
@media(min-width:992px){
  .ap-store .ap-header-main{grid-template-columns:minmax(240px,1.25fr) minmax(180px,1fr) auto auto;gap:22px}
  .ap-store .ap-header .ap-brand{grid-column:1;grid-row:1}
  .ap-store .ap-header .ap-brand>img{width:92%;max-width:480px;max-height:152px}
  .ap-store .ap-header .ap-search{grid-column:2;grid-row:1}
  .ap-store .ap-header .ap-search{min-width:0}
  .ap-store .ap-header #search,.ap-store .ap-header #cart{margin:0}
  .ap-store .ap-header #search .ap-search-form{height:56px;overflow:hidden;border:1px solid #dedede;border-radius:6px;background:#fff;box-shadow:0 2px 10px #00000007;transition:border-color .16s,box-shadow .16s}
  .ap-store .ap-header #search .ap-search-form:focus-within{border-color:var(--ap-red);box-shadow:0 0 0 3px #df1e2814}
  .ap-store .ap-header #search .ap-search-form>.form-control{min-width:0;min-height:54px;padding:14px 15px;background:#fafafa;font-size:13px}
  .ap-store .ap-header #search .ap-search-form>.form-control::placeholder{color:#666}
  .ap-store .ap-header #search .ap-search-form>button{width:52px;padding:12px;background:#222;color:#fff;border-left:3px solid var(--ap-red);border-radius:0;font-size:16px}
  .ap-store .ap-header #search .ap-search-form>button:hover{background:var(--ap-red)}
  .ap-store .ap-header .ap-account,
  .ap-store .ap-header #cart>.dropdown>button.dropdown-toggle{height:56px;border:1px solid #e0e0e0;border-radius:6px;background:#fafafa;color:#222;box-shadow:0 2px 10px #00000007;transition:background .16s,border-color .16s,box-shadow .16s}
  .ap-store .ap-header .ap-account{min-width:124px;flex-direction:row;justify-content:center;gap:10px;padding:12px 14px;font-size:13px}
  .ap-store .ap-header #cart>.dropdown>button.dropdown-toggle{display:flex!important;flex-direction:row;align-items:center;justify-content:center;gap:10px;min-width:174px;padding:12px 16px;font-size:12px;line-height:1.35;white-space:nowrap}
  .ap-store .ap-quicknav a{font-size:14px}
  .ap-store .ap-header .ap-account>i,
  .ap-store .ap-header #cart>.dropdown>button.dropdown-toggle>i{font-size:24px;color:var(--ap-red)}
  .ap-store .ap-header #cart>.dropdown>button.dropdown-toggle::after{display:none}
  .ap-store .ap-header .ap-account:hover,
  .ap-store .ap-header #cart>.dropdown>button.dropdown-toggle:hover,
  .ap-store .ap-header #cart>.dropdown>button.dropdown-toggle.show{background:#fff;border-color:var(--ap-red);box-shadow:0 3px 14px #0000000d}
}

/* Autopaint footer presentation only. Desktop; native links and cookie visibility remain unchanged. */
@media (min-width: 992px) {
  .ap-store .ap-footer {
    background: #151515;
    border-top: 1px solid #292929;
    padding: 36px 0 20px;
    color: #292929;
  }
  .ap-store .ap-footer .ap-footer-grid {
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }
  .ap-store .ap-footer .ap-footer-grid > div {
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #e7e7e4;
    border-radius: 6px;
    overflow-wrap: anywhere;
  }
  .ap-store .ap-footer .ap-footer-grid > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .ap-store .ap-footer .ap-footer-grid > div:first-child .ap-brand {
    align-items: center;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
  .ap-store .ap-footer .ap-footer-grid > div:first-child p {
    max-width: 260px;
    margin: 20px auto 0;
    color: #676767;
    font-size: 13px;
    line-height: 1.8;
  }
  .ap-store .ap-footer h2 {
    position: relative;
    margin: 0 0 13px;
    padding-bottom: 13px;
    color: #bd2026;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .025em;
  }
  .ap-store .ap-footer h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #bd2026;
  }
  .ap-store .ap-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .ap-store .ap-footer li {
    margin: 0;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
  }
  .ap-store .ap-footer li > a:not([hidden]),
  .ap-store .ap-footer li > .vc-cookie-preferences:not([hidden]) {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 7px 8px;
    margin: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #474747;
    font: inherit;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .ap-store .ap-footer li > a:not([hidden]):hover,
  .ap-store .ap-footer li > .vc-cookie-preferences:not([hidden]):hover {
    background: #fff3f2;
    color: #a91c22;
  }
  .ap-store .ap-footer .ap-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #333;
    color: #c8c8c8;
    font-size: 11px;
    line-height: 1.6;
  }
  .ap-store .ap-footer .ap-footer-bottom > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .ap-store .ap-footer .ap-footer-bottom > a {
    color: #ddd;
    text-underline-offset: 3px;
  }
  .ap-store .ap-footer .ap-footer-bottom > a:hover {
    color: #fff;
  }
}

/*
 * Autopaint desktop header only. Mirrors the five-second Visioncolor reflection
 * in header-reflection-complete.css; the original visible PNG stays unchanged.
 * Both existing AP PNGs are 2172 x 724. The footer's transparent copy supplies
 * only the alpha mask, so the sweep stays on the logo rather than its white box.
 * Relative URL assumes this snippet is appended to catalog/view/stylesheet/autopaint.css.
 */
@media (min-width: 992px) {
  .ap-store .ap-header .ap-brand:has(> img) {
    position: relative;
    isolation: isolate;
  }
  @supports ((mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000))) {
    .ap-store .ap-header .ap-brand:has(> img)::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 92%;
      max-width: 480px;
      aspect-ratio: 2172 / 724;
      max-height: 152px;
      transform: translate(-50%, -50%);
      z-index: 1;
      pointer-events: none;
      -webkit-mask-image: url('../image/logo-footer-transparent.png');
      mask-image: url('../image/logo-footer-transparent.png');
      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;
      -webkit-mask-size: contain;
      mask-size: contain;
      -webkit-mask-position: center;
      mask-position: center;
      background-image: linear-gradient(112deg, transparent 40%, rgb(255 255 255 / 0) 45%, rgb(255 255 255 / .16) 48.5%, rgb(255 255 255 / .30) 50%, rgb(255 255 255 / .12) 51.5%, transparent 55%, transparent 60%);
      background-repeat: no-repeat;
      background-size: 300% 100%;
      background-position: 200% 50%;
      opacity: 0;
      animation: apHeaderLogoReflection 7s ease-in-out infinite;
    }
  }
  @keyframes apHeaderLogoReflection {
    0%, 15% { background-position: 200% 50%; opacity: 0; }
    16% { opacity: 1; }
    65% { background-position: -100% 50%; opacity: 1; }
    68%, 100% { background-position: -100% 50%; opacity: 0; }
  }
}
@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .ap-store .ap-header .ap-brand:has(> img)::after {
    animation: none;
    display: none;
  }
}

/* Autopaint search results presentation. */
.ap-store #product-search #content>.row:has(label[for="input-search"]),
.ap-store #product-search #content>.row:has(#input-search),
.ap-store #product-search #content>.row:has(#button-search),
.ap-store #product-search #content>.row:has(#button-search)+hr,
.ap-store #product-search #content>#display-control{display:none}
.ap-store #product-search #content>h1{margin:0 0 22px;text-align:center;font-size:32px}
.ap-store #product-search #content>h2{margin:0 0 32px;text-align:center;font-size:26px}
.ap-store #product-search #content>#product-list+.row>.text-end{display:none}
.ap-store #product-search #content>h2+p{text-align:center}
@media(min-width:992px){.ap-store #product-search{padding-top:56px}}
/* A blank search opens a useful invitation; the native form handles submissions. */
.ap-store #product-search .ap-search-panel{max-width:720px;margin:0 auto 36px;padding:32px;border:1px solid var(--ap-line);border-radius:12px;background:#fff;box-shadow:0 8px 28px #00000007;text-align:center}
.ap-store #product-search .ap-search-panel-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:18px;border-radius:14px;background:#fff0f1;color:var(--ap-red);font-size:22px}
.ap-store #product-search .ap-search-message{margin:0 0 8px;font-weight:800;font-size:20px;line-height:1.4}
.ap-store #product-search .ap-search-hint{margin:0 auto 24px;max-width:560px;color:#666;line-height:1.65}
.ap-store #product-search .ap-search-panel-form{display:flex;align-items:stretch;gap:12px;width:100%;margin:0}
.ap-store #product-search .ap-search-panel-form .form-control{flex:1;min-width:0;height:54px;margin:0;border:1px solid #ddd;border-radius:8px;background:#fafafa;font-size:14px}
.ap-store #product-search .ap-search-panel-form .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:12px 22px;border:1px solid var(--ap-black);border-radius:8px;background:var(--ap-black);color:#fff;font-weight:800;white-space:nowrap}
.ap-store #product-search .ap-search-panel-form .btn:hover{border-color:var(--ap-red);background:var(--ap-red)}
@media(max-width:575px){.ap-store #product-search .ap-search-panel{padding:24px 18px}.ap-store #product-search .ap-search-panel-form{flex-direction:column}.ap-store #product-search .ap-search-panel-form .btn{width:100%}}
/* Desktop AP product cards only: group title/reference/prices without reserved empty title space. */
@media (min-width: 992px) {
  .ap-store .ap-product-card {
    min-width: 0;
    border: 1px solid #e5e5e3;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 10px #00000003;
    transition: border-color .16s, box-shadow .16s;
  }
  .ap-store .ap-product-card:hover {
    border-color: #d6d6d2;
    box-shadow: 0 6px 20px #00000009;
  }
  .ap-store .ap-product-card > .content {
    min-width: 0;
    padding: 14px 16px 18px;
    justify-content: flex-start;
    text-align: center;
  }
  .ap-store .ap-product-card > .content > .description {
    margin: 0;
    flex: 0 0 auto;
    min-height: 0;
    padding: 0;
    gap: 0;
  }
  .ap-store .ap-product-card .description > h4 {
    min-height: 0;
    margin: 0;
    color: #252525;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .ap-store .ap-product-card .description > h4 > a {
    color: inherit;
    text-decoration: none;
  }
  .ap-store .ap-product-card .description > h4 > a:hover {
    color: #bd2026;
  }
  .ap-store .ap-product-card .description > .ap-reference {
    margin: 7px 0 10px;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .02em;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .ap-store .ap-product-card .description > .price {
    justify-content: center;
    align-items: baseline;
    gap: 4px 6px;
    margin: 0;
    color: #171717;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
  }
  .ap-store .ap-product-card .description > .price > .price-new {
    font-size: inherit;
    font-weight: inherit;
  }
  .ap-store .ap-product-card .description > .price > .price-old {
    color: #888;
    font-size: 14px;
    font-weight: 400;
  }
  .ap-store .ap-product-card .description > .price > small {
    color: #555;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
  }
  .ap-store .ap-product-card .description > .price > .price-tax {
    width: 100%;
    margin-top: 1px;
    color: #777;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
  }
  .ap-store .ap-product-card > .content > form {
    margin: 16px 0 0;
  }
  .ap-store .ap-product-card > .content > form .button {
    position: static;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .ap-store .ap-product-card > .content > form .button > button {
    min-height: 48px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #171717;
    border-radius: 6px;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .025em;
    white-space: normal;
    transition: background .16s, border-color .16s, box-shadow .16s;
  }
  .ap-store .ap-product-card > .content > form .button > button:not(:disabled) {
    background: #171717;
    color: #fff;
  }
  .ap-store .ap-product-card > .content > form .button > button:not(:disabled):hover {
    background: #bd2026;
    border-color: #bd2026;
    box-shadow: 0 3px 10px #bd20261a;
  }
  .ap-store .ap-product-card > .content > form .button > button:disabled {
    background: #ededeb;
    border-color: #dededb;
    color: #777;
    box-shadow: none;
    cursor: not-allowed;
  }
}

/* Desktop project navigation: full-width background with a slimmer band. */
@media(min-width:992px){
  .ap-store .container.ap-projects-footer{width:100%;max-width:none;padding-left:0;padding-right:0}
  .ap-store .ap-projects-footer>.ap-projects.ap-projects-steps{padding:22px 0}
  .ap-store .ap-projects-footer .ap-project-grid{width:100%;max-width:1320px;margin:0 auto;padding:0 24px}
}
@media(min-width:992px){.ap-store .ap-footer .ap-footer-grid p,.ap-store .ap-footer .ap-footer-grid li,.ap-store .ap-footer .ap-footer-bottom{font-weight:700}}
@media(min-width:992px){.ap-store .ap-header .ap-account,.ap-store .ap-header #cart>.dropdown>button.dropdown-toggle{font-weight:700}}
/* Desktop AP purchase panel only. Native fields, prices, validation and options remain intact. */
@media (min-width: 992px) {
  .ap-store #product-info .ap-product-overview > .ap-product-summary {
    min-width: 0;
    align-self: start;
    padding: 24px;
    border: 1px solid #e5e5e3;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 16px #00000005;
    overflow-wrap: anywhere;
  }
  .ap-store #product-info .ap-product-summary > h1 {
    max-width: 100%;
    margin: 0 0 14px;
    color: #252525;
    font-size: clamp(27px, 2.1vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
  }
  .ap-store #product-info .ap-product-summary > .ap-product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px 9px;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
  }
  .ap-store #product-info .ap-product-summary > .ap-product-meta > li {
    min-width: 0;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid #eeeeeb;
    border-radius: 4px;
    background: #fafaf9;
    overflow-wrap: anywhere;
  }
  .ap-store #product-info .ap-product-summary > .rating {
    margin-top: 12px;
    text-align: center;
  }
  .ap-store #product-info .ap-product-summary > .ap-tier-badge {
    margin: 14px auto 0;
    padding: 7px 11px;
    border: 1px solid #f2d6d5;
    border-radius: 4px;
    background: #fff3f2;
    color: #ad1f25;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .025em;
  }
  .ap-store #product-info .ap-product-summary > .ap-product-price {
    margin: 18px 0 0;
    padding: 17px 0;
    border-top: 1px solid #eeeeeb;
    border-bottom: 1px solid #eeeeeb;
    text-align: center;
  }
  .ap-store #product-info .ap-product-summary .ap-product-price h2 {
    margin: 0;
    color: #171717;
    line-height: 1.2;
  }
  .ap-store #product-info .ap-product-summary .ap-product-price .price-new {
    color: #171717;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
  }
  .ap-store #product-info .ap-product-summary .ap-product-price h2 > small {
    color: #555;
    font-size: 12px;
    font-weight: 600;
  }
  .ap-store #product-info .ap-product-summary .ap-product-price .price-old {
    color: #888;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
  }
  .ap-store #product-info .ap-product-summary .ap-product-price .ap-price-ex-tax {
    margin-top: 6px;
    color: #777;
    font-size: 15px;
    line-height: 1.5;
  }
  .ap-store #product-info .ap-product-summary #form-product {
    padding: 20px 0 0;
  }
  .ap-store #product-info .ap-product-summary #form-product .ap-purchase {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
  }
  .ap-store #product-info .ap-product-summary .ap-quantity {
    min-width: 0;
    border: 1px solid #dededb;
    border-radius: 6px;
    background: #fafaf9;
  }
  .ap-store #product-info .ap-product-summary .ap-quantity button {
    min-width: 42px;
    min-height: 54px;
    padding: 0;
    border-radius: 5px;
    background: transparent;
    color: #292929;
    font-size: 20px;
    line-height: 1;
  }
  .ap-store #product-info .ap-product-summary .ap-quantity button:not(:disabled):hover {
    background: #fff3f2;
    color: #bd2026;
  }
  .ap-store #product-info .ap-product-summary .ap-quantity button:disabled {
    color: #a1a1a1;
    cursor: not-allowed;
  }
  .ap-store #product-info .ap-product-summary .ap-quantity #input-quantity {
    width: 46px;
    min-width: 0;
    min-height: 54px;
    padding: 8px 4px;
    background: #fff;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
  }
  .ap-store #product-info .ap-product-summary #button-cart {
    min-width: 0;
    min-height: 56px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .025em;
    white-space: normal;
    transition: background .16s, border-color .16s, box-shadow .16s;
  }
  .ap-store #product-info .ap-product-summary #button-cart:not(:disabled) {
    border-color: #171717;
    background: #171717;
    color: #fff;
  }
  .ap-store #product-info .ap-product-summary #button-cart:not(:disabled):hover {
    border-color: #bd2026;
    background: #bd2026;
    box-shadow: 0 3px 12px #bd202619;
  }
  .ap-store #product-info .ap-product-summary #button-cart:disabled {
    border-color: #dededb;
    background: #ededeb;
    color: #777;
    box-shadow: none;
    cursor: not-allowed;
  }
}

/*
 * Desktop Autopaint product details. Append after existing autopaint.css rules.
 * Bootstrap alone controls which tab pane is visible. Description HTML,
 * pictograms, safety text, documents and the separate CLP block are untouched.
 */
@media (min-width: 992px) {
  .ap-store #product-info #content > .ap-product-tabs {
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    margin: 8px 0 18px;
    padding: 0;
    border-bottom: 0;
  }
  .ap-store #product-info #content > .ap-product-tabs > .nav-item {
    margin: 0;
  }
  .ap-store #product-info #content > .ap-product-tabs > .nav-item > .nav-link {
    min-width: 164px;
    min-height: 50px;
    margin: 0;
    padding: 13px 24px 13px 21px;
    border: 1px solid #e0e0dd;
    border-left: 4px solid transparent;
    border-radius: 6px;
    background: #fafafa;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: color .16s, background .16s, border-color .16s, box-shadow .16s;
  }
  .ap-store #product-info #content > .ap-product-tabs > .nav-item > .nav-link:not(.active):hover {
    border-color: #bd2026;
    border-left-color: #bd2026;
    background: #fff;
    color: #a91c22;
    box-shadow: 0 3px 12px #00000007;
  }
  .ap-store #product-info #content > .ap-product-tabs > .nav-item > .nav-link.active {
    border-color: #171717;
    border-left-color: #bd2026;
    background: #171717;
    color: #fff;
    box-shadow: 0 3px 12px #0000000b;
  }
  .ap-store #product-info #content > .ap-product-tabs > .nav-item > .nav-link:focus-visible {
    outline: 2px solid #bd2026;
    outline-offset: 3px;
  }
  .ap-store #product-info #content > .ap-product-details {
    width: 100%;
    min-width: 0;
    margin: 0 0 36px;
    padding: 28px 32px;
    border: 1px solid #e5e5e3;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 10px #00000003;
    color: #333;
    font-size: 14px;
    line-height: 1.85;
    text-align: left;
  }
  .ap-store #product-info #content > .ap-product-details #tab-description > p {
    margin-bottom: 18px;
  }
  .ap-store #product-info #content > .ap-product-details #tab-description > ul,
  .ap-store #product-info #content > .ap-product-details #tab-description > ol {
    margin-bottom: 20px;
    padding-left: 24px;
  }
  .ap-store #product-info #content > .ap-product-details #tab-description > ul > li,
  .ap-store #product-info #content > .ap-product-details #tab-description > ol > li {
    margin-bottom: 5px;
  }
  .ap-store #product-info #content > .ap-product-details #tab-review #form-review > h2 {
    margin: 24px 0 20px;
    font-size: 26px;
    line-height: 1.3;
  }
  .ap-store #product-info #content > .ap-product-details #tab-review #form-review .form-control {
    padding: 11px 14px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
  }
  .ap-store #product-info #content > .ap-product-details #tab-review #button-review {
    min-height: 48px;
    padding: 11px 24px;
    border-radius: 6px;
    border-color: #171717;
    background: #171717;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    transition: background .16s, border-color .16s;
  }
  .ap-store #product-info #content > .ap-product-details #tab-review #button-review:not(:disabled):hover {
    border-color: #bd2026;
    background: #bd2026;
  }
  .ap-store #product-info #content > .ap-product-details #tab-review #button-review:focus-visible {
    outline: 2px solid #bd2026;
    outline-offset: 3px;
  }
}

.ap-store .ap-footer .ap-footer-bottom{justify-content:center;text-align:center;flex-wrap:wrap}.ap-store .ap-footer .ap-footer-bottom>span{flex-basis:100%}
/* A clear product divider and a stock badge based on native availability. */
@media(min-width:992px){
 .ap-store #product-info .ap-product-overview:has(.ap-product-gallery){gap:36px;align-items:center}
 .ap-store #product-info .ap-product-overview>.ap-product-summary{border-left:3px solid #ed1c24;padding:28px;box-shadow:0 8px 24px #00000007}
 .ap-store #product-info .ap-product-meta>.ap-stock-meta{padding:0;border:0;background:transparent}
 .ap-store #product-info .ap-stock-badge{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:6px 11px;border-radius:20px;border:1px solid #e2e2df;background:#f6f6f4;color:#555;font-weight:700;line-height:1.4}
 .ap-store #product-info .ap-stock-badge.ap-stock-available{border-color:#cce8d4;background:#edf8f0;color:#23623a}
}
/* AP desktop cards: reserve two title lines, share actual row heights without clipping content. */
@media (min-width: 992px) {
  .ap-store .ap-product-card .description > h4 {
    min-height: 2.9em;
    line-height: 1.45;
    margin: 0;
    text-align: center;
  }
  .ap-store .ap-product-card .description > .ap-reference {
    min-height: 1.5em;
    margin: 12px 0 14px;
    text-align: center;
  }
  .ap-store .ap-product-card .description > .price {
    min-height: 54px;
    justify-content: center;
    align-content: start;
    margin: 0;
    text-align: center;
  }
  .ap-store .ap-product-card > .content > form .button > button {
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  /* Chrome/Firefox subgrid keeps every item in a visual row aligned even when
     a title or reference wraps beyond the baseline. No ellipsis or line clamp. */
  @supports (grid-template-rows: subgrid) {
    .ap-store .ap-product-grid,
    .ap-store :is(#product-category, #product-search, #product-special) #product-list:not(.product-list) {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      grid-auto-flow: row;
      grid-auto-rows: auto;
      row-gap: 0;
      align-items: stretch;
    }
    .ap-store :is(#product-category, #product-search, #product-special) #product-list:not(.product-list) > .col {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
      row-gap: 0;
      width: auto;
      min-width: 0;
      align-items: stretch;
    }
    .ap-store .ap-product-grid > .ap-product-card,
    .ap-store :is(#product-category, #product-search, #product-special) #product-list:not(.product-list) > .col > .ap-product-card {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
      row-gap: 0;
      height: auto;
      min-width: 0;
    }
    .ap-store .ap-product-grid > .ap-product-card {
      margin-bottom: 28px;
    }
    .ap-store :is(#product-category, #product-search, #product-special) #product-list:not(.product-list) > .col > .ap-product-card {
      grid-row: 1 / -1;
    }
    .ap-store :is(.ap-product-grid, #product-list:not(.product-list)) .ap-product-card > .image {
      grid-row: 1;
    }
    .ap-store :is(.ap-product-grid, #product-list:not(.product-list)) .ap-product-card > .ap-photo-note {
      grid-row: 2;
    }
    .ap-store :is(.ap-product-grid, #product-list:not(.product-list)) .ap-product-card > .content {
      display: grid;
      grid-row: 3 / span 4;
      grid-template-rows: subgrid;
      row-gap: 0;
      align-items: stretch;
    }
    .ap-store :is(.ap-product-grid, #product-list:not(.product-list)) .ap-product-card > .content > .description {
      display: grid;
      grid-row: 1 / span 3;
      grid-template-rows: subgrid;
      row-gap: 0;
      margin: 0;
      align-items: start;
    }
    .ap-store :is(.ap-product-grid, #product-list:not(.product-list)) .ap-product-card .description > h4 {
      grid-row: 1;
    }
    .ap-store :is(.ap-product-grid, #product-list:not(.product-list)) .ap-product-card .description > .ap-reference {
      grid-row: 2;
    }
    .ap-store :is(.ap-product-grid, #product-list:not(.product-list)) .ap-product-card .description > .price {
      grid-row: 3;
    }
    .ap-store :is(.ap-product-grid, #product-list:not(.product-list)) .ap-product-card > .content > form {
      grid-row: 4;
      align-self: end;
    }
  }
}

/* Native account/logout links share one aligned header group. */
.ap-store .ap-header .ap-account-actions{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;grid-column:3;grid-row:1}
.ap-store .ap-header .ap-account-actions>.ap-account{margin:0}
.ap-store .ap-header .ap-logout:focus-visible{outline:2px solid var(--ap-red);outline-offset:3px}
@media(min-width:992px){
 .ap-store .ap-header-main:has(.ap-logout){grid-template-columns:minmax(180px,1fr) minmax(180px,1.1fr) auto auto;gap:16px}
 .ap-store .ap-header .ap-logout{min-width:132px}
}
@media(max-width:767px){.ap-store .ap-header .ap-account-actions{grid-column:2;grid-row:1}}
@media(max-width:991px){
 .ap-store .ap-header-main:has(.ap-logout){grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:0;padding-top:16px;padding-bottom:16px}
 .ap-store .ap-header-main:has(.ap-logout)>.ap-brand{grid-column:1;grid-row:1;min-width:0}
 .ap-store .ap-header-main:has(.ap-logout)>.ap-brand>img{max-height:90px;width:min(100%,260px)}
 .ap-store .ap-header-main:has(.ap-logout)>.ap-cart{grid-column:2;grid-row:1;min-width:0}
 .ap-store .ap-header-main:has(.ap-logout)>.ap-account-actions{grid-column:1/-1;grid-row:2;justify-self:center;width:min(100%,440px)}
 .ap-store .ap-header-main:has(.ap-logout)>.ap-account-actions>.ap-account{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;padding:10px;border:1px solid #e0e0e0;border-radius:6px;background:#fafafa;color:#222;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap}
 .ap-store .ap-header-main:has(.ap-logout)>.ap-account-actions>.ap-account>i{font-size:18px;color:var(--ap-red)}
 .ap-store .ap-header-main:has(.ap-logout)>.ap-account-actions>.ap-account:hover{background:#fff;border-color:var(--ap-red)}
 .ap-store .ap-header-main:has(.ap-logout)>.ap-search{grid-column:1/-1;grid-row:3;min-width:0;width:100%}
}

/* AP login: highlight the existing registration action only. */
.ap-store #account-login .ap-login-actions>.vc-auth-switch.ap-register-cta{justify-content:center;text-align:center;background:#df1e28;border-color:#df1e28;color:#fff;font-weight:800}
.ap-store #account-login .ap-login-actions>.vc-auth-switch.ap-register-cta>i{color:#fff}
.ap-store #account-login .ap-login-actions>.vc-auth-switch.ap-register-cta:hover{background:#bd1720;border-color:#bd1720;color:#fff}
.ap-store #account-login .ap-login-actions>.vc-auth-switch.ap-register-cta:focus-visible{outline:3px solid #171717;outline-offset:3px}
/* Only the dashboard heading back link; logout and other account pages keep theirs. */
.ap-store #account-account>.vc-account-back{display:none}

/* Guest registration: three equal-height controls, scoped to the AP header. */
.ap-store .ap-header .ap-register-header:focus-visible{outline:2px solid var(--ap-red);outline-offset:3px}
@media(min-width:992px){
  .ap-store .ap-header-main:has(.ap-register-header){grid-template-columns:minmax(180px,1fr) minmax(180px,1.1fr) auto auto;gap:16px}
  .ap-store .ap-header .ap-register-header{min-width:120px}
}
@media(max-width:991px){
  .ap-store .ap-header-main:has(.ap-register-header){grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px 8px;min-height:0;padding-top:16px;padding-bottom:16px}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-brand{grid-column:1/-1;grid-row:1;min-width:0;justify-self:center}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-brand>img{max-height:90px;width:min(100%,260px)}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-account-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1;grid-row:2;gap:8px;width:100%;min-width:0;height:48px;align-items:stretch;align-self:stretch}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-account-actions>.ap-account:not(.ap-register-header){grid-column:1;grid-row:1}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-account-actions>.ap-register-header{grid-column:2;grid-row:1}
  .ap-store .ap-header-main:has(.ap-register-header)>#cart.ap-cart{grid-column:2;grid-row:2;width:100%;min-width:0;height:48px;margin:0;align-self:stretch}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-account-actions>.ap-account,
  .ap-store .ap-header-main:has(.ap-register-header)>#cart.ap-cart>.dropdown>button.dropdown-toggle{display:flex!important;align-items:center;justify-content:center;flex-direction:row;gap:5px;width:100%;height:48px;min-width:0;margin:0;padding:7px 4px;border:1px solid #e0e0e0;border-radius:6px;background:#fafafa;color:#222;font-size:11px;font-weight:700;line-height:1.25;white-space:normal;box-sizing:border-box}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-account-actions>.ap-account i,
  .ap-store .ap-header-main:has(.ap-register-header)>#cart.ap-cart>.dropdown>button.dropdown-toggle i{flex:none;font-size:17px;color:var(--ap-red)}
  .ap-store .ap-header-main:has(.ap-register-header)>#cart.ap-cart>.dropdown>button.dropdown-toggle>span{min-width:0;overflow-wrap:anywhere}
  .ap-store .ap-header-main:has(.ap-register-header)>#cart.ap-cart>.dropdown>button.dropdown-toggle::after{display:none}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-account-actions>.ap-account:hover,
  .ap-store .ap-header-main:has(.ap-register-header)>#cart.ap-cart>.dropdown>button.dropdown-toggle:hover{background:#fff;border-color:var(--ap-red);color:var(--ap-red)}
  .ap-store .ap-header-main:has(.ap-register-header)>.ap-search{grid-column:1/-1;grid-row:3;min-width:0;width:100%}
}
