/* ========================================= */
/* ============= GLOBAL STYLES ============= */
/* ========================================= */
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #0e1317;
  overflow-x: clip; /* Safer alternative if you need to hide horizontal overflow */
}

body {
  background-color: white;
  padding-top: 68px; /* Was 90px */
}

body.theme {
  background-color: #edebc5;
  padding-top: 68px; /* Was 90px */
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= SHOWS PAGE STYLES ================= */

.shows-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  min-height: 60vh;
}

.shows-header {
  background-color: #ffffff;
  max-width: 800px;
  margin: 0 auto 50px auto; /* Centers the container */
  padding: 40px 20px;
  border-radius: 15px; /* Rounded corners */
  text-align: center;
  border: 1px solid #edebc5; /* Subtle cream border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
}

.shows-header h1 {
  font-family: 'oswald-medium', 'Oswald', sans-serif;
  font-size: 36px;
  text-transform: uppercase;
  color: #0e1317;
  margin-bottom: 15px;
  margin-top: 0;
}

.shows-header p {
  font-size: 18px;
  color: #444;
  margin-bottom: 0;
  line-height: 1.5;
}

.shows-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.show-card {
  display: flex;
  background: white;
  border: 2px solid #edebc5; /* Matching your header/footer cream */
  border-left: 5px solid #cc2424; /* Your red accent */
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.show-card:hover {
  transform: translateX(5px);
  border-color: #cc2424;
}

.show-date {
  background-color: #0e1317;
  color: #edebc5;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  text-align: center;
}

.show-date .month {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.show-date .day {
  font-family: 'oswald-medium', 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: bold;
}

.show-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.show-info h3 {
  margin: 0 0 8px 0;
  font-family: 'oswald-medium', 'Oswald', sans-serif;
  font-size: 22px;
  color: #0e1317;
}

.show-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #444;
  margin-bottom: 5px;
}

.show-time {
  font-size: 14px;
  color: #888;
  font-style: italic;
}

/* Styling for the Show Title */
.show-info h3 {
  margin: 0 0 8px 0;
  font-family: 'oswald-medium', 'Oswald', sans-serif;
  font-size: 22px;
  color: #0e1317;
  text-transform: uppercase;
}

/* Styling for the Location Row and the SVG Icon */
.show-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #444;
  margin-bottom: 5px;
}

.show-location svg {
  width: 16px;
  height: 16px;
  stroke: #cc2424; /* Matches your brand red */
  stroke-width: 2;
  flex-shrink: 0; /* Prevents the icon from squishing */
}

@media (max-width: 600px) {
  .show-card {
    flex-direction: column;
  }
  .show-date {
    flex-direction: row;
    gap: 10px;
    padding: 10px;
  }
}

/* ========================================== */
/* ================= HEADER ================= */
/* ========================================== */

.header-container {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px; /* Was 12px 24px */
  height: 68px; /* Explicit smaller height */
  background-color: #edebc5;
  color: #0e1317;
  font-family: oswald-medium, oswald, sans-serif;
  font-weight: bold;
  border-bottom: 3px solid #0e1317;
}

.logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  height: 54px; /* Was 72px */
}

.home-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 18px;
}

.site-logo {
  width: auto;
  display: block;
  object-fit: contain;
  max-height: 54px; /* Was 72px */
}

.site-name {
  font-size: 21px; /* Was 28px */
  font-weight: bold;
  white-space: nowrap;
}

.header-buttons {
  display: flex;
  margin-left: auto;
  margin-right: 4vw;
}

.header-btn {
  display: inline-block;
  margin: 0;
  border: none;
  background-color: #cc2424;
  color: #edebc5;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  transition: 0.2s;
  padding: 10px 20px; /* Was 14px 26px */
  font-size: 15px; /* Was 19px */
  line-height: 1.1;
  padding-top: 13px; /* Increased top padding */
  padding-bottom: 9px; /* Decreased bottom padding */
}

.header-btn:hover {
  background-color: #a91f1f;
  text-decoration: underline;
}

/* ========================================== */
/* ============ HEADER DROPDOWN ============= */
/* ========================================== */

.header-dropdown {
  display: inline-block;
  position: relative;
  padding: 0;
  margin: 0;
}

.header-dropdown > .header-btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header-dropdown:hover .dropdown-content {
  display: block;
}

.header-dropdown .header-btn {
  display: inline-block;
  height: 100%;
  box-sizing: border-box;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  background-color: #cc2424;
  color: #edebc5;
  border: none;
  transition: 0.2s;
  text-align: center;
  white-space: nowrap;
  padding: 10px 20px; /* Was 14px 26px */
  font-size: 15px; /* Was 19px */
  padding-top: 13px; /* Increased top padding */
  padding-bottom: 9px; /* Decreased bottom padding */
}

.header-dropdown .header-btn:hover {
  background-color: #a91f1f;
  text-decoration: underline;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #cc2424;
  min-width: 160px;
  border-radius: 6px;
  overflow: hidden;
  z-index: 1000;
}

.header-dropdown .dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: #edebc5;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
  text-decoration: none;
  transition: 0.2s;
}

.header-dropdown .dropdown-content a:hover {
  background-color: #a91f1f;
}

/* ----------------
   CART BADGE STYLES
   ---------------- */

.cart-link {
  position: relative;
  display: inline-block;
  height: 24px;
  width: 24px;
}

.cart-badge {
  background-color: #dc3545;
  color: #edebc5;
  border-radius: 999px;
  border: 1px solid #0e1317;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  min-width: 15px;
  text-align: center;
  white-space: nowrap;
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 10;
}

.cart-badge[data-count='0'],
.cart-badge:empty {
  display: none;
}

/* ========================================== */
/* ================== HERO ================== */
/* ========================================== */

.hero {
  text-align: center;
  padding: 80px 20px;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-v2 {
  position: relative;
  width: 100%;
  min-height: 80vh; /* Ensures it takes up 80% of the screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Replace 'your-image.jpg' with your actual image URL if not set in HTML */
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero > div {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
}

.hero button {
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  background-color: #cc2424;
  color: #edebc5;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  text-shadow: none;
}

.hero button:hover {
  background-color: #0e1317;
  color: #edebc5;
  transform: scale(1.05);
}

/* ========================================== */
/* ================ SECTIONS ================ */
/* ========================================== */

.section {
  text-align: center;
  padding: 60px 20px;
  padding-bottom: 80px;
  margin-bottom: -90px;
}

.featured {
  color: #0e1317;
  padding-bottom: 80px;
  margin-bottom: -40px;
}

/* Ensure cards don't shrink and stay a consistent size */
#featured-items-container .item-card {
  flex: 0 0 280px; /* Cards stay exactly 280px wide */
  scroll-snap-align: start;
  background-color: white !important; /* Makes them pop against the beige */
  padding: 10px;
  border-radius: 8px;
}

/* Optional: Style the scrollbar for Chrome/Safari */
#featured-items-container::-webkit-scrollbar {
  height: 8px;
}
#featured-items-container::-webkit-scrollbar-thumb {
  background: #cc2424;
  border-radius: 10px;
}
#featured-items-container::-webkit-scrollbar-track {
  background: #edebc5;
}

/* Container hides the items that are "off-screen" */
.section.featured {
  overflow: hidden; /* Hides horizontal overflow */
  width: 100%;
  -ms-overflow-style: none; /* Hides scrollbar for IE and Edge */
  scrollbar-width: none; /* Hides scrollbar for Firefox */
  padding: 60px 0 120px 0; /* Increased 80px to 120px for more space */
  margin-bottom: 0px; /* Changed from -40px to 0px to stop overlapping */
}

/* Specifically target the container to kill the scrollbar display */
.section.featured::-webkit-scrollbar {
  display: none; /* Hides scrollbar for Chrome, Safari, and Opera */
}

/* The track that actually moves */
/* Add this to your styles.css */
.marquee-item {
  flex: 0 0 280px;
  background: white !important;
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none; /* Prevents text highlighting while moving */
}

/* This ensures the click "passes through" the image/text to the card */
.marquee-item img,
.marquee-item .item-body,
.marquee-item .item-name {
  pointer-events: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: scrollMarquee 135s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.section.featured .container {
  width: 100%;
  max-width: 1200px; /* Limits the width on big screens */
  margin: 0 auto; /* Centers the block */
}

.section.featured h2 {
  font-size: 36px;
  color: #cc2424; /* Your brand yellow */
  margin-bottom: 40px;
  text-transform: uppercase;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #cc2424;
}

.section p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 18px;
  line-height: 1.6;
}

/* ========================================== */
/* ========= NEW SHOP LAYOUT (2025) ========= */
/* ========================================== */

/* Update the main page background to white */
.shop-page-wrapper {
  background-color: #ffffff !important; /* Overrides the beige background */
  min-height: 100vh;
  padding-top: 20px;
  margin-bottom: 0;
  padding-bottom: 80px;
}

/* Update the inner wrapper background to white */
.shop-wrapper {
  display: block;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 50px;
  background-color: #ffffff !important;
  position: relative;
}
/* Update these sections in styles.css */

.shop-page-header {
  background-color: #0e1317;
  color: #edebc5;
  text-align: center;
  padding: 35px 20px;
  margin: 0 0 30px 0; /* Increased bottom margin */
  width: 100%;
  position: relative;
  z-index: 10;
}
.shop-wrapper > .shop-page-header {
  margin-left: -50px;
  margin-right: -50px;
  padding-left: 50px;
  padding-right: 50px;
}
#categoryTitle {
  margin: 0;
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 3px;
  font-family: 'Oswald', Arial, sans-serif;
  color: #edebc5;
}
/* ========================================== */
/* ================= FILTERS ================ */
/* ========================================== */

.mobile-filter-toggle {
  display: none;
  padding: 10px 15px;
  background-color: #cc2424;
  color: #edebc5;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  align-items: center;
  gap: 8px;
}

.mobile-filter-toggle:hover {
  background-color: #a91f1f;
}

.sidebar-filters {
  background-color: #cc2424;
  color: #edebc5;
  position: -webkit-sticky;
  position: sticky;
  z-index: 999;
  padding: 15px 25px;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 12px;
  /*border: 2px solid #0e1317;*/
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

  margin: 0 auto 40px auto; /* Small top margin after the title bar */
  width: 100%;
  max-width: 1250px;
  top: 86px;
}
.sidebar-filters.stuck {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}
.sidebar-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.sidebar-inner h3 {
  margin: 0; /* Remove bottom margin */
  font-size: 18px; /* Smaller font */
  white-space: nowrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1; /* Allows search/selects to take up space */
}

.sidebar-filters label {
  margin: 0; /* Remove top margin */
  font-size: 14px;
  white-space: nowrap;
}

.sidebar-search,
.sidebar-filters select {
  width: auto; /* Buttons only take needed space */
  min-width: 150px;
  padding: 8px 12px; /* Slimmer padding */
  font-size: 14px;
}

.sidebar-search::placeholder {
  color: #0e1317;
}

.sidebar-search:hover,
.sidebar-filters select:hover,
.sidebar-search:focus,
.sidebar-filters select:focus {
  background-color: #a91f1f;
  outline: 3px solid rgba(204, 36, 36, 0.4);
}

.shop-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Desktop: 5 columns */
  gap: 30px;
  width: 100%;
}

/* TABLET (3 columns) */
/* ========================================== */
/* MOBILE-FIRST RESPONSIVE DESIGN (2026)     */
/* ========================================== */

/* ========================================== */
/* MOBILE FILTERS HAMBURGER + CLOSE BUTTON   */
/* ========================================== */

/* ========================================== */
/* MOBILE FILTERS - FIXED BUTTON THAT WORKS */
/* ========================================== */
@media screen and (max-width: 768px) {
  /* 1. Reduce overall footer padding */
  .footer {
    padding: 40px 15px 20px !important;
  }

  /* 2. Stack the main row and reduce gaps */
  .footer-main-row {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
    margin-bottom: 30px !important;
    text-align: center;
  }

  /* 3. Shrink headings and list items */
  .footer-sitemap h4,
  .footer-social h4 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .footer-sitemap ul {
    line-height: 1.8 !important;
  }

  .footer-sitemap a {
    font-size: 14px !important;
  }

  /* 4. Scale down social and payment icons */
  .social-icons svg {
    width: 24px !important;
    height: 24px !important;
  }

  .payment-icons img {
    height: 24px !important;
    margin: 0 5px !important;
  }

  /* 5. Shrink trust badges and policy links */
  .trust-badges {
    font-size: 13px !important;
    margin-top: 15px !important;
  }

  .footer-links {
    font-size: 12px !important;
    margin: 15px 0 !important;
  }

  .footer-bottom {
    font-size: 11px !important;
    padding-top: 15px !important;
  }
}
@media screen and (max-width: 768px) {
  .shop-page-header {
    padding: 80px 15px 20px;
    background: #0e1317;
  }

  #categoryTitle {
    /* Scalable font size: adjusts based on screen width */
    font-size: 7vw !important;

    /* Alternatively, use a smaller fixed size if you prefer */
    /* font-size: 24px !important; */

    letter-spacing: 1px !important;
    line-height: 1.2 !important;
    display: block !important;
    width: 100% !important;
    word-wrap: break-word !important; /* Forces long words to wrap if needed */
  }
  /* Floating Filters Button - HIGH z-index + touch-friendly */
  .mobile-filter-toggle {
    position: fixed;
    top: 78px;
    right: 15px;
    z-index: 1200; /* Must be higher than everything else */
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: #cc2424;
    color: #edebc5;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    touch-action: manipulation; /* Better touch response on mobile */
    user-select: none;
  }

  .mobile-filter-toggle:active {
    transform: scale(0.95);
    background: #a91f1f;
  }

  /* Filters Overlay */
  .sidebar-filters {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(14, 19, 23, 0.96);
    z-index: 1300; /* Higher than the button */
    padding: 90px 20px 40px;
    overflow-y: auto;
  }

  .sidebar-filters.open {
    display: block !important;
  }

  .sidebar-inner {
    background: #0e1317;
    color: #edebc5;
    border-radius: 12px;
    padding: 25px 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  #closeFiltersBtn {
    margin-top: 15px;
    padding: 15px;
    background: #cc2424;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
  }

  .shop-container {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 18px;
  }

  .item-card {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  }

  .item-img-container {
    height: 255px;
  }
}

/* Extra small phones */
@media screen and (max-width: 480px) {
  .mobile-filter-toggle {
    top: 74px;
    right: 12px;
    padding: 10px 16px;
    font-size: 14.5px;
  }
}

/* Small phones */
@media screen and (max-width: 480px) {
  .mobile-filter-toggle {
    top: 74px;
    right: 12px;
    padding: 10px 16px;
    font-size: 14.5px;
  }

  .item-img-container {
    height: 230px;
  }
}

/* MOBILE - ONLY 2 ITEMS PER ROW */

/* Update the item card to have a white background and proper spacing */
/* ========================================== */
/* =============== ITEM CARDS =============== */
/* ========================================== */
.item-card {
  display: flex;
  flex-direction: column;
  height: 100%; /* Crucial */
  background-color: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.2s;
}

/* Ensure the body of the item also has no background */
.item-body {
  flex: 1; /* This makes it grow */
  display: flex;
  flex-direction: column;
  padding: 0;
  background-color: transparent;
}

/* Optional: Adjust the image container to remove the "boxed" look */
.item-img-container {
  height: 250px;
  margin-bottom: 12px;
  position: relative;
}
.item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-name {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.35;
  margin-bottom: 10px;

  /* Force clean 2-line limit + hide overflow properly */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  /* This is the key fix for the ghost line */
  max-height: 2.7em; /* Roughly 2 lines */

  /* Extra safety to prevent text bleed */
  word-break: break-word;
}

.item-line-total {
  color: #cc2424;
  font-weight: bold;
  font-size: 18px;
}
.shipping-notice {
  font-size: 14px;
}

#exclusion {
  font-style: italic;
}

/* 4. The Button - Now it has no choice but to stay at the bottom */
.item-button {
  width: 100%;
  background: #cc2424;
  color: #edebc5;
  border: none;
  padding: 14px;
  font-weight: bold;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.2s;
}

.item-button:hover {
  background: #a91f1f;
}

/* Sold Out styling */
.item-button:disabled {
  background-color: #666;
  cursor: not-allowed;
  opacity: 0.75;
}
/* General style for both buttons */
.item-img-container .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Perfectly centers vertically */
  background: rgba(0, 0, 0, 0.3); /* Subtle dark circle */
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* Hover effect */
.item-img-container .nav-btn:hover {
  background: #cc2424; /* Your brand red */
  transform: translateY(-50%) scale(1.1);
}

/* Force the SVGs inside to fit properly */
.item-img-container .nav-btn svg {
  width: 20px;
  height: 20px;
}

/* Push them to the extreme left and right */
.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* Hide by default */
.item-img-container .nav-btn {
  opacity: 0;
}

/* Show when hovering over the card */
.item-card:hover .nav-btn {
  opacity: 1;
}

/* ========================================== */
/* ================ CART PAGE =============== */
/* ========================================== */

.cart-main-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.cart-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}

.cart-content-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.cart-items-section {
  flex: 3;
  min-width: 300px;
}

.cart-header {
  font-weight: bold;
  border-bottom: 2px solid #ccc;
  padding: 10px 0;
  text-transform: uppercase;
  color: #555;
  background: transparent;
  box-shadow: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.item-details {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.cart-quantity-input {
  width: 60px;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 4px;
  height: 30px;
  margin: 5px 0;
}

.remove-btn {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s;
}

.remove-btn:hover {
  color: #a71d2a;
}

.summary-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 20px;
}

.cart-summary-section {
  font-family: Helvetica, Arial, sans-serif;
  line-height: 2; /* 1.6 times the font size */
}

.summary-line-total-line {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #cc2424;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background-color: #007bff;
  color: #edebc5;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.checkout-btn:hover {
  background-color: #0056b3;
}

/* ========================================== */
/* ============== CONTACT PAGE ============== */
/* ========================================== */

.contact-section {
  text-align: center;
  padding: 60px 20px;
}

.contact-section h1 {
  font-size: 36px;
  color: #cc2424;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.contact-social-icons img:hover {
  transform: scale(1.15);
}

/* ========================================== */
/* ================= FOOTER ================= */
/* ========================================== */ /* ================= FOOTER ================= */

.footer {
  background-color: #0e1317;
  color: #edebc5;
  padding: 70px 20px 30px;
}

/* ================= FOOTER MAIN ROW ================= */
.footer-main-row {
  max-width: 1300px;
  margin: 0 auto 50px auto;
  display: grid;
  grid-template-columns: 2fr 1.35fr 2fr; /* Slightly narrower middle column for better centering */
  align-items: start; /* Keeps all columns aligned at the top */
}

/* ================= LEFT COLUMN - SITEMAP ================= */
.footer-sitemap h4 {
  margin: 0 0 12px 0;
  color: #cc2424;
  font-size: 21px;
  white-space: nowrap;
}

.footer-sitemap ul {
  list-style: none;
  padding: 0;
  line-height: 2.1;
  margin: 0;
}

.footer-sitemap a {
  color: #edebc5;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-sitemap a:hover {
  color: #cc2424;
}

/* ================= MIDDLE COLUMN - FOLLOW US ================= */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers "Follow Us" and icons */
  text-align: center;
  gap: 12px;
}

.footer-social h4 {
  margin: 0 0 12px 0;
  color: #cc2424;
  font-size: 21px;
  white-space: nowrap;
}

.social-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 28px;
  align-items: center;
}

.social-icons svg {
  width: 36px;
  height: 36px;
  stroke: #edebc5;
}

/* Hover effect for social icons */
.social-icons a:hover svg {
  stroke: #cc2424;
  transform: scale(1.15);
  transition: all 0.2s ease;
}

/* ================= RIGHT COLUMN - PAYMENT & TRUST ================= */
.footer-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.payment-icons img {
  height: 34px;
  width: auto;
  opacity: 0.9;
}

.trust-badges {
  margin-top: 10px;
  line-height: 1.8;
  font-size: 15px;
  opacity: 0.95;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ================= FOOTER BOTTOM SECTION ================= */
.footer-links {
  text-align: center;
  margin: 25px 0;
  font-size: 14.5px;
}

.footer-links a {
  color: #edebc5;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(237, 235, 197, 0.15);
}

/* ================= PAYPAL / SECURE CHECKOUT (if used) ================= */
#paypal-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.secure-checkout-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 15px;
  width: 100%;
}

.secure-checkout-badge span {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #0e1317;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* ========================================== */
/* ================ BUTTONS ================= */
/* ========================================== */

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background-color: #0e1317;
  color: #edebc5;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #333;
}

/* ========================================== */
/* =============== ITEM MODAL =============== */
/* ========================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: linear-gradient(to right, #edebc5 50%, #ffffff 50%);
  margin: 5% auto;
  padding: 25px 30px 50px;
  border-radius: 12px;
  width: 90%;
  max-width: 950px;
  position: relative;
  border: 3px solid black;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(237, 235, 197, 0.1);
  overflow: hidden;
}

/* Close Button */
.close-btn {
  color: #0e1317;
  font-size: 42px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 25px;
  cursor: pointer;
  z-index: 2100;
}

.close-btn:hover {
  color: #cc2424;
}

/* Modal Body */
.modal-body {
  display: flex;
  gap: 35px;
  align-items: flex-start;
  padding-top: 20px;
}

/* Left Side - Image (Beige) */
.modal-image-col {
  flex: 0 0 48%;
  max-width: 480px;
}

#modalImageWrapper {
  width: 100%;
  height: 460px;
  background-color: #edebc5;
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-bottom: 30px;
}

#modalImage {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Thumbnail Strip */
.thumbnail-strip {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 80px;
  flex-wrap: wrap;
}

.thumbnail-strip img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border: 3px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.thumbnail-strip img:hover {
  border-color: #cc2424;
  transform: scale(1.08);
}

.thumbnail-strip img.active {
  border-color: #cc2424;
  box-shadow: 0 0 0 3px rgba(204, 36, 36, 0.2);
}

/* Navigation Buttons Below Image */

/* eBay-style Navigation Arrows */
/* ========================================== */
/* eBay-style Navigation Arrows (for both cards and modal) */
/* ========================================== */

.nav-btn {
  background: rgba(0, 0, 0, 0.65);
  color: white;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px; /* Slightly smaller */
  font-weight: 300; /* Thinner */
  line-height: 1;
  padding-bottom: 3px; /* Fine vertical adjustment */
  opacity: 1;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
  background: #cc2424;
  transform: scale(1.12);
  opacity: 1;
}

.item-img-container:hover .nav-btn,
#modalImageWrapper:hover .nav-btn {
  opacity: 1;
}

/* Item Cards - Side arrows */
.item-img-container .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.item-img-container .prev-btn {
  left: 12px;
}
.item-img-container .next-btn {
  right: 12px;
}

/* Modal - Bottom arrows (as you wanted) */
#modalImageWrapper .nav-btn {
  position: absolute;
  bottom: -50px;
}

#modalImageWrapper .prev-btn {
  left: 28%;
}
#modalImageWrapper .next-btn {
  right: 28%;
}

/* Right Side - Details (White) */
.modal-details-col {
  flex: 1;
  text-align: left;
  background-color: #ffffff;
  padding: 0 10px;
  border-radius: 8px;
  min-height: 460px;
  margin: -10px -10px -10px 0; /* Pulls it into the white area */
}

#modalName {
  font-size: 26px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #0e1317;
}

#modalPrice {
  font-size: 24px;
  font-weight: bold;
  color: #cc2424;
  margin-bottom: 20px;
}

#modalDescription {
  line-height: 1.65;
  color: #333;
  margin-bottom: 30px;
}

/* Form Elements */
.variation-group {
  margin-bottom: 22px;
}

.variation-group label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.variation-select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #cc2424;
  border-radius: 8px;
  font-size: 16px;
}

.modal-add-to-cart {
  margin-top: auto;
  width: 100%;
  padding: 16px 24px;
  font-size: 1.25rem;
  font-weight: bold;
  background: #cc2424;
  color: #edebc5;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.modal-add-to-cart:hover {
  background: #0e1317;
}

.modal-add-to-cart:disabled {
  background: #777;
  cursor: not-allowed;
}

/* Amazon-style Free Shipping Message */
.free-shipping-progress {
  background: #f0f9f0;
  border: 1px solid #b7e8b7;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 15px;
  color: #006600;
  font-weight: 500;
}

.free-shipping-progress strong {
  color: #006600;
}
/* ========================================== */
/* ============= HOME PAGE V2 =============== */
/* ========================================== */

.hero-v2 {
  height: 100vh; /* Keeps it tall */
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('https://i.postimg.cc/k48NnZyn/borderfix.png') no-repeat;

  /* 1. FIX THE CROP: This ensures the top of the image is never cut off */
  background-position: center top;
  background-size: 100% auto; /* Stretches to width, lets height be natural */

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content-v2 {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centering children horizontally */
  text-align: center; /* Centering text inside children */
  width: 100%;
}

.hero-content-v2 h1 {
  font-size: 4rem;
  margin: 10px 0;
  font-weight: 800;
}
.hero-content-v2 .highlight {
  color: #edebc5;
}
.hero-content-v2 p {
  color: #edebc5; /* Your brand cream/yellow */
  font-size: 22px; /* Slightly larger for the Hero area */
  margin: 20px 0 30px 0; /* Space between title and button */
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Professional contrast 'insurance' */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Optional: Make the "lowest prices!" part pop with your brand red */
.hero-content-v2 p span.price-accent {
  color: #cc2424;
  font-weight: bold;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  color: #edebc5;
  font-weight: bold;
}

.search-hub {
  padding: 40px 0 100px 0;
  background-color: #0e1317;
  margin-top: -58px;
  border-radius: 60px 60px 0 0;
  position: relative;
  z-index: 2;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hub-text h1 {
  margin-top: 0; /* Ensures it sits flush against the top padding */
  font-size: 80px;
  color: #edebc5;
  font-family: 'Oswald', sans-serif;
  font-weight: 900;
  line-height: 1;
}

.hub-grid h2,
.hub-grid p {
  color: #edebc5;
}

.search-bar-v2 {
  display: flex;
  background: #f8f8f8;
  padding: 8px;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #ddd;
}

.search-bar-v2 input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px;
  font-size: 1.1rem;
  outline: none;
}

.search-bar-v2 button {
  background: #0e1317;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.stat-card {
  background: #edebc5;
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid #0e1317;
}

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0e1317;
}

/* Modern Grid for Home Page Items */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.m-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.m-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.m-img-wrapper {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.m-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.m-card:hover .m-img-wrapper img {
  transform: scale(1.1);
}

.m-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 20px;
}

.m-content {
  padding: 20px;
  flex-grow: 1;
}
.m-price {
  color: #1a7a42;
  font-weight: bold;
  font-size: 1.4rem;
}

.btn-gold {
  display: block; /* Ensures it respects the margins */
  margin: 0 auto; /* The classic centering trick */
  padding: 18px 40px;
  background: #edebc5; /* Your brand yellow */
  color: #0e1317; /* Dark text */
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}
.btn-gold:hover {
  background: #cc2424; /* Turns red on hover */
  color: #edebc5;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Hamburger Design (Main Section) --- */
.hamburger-menu {
  display: none; /* Hides it on Desktop */
  flex-direction: column;
  justify-content: space-between; /* Creates the gap between lines */
  width: 30px;
  height: 20px; /* Height of the total 3-line stack */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: #edebc5 !important; /* Brand Yellow */
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
} /* ========================================== */
/* ============== RESPONSIVE ================ */
/* ========================================== */

/* 2. Fix the Body and Main Containers */

/* 3. Fix the Search Hub & Featured Sections */
@media screen and (max-width: 768px) {
  /* 1. Global Page Lock */
  html,
  body {
    position: relative;
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Stack the Search and Stats boxes vertically on mobile */
  .hub-grid {
    grid-template-columns: 1fr !important; /* Forces a single column */
    gap: 30px !important; /* Reduces gap for smaller screens */
    text-align: center;
  }

  .hub-stats {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Keeps the 2 boxes side-by-side but below the search */
    gap: 15px;
    width: 100%;
  }

  .stat-card {
    padding: 15px !important; /* Slimmer padding for mobile */
  }

  .stat-num {
    font-size: 1.5rem !important; /* Smaller numbers to prevent overflow */
  }

  /* Reduce spacing in the mobile modal */
  #modalImageWrapper {
    height: 450px !important; /* Reduced from 600px to pull text upward */
    margin-bottom: -10px !important; /* Pulls the following content even closer */
  }

  #modalPrice {
    margin-bottom: 10px !important;
  }

  /* Stack modal content and enlarge image on mobile */
  .modal-body {
    flex-direction: column !important; /* Stacks the image on top of the text */
    align-items: center !important;
    gap: 0 !important; /* Removes the flex gap between image and details */
  }

  .modal-image-col {
    flex: 0 0 100% !important; /* Allows the image to take full width */
    max-width: 100% !important;
    width: 100% !important;
  }

  #modalImageWrapper {
    height: 600px !important; /* Increased height to make the picture bigger */
  }

  .modal-details-col {
    width: 100% !important;
    text-align: center !important; /* Centers the name and price under the pic */
    min-height: auto !important;
    padding-top: 0 !important;
  }

  #modalName {
    font-size: 24px !important; /* Makes the name more prominent */
    margin-top: 5px !important; /* Tightens the space specifically above the title */
    margin-bottom: 5px !important;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }

  /* 3. Hamburger Visibility */
  .hamburger-menu {
    display: flex !important;
    z-index: 9999;
  }

  .hamburger-menu span {
    background-color: #edebc5 !important;
  }
  /* Fix Modal positioning and Close button access on mobile */
  .modal {
    align-items: flex-start !important; /* Start from the top instead of centering */
    padding-top: 20px !important; /* Space from the very top of the screen */
  }

  .modal-content {
    margin: 0 auto !important; /* Reset margins */
    width: 95% !important; /* Use more horizontal space */
    padding-top: 50px !important; /* Extra room at the top for the X button */
    background: #edebc5 !important; /* Full white on mobile */
  }

  .close-btn {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    font-size: 42px !important; /* Make it easier to tap on mobile */
    z-index: 2100 !important; /* Ensure it stays above all content */
    background: rgba(
      237,
      235,
      197,
      0.8
    ); /* Semi-transparent background for visibility */
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  /* FORCE UPDATE FOR MOBILE MODAL SPACING */
  @media screen and (max-width: 768px) {
    /* 1. Target the specific wrapper to shrink the dead space */
    div#modalImageWrapper {
      height: 350px !important; /* Smaller height pulls text up significantly */
      min-height: 350px !important;
      margin-bottom: 0 !important;
    }

    /* 2. Remove all padding/margins between the two columns */
    .modal-content .modal-body {
      display: flex !important;
      flex-direction: column !important;
      gap: 0 !important;
      padding-top: 40px !important; /* Space for the X button only */
    }

    /* 3. Pull the details column up */
    .modal-content .modal-details-col {
      margin-top: -20px !important; /* Negative margin to bridge the gap */
      padding-top: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
    }

    /* 4. Tighten text margins */
    .modal-details-col h2#modalName {
      margin: 5px 0 !important;
      line-height: 1.2 !important;
    }

    .modal-details-col p#modalPrice {
      margin: 5px 0 15px 0 !important;
    }
  }

  @media screen and (max-width: 768px) {
    /* 1. Ensure the image wrapper doesn't allow content to bleed out */
    div#modalImageWrapper {
      height: auto !important; /* Switch to auto so it fits the image height */
      max-height: 400px !important; /* Limits the height so it doesn't take the whole screen */
      min-height: 300px !important;
      margin-bottom: 20px !important; /* Creates a solid gap between pic and title */
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #modalImage {
      width: auto !important;
      max-width: 100% !important;
      max-height: 400px !important; /* Must match the wrapper max-height */
      object-fit: contain !important;
      display: block;
    }

    /* 2. Reset the details column to prevent the negative margin overlap */
    .modal-content .modal-details-col {
      margin-top: 0 !important; /* REMOVE the negative margin causing overlap */
      padding-top: 10px !important;
      width: 100% !important;
      position: relative;
      z-index: 1; /* Keeps text on top layer */
    }

    /* 3. Add clear spacing to the name and price */
    #modalName {
      font-size: 22px !important;
      margin-top: 0 !important;
      padding: 0 10px !important;
      color: #0e1317 !important;
    }

    #modalPrice {
      font-size: 20px !important;
      margin-top: 10px !important;
      font-weight: bold;
    }
  }

  /* ========================================== */
  /* MOBILE HEADER - MAKE IT FIT ON SCREEN */
  /* ========================================== */

  @media screen and (max-width: 768px) {
    .header-container {
      padding: 10px 12px !important;
      height: 66px !important;
      gap: 10px;
    }

    .logo-container {
      gap: 6px;
      flex-shrink: 1;
    }

    .site-logo {
      max-height: 44px !important;
    }

    .site-name {
      font-size: 12px !important;
      letter-spacing: 0.4px;
      max-width: 160px;
      white-space: nowrap;
    }

    .hamburger-menu {
      width: 30px;
      height: 24px;
    }
  }

  /* Very small phones */
  @media screen and (max-width: 480px) {
    .site-name {
      font-size: 13.8px !important;
      max-width: 140px;
    }

    .site-logo {
      max-height: 40px !important;
    }
  }

  /* 4. Mobile Menu Drawer */
  .header-buttons {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background-color: #0e1317;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: center;
    gap: 15px !important;
    transition: all 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    padding: 100px 0 40px 0 !important;
    overflow-y: auto !important;
  }

  .header-buttons.active {
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }

  .header-btn {
    font-size: 18px !important;
    width: 90%;
    text-align: center;
    padding: 12px 0 !important;
    margin: 0 !important;
    height: auto !important; /* Crucial: allows button to grow when menu opens */
  }

  /* 5. THE SHOP ACCORDION FIX */
  .header-dropdown {
    width: 100%; /* Ensure it spans the width of the drawer */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Reset the dropdown so it's ready to be toggled */

  /* 6. Hero & Grid Fixes */
  .hero-v2 {
    display: flex !important;
    min-height: 100vh !important;
    padding: 100px 20px 60px 20px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-content-v2 h1 {
    font-size: 26px !important;
  }

  .search-bar-v2 {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 350px;
  }
}

/* Animations (Global) */
/* Update these specific animation rules */
.hamburger-menu.active span:nth-child(1) {
  /* Reduced horizontal translate to keep it from shifting too far right */
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  /* Adjusted for a perfect cross-center */
  transform: rotate(-45deg) translate(5px, -7px);
}
.hamburger-menu.active span {
  background-color: #ff4d4d !important;
}

/* Global mobile text scaling disable */
html,
body,
.header-container {
  -webkit-text-size-adjust: none !important;
  -moz-text-size-adjust: none !important;
  -ms-text-size-adjust: none !important;
  text-size-adjust: none !important;
}
/* ========================================== */
/* MOBILE HEADER - LOGO ONLY + CENTERED */
/* ========================================== */

/* ========================================== */
/* MOBILE HEADER - CENTERED LOGO + HAMBURGER ON RIGHT */
/* ========================================== */

/* ========================================== */
/* MOBILE HEADER - CENTERED LOGO + WORKING HAMBURGER */
/* ========================================== */

/* ========================================== */
/* ============= MOBILE HEADER ============== */
/* ========================================== */

@media screen and (max-width: 768px) {
  /* Hamburger visibility */
  .hamburger-menu {
    display: flex !important;
    z-index: 9999;
    width: 32px;
    height: 26px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
  .menu-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: #edebc5;
    border: 1px solid #0e1317;
    font-size: 10px;
    font-weight: 700;
    z-index: 10001;

    /* Force the perfect circle */
    width: 18px; /* Fixed width */
    height: 18px; /* Fixed height */
    border-radius: 50%; /* Perfect circle ratio */
    display: flex; /* Keep flex for centering */
    justify-content: center;
    align-items: center;
    padding: 0; /* Remove padding to prevent stretching */
    line-height: 1;
  }
  /* Add this to the VERY BOTTOM of styles.css */

  /* Target the specific ID to override general badge styles */
  #menu-cart-badge.cart-badge {
    position: absolute !important;
    top: -10px !important; /* Adjusted to sit perfectly on the top-right line */
    right: -10px !important;

    /* Force the perfect circle */
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;

    /* Alignment */
    display: none; /* JS will change this to 'flex' */
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;

    /* Visuals */
    background-color: #dc3545 !important;
    color: #edebc5 !important;
    border: 1px solid #0e1317 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    z-index: 10001 !important;
  }

  .hamburger-menu span {
    background-color: #0e1317 !important;
  }

  /* Mobile Menu Drawer */
  .header-buttons {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: #0e1317;
    z-index: 1100;
    visibility: hidden;
    pointer-events: none;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 100px 20px 40px;
    overflow-y: auto;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  }

  .header-buttons.active {
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }

  .header-btn {
    font-size: 18px;
    width: 90%;
    text-align: center;
    padding: 16px 25px;
    background: #cc2424;
    color: #edebc5;
    border-radius: 8px;
    margin: 0;
  }

  /* ====================== SHOP DROPDOWN FIX ====================== */

  .header-dropdown {
    width: 90% !important;
    position: relative;
    display: block;
  }

  .header-buttons .header-dropdown .header-btn {
    width: 100%;
    text-align: center;
    padding: 16px 25px;
    background: #cc2424;
    color: #edebc5;
    border-radius: 8px;
  }

  /* Reset dropdown for mobile */
  .header-buttons .header-dropdown .dropdown-content {
    display: none !important;
    position: static !important; /* Removes it from overlaying other buttons */
    width: 100% !important;
    background-color: #a91f1f !important; /* Darker red to distinguish from parent */
    border: none !important;
    box-shadow: none !important;
    flex-direction: column; /* Stack links vertically */
  }

  .header-dropdown.open .dropdown-content {
    display: flex !important;
    padding: 10px 0 !important;
  }

  .header-dropdown.open .dropdown-content a {
    font-size: 16px !important;
    color: #edebc5 !important;
    padding: 15px 0 !important;
    text-decoration: none;
    display: block !important;
    width: 100%;
    text-align: center;
    /* Optional: subtle divider between sub-links */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-dropdown.open .dropdown-content a:last-child {
    border-bottom: none;
  }

  /* SHOW the dropdown when .open is added */
  .header-buttons .header-dropdown.open .dropdown-content {
    display: block !important;
    padding: 8px 0;
  }

  .header-buttons .header-dropdown .dropdown-content a {
    display: block !important;
    padding: 16px 25px !important;
    color: #edebc5 !important;
    font-size: 17px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .header-buttons .header-dropdown .dropdown-content a:last-child {
    border-bottom: none;
  }

  .header-buttons .header-dropdown .dropdown-content a:hover {
    background-color: #a91f1f;
  }

  /* Make sure the Shop button itself behaves correctly */
  .header-dropdown > .header-btn {
    cursor: pointer;
  }
}

/* Very small phones */
@media screen and (max-width: 480px) {
  .site-logo {
    max-height: 46px;
  }
}

@media screen and (max-width: 768px) {
  /* 1. Hide the desktop header labels (Item, Version, etc) as they won't line up anymore */
  .cart-header {
    display: none !important;
  }

  /* 2. Change the grid to a single column and add a border to separate items */
  .cart-item {
    grid-template-columns: 1fr !important; /* Forces everything into one column */
    gap: 8px !important;
    padding: 20px 15px !important;
    border: 1px solid #eee !important;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative; /* For positioning the remove button if needed */
  }

  /* 3. Re-structure the Item Details (Image + Name) */
  .item-details {
    flex-direction: row; /* Keep image and text side-by-side */
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .item-thumbnail {
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0;
  }

  .item-details .item-name {
    font-size: 16px !important;
    line-height: 1.3;
    margin: 0 !important;
  }

  /* 4. Style the sub-details (Version, Price, Qty) to look like a list */
  .item-version,
  .item-price,
  .item-quantity,
  .item-line-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
  }

  /* Add labels before the values so users know what the numbers are */
  .item-version::before {
    content: 'Version:';
    font-weight: bold;
    color: #0e1317;
  }
  .item-price::before {
    content: 'Price:';
    font-weight: bold;
    color: #0e1317;
  }
  .item-quantity::before {
    content: 'Quantity:';
    font-weight: bold;
    color: #0e1317;
  }
  .item-line-total::before {
    content: 'Subtotal:';
    font-weight: bold;
    color: #cc2424;
  }

  .item-line-total {
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    margin-top: 5px;
    font-weight: bold;
    color: #cc2424;
  }

  /* 5. Clean up the quantity input and remove button */
  .cart-quantity-input {
    margin: 0 !important;
    height: 28px !important;
    width: 50px !important;
  }

  .remove-btn {
    margin-top: 5px !important;
    display: inline-block;
  }
}
@media screen and (max-width: 768px) {
  /* This ONLY targets the cart page container */
  .cart-main-container {
    margin-top: 40px !important; /* This adds space specifically below the header */
    padding-top: 20px !important;
  }
}

@media screen and (max-width: 768px) {
  /* 1. Fix the container to allow scrolling instead of squeezing */
  .section.featured #featured-items-container.shop-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-y: hidden;
    justify-content: flex-start !important;
    gap: 20px !important;
    padding: 20px 10px !important;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: -20px; /* Aligns with screen edge */
    -ms-overflow-style: none !important; /* IE and Edge */
    scrollbar-width: none !important; /* Firefox */
    overflow-x: hidden !important; /* Prevents horizontal scrolling */
    touch-action: none; /* Disables browser touch interactions for this area */
    -webkit-overflow-scrolling: auto !important; /* Disables momentum scrolling on iOS */
    transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
  }

  /* 2. Ensure each item has a consistent width and doesn't shrink */
  .section.featured .item-card {
    flex: 0 0 280px !important; /* Forces each card to stay 280px wide */
    scroll-snap-align: start;
    background: #fff !important; /* Adds contrast against the beige background */
    padding: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  }

  @media screen and (max-width: 768px) {
    /* Hide scrollbar for Chrome, Safari and Opera */
    .section.featured
      #featured-items-container.shop-container::-webkit-scrollbar {
      display: none !important;
    }
  }

  /* 3. Adjust the image height so they aren't too tall on mobile */
  .section.featured .item-img-container {
    height: 200px !important;
  }
}
/* FORCE HIDE on Desktop (all screens wider than 768px) */
/* 1. Hide it on Desktop by default */
#closeFiltersBtn {
  display: none !important;
}

/* 2. Show it ONLY on Mobile */
@media screen and (max-width: 768px) {
  #closeFiltersBtn {
    display: block !important; /* Or 'flex' if you want it centered */

    /* Optional: Add some mobile styling so it looks like a button */
    width: 100%;
    padding: 12px;
    background-color: #0e1317;
    color: white;
    border: none;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: bold;
  }
}

@media screen and (max-width: 768px) {
  /* 1. Make "Welcome to" slightly larger and spaced out */
  .hero-v2 .eyebrow {
    font-size: 18px !important;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
  }

  /* 2. Make the main title "Daniel Ditta Collectibles" much bigger */
  .hero-v2 h1.highlight {
    font-size: 48px !important; /* Adjust this number to fit your screen width */
    line-height: 1.1 !important; /* Keeps the two lines close together */
    margin-top: 5px !important;
  }

  /* 3. Ensure the 'Collectibles' span matches the new size */
  .hero-v2 h1.highlight span.highlight {
    font-size: 48px !important;
    display: block; /* Forces "Collectibles" to its own line if the <br /> isn't enough */
  }
}

/* Improved tablet + medium screen support for filters bar */
@media screen and (max-width: 1024px) {
  .sidebar-filters {
    padding: 12px 18px !important;
    gap: 12px !important;
  }

  .sidebar-inner {
    gap: 12px !important;
    flex-wrap: wrap !important; /* Allow wrapping on tighter screens */
  }

  .sidebar-inner h3 {
    font-size: 16px !important;
  }

  .sidebar-filters label {
    font-size: 13px !important;
  }

  .sidebar-search,
  .sidebar-filters select {
    min-width: 120px !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
  }

  .filter-group {
    flex-grow: 1;
    min-width: 160px;
  }
}

/* Extra safety for iPad portrait/landscape */
@media screen and (max-width: 820px) {
  .sidebar-inner {
    flex-direction: column !important; /* Stack on smaller tablets */
    align-items: stretch !important;
  }
}
/* Tablet fix for navigation arrows on item cards */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .item-img-container .nav-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 22px !important;
  }

  .item-img-container .prev-btn {
    left: 8px !important;
  }

  .item-img-container .next-btn {
    right: 8px !important;
  }

  .item-img-container {
    overflow: hidden !important; /* Prevents any overflow */
  }
}

/* Updated media query - now includes iPads */
@media screen and (max-width: 1024px) {
  .hamburger-menu {
    display: flex !important;
    /* ... rest of your mobile hamburger styles ... */
  }

  /* Also apply mobile header/menu drawer styles to iPads */
  .header-buttons {
    /* mobile drawer styles */
  }

  /* Hide the desktop nav on iPads */
  .header-buttons:not(.active) {
    display: none !important;
  }
}
