:root{
  --brand:#a81f22;
  --radius:18px;
  --shadow: 0 18px 45px rgba(0,0,0,.12);
  --shadowHover: 0 24px 70px rgba(0,0,0,.18);
}







.smt-page{
  background:#f5f5f5;
  padding: 2.8rem 6vw 4.2rem;
}
.smt-wrap{
  max-width: 1400px;
  margin: 0 auto;
}

.smt-head{
  margin-bottom: 1.8rem;
  max-width: 980px;
}
.smt-head h2{
  font-family: Orbitron, Arial, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin: 0 0 .6rem 0;
  color:#222;
  line-height: 1.15;
}
.smt-head p{
  margin:0;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1.05rem;
  color:#555;
  line-height: 1.7;
}




.smt-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}
@media (max-width: 1024px){
  .smt-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .sub-hero{ padding-top: 6rem; }
  .smt-grid{ grid-template-columns: 1fr; }
}





.smt-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:#eaeaea;
  box-shadow: var(--shadow);
  height: 260px;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease;
  outline: none;
}
.smt-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadowHover);
}
.smt-card:focus-visible{
  box-shadow: 0 0 0 4px rgba(168,31,34,.25), var(--shadowHover);
}

.smt-card-media{ position:absolute; inset:0; }
.smt-card-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform .55s ease;
  filter: saturate(1.05);
}
.smt-card:hover .smt-card-media img{ transform: scale(1.08); }

.smt-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.70) 0%,
    rgba(0,0,0,.22) 55%,
    rgba(0,0,0,.06) 100%
  );
  z-index:1;
}

.smt-card-overlay{
  position:absolute;
  left: 1.1rem;
  right: 4.2rem;
  bottom: 1rem;
  z-index:2;
  color:#fff;
}

.smt-badge{
  display:inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-family: Orbitron, Arial, sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.45);
  color:#fff;
}
.smt-badge.brand{
  background: rgba(168,31,34,.75);
  border-color: rgba(255,255,255,.25);
}

.smt-card-overlay h3{
  margin: .45rem 0 .15rem;
  font-family: Orbitron, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.smt-card-overlay p{
  margin:0;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.smt-card-arrow{
  position:absolute;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  z-index:2;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.30);
  color:#fff;
  font-size: 28px;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  user-select: none;
}
.smt-card:hover .smt-card-arrow{
  transform: translateX(3px);
  background: rgba(168,31,34,.85);
  border-color: rgba(255,255,255,.55);
}









.series-modal{ border:0; padding:0; background: transparent; }
.series-modal::backdrop{ background: rgba(0,0,0,.6); }

.series-modal-card{
  width: min(1020px, calc(100vw - 3rem));
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  padding: 1.4rem;
  position: relative;
}

.series-modal-close{
  position:absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  background:#fff;
  font-size: 22px;
  line-height: 1;
  cursor:pointer;
}

.series-modal-body{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.series-modal-media{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background:#f3f3f3;
  min-height: 380px;
  display:flex;
}

.carousel-frame{
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}
.series-modal-media img{
  width:100%;
  height:100%;
  object-fit: contain;
  display:block;
}








.carousel-btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index:5;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: rgba(255,255,255,.92);
  cursor:pointer;
  font-size: 26px;
  line-height: 1;
}
.carousel-btn.prev{ left: 10px; }
.carousel-btn.next{ right: 10px; }
.carousel-btn:disabled{ opacity:.35; cursor: default; }

.carousel-dots{
  position:absolute;
  left:0; right:0;
  bottom:10px;
  display:flex;
  justify-content:center;
  gap:8px;
  z-index:6;
  padding: 0 12px;
}
.carousel-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(0,0,0,.25);
  cursor:pointer;
}
.carousel-dot.active{
  background: rgba(168,31,34,.95);
  border-color: rgba(255,255,255,.95);
}

.series-modal-top .badge{
  display:inline-block;
  font-family: Orbitron, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  color: #222;
  opacity: .75;
}
.series-modal-top h2{
  margin: .35rem 0 .45rem;
  font-family: Orbitron, Arial, sans-serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.05;
}
.series-modal-top .muted{
  margin:0;
  font-family: Montserrat, Arial, sans-serif;
  color:#555;
  line-height: 1.5;
}

.series-modal-specs{
  margin-top: 1rem;
  border-radius: 14px;
  background:#f7f7f7;
  padding: 1rem;
}
.spec-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-family: Montserrat, Arial, sans-serif;
}
.spec-row:last-child{ border-bottom:0; }
.spec-k{ color:#444; font-weight: 700; }
.spec-v{ color:#111; font-weight: 700; text-align:right; }

.series-modal-actions{
  display:flex;
  gap: .8rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
  font-family: Montserrat, Arial, sans-serif;
  align-items:center;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(168,31,34,.35);
  background: rgba(168,31,34,.08);
  color: var(--brand);
  font-weight: 800;
  text-decoration:none;
}
.btn:hover{
  background: rgba(168,31,34,.14);
  border-color: rgba(168,31,34,.5);
}

.tiny.muted{
  margin-top: .7rem;
  color:#777;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .78rem;
}











@media (max-width: 900px){
  .series-modal-body{ grid-template-columns: 1fr; }
  .spec-v{ text-align:left; }
  .series-modal-media{ min-height: 280px; }
}
@media (max-width: 700px){
  .series-modal-card{
    width: calc(100vw - 1.5rem);
    padding: 1rem;
    max-height: calc(100vh - 1.5rem);
    overflow:auto;
    -webkit-overflow-scrolling: touch;
  }
  .series-modal-media{ min-height: 0; }
  .series-modal-media img{ max-height: 34vh; }
  .spec-row{ grid-template-columns: 1fr; gap: .25rem; }
}






.spec-select{
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  border-radius: 10px;
  padding: .45rem .8rem;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: #111;
  min-width: 130px;
  cursor: pointer;
}

.spec-select:focus{
  outline: 2px solid rgba(168,31,34,.18);
  border-color: rgba(168,31,34,.45);
}


.series-modal-card{
  position: relative;
}

.series-modal-close{
  position: absolute;
  top: 12px;
  right: 24px;

  z-index: 9999;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  border: none;

  background: white;
  color: #333;

  font-size: 20px;
  font-weight: bold;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


@media (max-width: 768px){

  .series-modal-close{
    top: 12px;
    right: 24px;
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

}