/* SPPAUTO Tema 01 — Precision / Product Detail P2.1
   Shared header + footer shell only. Product detail body intentionally remains legacy for staged redesign. */

.precision-product-detail-theme{
  --precision-red:#e30613;
  --precision-ink:#111315;
  --precision-line:#dfe2e4;
  --precision-max:1440px;
}
.precision-product-detail-theme .site-header,
.precision-product-detail-theme .site-header *:not(svg):not(path),
.precision-product-detail-theme .precision-footer-premium,
.precision-product-detail-theme .precision-footer-premium *{
  box-sizing:border-box;
}
.precision-product-detail-theme .site-header a,
.precision-product-detail-theme .precision-footer-premium a{color:inherit;text-decoration:none}
.precision-product-detail-theme .site-header button,
.precision-product-detail-theme .site-header input{font:inherit}
.precision-product-detail-theme .site-header img,
.precision-product-detail-theme .precision-footer-premium img{display:block;max-width:100%}
.precision-product-detail-theme .site-header .wrap,
.precision-product-detail-theme .precision-footer-premium.wrap,
.precision-product-detail-theme .precision-footer-premium .wrap{
  width:min(calc(100% - 72px),var(--precision-max));
  margin-inline:auto;
}

/* Approved HF51 header */
.precision-product-detail-theme .site-header,
.precision-product-detail-theme .site-header.scrolled,
.precision-product-detail-theme .site-header.site-header--compact{
  height:auto!important;
  min-height:0!important;
  position:sticky!important;
  top:0!important;
  z-index:1000!important;
  overflow:visible!important;
  background:rgba(255,255,255,.96)!important;
  color:#111315!important;
  backdrop-filter:blur(14px)!important;
  border-bottom:1px solid rgba(17,19,21,.08)!important;
  font-family:"Aptos","Segoe UI","Helvetica Neue",Arial,sans-serif!important;
}
.precision-product-detail-theme .site-header .nav{
  width:min(calc(100% - 72px),var(--precision-max));
  height:88px!important;
  min-height:88px!important;
  margin-inline:auto;
  padding:0!important;
  display:grid!important;
  grid-template-columns:188px minmax(360px,1fr) auto!important;
  align-items:center!important;
  gap:30px!important;
}
.precision-product-detail-theme .site-header .logo{
  min-width:0!important;
  top:auto!important;
  position:static!important;
  display:block!important;
}
.precision-product-detail-theme .site-header .logo img,
.precision-product-detail-theme .site-header.scrolled .logo img,
.precision-product-detail-theme .site-header.site-header--compact .logo img{
  width:168px!important;
  max-width:168px!important;
  height:auto!important;
  transform:none!important;
}
.precision-product-detail-theme .site-header .desktop-nav,
.precision-product-detail-theme .site-header .mobile-menu{display:none!important}
.precision-product-detail-theme .site-header .header-sppmatch-search{position:relative;max-width:700px;width:100%;justify-self:center}
.precision-product-detail-theme .site-header .header-search-shell{height:48px;border:1px solid #dfe3e5;background:rgba(248,249,249,.86);display:grid;grid-template-columns:auto 1px 1fr 48px;align-items:center;transition:border-color .2s,background .2s,box-shadow .2s}
.precision-product-detail-theme .site-header .header-search-shell:focus-within{background:#fff;border-color:#c3c9cc;box-shadow:0 12px 34px rgba(17,19,21,.09)}
.precision-product-detail-theme .site-header .header-sppmatch-brand{padding:0 16px;font-size:16px;letter-spacing:-.045em;font-weight:500;white-space:nowrap;color:#202427}
.precision-product-detail-theme .site-header .header-sppmatch-brand b{color:var(--precision-red);font-weight:650}
.precision-product-detail-theme .site-header .header-search-divider{height:18px;background:#d7dbde}
.precision-product-detail-theme .site-header .header-search-form{display:contents}
.precision-product-detail-theme .site-header .header-search-form input{height:46px;border:0;background:transparent;outline:0;padding:0 15px;font-size:11px;font-weight:400;color:#24292c;letter-spacing:.005em;min-width:0}
.precision-product-detail-theme .site-header .header-search-form input::placeholder{color:#959b9f}
.precision-product-detail-theme .site-header .header-search-form button{width:48px;height:46px;border:0;border-left:1px solid #e0e3e5;background:transparent;display:grid;place-items:center;cursor:pointer;color:#34393c;transition:background .2s,color .2s}
.precision-product-detail-theme .site-header .header-search-form button:hover{background:var(--precision-red);color:#fff}
.precision-product-detail-theme .site-header .header-search-form svg{width:17px;height:17px}
.precision-product-detail-theme .site-header .header-actions{display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-end!important}
.precision-product-detail-theme .site-header .lang-switcher{position:relative}
.precision-product-detail-theme .site-header .lang-trigger{height:44px;border:1px solid #e2e5e7;background:#fff;color:#202427;padding:0 14px 0 12px;display:inline-flex;align-items:center;gap:9px;cursor:pointer;font-size:11px;font-weight:500;letter-spacing:.02em;transition:border-color .2s,box-shadow .2s,background .2s}
.precision-product-detail-theme .site-header .lang-trigger:hover,
.precision-product-detail-theme .site-header .lang-trigger[aria-expanded="true"]{border-color:#c8cdd0;background:#fafafa;box-shadow:0 10px 28px rgba(17,19,21,.08)}
.precision-product-detail-theme .site-header .lang-globe{width:16px;height:16px;display:grid;place-items:center;color:#72797e}
.precision-product-detail-theme .site-header .lang-globe svg{width:16px;height:16px;display:block}
.precision-product-detail-theme .site-header .lang-current{font-size:11px;font-weight:600;letter-spacing:.08em}
.precision-product-detail-theme .site-header .lang-name{font-size:10px;color:#858c91;font-weight:400}
.precision-product-detail-theme .site-header .lang-chevron{width:12px;height:12px;margin-left:2px;transition:transform .2s}
.precision-product-detail-theme .site-header .lang-trigger[aria-expanded="true"] .lang-chevron{transform:rotate(180deg)}
.precision-product-detail-theme .site-header .lang-menu{position:absolute;right:0;top:calc(100% + 10px);width:228px;background:#fff;border:1px solid #e0e4e6;box-shadow:0 22px 60px rgba(17,19,21,.14);padding:7px;opacity:0;visibility:hidden;transform:translateY(-6px);transition:.2s;z-index:1080;color:#22272a}
.precision-product-detail-theme .site-header .lang-menu.open{opacity:1;visibility:visible;transform:none}
.precision-product-detail-theme .site-header .lang-menu-head{padding:10px 11px 8px;color:#9aa0a4;font-size:8px;letter-spacing:.18em;text-transform:uppercase;font-weight:500}
.precision-product-detail-theme .site-header .lang-option{width:100%;border:0;background:transparent;display:grid;grid-template-columns:32px 1fr 18px;align-items:center;gap:8px;padding:10px 11px;text-align:left;cursor:pointer;color:#22272a;transition:background .18s}
.precision-product-detail-theme .site-header .lang-option:hover{background:#f4f5f5}
.precision-product-detail-theme .site-header .lang-option .code{font-size:10px;letter-spacing:.1em;font-weight:600}
.precision-product-detail-theme .site-header .lang-option .label{font-size:11px;font-weight:400;color:#5f666b}
.precision-product-detail-theme .site-header .lang-option .check{font-size:11px;color:var(--precision-red);opacity:0}
.precision-product-detail-theme .site-header .lang-option.active .check{opacity:1}
.precision-product-detail-theme .site-header .lang-menu-foot{border-top:1px solid #eceeef;margin-top:5px;padding:9px 11px 7px;color:#a0a5a9;font-size:8px;line-height:1.45}
.precision-product-detail-theme .site-header .nav-menu-button{height:44px;border:1px solid #dfe3e5;background:#fff;padding:0 14px 0 16px;display:inline-flex;align-items:center;gap:12px;cursor:pointer;color:#22272a;font-size:10px;font-weight:600;letter-spacing:.11em;transition:.2s}
.precision-product-detail-theme .site-header .nav-menu-button:hover,
.precision-product-detail-theme .site-header .nav-menu-button[aria-expanded="true"]{border-color:#bfc5c8;background:#f7f8f8}
.precision-product-detail-theme .site-header .nav-menu-icon{width:19px;height:14px;position:relative;display:block}
.precision-product-detail-theme .site-header .nav-menu-icon i{position:absolute;left:0;width:19px;height:1px;background:currentColor;transition:.24s}
.precision-product-detail-theme .site-header .nav-menu-icon i:first-child{top:3px}
.precision-product-detail-theme .site-header .nav-menu-icon i:last-child{top:10px}
.precision-product-detail-theme .site-header .nav-menu-button[aria-expanded="true"] .nav-menu-icon i:first-child{top:7px;transform:rotate(45deg)}
.precision-product-detail-theme .site-header .nav-menu-button[aria-expanded="true"] .nav-menu-icon i:last-child{top:7px;transform:rotate(-45deg)}
.precision-product-detail-theme .site-header .mega-menu{position:absolute;left:0;right:0;top:100%;z-index:1070;background:#fff;color:#111315;border-top:1px solid #eceeef;border-bottom:1px solid #dde1e3;box-shadow:0 28px 70px rgba(17,19,21,.12);opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .22s,transform .22s,visibility .22s}
.precision-product-detail-theme .site-header .mega-menu.open{opacity:1;visibility:visible;transform:none}
.precision-product-detail-theme .site-header .mega-menu-inner{width:min(calc(100% - 72px),var(--precision-max));margin-inline:auto;padding:35px 0 42px;display:grid;grid-template-columns:220px 1fr;gap:48px}
.precision-product-detail-theme .site-header .mega-menu-intro{padding-top:7px}
.precision-product-detail-theme .site-header .mega-menu-intro small{display:block;font-size:8px;letter-spacing:.18em;color:#9aa0a4;margin-bottom:12px}
.precision-product-detail-theme .site-header .mega-menu-intro strong{font-size:19px;line-height:1.15;font-weight:500;letter-spacing:-.025em}
.precision-product-detail-theme .site-header .mega-menu-intro>span{display:block;width:36px;height:2px;background:var(--precision-red);margin-top:22px}
.precision-product-detail-theme .site-header .mega-menu-nav{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #e1e4e6;border-left:1px solid #e1e4e6}
.precision-product-detail-theme .site-header .mega-menu-nav a{min-height:100px;padding:18px 18px 16px;border-right:1px solid #e1e4e6;border-bottom:1px solid #e1e4e6;display:flex;flex-direction:column;justify-content:space-between;transition:background .18s,color .18s}
.precision-product-detail-theme .site-header .mega-menu-nav a:hover{background:#111517;color:#fff}
.precision-product-detail-theme .site-header .mega-menu-nav span{font-size:15px;font-weight:450;letter-spacing:-.015em}
.precision-product-detail-theme .site-header .mega-menu-nav i{font-style:normal;color:var(--precision-red);align-self:flex-end;font-size:12px}

/* Approved HF51 premium footer */
.precision-product-detail-theme .precision-footer-premium{position:relative;overflow:hidden;background:#0a0d0f!important;color:#fff!important;border-top:2px solid var(--precision-red);isolation:isolate;font-family:"Aptos","Segoe UI","Helvetica Neue",Arial,sans-serif}
.precision-product-detail-theme .precision-footer-premium:before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(circle at 80% 18%,rgba(255,255,255,.035),transparent 26%),linear-gradient(180deg,#0a0d0f 0%,#090b0d 100%);pointer-events:none}
.precision-product-detail-theme .precision-footer-wordmark{position:absolute;z-index:0;left:50%;bottom:42px;transform:translateX(-50%);font-family:"Aptos Display","Aptos","Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:clamp(150px,19vw,360px);font-weight:800;line-height:.72;letter-spacing:-.075em;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.045);white-space:nowrap;pointer-events:none;user-select:none}
.precision-product-detail-theme .precision-footer-premium>.wrap{position:relative;z-index:2}
.precision-product-detail-theme .precision-footer-cta{min-height:214px;display:flex;align-items:center;justify-content:space-between;gap:54px;border-bottom:1px solid rgba(255,255,255,.10)}
.precision-product-detail-theme .precision-footer-cta-copy{max-width:850px}
.precision-product-detail-theme .precision-footer-kicker{display:flex;align-items:center;gap:14px;margin-bottom:20px;font-size:9px;font-weight:700;letter-spacing:.19em;text-transform:uppercase;color:#8d969c}
.precision-product-detail-theme .precision-footer-kicker:before{content:"";display:block;width:44px;height:2px;background:var(--precision-red)}
.precision-product-detail-theme .precision-footer-cta h2{margin:0;font-family:"Aptos Display","Aptos","Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:clamp(40px,4.6vw,76px);font-weight:350;line-height:.92;letter-spacing:-.055em;text-transform:uppercase;color:#fff}
.precision-product-detail-theme .precision-footer-cta-link{flex:0 0 auto;min-width:190px;height:58px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.025);font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:#fff;transition:background .28s ease,border-color .28s ease,transform .28s ease}
.precision-product-detail-theme .precision-footer-cta-link b{font-size:17px;font-weight:400;color:var(--precision-red);transition:transform .28s ease}
.precision-product-detail-theme .precision-footer-cta-link:hover,.precision-product-detail-theme .precision-footer-cta-link:focus-visible{background:#fff;color:#111517;border-color:#fff;transform:translateY(-2px);outline:none}
.precision-product-detail-theme .precision-footer-grid{min-height:330px;display:grid;grid-template-columns:1.25fr 1.1fr .85fr;gap:72px;align-items:start;padding-top:68px;padding-bottom:64px}
.precision-product-detail-theme .precision-footer-logo{display:inline-block;width:min(235px,72%);margin-bottom:26px}
.precision-product-detail-theme .precision-footer-logo img{width:100%;height:auto}
.precision-product-detail-theme .precision-footer-brand p{max-width:350px;margin:0;font-size:11px;font-weight:350;line-height:1.8;color:#7f898f}
.precision-product-detail-theme .precision-footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px}
.precision-product-detail-theme .precision-footer-nav-col small,.precision-product-detail-theme .precision-footer-contact>small{display:block;margin-bottom:24px;font-size:8px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#666f75}
.precision-product-detail-theme .precision-footer-nav-col a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.065);font-size:12px;font-weight:450;color:#c4cacf;transition:color .24s ease,padding-inline-start .24s ease,border-color .24s ease}
.precision-product-detail-theme .precision-footer-nav-col a:before{content:"";position:absolute;inset-inline-start:0;top:50%;width:0;height:1px;background:var(--precision-red);transition:width .24s ease}
.precision-product-detail-theme .precision-footer-nav-col a i{font-style:normal;font-size:11px;color:var(--precision-red);opacity:0;transform:translate(-5px,5px);transition:opacity .24s ease,transform .24s ease}
.precision-product-detail-theme .precision-footer-nav-col a:hover,.precision-product-detail-theme .precision-footer-nav-col a:focus-visible{padding-inline-start:18px;color:#fff;border-color:rgba(255,255,255,.13);outline:none}
.precision-product-detail-theme .precision-footer-nav-col a:hover:before,.precision-product-detail-theme .precision-footer-nav-col a:focus-visible:before{width:10px}
.precision-product-detail-theme .precision-footer-nav-col a:hover i,.precision-product-detail-theme .precision-footer-nav-col a:focus-visible i{opacity:1;transform:none}
.precision-product-detail-theme .precision-footer-contact{padding-inline-start:34px;border-inline-start:1px solid rgba(255,255,255,.09)}
.precision-product-detail-theme .precision-footer-contact h3{margin:0 0 18px;font-family:"Aptos Display","Aptos","Segoe UI","Helvetica Neue",Arial,sans-serif;font-size:clamp(29px,2.5vw,42px);font-weight:430;line-height:.98;letter-spacing:-.045em;color:#fff}
.precision-product-detail-theme .precision-footer-contact p{max-width:340px;margin:0 0 25px;font-size:11px;line-height:1.75;color:#7f888e}
.precision-product-detail-theme .precision-footer-contact>a{display:inline-flex;align-items:center;gap:12px;padding-bottom:7px;border-bottom:1px solid var(--precision-red);font-size:9px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:#fff}
.precision-product-detail-theme .precision-footer-contact>a b{font-size:14px;font-weight:400;color:var(--precision-red);transition:transform .24s ease}
.precision-product-detail-theme .precision-footer-bottom{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid rgba(255,255,255,.085);font-size:8px;letter-spacing:.09em;text-transform:uppercase;color:#626b70}
.precision-product-detail-theme .footer-signature{display:inline-flex;align-items:center;gap:8px;color:#626b70;transition:color .22s ease}
.precision-product-detail-theme .footer-signature-name{color:#979fa4;font-weight:700}
.precision-product-detail-theme .footer-signature i{font-style:normal;color:var(--precision-red)}
.precision-product-detail-theme .footer-signature:hover,.precision-product-detail-theme .footer-signature:focus-visible{color:#fff;outline:none}
[dir="rtl"] .precision-product-detail-theme .precision-footer-contact{padding-inline-start:0;padding-inline-end:34px}

@media (max-width:1120px){
  .precision-product-detail-theme .site-header .nav{grid-template-columns:160px minmax(300px,1fr) auto!important;gap:18px!important}
  .precision-product-detail-theme .site-header .logo img{width:150px!important;max-width:150px!important}
  .precision-product-detail-theme .site-header .header-sppmatch-brand{padding:0 12px;font-size:14px}
  .precision-product-detail-theme .site-header .header-search-form input{font-size:10px}
  .precision-product-detail-theme .site-header .lang-name{display:none}
  .precision-product-detail-theme .site-header .mega-menu-inner{grid-template-columns:170px 1fr;gap:28px}
  .precision-product-detail-theme .site-header .mega-menu-nav{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:1080px){
  .precision-product-detail-theme .precision-footer-grid{grid-template-columns:1fr 1fr;gap:52px}
  .precision-product-detail-theme .precision-footer-brand{grid-column:1/-1}
  .precision-product-detail-theme .precision-footer-contact{padding-inline-start:0;border-inline-start:0}
  [dir="rtl"] .precision-product-detail-theme .precision-footer-contact{padding-inline-end:0}
}
@media (max-width:760px){
  .precision-product-detail-theme .site-header .wrap,
  .precision-product-detail-theme .precision-footer-premium.wrap,
  .precision-product-detail-theme .precision-footer-premium .wrap{width:min(calc(100% - 28px),var(--precision-max))}
  .precision-product-detail-theme .site-header .nav{height:auto!important;min-height:112px!important;padding:12px 0 10px!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-areas:"logo actions" "search search"!important;gap:10px 12px!important}
  .precision-product-detail-theme .site-header .logo{grid-area:logo!important}
  .precision-product-detail-theme .site-header .logo img{width:138px!important;max-width:138px!important}
  .precision-product-detail-theme .site-header .header-actions{grid-area:actions!important}
  .precision-product-detail-theme .site-header .header-sppmatch-search{grid-area:search;max-width:none}
  .precision-product-detail-theme .site-header .header-search-shell{height:42px;grid-template-columns:auto 1px 1fr 42px}
  .precision-product-detail-theme .site-header .header-sppmatch-brand{padding:0 11px;font-size:13px}
  .precision-product-detail-theme .site-header .header-search-form input{height:40px;padding:0 10px;font-size:9.5px}
  .precision-product-detail-theme .site-header .header-search-form button{width:42px;height:40px}
  .precision-product-detail-theme .site-header .lang-trigger{height:38px;padding:0 9px}
  .precision-product-detail-theme .site-header .nav-menu-button{height:38px;padding:0 10px;font-size:9px}
  .precision-product-detail-theme .site-header .nav-menu-button .menu-label{display:none}
  .precision-product-detail-theme .site-header .mega-menu-inner{width:min(calc(100% - 28px),var(--precision-max));padding:22px 0 28px;display:block}
  .precision-product-detail-theme .site-header .mega-menu-intro{display:flex;align-items:center;justify-content:space-between;padding:0 0 18px}
  .precision-product-detail-theme .site-header .mega-menu-intro strong{font-size:14px}
  .precision-product-detail-theme .site-header .mega-menu-intro>span{margin:0;width:28px}
  .precision-product-detail-theme .site-header .mega-menu-nav{grid-template-columns:1fr 1fr}
  .precision-product-detail-theme .site-header .mega-menu-nav a{min-height:78px;padding:13px}
  .precision-product-detail-theme .site-header .mega-menu-nav a:last-child{grid-column:1/-1}
  .precision-product-detail-theme .site-header .mega-menu-nav span{font-size:13px}

  .precision-product-detail-theme .precision-footer-wordmark{font-size:42vw;bottom:90px}
  .precision-product-detail-theme .precision-footer-cta{min-height:0;align-items:flex-start;flex-direction:column;padding-top:52px;padding-bottom:48px;gap:28px}
  .precision-product-detail-theme .precision-footer-cta h2{font-size:clamp(34px,10vw,48px)}
  .precision-product-detail-theme .precision-footer-cta-link{min-width:100%;height:54px}
  .precision-product-detail-theme .precision-footer-grid{grid-template-columns:1fr;gap:46px;padding-top:50px;padding-bottom:48px}
  .precision-product-detail-theme .precision-footer-brand{grid-column:auto}
  .precision-product-detail-theme .precision-footer-logo{width:205px}
  .precision-product-detail-theme .precision-footer-nav{gap:30px}
  .precision-product-detail-theme .precision-footer-bottom{align-items:flex-start;flex-direction:column;padding:19px 0;gap:10px}
}
@media (max-width:480px){
  .precision-product-detail-theme .precision-footer-nav{grid-template-columns:1fr;gap:38px}
  .precision-product-detail-theme .precision-footer-nav-col small,
  .precision-product-detail-theme .precision-footer-contact>small{margin-bottom:15px}
}



/* P2.6 — Keep gallery full-width regardless of source image aspect ratio */
.precision-product-detail-theme .product-detail-luxury .product-detail-visual>.product-image-gallery{width:100%;flex:1 1 100%;min-width:0}
