/* =========================================================
   theme-light.css — CLEAN GROUPED VERSION (NO DRIFT)
   Markup:
   body > .sidebar + .app
   .app > .topbar + .page-content + .footer

   Notes:
   - Removed TEST outline
   - Fixed illegal nested @media blocks
   - Consolidated duplicate mobile topbar rules
   - Grouped everything by component with comments
   - Preserved your existing class names + banner slots + carousel + badges
========================================================= */


/* =========================================================
   0) DESIGN TOKENS / ROOT
========================================================= */
:root{
  --bg:#0b0f14;
  --panel:#11161d;
  --panel2:#0f141b;
  --text:#f8fafc;
  --muted:#a1a9b6;
  --line:rgba(255,215,0,.22);
  --shadow:0 20px 60px rgba(255,204,0,.18);
  --radius:18px;
  --accent:#ffcc00;
  --warn:#f59e0b;

  /* Your .btn-primary referenced --brand but it wasn't defined.
     Define it so nothing breaks (maps to accent). */
  --brand: var(--accent);

  --sidebar-w:260px;
  --topbar-h:86px;
}

/* =========================================================
   1) GLOBAL RESET / BASE
========================================================= */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 25% 10%, rgba(255,204,0,.10), transparent 60%),
    radial-gradient(900px 600px at 70% 80%, rgba(255,180,0,.08), transparent 55%),
    var(--bg);

  display:flex;
  height:100vh;
  overflow:hidden;
}

a{ color:inherit; }
.text-muted{ color:var(--muted); }
.mt-24{ margin-top:24px; }

h1,h2,h3{ margin:0 0 10px; }
h2{ font-size:28px; letter-spacing:.2px; }


/* =========================================================
   2) LAYOUT SHELL (SIDEBAR + APP COLUMN)
========================================================= */

/* ----- Sidebar ----- */
.sidebar{
  width:var(--sidebar-w);
  min-width:var(--sidebar-w);
  height:100vh;
  overflow:auto;
  padding:14px;

  background:
    radial-gradient(900px 380px at 20% 0%, rgba(255,204,0,.08), transparent 60%),
    linear-gradient(180deg, rgba(255,215,0,.06), rgba(255,215,0,.06)),
    #0d1117;

  border-right:1px solid rgba(255,215,0,.22);
}

.nav-brand{
  font-weight:800;
  font-size:20px;
  letter-spacing:.2px;
  margin:6px 6px 12px;
  opacity:.95;
}

.nav-links{
  display:flex;
  flex-direction:column;
  gap:8px;

  padding:10px;
  border-radius:18px;
  background:rgba(0,0,0,.14);
  border:1px solid rgba(255,215,0,.18);
  box-shadow:0 12px 35px rgba(0,0,0,.30);
}

.nav-links a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius:14px;
  text-decoration:none;
  color:var(--text);

  background:rgba(255,215,0,.06);
  border:1px solid rgba(255,215,0,.18);
}

.nav-links a:hover{
  background:rgba(255,215,0,.12);
  border-color:rgba(255,215,0,.22);
}

.nav-links a.active{
  border-color:rgba(255,204,0,.32);
  box-shadow:0 0 0 2px rgba(255,204,0,.12) inset;
}

/* Sidebar scrollbar */
.sidebar::-webkit-scrollbar{ width:10px; }
.sidebar::-webkit-scrollbar-thumb{
  background:rgba(255,204,0,.20);
  border-radius:999px;
  border:2px solid transparent;
  background-clip:content-box;
}


/* ----- App Column (scroll container) ----- */
.app{
  flex:1 1 auto;
  min-width:0;
  height:100vh;
  overflow:auto;
}


/* =========================================================
   3) TOPBAR
========================================================= */
.topbar{
  position:sticky;
  top:0;
  z-index:50;

  min-height:var(--topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 22px;

  border-bottom:1px solid rgba(255,215,0,.22);

  background:
    radial-gradient(900px 380px at 20% 0%, rgba(255,204,0,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,215,0,.14), rgba(255,215,0,0)),
    #0d1117;

  backdrop-filter: blur(10px);
  box-shadow:0 16px 45px rgba(0,0,0,.35);
}

.topbar-left{
  display:flex;
  align-items:baseline;
  gap:8px;
  min-width:0;
}

.topbar-left .brand{
  font-weight:800;
  font-size:15px;
  white-space:nowrap;
}

.topbar-left .tagline{
  font-size:13px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
}

.topbar-center{ min-width:0; }

.datetime{
  font-size:13px;
  color:var(--muted);
  letter-spacing:.3px;
  white-space:nowrap;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.status-pill{
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.4px;
}

.status-pill.live{
  background:rgba(0,200,120,.15);
  color:#3ddc97;
  border:1px solid rgba(0,200,120,.35);
}

.topbar-admin{
  display:flex;
  gap:8px;
  align-items:center;
}

.admin-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:10px;
  font-size:15px;
  text-decoration:none;
  background:rgba(255,215,0,.14);
  border:1px solid rgba(255,215,0,.26);
  color:#fff3c4;
  transition:background .15s ease, transform .1s ease;
}

.admin-icon:hover{
  background:rgba(0,200,120,.22);
  transform:translateY(-1px);
}


/* =========================================================
   4) PAGE CONTENT + FOOTER
========================================================= */
.page-content{ padding:22px; }

.footer{
  padding:18px 22px 20px;
  color:var(--muted);
  border-top:1px solid rgba(255,215,0,.22);
  font-size:13px;
  text-align:center;
}


/* =========================================================
   5) HERO
========================================================= */
.hero{
  background: rgba(255,215,0,.08);
  border: 1px solid rgba(255,215,0,.18);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 12px 0 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,.28);
}

.hero h1{
  font-size: 42px;
  letter-spacing: .2px;
  margin: 0 0 6px;
}

.hero p{
  margin: 0;
  opacity: .85;
}

.hero-image{
  width:100%;
  max-height:300px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:14px;
}


/* =========================================================
   6) CARDS / GRID  (preserves your card style + fixes image fit)
========================================================= */

/* Directory card image normalizer */
.review-card{
  position:relative;
  overflow:visible; /* key for BS ribbon etc */
}

.card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
}

.card{
  background:linear-gradient(180deg, rgba(255,215,0,.14), rgba(255,215,0,.06));
  border:1px solid rgba(255,215,0,.22);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;

  display:flex;
  flex-direction:column;
}

/* Keep your card body/footer styling */
.card-body{ padding:16px; flex:1 1 auto; }
.card-title{ font-size:16px; font-weight:750; margin:0; }
.card-text{ color:var(--muted); line-height:1.4; }

.card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 16px;
  border-top:1px solid rgba(255,215,0,.22);
  background:rgba(0,0,0,.10);
}

/* =========================================
   Directory/listing images (NO CROPPING)
   ========================================= */

/* The wrapper is the fixed “thumbnail box” */
.card-img-wrap{
  height:180px;
  overflow:hidden;
  border-bottom:1px solid rgba(255,215,0,.22);
  background: rgba(0,0,0,.25);
}

/* Make the <img> fill the wrapper box so object-fit can do its job */
.card-img-wrap img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;       /* key change: show whole image */
  object-position:center;   /* center it in the box */
}

/* =========================================
   Legacy thumb containers (only if you still use them)
   This keeps the “fit without crop” behaviour consistently.
   ========================================= */

.card .card-thumb,
.card .thumb,
.card .media,
.card .cover,
.card .card-media,
.card .card-cover,
.card .dir-thumb,
.card .directory-thumb,
.card .item-thumb{
  display:block;
  width:100%;
  height:160px;
  overflow:hidden;
  border-bottom:1px solid rgba(255,215,0,.22);
  background:rgba(0,0,0,.10);

  /* background-image thumbs: switch from cover to contain */
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
}

/* If the legacy thumb is an <img> */
.card .card-thumb img,
.card .thumb img,
.card .media img,
.card .cover img,
.card img.card-thumb,
.card img.thumb,
.card img.media,
.card img.cover,
.card img.dir-thumb,
.card img.directory-thumb,
.card img.item-thumb{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

/* =========================================
   Detail pages: show full image (no crop) in a taller box
   ========================================= */

.page-detail .card-img-wrap{
  height:min(420px, 60vh);
  overflow:hidden;
  background: rgba(0,0,0,.25);
}

.page-detail .card-img-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}

/* Keep your existing detail figure rules */
.page-detail .card-text figure:first-of-type {
  display: block;
  width: 100%;
  margin: 0 0 20px 0;
}

.page-detail .card-text figure:first-of-type img {
  width: 100%;
  max-width: 100%;
  height: auto;
}


/* Stars */
.stars{
  color:#ffcc00;
  letter-spacing:1px;
  margin-top:8px;
  display:inline-block !important;
  white-space:nowrap !important;
}

/* Sub-rating rows */
.substars{ margin-top:6px; }
.substars__row{
  display:flex;
  gap:10px;
  align-items:center;
  line-height:1.2;
}
.substars__label{
  width:44px;
  font-size:.9rem;
  opacity:.85;
}


/* =========================================================
   7) BADGES
========================================================= */
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,215,0,.30);
  background:rgba(0,0,0,.20);
}

.badge-bs{
  position:absolute;
  top:0;
  right:0;

  background:linear-gradient(135deg, #ff2b2b, #8b0000);
  color:#fff;

  font-weight:900;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;

  padding:6px 42px;
  transform: translate(28%, -28%) rotate(45deg);

  box-shadow:
    0 0 0 2px rgba(255,0,0,.35),
    0 10px 22px rgba(255,0,0,.55);

  z-index:6;
  pointer-events:none;
}

@keyframes bsPulse{
  0%   { box-shadow: 0 0 0 0 rgba(255,0,0,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,0,0,0); }
}
.badge.bs{ animation: bsPulse 1.8s infinite; }


/* =========================================================
   8) BUTTONS
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  background:var(--accent);
  color:#000;
  font-weight:800;
  text-decoration:none;
  border:0;
  cursor:pointer;
}

.btn-primary{
  background:var(--brand);
  color:#000;
}

.btn-outline{
  border:1px solid var(--line);
  color:var(--text);
}

.btn:hover{ filter:brightness(1.05); }


/* Optional UI helpers */
.hh-badges{ display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 0; }
.hh-badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,215,0,.26);
  background: rgba(255,215,0,.10);
  font-size:.92rem;
}

.hh-accordion summary{ cursor:pointer; list-style:none; }
.hh-accordion summary::-webkit-details-marker{ display:none; }
.hh-accordion summary strong{ font-size:1.05rem; }
.hh-accordion[open] summary{ margin-bottom:6px; }


/* =========================================================
   9) BANNER SLOTS
========================================================= */

/* Header banner (wide + fixed height via anchor caps) */
.banner-slot-header{
  display:flex;
  justify-content:center;
}

.banner-slot-header a{
  display:block;
  width:100%;
  border-radius:14px;
  overflow:hidden;
  max-width:728px;
  height:120px;
}

.banner-slot-header img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Other slot containers */
.banner-slot-hero,
.banner-slot-footer,
.banner-slot-inline{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}

.banner-slot-after_post,
.banner-slot-sidebar{
  display:flex;
  justify-content:center;
}

/* Shared anchor sizing (caps) */
.banner-slot-hero a{
  max-width:100%;
  height:120px;
  display:block;
  width:100%;
  border-radius:14px;
  overflow:hidden;
}
.banner-slot-footer a,
.banner-slot-inline a{
  max-width:100%;
  height:120px;
  display:block;
  
  border-radius:14px;
  overflow:hidden;
}
.banner-slot-after_post a{
  max-width:468px;
  height:60px;
  display:block;
  width:100%;
  border-radius:14px;
  overflow:hidden;
}

.banner-slot-sidebar a{
  max-width:336px;
  display:block;
  width:100%;
  border-radius:14px;
  overflow:hidden;
}

/* Images in non-header slots */
.banner-slot-hero img,
.banner-slot-inline img,
.banner-slot-footer img,
.banner-slot-after_post img,
.banner-slot-sidebar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* =========================================================
   10) CUBE BANNER SYSTEM
========================================================= */
.banner-cube-wrapper {
  position: relative;
  overflow: hidden;
}

.banner-cube-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.banner-cube {
  flex: 0 0 250px;
  margin-right: 16px; /* keep your spacing */
}

.banner-cube img{
  width:100%;
  height:100%;
  object-fit:contain; /* changed from cover */
  background:#111;     /* fills empty space clean */
  display:block;
}
/* --- Cube Isolation Fix --- */
.banner-cube-wrapper{
  display:block;
  width:100%;
  max-width:100%;
}

.banner-cube-wrapper a{
  max-width:none !important;
  height:auto !important;
}

.banner-cube-wrapper img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Arrows */
.banner-cube-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  background:rgba(0,0,0,.6);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#fff;
  font-size:18px;
  z-index:10;
}
.banner-cube-arrow.left{ left:10px; }
.banner-cube-arrow.right{ right:10px; }


/* =========================================================
   11) SOCIAL FOOTER + TOOLTIP
========================================================= */
.social-footer{ display:flex; justify-content:center; margin:28px 0 12px; }
.social-footer .social-list{ display:flex; gap:18px; list-style:none; padding:0; margin:0; }

.social-btn{
  accent-color: var(--accent);
  width:52px; height:52px; border-radius:999px;
  display:grid; place-items:center;
  background:linear-gradient(180deg, rgba(255,215,0,.14), rgba(255,215,0,.08));
  border:1px solid rgba(255,215,0,.34);
  box-shadow: inset 0 1px 0 rgba(255,215,0,.18), 0 10px 30px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  position:relative;
}

.social-btn::after{
  content:"";
  position:absolute; inset:-2px;
  border-radius:inherit;
  pointer-events:none;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(255,215,0,.30), transparent 60%),
    conic-gradient(from 180deg at 50% 50%, rgba(255,215,0,.26), transparent 60%);
  opacity:.35;
  transition:opacity .2s ease;
}

.social-btn svg{
  width:22px;
  height:22px;
  fill:#f8fafc;
  transition: transform .2s ease, fill .2s ease;
}

/* Hover/focus glow */
.social-btn[data-accent]:hover,
.social-btn[data-accent]:focus-visible{
  transform:translateY(-2px) scale(1.03);
  box-shadow:
    0 12px 30px rgba(0,0,0,.35),
    0 0 18px color-mix(in srgb, var(--accent), transparent 60%);
  border-color: color-mix(in srgb, var(--accent), #11161d 75%);
}
.social-btn[data-accent]:hover svg,
.social-btn[data-accent]:focus-visible svg{ fill:#ffffff; }

/* Disabled */
.social-btn[aria-disabled="true"]{
  cursor:default;
  opacity:.55;
  box-shadow: inset 0 1px 0 rgba(255,215,0,.14), 0 8px 20px rgba(0,0,0,.18);
}
.social-btn[aria-disabled="true"]:hover{ transform:none; }

/* Tooltip bubble */
.social-btn .tip{
  position:absolute;
  bottom:58px;
  left:50%;
  transform:translateX(-50%) translateY(8px);
  background:rgba(8,10,14,.98);
  color:#f8fafc;
  font-size:12px;
  line-height:1;
  padding:8px 10px;
  border-radius:9px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  border:1px solid rgba(255,215,0,.26);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
  transition:opacity .18s ease, transform .18s ease;
}

.social-btn .tip::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:50%;
  width:10px;
  height:10px;
  background:inherit;
  border-left:1px solid rgba(255,215,0,.26);
  border-bottom:1px solid rgba(255,215,0,.26);
  transform: translateX(-50%) rotate(45deg);
}

/* Screen-reader helper */
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip-path: inset(50%);
  white-space:nowrap;
  border:0;
}


/* =========================================================
   12) FEATURED CAROUSEL (DESKTOP)
========================================================= */
.featured-carousel{
  position:relative;
  width:100%;
  overflow:hidden;
}

.featured-track{
  display:flex;
  gap:20px;
  transition: transform .4s ease;
}

/* 3 cards per view */
.featured-track .card{
  flex: 0 0 calc((100% - 40px) / 3);
}

.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;

  background: rgba(255, 204, 0, 0.16);
  border:1px solid rgba(255, 204, 0, 0.32);
  color:#ffcc00;
  font-size:22px;
  font-weight:700;

  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;

  backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 6px 16px rgba(0,0,0,.35);

  opacity:0.55;
  transition:
    opacity .2s ease,
    background .2s ease,
    box-shadow .2s ease,
    transform .15s ease,
    color .2s ease;
}

.carousel-btn.prev{ left:10px; }
.carousel-btn.next{ right:10px; }

.carousel-btn:active{
  transform:translateY(-50%) scale(0.96);
  box-shadow: inset 0 3px 8px rgba(0,0,0,.35);
}

.featured-carousel .carousel-btn{ opacity:0; }
.featured-carousel:hover .carousel-btn{ opacity:0.6; }
.featured-carousel:hover .carousel-btn:hover{ opacity:1; }

.featured-carousel::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:60px;
  height:100%;
  pointer-events:none;
  background:linear-gradient(to left, rgba(0,0,0,.45), transparent);
}


/* =========================================================
  13) CONTENT IMAGES (Trix Output)
========================================================= */

/* Trix Screenshot Styling */

.card-text figure {
    margin: 20px 20px 20px 0;
    display: inline-block;   /* allows side-by-side */
    vertical-align: top;
}

.card-text figure img {
    width: 200px;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    display: block;
}
.card-text img {
    max-width: 100%;
    height: auto;
}
.card-text figure.attachment img {
    max-width: 700px;
}
.card-text figcaption {
    display: none;
}

/* ================= 14) SEARCH CLEAN ================= */

.clean-search {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-card {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.search-card:last-child {
  border-bottom: none;
}

.search-card strong {
  font-size: 18px;
}

.search-card a {
  text-decoration: none;
}

.search-card a:hover strong {
  text-decoration: underline;
}

.search-excerpt {
  margin-top: 8px;
  opacity: 0.85;
  line-height: 1.5;
  max-width: 900px;
}

.search-card small {
  display: block;
  margin-top: 6px;
  opacity: 0.6;
  font-size: 12px;
}
/* Screenshot Modal */

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.image-modal-content {
    background: #111;
    padding: 15px;
    border-radius: 14px;
    max-width: 800px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.image-modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.image-modal-close {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* =========================================================
   15) RESPONSIVE
========================================================= */

/* ============================
   Tablet
============================ */
@media (max-width: 980px){
  .card-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}


/* ============================
   16) Mobile
============================ */

/* Hide hamburger by default */
#mobileMenuBtn{
  display:none;
}

/* Mobile Layout */
@media (max-width: 720px){

  /* Show hamburger */
  #mobileMenuBtn{
    display:inline-flex;
  }

  /* Keep topbar visible (we need hamburger inside it) */
  .topbar{
    display:flex;
  }

  /* Sidebar becomes slide drawer */
  .sidebar{
    position:fixed;
    top:0;
    left:-260px;
    width:260px;
    height:100vh;
    z-index:1000;
    transition:left .3s ease;
  }

  .sidebar.open{
    left:0;
  }

  /* Overlay */
  .mobile-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    backdrop-filter:blur(2px);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
    z-index:900;
  }

  .mobile-overlay.active{
    opacity:1;
    pointer-events:auto;
  }

  /* Page spacing */
  .page-content{
    padding:16px 14px;
  }

  /* Hero sizing */
  .hero{
    padding:16px;
  }

  .hero h1{
    font-size:28px;
    line-height:1.1;
  }

  .hero p{
    font-size:14px;
    line-height:1.45;
  }

  /* Cards single-column */
  .card-grid{
    grid-template-columns:1fr;
  }

  /* Header banner */
  .banner-slot-header a{
    height:72px;
  }

  .banner-slot-header img{
    height:100%;
  }

  /* Mobile Featured Carousel */
  .featured-carousel{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
  }

  .featured-track{
    display:flex;
    gap:14px;
    transform:none !important;
    transition:none !important;
    padding-bottom:6px;
  }

  .featured-track .card{
    flex:0 0 82vw;
  }

  .carousel-btn{
    display:none !important;
  }

  .featured-carousel::after{
    display:none;
  }
}

/*Stl download button  */
.download-btn{
display:inline-block;
background:#ffd400;
color:#000;
padding:12px 18px;
border-radius:10px;
font-weight:600;
text-decoration:none;
margin-top:10px;
}

.download-btn:hover{
background:#ffea3b;
}

/*contact form  */
/* CONTACT PAGE */

.contact-form {
    max-width: 600px;
    margin-top: 25px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.contact-form label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #ddd;
}

/* Inputs */

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #444;
    background: #111;
    color: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

/* Focus glow */

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f5c400;
}

/* Message box */

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

/* Button */

.contact-form .btn {
    background: #f5c400;
    border: none;
    padding: 12px 22px;
    border-radius: 26px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}
/* price change badge */
.deal-badge {
    background: #e60023;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 5px;
}

.price-block {
    font-size: 18px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-left: 8px;
    font-size: 14px;
}