:root {
  --bg-dark: #111;
  --bg-card: #1b1b1b;
  --text-light: #eee;
  --text-muted: #aaa;
  --accent: #ff6a00;
  --accent-glow: #ff6a00cc;
  --radius: 12px;
  --header-height: 140px; /* adjust if your site header changes */
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: "Inter", "Poppins", "Roboto", sans-serif;
  line-height: 1.6;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: #161616;
  border-bottom: 1px solid #222;
  z-index: 20;
}
.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-light);
  gap: 0.5rem;
}
.site-header .logo {
  height: 118px;
}
nav a {
  color: var(--text-muted);
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
nav a:hover, nav a.active {
  color: var(--accent);
}

main.site-content {
  flex: 1 0 auto;   /* take up remaining height */
  padding-top: 90px; /* matches header height */
}

.site-footer {
  flex-shrink: 0;            /* never collapse */
  text-align: center;
  background: #111;
  color: #ccc;
  padding: 1.5rem 0;
  border-top: 1px solid #222;
  position: relative;         /* stay in flow, not fixed */
  z-index: 5;
}

/* =========================================
   RESPONSIVE HEADER / NAVIGATION
   ========================================= */
/*
.site-header {
  background: #111;
  border-bottom: 1px solid #222;
}

.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eee;
  text-decoration: none;
}
.brand .logo {
  height: 40px;
  width: auto;
}
*/

/* Nav links (desktop) */
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: #ff8800;
}

/* Cart */
.cart-indicator {
  display: flex;
  align-items: center;
}

/* Hamburger button (hidden on desktop) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ff8800;
  cursor: pointer;
  line-height: 1;
}

/* Mobile behavior (force override theme conflicts) */
@media (max-width: 900px) {

  /* Always show hamburger */
  .menu-toggle {
    display: block !important;
  }

  /* Hide desktop nav by default */
  .main-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    display: none !important;
    flex-direction: column;
    width: 220px;
    padding: 10px;
    z-index: 3000;
  }

  /* When open, show it */
  .main-nav.open {
    display: flex !important;
  }

  .main-nav a {
    display: block;
    padding: 10px;
    border-radius: 6px;
    text-align: left;
  }

  .main-nav a:hover {
    background: #1a1a1a;
  }

  /* Ensure header stays clean */
  .site-header .inner {
    align-items: center;
  }

  /* Keep cart aligned to right edge */
  .cart-indicator {
    margin-left: 8px;
  }
}

/* Hero */
.hero {
  min-height: 40vh; /* reduce from full height */
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero.home {
  min-height: 80vh; /* taller for home page only */
}

.hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.btn.cta {
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Page */
.container {
  max-width: 960px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* Footer */
.site-footer {
  background: #141414;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #222;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------
   Subtle Animations
----------------------------------------------------------- */

/* Fade-in base */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Hero entrance */
.hero h1,
.hero .subtitle,
.hero .btn.cta {
  opacity: 0;
  transform: translateY(25px);
  animation: heroFadeUp 1s ease forwards;
}
.hero h1 { animation-delay: 0.2s; }
.hero .subtitle { animation-delay: 0.5s; }
.hero .btn.cta { animation-delay: 0.8s; }

@keyframes heroFadeUp {
  to { opacity: 1; transform: none; }
}

/* CTA pulse-glow on load */
.btn.cta {
  position: relative;
  overflow: hidden;
}
.btn.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 25px var(--accent-glow);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.btn.cta:hover::after { opacity: 1; }

/* Soft gradient glow footer */
.site-footer {
  background: radial-gradient(ellipse at center, #181818 0%, #0d0d0d 100%);
  box-shadow: inset 0 2px 20px rgba(255,106,0,0.1);
}

.main-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  align-items: center;
}

.main-nav a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ff6600;
}

/* === OuterData Contact Form === */
.ocms-contact {
  max-width: 480px;
  margin: 3rem auto;
  color: #eee;
  font-family: system-ui, sans-serif;
}

.ocms-contact h1 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ocms-contact p {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.4;
}

.ocms-contact .row {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.ocms-contact label {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #ccc;
}

.ocms-contact input,
.ocms-contact textarea {
  width: 100%;
  background: #181818;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 0.6rem;
  color: #eee;
  font-size: 0.9rem;
  transition: border 0.2s, background 0.2s;
}

.ocms-contact input:focus,
.ocms-contact textarea:focus {
  border-color: #ff7300;
  background: #202020;
  outline: none;
}

.ocms-contact button {
  background: #ff7300;
  border: none;
  padding: 0.6rem 1.2rem;
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s;
}

.ocms-contact button:hover {
  background: #ff8c1a;
}

.ocms-contact .alert {
  background: #3a0000;
  color: #fbb;
  border: 1px solid #700;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.ocms-contact .action-bar {
  text-align: right;
}

/* -------------------------------
   STORE PAGE STYLING
---------------------------------*/
.store-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  color: #eee;
  text-align: center;
}
.store-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #ff7e00;
}
.store-page p {
  color: #ccc;
  margin-bottom: 2rem;
}
.category-filter {
  margin-bottom: 2rem;
}
.category-filter a {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 6px 14px;
  color: #eee;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.category-filter a:hover,
.category-filter a.active {
  background: #ff7e00;
  border-color: #ff7e00;
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: #1a1a1a;
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
.product-card .image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.product-card .info {
  padding: 1rem;
}
.product-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}
.product-card p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #bbb;
}
.product-card .price {
  font-weight: bold;
  color: #ff7e00;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}
.product-card .btn {
  display: inline-block;
  width: 100%;
  margin-top: 1rem;
  padding: 10px;
  background: #ff7e00;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}
.product-card .btn:hover {
  background: #e86f00;
}
.empty {
  color: #888;
}

/* -------------------------------
   CHECKOUT PAGE STYLING
---------------------------------*/
.checkout-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  color: #eee;
  text-align: center;
}
.checkout-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ff7e00;
}
.checkout-card {
  display: flex;
  flex-wrap: wrap;
  background: #1a1a1a;
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}
.checkout-card .image {
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 400px;
}
.checkout-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-card .details {
  flex: 2;
  padding: 1.5rem;
}
.checkout-card h2 {
  margin-top: 0;
  color: #fff;
}
.checkout-card .desc {
  color: #bbb;
  margin: 0.5rem 0 1rem;
}
.checkout-card .price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #ff7e00;
  margin-bottom: 1.5rem;
}
.checkout-page .small-note {
  color: #777;
  font-size: 0.85rem;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  background: #ff7e00;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn:hover {
  background: #e86f00;
}
.btn-primary {
  background: #ff7e00;
}

/* --- HERO SLIDER --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #000;
}

.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slider .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-slider .caption {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 3;
  max-width: 90%;
  opacity: 0;
  transition: all 1s ease;
}

.hero-slider .slide.active .caption {
  opacity: 1;
}

/* --- Text entry animations (with fade) --- */
.caption.in-left   { transform: translate(-120%, -50%); opacity: 0; animation: slideInLeft 1.2s forwards; }
.caption.in-right  { transform: translate(120%, -50%);  opacity: 0; animation: slideInRight 1.2s forwards; }
.caption.in-top    { transform: translate(-50%, -120%); opacity: 0; animation: slideInTop 1.2s forwards; }
.caption.in-bottom { transform: translate(-50%, 120%);  opacity: 0; animation: slideInBottom 1.2s forwards; }

@keyframes slideInLeft {
  0%   { transform: translate(-120%, -50%); opacity: 0; }
  100% { transform: translate(-50%, -50%); opacity: 1; }
}
@keyframes slideInRight {
  0%   { transform: translate(120%, -50%); opacity: 0; }
  100% { transform: translate(-50%, -50%); opacity: 1; }
}
@keyframes slideInTop {
  0%   { transform: translate(-50%, -120%); opacity: 0; }
  100% { transform: translate(-50%, -50%); opacity: 1; }
}
@keyframes slideInBottom {
  0%   { transform: translate(-50%, 120%); opacity: 0; }
  100% { transform: translate(-50%, -50%); opacity: 1; }
}


.hero-slider .caption h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ff7a00;
  text-shadow: 0 0 12px rgba(0,0,0,0.8);
}

.hero-slider .caption p {
  font-size: 1.2rem;
  color: #fff;
}

.hero-slider .caption h1,
.hero-slider .caption p {
  transition: opacity 0.6s ease;
}

.hero-slider .controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0 12px;
  cursor: pointer;
  z-index: 4;
  transition: background 0.3s;
}
.hero-slider .controls button:hover {
  background: rgba(255,122,0,0.6);
}
.hero-slider .controls .prev { left: 10px; }
.hero-slider .controls .next { right: 10px; }

.hero-slider .dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.hero-slider .dot {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-slider .dot.active,
.hero-slider .dot:hover {
  background: #ff7a00;
}

/*
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #161616;
  padding: 0.5em 0;
  border-bottom: 1px solid #222;
}
*/

.main-nav {
  display: inline-block;
  float: right;
}

.main-nav a {
  color: #eee;
  margin: 0 1em;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ff7a00;
}

/* ===========================
   STORE PAGE STYLING
   =========================== */
.store-container {
  padding: 2rem 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-img-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.product-img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 4px;
}

.product-name {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.product-price {
  font-weight: 600;
  color: #222;
}

.product-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ===========================
   PRODUCT MODAL
   =========================== */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.product-modal.show {
  display: flex;
}

.product-modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-modal-content img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.product-modal-content .close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #666;
}

.product-modal-content .close:hover {
  color: #000;
}

/* --- CART PAGE --- */
.cart-container {
  max-width: 900px;
  margin: 2rem auto;
  background: #111;
  padding: 2rem;
  border-radius: 10px;
  color: #eee;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.cart-container h2 {
  margin-bottom: 1.5rem;
  text-align: center;
  color: #ffa033;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr 80px 100px auto;
  align-items: center;
  gap: 1rem;
  background: #1a1a1a;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
}
.cart-thumb img {
  width: 100%;
  border-radius: 6px;
}
.cart-info h3 {
  font-size: 1rem;
  margin: 0;
}
.cart-info .price {
  color: #999;
  font-size: 0.9rem;
}
.qty-input {
  width: 60px;
  text-align: center;
  border: 1px solid #333;
  border-radius: 4px;
  background: #222;
  color: #fff;
}
.cart-subtotal {
  font-weight: bold;
  color: #fff;
}
.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}
.cart-summary .btn {
  margin-left: 1rem;
}
.cart-actions {
  display: flex;
  gap: 1rem;
}
.btn.primary {
  background-color: #ffa033;
  color: #000;
}
.btn.secondary {
  background-color: #444;
  color: #fff;
}
.btn.danger {
  background-color: #b83333;
  color: #fff;
}
.btn.small {
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
}
.muted {
  color: #777;
  text-align: center;
}

/* --- CHECKOUT PAGE --- */
.checkout-container {
  max-width: 900px;
  margin: 2rem auto;
  color: #eee;
  padding: 2rem;
}

.checkout-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #ffa033;
}

.checkout-card {
  background: #151515;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}

.checkout-card h3 {
  color: #ffa033;
  margin-bottom: 1rem;
}

.checkout-card table {
  width: 100%;
  border-collapse: collapse;
}

.checkout-card th,
.checkout-card td {
  padding: 0.6rem 0;
  text-align: left;
  color: #ddd;
  border-bottom: 1px solid #222;
}

.checkout-card .total-row td {
  border-top: 1px solid #333;
  font-weight: bold;
  color: #fff;
}

.checkout-form label {
  display: block;
  color: #aaa;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.checkout-form input {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: #1e1e1e;
  color: #eee;
}

.checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background: #ffa033;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.checkout-btn:hover {
  background: #ffbb55;
}

/* --- CHECKOUT GRID LAYOUT --- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-card {
  background: #151515;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.checkout-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.order-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #222;
  padding: 0.5rem 0;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #ffa033;
}

/* Store Grid Layout */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.product-card {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.15);
}

.product-image-wrap {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
}

.product-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  margin-top: 0.75rem;
}

.product-title {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.product-price {
  color: #ff9c32;
  font-weight: bold;
}

.product-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

/* --- Modal --- */
.product-modal.hidden { display: none; }
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-content {
  background: #1b1b1b;
  border-radius: 8px;
  padding: 1.5rem;
  width: 90%;
  max-width: 500px;
  color: #fff;
  text-align: center;
  position: relative;
  animation: fadeIn 0.25s ease-in;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-image {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.modal-price {
  color: #ff9c32;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0.75rem 0;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* =========================================
   HERO SLIDER — MOBILE RESPONSIVE FIX
   ========================================= */
@media (max-width: 900px) {
  .hero-slider {
    height: 60vh;
  }

  .hero-slider .slide {
    background-position: center top;
    background-size: cover;
  }

  .hero-slider .caption {
    width: 90%;
    max-width: 600px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 0 10px;
  }

  .hero-slider .caption h1 {
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .hero-slider .caption p {
    font-size: clamp(0.9rem, 3.8vw, 1.2rem);
    line-height: 1.4;
  }

  .hero-slider .controls button {
    font-size: 1.5rem;
    padding: 0 8px;
  }

  .hero-slider .dots {
    bottom: 10px;
    gap: 6px;
  }

  .hero-slider .dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 600px) {
  .hero-slider {
    height: 50vh;
  }

  .hero-slider .caption {
    width: 94%;
  }

  .hero-slider .caption h1 {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

  .hero-slider .caption p {
    font-size: clamp(0.8rem, 4vw, 1rem);
  }
}

/* --- Cart layout tweaks --- */
.cart-table td {
  vertical-align: middle;
  padding: 10px 12px;
}

.cart-table td img {
  display: inline-block;
  width: 80px;
  height: auto;
  border-radius: 6px;
  border: 1px solid #333;
  margin-right: 10px;
  vertical-align: middle;
}

.cart-table td:nth-child(2) {
  white-space: nowrap;
}

.cart-table td:nth-child(2) br {
  display: none; /* hides line breaks when side-by-side */
}

.cart-table td:nth-child(2)::after {
  content: "";
  display: block;
}

.cart-table td:nth-child(2) span.details {
  display: inline-block;
  vertical-align: middle;
  color: #ccc;
  line-height: 1.4;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .cart-table td img {
    display: block;
    margin: 0 0 6px 0;
  }
}

/* --- Footer visibility enhancement --- */
.site-footer {
  background: linear-gradient(to bottom, #181818 0%, #0d0d0d 100%);
  border-top: 1px solid #333;
  color: #ccc;
  text-shadow: 0 0 6px rgba(255, 122, 0, 0.2);
  box-shadow: 0 -4px 20px rgba(255, 122, 0, 0.15);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

/* --- Sticky Header Reinforcement --- */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000 !important;
  background: rgba(22, 22, 22, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
}

/* --- FORCE STICKY HEADER FIX --- */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Push content down to prevent overlap */
body {
  padding-top: 110px; /* Adjust if your header height changes */
}