/* PGP FINAL PUBLIC SITE COLOR LOCK - #141414
   Applies only to public website UI, not the Laravel admin dashboard.
   Keeps readable contrast: dark surfaces + white text, white header tabs + black text. */
:root{
  --pgp-141414:#141414;
  --pgp-141414-surface:#171717;
  --pgp-141414-card:#181818;
  --pgp-141414-soft:#1d1d1d;
  --pgp-141414-border:rgba(255,255,255,.105);
  --pgp-141414-text:#ffffff;
  --pgp-141414-muted:#b7bbc4;
  --pgp-141414-red:#ee154e;
  --pgp-141414-red-2:#f3144e;
  --pgp-141414-yellow:#dffc40;
  --pgp-141414-light:#ffffff;
  --pgp-141414-dark-text:#111315;

  --pgp-site-page-bg:#141414!important;
  --pgp-site-page-bg-2:#141414!important;
  --pgp-site-text:#ffffff!important;
  --pgp-site-muted:#b7bbc4!important;
  --pgp-site-surface:#171717!important;
  --pgp-site-surface-soft:#1d1d1d!important;
  --pgp-site-border:rgba(255,255,255,.105)!important;
  --pgp-site-primary:#ee154e!important;
  --pgp-site-accent:#dffc40!important;
  --pgp-site-button-bg:#dffc40!important;
  --pgp-site-button-text:#111315!important;
  --pgp-site-header-bg:rgba(20,20,20,.96)!important;
  --pgp-site-header-text:#ffffff!important;
  --pgp-site-header-tab-bg:#ffffff!important;
  --pgp-site-header-tab-text:#111315!important;
  --pgp-site-header-hover-bg:#ee154e!important;
  --pgp-site-header-active-bg:#ee154e!important;
  --pgp-site-header-active-text:#ffffff!important;
  --pgp-site-header-icon:#ffffff!important;
  --pgp-site-heading-text:#ffffff!important;
  --pgp-site-card-text:#ffffff!important;
  --pgp-site-card-muted:#b7bbc4!important;
  --pgp-site-price-text:#dffc40!important;
  --pgp-site-search-bg:#ffffff!important;
  --pgp-site-search-text:#111315!important;
  --pgp-site-bottom-nav-bg:rgba(245,245,245,.90)!important;
  --pgp-site-bottom-nav-text:#111315!important;
  --pgp-site-cart-badge-bg:#ee154e!important;
  --pgp-site-product-card-bg:#181818!important;
  --pgp-site-product-card-border:rgba(255,255,255,.105)!important;
  --pgp-site-garage-card-bg:#181818!important;
  --pgp-site-garage-card-border:rgba(255,255,255,.105)!important;
}

html,body{background:#141414!important;color:#fff!important;}
body::before,body::after{background:#141414!important;}
main,.page,.site-page,.pgp-page,.pgp-home,.pgp-homepage,.iq-garages-page,.garage-page,.garage-store-page,.product-detail-page,.product-page,.cart-page,.account-page,
#app,.app-shell,.content,.page-wrap,.wrapper,.site-wrapper,.pgp-wrapper,.tc-page,.tc-shell{
  background:#141414!important;color:#fff!important;
}

/* Keep all large sections on the same dark base, not purple/dark-red leftovers */
section,.section,.home-section,.featured-section,.section-block,.pgp-home-managed-section,.pgp-most-viewed-card,.market-panel,.iq-hero,.hero,.hero-card,
.product-detail-panel,.pgp-product-info,.pgp-product-options,.related-products,.garage-card,.iq-card,.pgp-card,.card,.panel,.box,.cart-panel,.account-card,.sign-panel,.new-panel{
  background:#171717!important;
  border-color:rgba(255,255,255,.105)!important;
  color:#fff!important;
}

/* Product/garage cards */
.product-card,.pgp-product-card,.pgp-most-product,.pgp-most-garage,.pgp-card.product-card,.garage-product-card,.garage-card,.iq-card{
  background:#181818!important;
  border-color:rgba(255,255,255,.105)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.product-card h1,.product-card h2,.product-card h3,.product-card strong,
.pgp-product-card h1,.pgp-product-card h2,.pgp-product-card h3,.pgp-product-card strong,
.garage-card h1,.garage-card h2,.garage-card h3,.garage-card strong,
.pgp-most-info strong,.pgp-most-head h2,.pgp-most-head strong,.pgp-most-title,.garage-name,.garage-title,.section-title,.page-title,h1,h2,h3,h4,h5,h6{
  color:#fff!important;
}
.product-card p,.pgp-product-card p,.garage-card p,.pgp-most-info span,.pgp-most-subtitle,.pgp-most-head p,.subtitle,.page-subtitle,.muted,.pgp-muted,.garage-meta,.garage-desc{
  color:#b7bbc4!important;
}
.price,.product-price,.pgp-price,.pgp-most-price-text{color:#dffc40!important;}
.price-tag,.pgp-most-price,.view-tag,.pgp-most-views,.sale-badge,.discount-tag{background:#ee154e!important;color:#fff!important;}

/* Header: dark holder, white tabs with black text, active red with white text */
.pgp-app-header{background:rgba(20,20,20,.96)!important;color:#fff!important;box-shadow:none!important;border:0!important;}
.pgp-app-header *{text-shadow:none!important;}
.pgp-logo-link,.pgp-logo-link *{background:transparent!important;}
.pgp-header-tab,.pgp-header-tabs .pgp-header-tab{
  color:#111315!important;
  background:transparent!important;
  opacity:1!important;
}
.pgp-header-tab span,.pgp-header-tabs .pgp-header-tab span{
  display:inline!important;
  visibility:visible!important;
  opacity:1!important;
  color:currentColor!important;
}
.pgp-header-tab::before,.pgp-header-tabs .pgp-header-tab::before{background:#ffffff!important;border-color:transparent!important;}
.pgp-header-tab svg,.pgp-header-tab svg *, .pgp-iraq-icon, .pgp-iraq-icon *{color:currentColor!important;stroke:currentColor!important;fill:none!important;opacity:1!important;}
.pgp-header-tab svg[fill="currentColor"] *{fill:currentColor!important;stroke:none!important;}
.pgp-header-tab:hover,.pgp-header-tab:hover span{color:#ffffff!important;}
.pgp-header-tab:hover::before{background:#ee154e!important;}
.pgp-header-tab.is-active,.pgp-header-tab.active,.pgp-header-tab[aria-current="page"],.pgp-header-tab.is-active span,.pgp-header-tab.active span{color:#ffffff!important;}
.pgp-header-tab.is-active::before,.pgp-header-tab.active::before,.pgp-header-tab[aria-current="page"]::before{background:#ee154e!important;}
.pgp-header-lang-btn,.pgp-header-lang-btn span,.pgp-header-lang-btn svg{color:#ffffff!important;stroke:#ffffff!important;fill:currentColor!important;background:transparent!important;}
.pgp-parts-menu-button{background:transparent!important;}
.pgp-parts-menu-button span{background:#ffffff!important;}
.pgp-header-parts-menu{background:#171717!important;border-color:rgba(255,255,255,.12)!important;color:#fff!important;}
.pgp-header-parts-menu a{background:#1d1d1d!important;color:#fff!important;border-color:rgba(255,255,255,.10)!important;}
.pgp-header-parts-head strong,.pgp-header-parts-menu strong{color:#fff!important;}

/* Search */
.pgp-header-search-form,.pgp-search,.pgp-app-search,.page-search,input[type="search"],.search-input,.iq-hero input{
  background:#ffffff!important;color:#111315!important;border-color:transparent!important;
}
.pgp-header-search-input,.pgp-header-search-input::placeholder,.pgp-header-search-icon{color:#111315!important;stroke:#111315!important;background:transparent!important;}
input,select,textarea{background:#ffffff!important;color:#111315!important;border-color:rgba(255,255,255,.14)!important;}

/* Buttons */
button,.btn,.pgp-btn,.pgp-add-cart,.add-to-cart,.product-actions button,.pgp-product-actions button,.pgp-product-sticky-buy button,.pgp-mobile-sticky-buy button{
  border-color:transparent!important;
}
.pgp-btn-primary,.pgp-add-cart,.add-to-cart,.product-actions button:first-child,.pgp-product-sticky-buy button,.pgp-mobile-sticky-buy button{
  background:#dffc40!important;color:#111315!important;
}

/* Mobile and desktop cards stay consistent */
@media(max-width:768px){
  html,body,main,.pgp-page,.pgp-home,.iq-garages-page,.garage-page,.product-detail-page{background:#141414!important;}
  .pgp-app-header{background:#141414!important;}
  .pgp-header-tab{color:#111315!important;}
  .pgp-header-tab.is-active,.pgp-header-tab.active{color:#fff!important;}
  .pgp-most-viewed-card,.pgp-home-managed-section,.home-section,.section-block{background:#171717!important;}
}

/* PGP HEADER RESTORE - keep #141414 on site body only, do NOT recolor headers */
:root{
  --pgp-site-header-bg: transparent !important;
  --pgp-site-header-text: #f5f7fb !important;
  --pgp-site-header-tab-bg: #ffffff !important;
  --pgp-site-header-tab-text: #111315 !important;
  --pgp-site-header-hover-bg: #e73660 !important;
  --pgp-site-header-active-bg: #f3144e !important;
  --pgp-site-header-active-text: #ffffff !important;
  --pgp-site-header-icon: #ffffff !important;
  --pgp-site-search-bg: #ffffff !important;
  --pgp-site-search-text: #111315 !important;
}
.pgp-app-header,.pgp-public-header,.pgp-header,.site-header,header{
  background:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
/* restore header buttons/search to the original clear style */
.pgp-header-tab,.pgp-header-tabs .pgp-header-tab,.pgp-app-header .pgp-header-tab{
  background:transparent!important;
  color:#111315!important;
}
.pgp-header-tab::before,.pgp-header-tabs .pgp-header-tab::before,.pgp-app-header .pgp-header-tab::before{
  background:#ffffff!important;
  background-image:none!important;
}
.pgp-header-tab.is-active,.pgp-header-tab.active,.pgp-header-tab[aria-current="page"]{color:#ffffff!important;}
.pgp-header-tab.is-active::before,.pgp-header-tab.active::before,.pgp-header-tab[aria-current="page"]::before{background:#f3144e!important;}
.pgp-header-lang-btn,.pgp-header-lang-btn span,.pgp-header-lang-btn svg{color:#ffffff!important;stroke:#ffffff!important;background:transparent!important;}
.pgp-parts-menu-button,.pgp-menu-trigger{background:transparent!important;background-image:none!important;}
.pgp-parts-menu-button span,.pgp-menu-trigger span{background:#ffffff!important;}
.pgp-header-search-form,.pgp-app-header .pgp-header-search-form{
  background:#ffffff!important;
  background-image:none!important;
  color:#111315!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.pgp-header-search-input,.pgp-header-search-input::placeholder,.pgp-header-search-icon{
  color:#111315!important;
  stroke:#111315!important;
  background:transparent!important;
}
