/* =======================================
   GLOBAL
======================================= */
:root {
  --bg-main: #050507;
  --bg-elevated: #111216;
  --bg-elevated-soft: #171821;
  --bg-hero-overlay: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.8),
    rgba(5, 5, 7, 0.6)
  );

  --red: #e50914;
  --red-soft: rgba(229, 9, 20, 0.16);
  --white: #f5f5f7;
  --muted: #9ca3af;
  --border-subtle: #272833;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 14px 45px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.6);

  --transition-fast: 0.18s ease-out;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--white);
}

/* Reusable container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Links & buttons */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition);
  background: transparent;
  color: var(--white);
}

.btn i {
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.35), var(--shadow-soft);
}

.btn-primary:hover {
  background: #ff2732;
  border-color: #ff2732;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
}

.btn-ghost:hover {
  border-color: var(--red);
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

.btn-chip {
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  color: var(--white);
  transition: var(--transition);
}

.btn-chip:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Section base */
.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin: 0 0 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-header.with-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

/* =======================================
   HEADER
======================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 7, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.7rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: radial-gradient(circle at 20% 20%, #ff6b6b, var(--red));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.6);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1rem;
  font-weight: 600;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: 1.4rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--white);
}

/* Header actions */
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.search-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.search-wrapper i {
  color: var(--muted);
  font-size: 0.85rem;
}

.search-wrapper input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.8rem;
  width: 180px;
}

.search-wrapper input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.icon-button {
  border: none;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: var(--transition);
}

.icon-button:hover {
  border-color: var(--red);
  color: var(--red);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: var(--red-soft);
  border: 1px solid rgba(248, 113, 113, 0.6);
  font-size: 0.78rem;
  color: #fecaca;
  font-weight: 500;
  transition: var(--transition);
}

.cta-pill i {
  font-size: 0.9rem;
}

.cta-pill:hover {
  background: rgba(229, 9, 20, 0.3);
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  margin-left: auto;
  cursor: pointer;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 1.2rem 0.7rem;
  gap: 0.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(5, 5, 7, 0.98);
}

.mobile-link {
  padding: 0.55rem 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-link.active,
.mobile-link:hover {
  background: rgba(15, 23, 42, 0.95);
  color: var(--white);
}

/* =======================================
   HERO
======================================= */
.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  min-height: 70vh;
  display: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-hero-overlay);
}

.hero-content {
  position: relative;
  padding: 4.2rem 0 4.5rem;
  max-width: 620px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--muted);
  font-size: 0.7rem;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.hero h1 span {
  color: #fecaca;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.highlight-number {
  font-weight: 600;
  font-size: 1.2rem;
}

.highlight-label {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Hero controls */
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.6);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.hero-dot.active {
  width: 24px;
  background: var(--red);
}

/* =======================================
   CATEGORY GRID
======================================= */
.section-categories {
  background: radial-gradient(circle at top left, #111827, #020617);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.category-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition), background var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8);
  border-color: var(--red);
  background: rgba(15, 23, 42, 1);
}

.category-image {
  position: relative;
  overflow: hidden;
  height: 160px;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform var(--transition);
}

.category-card:hover .category-image img {
  transform: scale(1.06);
}

.category-body {
  padding: 1rem 1rem 1.1rem;
}

.category-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.category-body p {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #fca5a5;
  cursor: pointer;
  transition: gap var(--transition), color var(--transition);
}

.link-arrow i {
  font-size: 0.75rem;
}

.category-card:hover .link-arrow {
  gap: 0.5rem;
  color: #fee2e2;
}

/* =======================================
   FEATURED PRODUCTS
======================================= */
.section-featured {
  background: radial-gradient(circle at center, #111827, #020617);
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.carousel-arrow {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: var(--white);
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-arrow:hover {
  border-color: var(--red);
  color: var(--red);
}

.product-carousel {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding-bottom: 0.45rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.product-carousel::-webkit-scrollbar {
  height: 6px;
}

.product-carousel::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.9);
}

.product-carousel::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.7);
  border-radius: 999px;
}

.product-card {
  flex: 0 0 260px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition), background var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85);
}

.product-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.07);
}

.product-tag {
  position: absolute;
  left: 0.75rem;
  top: 0.7rem;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(15, 23, 42, 0.85);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.6);
}

.product-tag.tag-red {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.7);
}

.product-body {
  padding: 0.85rem 0.9rem 0.95rem;
}

.product-body h3 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.product-body p {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.product-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: #f97373;
}

/* =======================================
   SERVICES
======================================= */
.section-services {
  background: radial-gradient(circle at top right, #111827, #020617);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--bg-elevated-soft);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 10%, #fecaca, var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.service-icon i {
  color: #111827;
}

.service-card h3 {
  margin: 0;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.service-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
  font-size: 0.8rem;
  color: #e5e7eb;
}

/* =======================================
   BRANDS
======================================= */
.section-brands {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.brands-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
}

.brands-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.brands-logos img {
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity var(--transition), filter var(--transition),
    transform var(--transition);
}

.brands-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

/* =======================================
   SPLIT SECTION (TESTIMONIAL + VISIT)
======================================= */
.section-split {
  background: radial-gradient(circle at center, #111827, #020617);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.2rem;
}

/* Testimonials */
.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card {
  background: var(--bg-elevated-soft);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-card);
}

.testimonial-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.testimonial-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--muted);
}

.testimonial-meta .name {
  font-weight: 500;
  color: #fee2e2;
}

/* Visit */
.visit-card {
  background: var(--bg-elevated-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.visit-map {
  height: 210px;
  overflow: hidden;
}

.visit-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-info {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.visit-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.visit-row i {
  margin-top: 0.15rem;
  color: #fecaca;
}

.visit-row strong {
  font-size: 0.86rem;
}

.visit-row p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.visit-actions {
  margin-top: 0.5rem;
}

/* =======================================
   FOOTER
======================================= */
.site-footer {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 0.9fr;
  gap: 1.8rem;
  padding: 2.3rem 0 1.5rem;
  font-size: 0.85rem;
}

.footer-title {
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.footer-grid h4 {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.3rem;
  color: var(--muted);
}

.footer-grid a {
  color: var(--muted);
  transition: color var(--transition);
}

.footer-grid a:hover {
  color: #fee2e2;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
}

.footer-links-inline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-inline a {
  color: var(--muted);
}

.footer-links-inline a:hover {
  color: #fee2e2;
}

/* =======================================
   ANIMATIONS / REVEAL
======================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.6s ease-out;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* =======================================
   RESPONSIVE
======================================= */
@media (max-width: 1024px) {
  .header-actions .search-wrapper {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.6rem 0;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav.open {
    display: flex;
  }

  .hero-content {
    padding: 3.2rem 0 3.4rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-highlights {
    gap: 1.1rem;
  }

  .category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card {
    flex: 0 0 82%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .product-card {
    flex: 0 0 88%;
  }
}


/* =============================== */
/* 🔥 TOP CAROUSEL (New Section)   */
/* =============================== */

.top-carousel-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.top-carousel {
  position: relative;
  width: 100%;
  height: 55vh; /* Desktop size */
  max-height: 650px;
}

.top-carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.top-carousel-item.active {
  opacity: 1;
}

.top-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption */
.top-carousel-caption {
  position: absolute;
  bottom: 15%;
  left: 5%;
  background: rgba(0,0,0,0.55);
  padding: 20px 30px;
  border-left: 4px solid #FF0000;
  color: white;
  border-radius: 4px;
  animation: fadeInUp 1.2s ease-out;
}

.top-carousel-caption h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.top-carousel-caption p {
  font-size: 1.1rem;
  color: #f1f1f1;
}

/* Arrows */
.top-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 18px;
  font-size: 25px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: 0.3s ease;
}

.top-carousel-btn:hover {
  background: rgba(255,0,0,0.7);
}

.top-carousel-btn.prev { left: 20px; }
.top-carousel-btn.next { right: 20px; }

/* Dots */
.top-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.top-carousel-dots button {
  width: 10px;
  height: 10px;
  background: white;
  opacity: 0.4;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.top-carousel-dots button.active {
  opacity: 1;
  background: #FF0000;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .top-carousel {
    height: 38vh;
  }
  .top-carousel-caption {
    left: 10px;
    right: 10px;
    padding: 12px;
  }
  .top-carousel-caption h2 {
    font-size: 1.5rem;
  }
  .top-carousel-caption p {
    font-size: 0.9rem;
  }
  .top-carousel-btn {
    padding: 8px 12px;
    font-size: 18px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .top-carousel {
    height: 32vh;
  }
}
/* =======================================
   CATEGORY DETAIL SECTIONS
======================================= */

.category-detail {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.detail-list {
  margin: 0 0 0.9rem;
  padding-left: 1.1rem;
  list-style: disc;
  font-size: 0.86rem;
  color: #e5e7eb;
}

.detail-list li {
  margin-bottom: 0.35rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.detail-label {
  color: var(--muted);
  margin-right: 0.2rem;
}

.detail-image-card {
  background: var(--bg-elevated-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.detail-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.detail-image-footer {
  padding: 0.7rem 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.detail-image-footer strong {
  color: #fecaca;
}

/* Mobile order helpers so we can alternate image/text */
@media (max-width: 768px) {
  .mobile-order-1 {
    order: 1;
  }
  .mobile-order-2 {
    order: 2;
  }

  .detail-image-card img {
    height: 190px;
  }
}
