/* FiveM / Los Santos collection — scoped to the existing SMX theme. */
:is(.fivem-page,.fivem-detail-page){
  --fv-line:rgba(143,174,210,.2);
  --fv-ink:#a9c3e5;
  background:radial-gradient(ellipse at 100% 24%,rgba(49,91,145,.12),transparent 42%),#060b12
}
:is(.fivem-page,.fivem-detail-page) .page-bg{
  opacity:.22
}
:is(.fivem-page,.fivem-detail-page) .site-header{
  background:rgba(6,11,18,.95);
  border-bottom:1px solid var(--fv-line)
}
:is(.fivem-page,.fivem-detail-page) :is(a,button,input):focus-visible{
  outline:2px solid var(--fv-ink);
  outline-offset:4px
}
.fivem-page .scripts-hero{
  padding:68px 0 72px;
  isolation:isolate;
  border:0;
  background:
    linear-gradient(90deg,rgba(5,11,19,.96),rgba(5,11,19,.82) 34%,rgba(5,11,19,.27) 68%,rgba(5,11,19,.58)),
    linear-gradient(180deg,rgba(6,11,18,.06) 55%,#060b12),
    url('../img/fivem/los-santos-hero-v1.webp') center / cover no-repeat
}
.fivem-page main{
  position:relative;
  isolation:isolate;
  background:#060b12
}
body.fivem-page:not(.admin-page):not(.admin-login-page) main::before{
  content:none
}
.fivem-page .scripts-hero-grid{
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:60px
}
.fivem-page .scripts-kicker{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--fv-ink);
  font-size:10px;
  letter-spacing:.16em;
  line-height:1.6;
  margin-bottom:24px
}
.fivem-page .scripts-kicker::before{
  content:"";
  width:26px;
  height:2px;
  flex-shrink:0;
  background:var(--accent-pink)
}
.fivem-page .scripts-hero h1{
  font-size:clamp(44px,4.9vw,70px);
  line-height:1.02;
  letter-spacing:-.065em;
  font-weight:900
}
.fivem-page .scripts-hero h1 span{
  display:block;
  padding-bottom:.1em;
  background:linear-gradient(110deg,#d0def1,#7ca3d3 65%,#f8b5d7);
  background-clip:text;
  -webkit-background-clip:text
}
.fivem-page .scripts-hero p{
  font-size:15px;
  line-height:1.85;
  color:#b1bac8;
  max-width:500px
}
.fivem-hero-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:22px;
  margin-top:30px
}
:is(.fivem-page,.fivem-detail-page) .btn-primary{
  border:1px solid rgba(169,195,229,.3);
  background:linear-gradient(120deg,#416d9f,#294c76);
  box-shadow:0 8px 26px rgba(37,70,111,.22);
  border-radius:8px
}
.fivem-text-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  font-weight:700;
  color:#c5cedb
}
.fivem-text-link:hover{
  color:var(--accent-pink-soft)
}
.fivem-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:22px 32px;
  margin-top:34px;
  padding-top:23px;
  border-top:1px solid var(--fv-line)
}
.fivem-hero-meta small,.fivem-hero-meta strong{
  display:block
}
.fivem-hero-meta small{
  color:#929eaf;
  font-size:10px;
  margin-bottom:9px
}
.fivem-hero-meta strong{
  font-size:11px;
  font-weight:700;
  color:#ccd7e5
}
.fivem-page .scripts-hero-art{
  min-height:0;
  display:block;
  padding:12px 0 0 14px
}
.fivem-page .scripts-hero-art::before{
  inset:0 18px 20px 0;
  border:1px solid rgba(246,138,198,.28);
  border-radius:18px;
  background:none;
  filter:none
}
.fivem-page .scripts-hero-art::after{
  display:none
}
.fivem-scene{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(143,174,210,.3);
  background:#0c1622;
  box-shadow:0 24px 60px rgba(0,0,0,.4)
}
.fivem-scene-top,.fivem-scene-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  position:relative;
  z-index:2;
  padding:16px 22px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  color:#a9bdd5;
  background:#0b1521
}
.fivem-scene-top span:first-child{
  color:#e7edf5
}
.fivem-scene>img{
  display:block;
  width:100%;
  height:345px;
  object-fit:cover;
  object-position:center
}
.fivem-scene-caption{
  position:absolute;
  inset:auto 0 50px;
  padding:58px 26px 25px;
  background:linear-gradient(transparent,rgba(4,10,18,.94))
}
.fivem-scene-caption>span{
  font-size:9px;
  font-weight:800;
  letter-spacing:.2em;
  color:#f8b5d7
}
.fivem-scene-caption strong{
  display:block;
  margin-top:12px;
  font-size:clamp(28px,3.3vw,44px);
  line-height:1.08;
  letter-spacing:-.04em;
  color:#fff
}
.fivem-scene-caption em{
  color:#adc8ec;
  font-style:italic
}
.fivem-scene-bottom{
  border-top:1px solid var(--fv-line);
  font-size:8px;
  min-height:50px
}
.fivem-scene-bottom svg{
  width:18px;
  height:18px;
  color:#f8b5d7
}
.fivem-benefits{
  border:0;
  background:transparent
}
.fivem-benefits-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border:1px solid var(--fv-line);
  border-radius:12px;
  background:rgba(8,16,28,.82)
}
.fivem-benefits article{
  display:flex;
  align-items:flex-start;
  gap:18px;
  padding:30px 28px
}
.fivem-benefits article:first-child{
  padding-left:28px
}
.fivem-benefits article:last-child{
  padding-right:28px
}
.fivem-benefits article+article{
  border-left:1px solid var(--fv-line)
}
.fivem-benefit-icon{
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:40px;
  height:40px;
  border:1px solid var(--fv-line);
  border-radius:10px;
  background:rgba(106,143,197,.07);
  color:#a9c3e5
}
.fivem-benefit-icon svg{
  width:20px;
  height:20px
}
.fivem-benefits small{
  font-size:8px;
  letter-spacing:.14em;
  color:#9aacc3;
  font-weight:800
}
.fivem-benefits h2{
  font-size:14px;
  margin:8px 0;
  letter-spacing:-.02em
}
.fivem-benefits p{
  margin:0;
  color:#99a7b9;
  font-size:12px;
  line-height:1.75
}
.fivem-page .scripts-shell-section{
  padding:64px 0 24px;
  scroll-margin-top:110px
}
/* Like RedM, use a quieter second scene behind the entire collection.
   Override the shared opaque surface so the garage remains visible at the sides. */
body.fivem-page:not(.admin-page):not(.admin-login-page) .scripts-shell-section{
  background:
    linear-gradient(180deg,#060b12,rgba(6,11,18,.9) 140px,rgba(6,11,18,.9) 80%,#060b12),
    url('../img/fivem/los-santos-garage-v1.webp') center top / cover fixed no-repeat !important;
  box-shadow:none !important;
  backdrop-filter:none;
  border:0
}
.fivem-collection-heading{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:26px;
  margin-bottom:36px
}
.fivem-collection-heading>div{
  max-width:690px
}
.fivem-collection-heading>div>span,.fivem-cta-kicker{
  font-size:9px;
  font-weight:800;
  letter-spacing:.16em;
  color:#a9c3e5
}
.fivem-collection-heading h2{
  margin:12px 0;
  font-size:clamp(26px,2.8vw,38px);
  letter-spacing:-.045em;
  line-height:1.17
}
.fivem-collection-heading p{
  margin:0;
  color:#99a7b9;
  font-size:13px;
  line-height:1.7
}
.fivem-catalog-tabs{
  display:flex;
  flex-shrink:0;
  gap:4px;
  padding:5px;
  border:1px solid var(--fv-line);
  border-radius:9px;
  background:#0c1623
}
.fivem-catalog-tabs a{
  padding:12px 16px;
  border-radius:5px;
  font-size:11px;
  font-weight:800;
  color:#a8b5c6
}
.fivem-catalog-tabs a[aria-current]{
  background:#264467;
  color:#fff;
  box-shadow:inset 0 -2px #99b9e2
}
.fivem-catalog-tabs a:hover{
  color:#fff;
  background:#1a2c43
}
.fivem-page .scripts-shell{
  padding:24px;
  background:linear-gradient(135deg,rgba(16,29,46,.92),rgba(6,13,23,.94));
  box-shadow:0 24px 70px rgba(0,0,0,.25);
  border:1px solid rgba(143,174,210,.26);
  border-radius:14px
}
.fivem-page .scripts-toolbar{
  padding:0 0 20px;
  gap:10px;
  border:0;
  border-bottom:1px solid var(--fv-line);
  border-radius:0;
  background:transparent;
  grid-template-columns:minmax(200px,1fr) 190px 190px 52px
}
.fivem-page :is(.search-field,.shop-dropdown-trigger,.filter-square){
  min-height:48px;
  background:#070e18;
  border-color:var(--fv-line);
  box-shadow:none;
  font-size:12px
}
.fivem-page .search-field:focus-within{
  border-color:#8eafd9
}
.fivem-page .result-count{
  margin:20px 0;
  color:#9aacc3;
  font-size:11px
}
.fivem-page .products-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px
}
.fivem-page .product-card{
  height:auto;
  min-width:0;
  padding:12px;
  border-radius:13px;
  background:linear-gradient(155deg,#101d2c,#0a121d 65%);
  border-color:var(--fv-line);
  box-shadow:none
}
.fivem-page .product-card:hover{
  border-color:rgba(169,195,229,.5);
  box-shadow:0 16px 38px rgba(0,0,0,.24);
  transform:translateY(-4px)
}
.fivem-page .product-card>.product-shot{
  flex:none;
  height:auto;
  aspect-ratio:16/10;
  border-radius:7px;
  background:#060b12
}
.fivem-page .product-card .product-image{
  object-fit:contain;
  transition:transform .35s ease
}
.fivem-page .product-card:hover .product-image{
  transform:scale(1.035)
}
.fivem-page .product-card .product-shot::before,.fivem-page .product-card .product-shot::after{
  display:none
}
.fivem-page .product-tag{
  top:10px;
  left:10px;
  padding:6px 8px;
  font-size:8px;
  letter-spacing:.06em;
  background:rgba(9,19,32,.93);
  border:1px solid rgba(169,195,229,.3);
  box-shadow:none
}
.fivem-page .product-sale-pill{
  top:10px;
  right:10px;
  background:#e6b5d1;
  color:#261522;
  border:0;
  font-size:10px
}
.fivem-product-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:19px 6px 0;
  font-size:8px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#8eaacb
}
.fivem-product-meta span:last-child{
  color:#b69aaa
}
.fivem-page .product-card h2{
  height:auto;
  min-height:48px;
  margin:10px 6px;
  font-size:18px;
  line-height:1.35;
  letter-spacing:-.025em
}
.fivem-page .product-card>p{
  height:auto;
  min-height:63px;
  margin:0 6px 17px;
  color:#a3aebe;
  font-size:12px;
  line-height:1.75;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden
}
.fivem-product-frameworks{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:auto 6px 18px
}
.fivem-product-frameworks span{
  padding:5px 7px;
  border-radius:4px;
  color:#b7c8df;
  border:1px solid var(--fv-line);
  font-size:9px;
  font-weight:700;
  background:rgba(106,143,197,.05)
}
.fivem-page .shop-price-stack{
  display:flex;
  align-items:baseline;
  gap:10px;
  padding:17px 6px 12px;
  border-top:1px solid var(--fv-line)
}
.fivem-page .shop-price-stack>strong{
  font-size:25px;
  letter-spacing:-.04em;
  color:#edf3fb
}
.fivem-page .shop-regular-price{
  font-size:12px;
  color:#91a0b4
}
.fivem-page .product-actions{
  margin:0 6px 6px;
  gap:8px
}
.fivem-page .details-btn{
  min-height:42px;
  border-radius:6px;
  border-color:var(--fv-line);
  background:#152439;
  color:#dce7f5
}
.fivem-page .add-cart{
  border-radius:6px;
  background:#2b4d76;
  box-shadow:none
}
.fivem-page .pagination[hidden]{
  display:none
}
.fivem-page .empty-results{
  padding:60px 24px;
  border:1px dashed var(--fv-line);
  border-radius:12px
}
:is(.fivem-page,.fivem-detail-page) .scripts-custom-section{
  padding:48px 0 72px
}
:is(.fivem-page,.fivem-detail-page) .scripts-custom-cta{
  min-height:238px;
  padding:40px;
  border-radius:14px;
  border:1px solid rgba(169,195,229,.27);
  background:linear-gradient(90deg,rgba(8,17,29,.96),rgba(8,17,29,.76) 58%,rgba(8,17,29,.34)),url('../img/fivem/los-santos-garage-v1.webp') 76% 53% / cover no-repeat;
  box-shadow:none
}
:is(.fivem-page,.fivem-detail-page) .scripts-custom-cta{
  grid-template-columns:64px minmax(0,1fr) auto
}
:is(.fivem-page,.fivem-detail-page) .scripts-custom-cta::before{
  display:none
}
:is(.fivem-page,.fivem-detail-page) .custom-script-icon{
  position:static;
  transform:none;
  width:64px;
  height:64px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#b9cfe9;
  background:rgba(51,95,150,.13);
  border:1px solid var(--fv-line);
  box-shadow:none
}
:is(.fivem-page,.fivem-detail-page) .custom-script-icon svg{
  width:30px;
  height:30px;
  filter:none
}
.fivem-cta-kicker{
  display:block;
  margin-bottom:14px;
  color:#f8b5d7
}
:is(.fivem-page,.fivem-detail-page) .scripts-custom-cta h2{
  font-size:clamp(24px,2.6vw,34px);
  letter-spacing:-.04em
}
:is(.fivem-page,.fivem-detail-page) .site-footer{
  border-top:1px solid var(--fv-line);
  background:#050a11
}
.fivem-page .filter-dialog{
  background:#0b1420;
  border-color:var(--fv-line);
  border-radius:14px
}
.fivem-page .filter-card{
  background:#080f19;
  border-color:var(--fv-line)
}
.fivem-detail-page .detail-hero{
  padding:40px 0 52px;
  background:linear-gradient(180deg,rgba(6,11,18,.86),#060b12 650px),url('../img/fivem/los-santos-hero-v1.webp') center top / cover no-repeat
}
.fivem-detail-page .breadcrumbs{
  flex-wrap:wrap;
  color:#9baec7;
  font-size:11px;
  padding-bottom:20px;
  border-bottom:1px solid var(--fv-line)
}
.fivem-detail-page .detail-hero-grid{
  gap:32px;
  grid-template-columns:minmax(0,1.06fr) minmax(0,1fr)
}
.fivem-detail-page .detail-gallery{
  padding:12px;
  border:1px solid var(--fv-line);
  border-radius:14px;
  background:#0b1420
}
.fivem-detail-page .detail-main-shot{
  height:auto;
  aspect-ratio:4/3;
  background:#050a11
}
.fivem-detail-page .detail-main-shot .product-image{
  object-fit:contain
}
.fivem-detail-page .detail-main-shot::before,.fivem-detail-page .detail-main-shot::after{
  display:none
}
.fivem-detail-page .detail-summary{
  padding:28px;
  border:1px solid var(--fv-line);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(18,32,49,.96),rgba(9,17,28,.96))
}
.fivem-detail-page .detail-summary h1{
  font-size:clamp(30px,3.2vw,44px)
}
.fivem-detail-page .detail-summary h1 span{
  color:#a9c3e5
}
.fivem-detail-page .detail-summary>p{
  font-size:13px;
  color:#acb9ca
}
.fivem-detail-page .detail-badges{
  gap:6px;
  margin-bottom:24px
}
.fivem-detail-page .detail-badges span{
  color:#bfd2ea;
  border-color:var(--fv-line);
  background:#14253b;
  border-radius:5px;
  font-size:9px
}
.fivem-detail-page .detail-specs{
  gap:0
}
.fivem-detail-page .detail-specs>div{
  grid-template-columns:minmax(90px,.7fr) minmax(0,1fr);
  gap:14px;
  padding:11px 0;
  border-bottom:1px solid var(--fv-line)
}
.fivem-detail-page .detail-specs :is(dt,dd){
  font-size:11px;
  line-height:1.7;
  overflow-wrap:anywhere
}
.fivem-detail-page .detail-buy{
  grid-template-columns:1fr auto
}
.fivem-detail-page .detail-buy>strong{
  grid-column:1/-1;
  color:#edf3fb
}
.fivem-detail-page .detail-trust{
  gap:8px
}
.fivem-detail-page .detail-trust>div{
  background:transparent;
  border-color:var(--fv-line);
  border-radius:6px
}
.fivem-detail-page .detail-section{
  padding:38px 0
}
.fivem-detail-page .section-heading>span{
  font-size:9px;
  color:#a9c3e5;
  letter-spacing:.16em
}
.fivem-detail-page .section-heading h2{
  font-size:clamp(26px,3vw,36px);
  letter-spacing:-.04em
}
.fivem-detail-page :is(.detail-feature-grid>article,.info-grid>article,.info-grid>aside>div,.reviews-grid>article){
  background:#0b1420;
  border:1px solid var(--fv-line);
  border-radius:12px;
  box-shadow:none
}
.fivem-detail-page .detail-feature-grid article>div{
  background:#172a42;
  color:#abc7eb;
  box-shadow:none;
  border-radius:9px
}
.fivem-detail-page .info-grid>aside>button{
  border-radius:6px
}
.fivem-detail-page .info-grid>aside>button.active{
  background:#213c5d;
  border-color:#6589b8
}
@media(max-width:1100px){
  .fivem-page .scripts-hero-grid{
    gap:32px
  }
  .fivem-scene>img{
    height:320px
  }
  .fivem-collection-heading{
    flex-wrap:wrap
  }
  .fivem-benefits article{
    padding:24px 18px;
    gap:12px
  }
  .fivem-page .scripts-toolbar{
    grid-template-columns:minmax(160px,1fr) 170px 170px 48px
  }
  .fivem-detail-page .detail-summary{
    padding:22px
  }
}
@media(max-width:900px){
  body.fivem-page:not(.admin-page):not(.admin-login-page) .scripts-shell-section{
    background-attachment:scroll !important
  }
  .fivem-page .scripts-hero{
    padding:48px 0
  }
  .fivem-page .scripts-hero-grid{
    grid-template-columns:minmax(0,1fr);
    gap:36px
  }
  .fivem-page .scripts-hero p{
    max-width:620px
  }
  .fivem-page .scripts-hero-art{
    display:block;
    max-width:660px;
    width:100%
  }
  .fivem-scene>img{
    height:300px;
    object-position:center 60%
  }
  .fivem-benefits article{
    display:block
  }
  .fivem-benefit-icon{
    margin-bottom:14px
  }
  .fivem-page .products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .fivem-page .scripts-toolbar{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px
  }
  .fivem-page .search-field{
    grid-column:1/-1
  }
  .fivem-detail-page .detail-hero-grid{
    grid-template-columns:minmax(0,1fr)
  }
  .fivem-detail-page .detail-main-shot{
    aspect-ratio:16/10
  }
  :is(.fivem-page,.fivem-detail-page) .scripts-custom-cta{
    padding:30px
  }
}
@media(max-width:600px){
  .fivem-page .scripts-hero{
    padding:36px 0
  }
  .fivem-page .scripts-kicker{
    font-size:8px;
    letter-spacing:.12em
  }
  .fivem-page .scripts-hero h1{
    font-size:clamp(40px,10vw,58px)
  }
  .fivem-page .scripts-hero p{
    font-size:13px
  }
  .fivem-hero-actions{
    gap:20px
  }
  .fivem-hero-meta{
    gap:20px;
    margin-top:26px
  }
  .fivem-scene>img{
    height:270px
  }
  .fivem-scene-top{
    padding:13px 16px;
    font-size:8px
  }
  .fivem-scene-caption{
    padding:50px 20px 24px
  }
  .fivem-scene-caption strong{
    font-size:34px
  }
  .fivem-scene-bottom{
    font-size:7px;
    padding:14px 16px;
    letter-spacing:.08em
  }
  .fivem-benefits-grid{
    grid-template-columns:minmax(0,1fr)
  }
  .fivem-benefits article,.fivem-benefits article:first-child,.fivem-benefits article:last-child{
    display:flex;
    padding:22px 18px
  }
  .fivem-benefits article+article{
    border-left:0;
    border-top:1px solid var(--fv-line)
  }
  .fivem-benefit-icon{
    margin-bottom:0
  }
  .fivem-page .scripts-shell-section{
    padding-top:38px
  }
  .fivem-collection-heading{
    gap:20px
  }
  .fivem-catalog-tabs{
    width:100%
  }
  .fivem-catalog-tabs a{
    flex:1;
    text-align:center
  }
  .fivem-page .scripts-toolbar{
    padding:0 0 16px;
    gap:8px;
    grid-template-columns:minmax(0,1fr) 48px
  }
  .fivem-page .scripts-shell{
    padding:14px
  }
  .fivem-page .scripts-toolbar>.shop-dropdown{
    grid-column:1/-1
  }
  .fivem-page .scripts-toolbar>.shop-dropdown:nth-child(3){
    grid-column:1
  }
  .fivem-page .scripts-toolbar>.filter-square{
    grid-column:2
  }
  .fivem-page .products-grid{
    grid-template-columns:minmax(0,1fr);
    gap:18px
  }
  .fivem-page .product-card h2{
    min-height:0
  }
  .fivem-page .product-card>p{
    min-height:0
  }
  :is(.fivem-page,.fivem-detail-page) .scripts-custom-cta{
    padding:26px 22px
  }
  :is(.fivem-page,.fivem-detail-page) .scripts-custom-section{
    padding:30px 0 44px
  }
  .fivem-detail-page .detail-summary{
    padding:20px 16px
  }
  .fivem-detail-page .detail-trust{
    grid-template-columns:minmax(0,1fr)
  }
}
@media(prefers-reduced-motion:reduce){
  .fivem-page .product-card,.fivem-page .product-card .product-image{
    transition:none
  }
  .fivem-page .product-card:hover,.fivem-page .product-card:hover .product-image{
    transform:none
  }
}
@media(max-width:900px){
  :is(.fivem-page,.fivem-detail-page) .scripts-custom-cta{
    grid-template-columns:56px minmax(0,1fr)
  }
  :is(.fivem-page,.fivem-detail-page) .scripts-custom-cta>.btn{
    grid-column:2;
    justify-self:start
  }
}
@media(max-width:600px){
  :is(.fivem-page,.fivem-detail-page) .scripts-custom-cta{
    grid-template-columns:minmax(0,1fr);
    gap:20px
  }
  :is(.fivem-page,.fivem-detail-page) .scripts-custom-cta>.btn{
    grid-column:1;
    justify-self:stretch
  }
}
