/** Shopify CDN: Minification failed

Line 1330:10 Expected identifier but found whitespace
Line 1330:15 Unexpected ";"
Line 1442:0 Expected identifier but found "*"

**/
/**
 * SkidSteerCabs Custom Theme - v1.0.0
 * Main theme styles for components and sections
 */

/* ========================================
   VEVOR OVERRIDES - FORCE GRAY BACKGROUND
   ======================================== */

/* Force gray background on body */
body,
body.vevor-body,
html body {
  background-color: rgb(232, 234, 237) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Force gray background on main content */
.vevor-main,
main,
#MainContent {
  background-color: rgb(232, 234, 237) !important;
  min-height: 100vh;
}

/* Ensure sections have transparent background */
.shopify-section,
section {
  background-color: transparent !important;
}

/* Force full-width header */
.vevor-header {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.vevor-top-bar,
.vevor-nav-bar {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Force full-width container */
.vevor-container,
.container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

/* Override any container constraints on header */
.vevor-header .container,
.vevor-header .vevor-container,
header .container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 20px !important;
}

/* Force header sections to be full width */
.vevor-header,
.vevor-top-bar,
.vevor-nav-bar {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-background);
  border-bottom: var(--border-width) solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Header styles are now handled in the header section */

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: background-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.mobile-nav-toggle:hover {
  background-color: var(--color-background-secondary);
}

.mobile-nav-toggle:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide mobile toggle on desktop */
@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* Old header search styles removed - now handled in header section */

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

.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-background-secondary);
}

.hero-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  text-align: center;
  color: var(--color-text-inverse);
  z-index: 2;
  max-width: 600px;
  padding: var(--spacing-xl);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero-banner {
    min-height: 400px;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
  }
}

/* ========================================
   CATEGORY SHOWCASE
   ======================================== */

.category-showcase {
  padding: var(--spacing-2xl) 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
  }
}

.category-card,
.vevor-category-item {
  position: relative;
  height: 200px !important; /* Fixed height for rectangular cards */
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: var(--color-background-secondary);
  transition: transform var(--transition-normal);
  cursor: pointer;
  display: flex !important;
  flex-direction: column !important;
  aspect-ratio: unset !important; /* Remove aspect ratio constraint */
}

/* Force rectangular category cards */
.vevor-category-image {
  height: 140px !important;
  flex-shrink: 0 !important;
}

.vevor-category-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--color-text-inverse);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  text-align: center;
}

.category-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-xs);
}

.category-count {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

/* ========================================
   UNIFIED PRODUCT CARDS SYSTEM
   ======================================== */

/* Base Product Card Styles */
.product-card-unified {
  background-color: var(--color-background);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.product-card-unified:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Product Card Image */
.product-card-unified__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--color-background-light);
}

.product-card-unified__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card-unified:hover .product-card-unified__image img {
  transform: scale(1.05);
}

/* Product Card Content */
.product-card-unified__content {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--spacing-sm);
}

/* Product Card Title */
.product-card-unified__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  color: var(--color-text);
  margin: 0;
  height: 36px;
  display: flex;
  align-items: flex-start;
}

.product-card-unified__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}

.product-card-unified__title a:hover {
  color: var(--color-primary);
}

/* Tooltip for full title on hover */
.product-card-unified__title a::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  line-height: 1.4;
  white-space: normal;
  max-width: 280px;
  width: max-content;
  text-align: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tooltip arrow */
.product-card-unified__title a::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

/* Show tooltip on hover */
.product-card-unified__title a:hover::after,
.product-card-unified__title a:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Responsive tooltip adjustments */
@media (max-width: 768px) {
  .product-card-unified__title a::after {
    max-width: 240px;
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .product-card-unified__title a::after {
    max-width: 200px;
    left: 0;
    transform: none;
    margin-left: var(--spacing-sm);
  }

  .product-card-unified__title a::before {
    left: var(--spacing-lg);
    transform: translateY(100%);
  }
}

/* Product Card Vendor */
.product-card-unified__vendor {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-medium);
  margin: 0;
  display: none; /* Hidden by default as per user preference */
}

/* Product Card Price */
.product-card-unified__price {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: nowrap;
  margin-top: auto;
  min-height: 24px;
  overflow: hidden;
}

.product-card-unified__price-sale,
.product-card-unified__price-regular {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.product-card-unified__price-compare {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  text-decoration: line-through;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Product Card Actions */
.product-card-unified__actions {
  margin-top: auto;
  padding-top: var(--spacing-sm);
}

.product-card-unified__actions .btn {
  width: 100%;
  font-weight: var(--font-weight-semibold);
  text-align: center !important;
  display: inline-block !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Product Badges */
.product-card-unified__badge {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  background-color: var(--color-primary);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.product-card-unified__badge--sale {
  background-color: var(--color-error);
}

.product-card-unified__badge--sold-out {
  background-color: var(--color-text-muted);
}

/* Context-Specific Modifiers */

/* Collection Page Cards */
.product-card-unified--collection {
  /* Inherits base styles */
}

/* Featured Product Cards */
.product-card-unified--featured .product-card-unified__content {
  padding: 16px;
  gap: 12px;
}

.product-card-unified--featured .product-card-unified__title {
  height: 40px;
}

/* Recommendation Cards */
.product-card-unified--recommendation .product-card-unified__content {
  padding: 12px;
}

/* ========================================
   COMPATIBILITY & GRID LAYOUTS
   ======================================== */

/* Ensure unified cards work in existing grid systems */
.collection-products .product-card-unified,
.vevor-products-grid .product-card-unified,
.products-grid .product-card-unified {
  /* Inherit grid positioning */
}

/* Ensure button text is centered in all unified card contexts */
.product-card-unified .btn,
.product-card-unified__actions .btn,
.product-card-unified__actions button {
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
}

/* Collection page grid compatibility */
.collection-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
}

/* Featured products grid compatibility */
.vevor-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 1200px) {
  .vevor-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .vevor-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .collection-products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

/* ========================================
   COLLECTION PAGE GRID LAYOUT
   ======================================== */

/* Hide vendor displays on all collection pages (legacy support) */
.collection-page .product-vendor,
.collection-products .product-vendor,
.collection .product-vendor {
  display: none !important;
}

/* ========================================
   COLLECTION PAGINATION STYLES
   ======================================== */

.collection-pagination {
  margin-top: var(--spacing-2xl);
  padding: var(--spacing-xl) 0;
  border-top: var(--border-width) solid var(--color-border-light);
}

.pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-item {
  margin: 0;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  min-width: 44px;
  height: 44px;
  padding: var(--spacing-sm) var(--spacing-md);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  background-color: var(--color-background);
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.pagination-link:hover:not(.pagination-disabled):not(.pagination-current) {
  border-color: var(--color-primary);
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.pagination-current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  font-weight: var(--font-weight-bold);
}

.pagination-disabled {
  background-color: var(--color-background-light);
  border-color: var(--color-border-light);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.pagination-ellipsis {
  border: none;
  background: none;
  color: var(--color-text-muted);
  cursor: default;
}

.pagination-ellipsis:hover {
  background: none;
  border: none;
  transform: none;
}

.pagination-prev,
.pagination-next {
  font-weight: var(--font-weight-semibold);
  padding: var(--spacing-sm) var(--spacing-lg);
}

.pagination-number {
  min-width: 44px;
  font-weight: var(--font-weight-semibold);
}

.pagination-info {
  text-align: center;
}

.pagination-summary {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
}

/* Mobile Responsive Pagination */
@media (max-width: 767px) {
  .collection-pagination {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .pagination-list {
    gap: var(--spacing-xs);
  }

  .pagination-link {
    min-width: 40px;
    height: 40px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
  }

  .pagination-prev,
  .pagination-next {
    padding: var(--spacing-xs) var(--spacing-md);
  }

  .pagination-number {
    min-width: 40px;
  }

  /* Hide some page numbers on very small screens */
  @media (max-width: 480px) {
    .pagination-list {
      flex-wrap: wrap;
      max-width: 100%;
    }

    .pagination-prev,
    .pagination-next {
      flex: 1;
      max-width: 120px;
    }

    .pagination-info {
      order: -1;
      margin-bottom: var(--spacing-md);
    }
  }
}

/* Legacy product classes removed - now using .product-card-unified system */

.price-current {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.price-compare {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-savings {
  font-size: var(--font-size-sm);
  color: var(--color-error);
  font-weight: var(--font-weight-semibold);
  background-color: var(--color-primary-bg);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
}

/* Product rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin: var(--spacing-xs) 0;
}

.product-stars {
  display: flex;
  gap: 1px;
}

.product-star {
  width: 12px;
  height: 12px;
  color: #fbbf24;
}

.product-reviews {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Legacy .product-actions removed - now using .product-card-unified__actions */

/* ========================================
   VEVOR-STYLE SECTION LAYOUTS
   ======================================== */

.section-header {
  text-align: left !important; /* Force left alignment like Vevor */
  margin-bottom: var(--spacing-3xl);
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -var(--spacing-sm);
  left: 0; /* Left align the underline */
  transform: none; /* Remove centering transform */
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--border-radius-sm);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

/* Product grid layouts */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin: var(--spacing-2xl) 0;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }

  .section-title {
    font-size: var(--font-size-4xl);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Category sections */
.category-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-background-section);
}

.category-section:nth-child(even) {
  background-color: var(--color-background);
}

/* Featured products section */
.featured-section {
  background: linear-gradient(135deg, var(--color-primary-bg) 0%, var(--color-background) 100%);
  padding: var(--spacing-4xl) 0;
}

/* Sale banner */
.sale-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: var(--spacing-lg) 0;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.sale-banner h2 {
  color: white;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-2xl);
}

.sale-banner p {
  margin: 0;
  font-size: var(--font-size-lg);
  opacity: 0.9;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--mobile-nav-width);
  height: 100vh;
  background-color: var(--color-background);
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-overlay.active .mobile-nav {
  transform: translateX(0);
}

.mobile-nav__header {
  padding: var(--spacing-lg);
  border-bottom: var(--border-width) solid var(--color-border);
  background-color: var(--color-background-secondary);
}

.mobile-nav__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  border-radius: var(--border-radius-md);
  transition: background-color var(--transition-fast);
}

.mobile-nav__close:hover {
  background-color: var(--color-border);
}

.mobile-nav__search {
  margin-top: var(--spacing-lg);
}

.mobile-nav__search form {
  position: relative;
  display: flex;
}

.mobile-nav__search-input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  padding-right: 50px;
  border: var(--border-width) solid var(--color-border);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-base);
  background-color: var(--color-background);
}

.mobile-nav__search-input:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  border-color: var(--color-secondary);
}

.mobile-nav__search-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
}

.mobile-nav__menu {
  padding: var(--spacing-md) 0;
}

.mobile-nav__item {
  border-bottom: var(--border-width) solid var(--color-border-light);
}

.mobile-nav__link-wrapper {
  display: flex;
  align-items: center;
}

.mobile-nav__link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  min-height: var(--touch-target-min);
  transition: background-color var(--transition-fast);
}

.mobile-nav__link:hover {
  background-color: var(--color-background-secondary);
}

.mobile-nav__link--highlight {
  color: var(--color-secondary);
  font-weight: var(--font-weight-semibold);
}

.mobile-nav__toggle {
  width: var(--touch-target-min);
  height: var(--touch-target-min);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav__toggle[aria-expanded="true"] {
  transform: rotate(90deg);
  color: var(--color-secondary);
}

.mobile-nav__submenu {
  max-height: 0;
  overflow: hidden;
  background-color: var(--color-background-secondary);
  transition: max-height var(--transition-normal);
}

.mobile-nav__submenu.active {
  max-height: 500px;
}

.mobile-nav__sublink {
  display: block;
  padding: var(--spacing-sm) var(--spacing-xl);
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-sm);
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.mobile-nav__sublink:hover {
  background-color: var(--color-border-light);
}

.mobile-nav__divider {
  height: 1px;
  background-color: var(--color-border);
  margin: var(--spacing-md) var(--spacing-lg);
}

.mobile-nav__cart-count {
  background-color: var(--color-secondary);
  color: var(--color-text-inverse);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

/* Hide mobile nav on desktop */
@media (min-width: 1024px) {
  .mobile-nav-overlay {
    display: none;
  }
}

/* ========================================
   VEVOR-STYLE MEGA MENU
   ======================================== */

/* Mega Menu Styles */
.vevor-mega-menu {
  position: fixed;
  top: var(--vevor-header-bottom, 120px); /* Align to header bottom dynamically */
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 500px;
  overflow: hidden;
  width: 100vw;
}

.vevor-mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover trigger for mega menu */
.vevor-mega-menu-trigger:hover .vevor-mega-menu,
.vevor-mega-menu:hover,
.vevor-mega-menu.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Navigation item positioning */
.vevor-nav-item {
  position: relative;
  display: inline-block;
}

.vevor-mega-menu-trigger .vevor-nav-link {
  display: flex;
  align-items: center;
}



.vevor-mega-container {
  display: flex;
  min-height: 400px;
  max-width: none; /* Remove max-width constraint */
  margin: 0;
  padding: 0 20px; /* 20px padding from edges */
  width: 100%;
  box-sizing: border-box;
}

/* Left Sidebar - Category List */
.vevor-mega-sidebar {
  width: 280px;
  background: #e8eaed; /* Darker gray like Vevor */
  border-right: 1px solid #d1d5db;
  overflow-y: auto;
  padding: 0; /* Remove padding to align items to left edge */
  box-sizing: border-box;
}

.vevor-mega-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px; /* Slightly reduced padding */
  cursor: pointer;
  border-bottom: 1px solid #d1d5db;
  transition: all 0.2s ease;
  position: relative;
  background: transparent;
  margin: 0; /* Ensure no margin */
}

.vevor-mega-category:hover {
  background: #ff6b35;
  color: white;
  border-bottom-color: #ff6b35;
}

.vevor-mega-category.active {
  background: #ff6b35;
  color: white;
  border-bottom-color: #ff6b35;
}

.vevor-mega-category-title {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  text-align: left; /* Ensure left alignment */
  margin: 0; /* Remove any margin */
  padding: 0; /* Remove any padding */
}

.vevor-mega-category-arrow {
  width: 8px;
  height: 12px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  flex-shrink: 0; /* Prevent arrow from shrinking */
  margin-left: 8px; /* Small gap from text */
}

.vevor-mega-category:hover .vevor-mega-category-arrow,
.vevor-mega-category.active .vevor-mega-category-arrow {
  opacity: 1;
}

/* Right Content Panel */
.vevor-mega-content-panel {
  flex: 1;
  background: white;
  padding: 20px 30px 20px 20px; /* Reduce left padding to align better */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.vevor-mega-content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #ff6b35;
}

.vevor-mega-title-section {
  flex: 1;
  margin-right: 15px;
  min-width: 0; /* Allow flex item to shrink */
}

.vevor-mega-content-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.vevor-mega-content-description {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  margin: 6px 0 0 0;
  width: 100%;
  /* Truncate long descriptions */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vevor-mega-see-all {
  color: #ff6b35;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.vevor-mega-see-all:hover {
  color: #e55a2b;
  text-decoration: underline;
}

.vevor-mega-subcategories {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 4px 40px; /* 4px vertical, 40px horizontal gap between columns */
  align-items: start;
  flex: 1;
  max-width: 70%; /* Reserve 30% for image area */
  max-height: 200px; /* Force wrapping after this height */
  align-content: start;
}

.vevor-mega-subcategories > * {
  width: auto; /* Let items size naturally */
  flex: 0 0 auto; /* Don't grow or shrink */
}

.vevor-mega-content-body {
  display: flex;
  /* TEMPORARILY DISABLED - No gap needed since image area is hidden */
  /* gap: 20px; */ /* Space between subcategories and image area */
  flex: 1;
}

/* TEMPORARILY DISABLED - Collection images in mega menu */
/* TODO: Re-enable this when we want to show collection images again */
/*
.vevor-mega-image-area {
  flex: 0 0 30%; /* Fixed 30% width for image area */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  min-height: 200px;
  color: #666;
  font-style: italic;
}
*/

/* Hide image area completely for now */
.vevor-mega-image-area {
  display: none !important;
}

.vevor-mega-subcategory {
  padding: 4px 0; /* Reduced by ~50% for more compact layout */
}

.vevor-mega-subcategory a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.2; /* Tighter line height for more compact layout */
}

.vevor-mega-subcategory a:hover {
  color: #ff6b35;
  font-weight: bold;
}

/* Taxonomy Mode Styles */
.vevor-mega-subcategories.taxonomy-mode {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 70%;
  align-content: start;
  max-height: none;
  padding-bottom: 20px;
  gap: 0 !important; /* Override the base gap for taxonomy mode */
  flex-wrap: nowrap !important; /* Prevent wrapping in taxonomy mode */
}

/* Taxonomy columns container */
.vevor-mega-subcategories.taxonomy-mode .vevor-taxonomy-columns-container {
  display: flex;
  flex-direction: row;
  gap: 28px !important;
  align-items: start;
  flex-wrap: nowrap;
}

/* More specific selector for mega menu taxonomy columns */
.vevor-mega-menu .vevor-taxonomy-columns-container {
  gap: 20px !important;
}

.vevor-mega-taxonomy-column {
  flex: 0 0 auto;
  min-width: 140px;
  max-width: 180px;
}

/* When a taxonomy column has sub-columns, it needs more space */
.vevor-mega-taxonomy-column.has-sub-columns {
  min-width: 200px;
  max-width: 240px;
}

.vevor-mega-taxonomy-header {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px 0; /* Reduced from 12px to 4px */
  padding-bottom: 4px; /* Reduced from 8px to 4px */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vevor-mega-taxonomy-column .vevor-mega-subcategory {
  margin-bottom: 0px; /* Remove margin for tighter spacing */
}

.vevor-mega-taxonomy-column .vevor-mega-subcategory a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  display: block;
  padding: 1px 0; /* Reduced from 2px to 1px */
  line-height: 1.2; /* Tighter line height */
  transition: all 0.2s ease;
}

.vevor-mega-taxonomy-column .vevor-mega-subcategory a:hover {
  color: #ff6b35;
  font-weight: bold;
  padding-left: 4px;
}

/* TEMPORARILY DISABLED - "Shop by" label removed per user request */
/* TODO: Re-enable this if we want to show "Shop by:" labels again */
/*
/* Shop by label for taxonomy mode */
.vevor-mega-shop-by-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
*/
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  flex-shrink: 0;
}

/* Sub-columns for overflow items */
.taxonomy-sub-columns {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

.taxonomy-sub-column {
  flex: 0 0 auto;
  min-width: 95px;
  max-width: 130px; /* Increased to accommodate "New Holland" */
}

/* Allow text to display fully in sub-columns */
.taxonomy-sub-column .vevor-mega-subcategory-link {
  white-space: nowrap;
  display: block;
  /* Removed overflow: hidden and text-overflow: ellipsis to prevent truncation */
}

/* Add spacing to the last sub-column to prevent encroachment */
.taxonomy-sub-column:last-child {
  padding-right: 32px;
  margin-right: 16px;
}

/* Alternative approach - add margin to the entire sub-columns container */
.taxonomy-sub-columns {
  margin-right: 20px;
}

.vevor-mega-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.vevor-mega-placeholder p {
  margin: 0;
  font-size: 14px;
}

/* Hidden category data */
.category-data {
  display: none;
}

/* ========================================
   404 ERROR PAGE STYLES
   ======================================== */

.error-404-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) var(--spacing-md);
  background-color: rgb(232, 234, 237);
}

.error-404-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  background-color: var(--color-background);
  border-radius: 0;
  padding: var(--spacing-3xl) var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  border: var(--border-width) solid var(--color-border);
}

.error-404-badge {
  display: inline-block;
  margin-bottom: var(--spacing-lg);
}

.error-code {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.error-404-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

.error-404-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  font-weight: var(--font-weight-medium);
}

.error-404-description {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: 60px !important;
  padding-bottom: 20px !important;
}

.error-404-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
}

.error-404-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  min-width: 160px;
}

.btn-icon {
  flex-shrink: 0;
}

.error-404-search {
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl) 0;
  border-top: var(--border-width) solid var(--color-border-light);
  border-bottom: var(--border-width) solid var(--color-border-light);
}

.error-404-search-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.error-404-search-form {
  max-width: 400px;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  padding-right: 50px;
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  font-size: var(--font-size-base);
  background-color: var(--color-background-light);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.search-submit {
  position: absolute;
  right: var(--spacing-xs);
  background: none;
  border: none;
  padding: var(--spacing-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 0;
  transition: all var(--transition-fast);
}

.search-submit:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-bg);
}

.error-404-categories {
  margin-bottom: var(--spacing-2xl);
}

.error-404-categories-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.error-404-categories-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  gap: var(--spacing-sm) !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  justify-items: center !important;
  text-align: center !important;
}

.category-link {
  display: block !important;
  padding: var(--spacing-sm) var(--spacing-md) !important;
  background-color: var(--color-background-light) !important;
  border: var(--border-width) solid var(--color-border) !important;
  border-radius: 0 !important;
  color: var(--color-text) !important;
  text-decoration: none !important;
  font-size: var(--font-size-sm) !important;
  font-weight: var(--font-weight-medium) !important;
  transition: all var(--transition-fast) !important;
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.category-link:hover {
  background-color: var(--color-primary-bg);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.error-404-support {
  text-align: center;
}

.error-404-help-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.support-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
}

.support-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.error-404-support-btn {
  min-width: 140px;
}

/* Mobile Responsive Styles for 404 Page */
@media (max-width: 768px) {
  .error-404-container {
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: 70vh;
  }

  .error-404-content {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }

  .error-404-title {
    font-size: var(--font-size-2xl);
  }

  .error-404-subtitle {
    font-size: var(--font-size-lg);
  }

  .error-404-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-404-btn {
    width: 100%;
    max-width: 280px;
  }

  .error-404-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xs);
    justify-items: center;
  }

  .category-link {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
  }
}

@media (max-width: 480px) {
  .error-404-content {
    padding: var(--spacing-xl) var(--spacing-md);
    margin: var(--spacing-md);
  }

  .error-404-title {
    font-size: var(--font-size-xl);
  }

  .error-404-categories-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* ========================================
   MODERN CART PAGE STYLES
   ======================================== */





.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: rgb(232, 234, 237);
  min-height: 80vh;
}

.cart-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  background-color: var(--color-background);
  padding: var(--spacing-xl);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
}

.cart-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.cart-item-count {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  margin: 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 2fr 1fr;
  }
}

/* Cart Items Section */
.cart-items-section {
  background-color: var(--color-background);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  padding: var(--spacing-xl);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border: var(--border-width) solid var(--color-border-light);
  border-radius: 0;
  background-color: var(--color-background-light);
  position: relative;
}

@media (min-width: 768px) {
  .cart-item {
    grid-template-columns: 120px 1fr auto;
    align-items: start;
  }
}

.cart-item-image {
  width: 120px;
  height: 120px;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--color-background);
  border: var(--border-width) solid var(--color-border);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background-color: var(--color-background-light);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  min-width: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-xs);
  line-height: var(--line-height-tight);
}

.cart-item-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cart-item-title a:hover {
  color: var(--color-primary);
}

.cart-item-variant {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

.cart-item-properties {
  margin-top: var(--spacing-xs);
}

.cart-item-property {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

.cart-item-price {
  margin-top: var(--spacing-sm);
}

.cart-item-price-current {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.cart-item-price-compare {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-right: var(--spacing-sm);
}

/* Quantity Controls */
.cart-item-quantity {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cart-item-quantity {
    align-items: flex-end;
    text-align: right;
  }
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  background-color: var(--color-background);
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.quantity-btn:hover {
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
}

.quantity-input {
  width: 60px;
  height: 40px;
  border: none;
  border-left: var(--border-width) solid var(--color-border);
  border-right: var(--border-width) solid var(--color-border);
  text-align: center;
  font-size: var(--font-size-base);
  background-color: var(--color-background);
}

.quantity-input:focus {
  outline: none;
  background-color: var(--color-background-light);
}

.cart-item-total {
  margin-top: var(--spacing-sm);
}

.cart-item-total-price {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

/* Remove Button */
.cart-item-remove {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 32px;
  height: 32px;
  border: none;
  background-color: var(--color-background-light);
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.cart-item-remove:hover {
  background-color: var(--color-error);
  color: white;
}

/* Cart Actions */
.cart-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  padding-top: var(--spacing-lg);
  border-top: var(--border-width) solid var(--color-border-light);
}

@media (max-width: 767px) {
  .cart-actions {
    flex-direction: column;
  }

  .cart-actions .btn {
    width: 100%;
  }
}

/* Order Summary Section */
.cart-summary-section {
  background-color: var(--color-background);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  padding: var(--spacing-xl);
  height: fit-content;
  position: sticky;
  top: var(--spacing-xl);
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.cart-summary-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: var(--border-width) solid var(--color-border-light);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.cart-summary-label {
  font-size: var(--font-size-base);
  color: var(--color-text);
}

.cart-summary-value {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  border-top: var(--border-width) solid var(--color-border-light);
  margin-top: var(--spacing-sm);
}

.cart-summary-total-label {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.cart-summary-total-value {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

/* Cart Notes */
.cart-notes {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.cart-notes-label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.cart-notes-input {
  width: 100%;
  min-height: 80px;
  padding: var(--spacing-sm);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  font-size: var(--font-size-base);
  font-family: var(--font-family-primary);
  background-color: var(--color-background-light);
  resize: vertical;
}

.cart-notes-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

/* Checkout Section */
.cart-checkout {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: var(--border-width) solid var(--color-border-light);
}

.cart-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  padding: var(--spacing-lg);
  min-height: 56px;
}

.cart-checkout-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
  margin-bottom: var(--spacing-lg);
}

/* Payment Security Section */
.payment-security {
  border-top: var(--border-width) solid var(--color-border-light);
  padding-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}



.payment-methods {
  text-align: center;
}

.payment-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  display: block;
  margin-bottom: var(--spacing-sm);
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.payment-icon {
  background-color: var(--color-background-light);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  min-width: 50px;
  text-align: center;
}

.payment-icon.visa {
  background-color: #1a1f71;
  color: white;
  border-color: #1a1f71;
}

.payment-icon.mastercard {
  background-color: #eb001b;
  color: white;
  border-color: #eb001b;
}

.payment-icon.amex {
  background-color: #006fcf;
  color: white;
  border-color: #006fcf;
}

.payment-icon.discover {
  background-color: #ff6000;
  color: white;
  border-color: #ff6000;
}

.payment-icon.paypal {
  background-color: #0070ba;
  color: white;
  border-color: #0070ba;
}

/* Cart Help Section */
.cart-help-section {
  border-top: var(--border-width) solid var(--color-border-light);
  padding-top: var(--spacing-lg);
}

.compatibility-help {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  background-color: var(--color-primary-bg);
  padding: var(--spacing-lg);
  border: var(--border-width) solid var(--color-primary);
  border-radius: 0;
  margin-bottom: var(--spacing-lg);
}

.help-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.help-content {
  flex: 1;
}

.help-title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0 0 var(--spacing-xs) 0;
}

.help-contact {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin: 0;
}

.help-contact strong {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.help-contact a,
.faq-item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  transition: all var(--transition-fast);
}

.help-contact a:hover,
.faq-item a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}



/* Empty Cart */
.cart-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: var(--spacing-2xl);
}

.cart-empty-content {
  text-align: center;
  max-width: 400px;
  background-color: var(--color-background);
  padding: var(--spacing-3xl);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
}

.cart-empty-icon {
  margin-bottom: var(--spacing-xl);
  color: var(--color-text-muted);
  display: flex;
  justify-content: center;
}

.cart-empty-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.cart-empty-subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xl);
  line-height: var(--line-height-relaxed);
}

.cart-empty-cta {
  min-width: 200px;
}

/* Loading Overlay */
.cart-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-loading-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cart-loading-spinner {
  background-color: var(--color-background);
  padding: var(--spacing-xl);
  border-radius: 0;
  border: var(--border-width) solid var(--color-border);
  color: var(--color-primary);
}

.cart-loading-spinner svg {
  animation: spin 1s linear infinite;
}

/* ===== APP BLOCK STYLES ===== */
/* App blocks are now rendered directly without wrapper divs to match production theme */

/* App blocks in standalone sections (after main content) */
.app-block-section {
  background-color: rgb(232, 234, 237);
  padding: 40px 0;
  margin: 40px 0;
}

.app-block-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



/* Related Products */
.cart-related-products {
  background-color: var(--color-background);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  padding: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.cart-related-header {
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.cart-related-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}

.cart-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .cart-related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cart-related-product {
  background-color: var(--color-background-light);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  padding: var(--spacing-md);
  transition: all var(--transition-fast);
}

.cart-related-product:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cart-related-product-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: var(--spacing-md);
}

.cart-related-product-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0;
  overflow: hidden;
  background-color: var(--color-background);
  border: var(--border-width) solid var(--color-border);
  margin-bottom: var(--spacing-sm);
}

.cart-related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-related-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  background-color: var(--color-background-light);
}

.cart-related-product-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
  line-height: var(--line-height-tight);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-related-product-price {
  margin-bottom: var(--spacing-sm);
}

.cart-related-price-current {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.cart-related-price-compare {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-decoration: line-through;
  margin-right: var(--spacing-xs);
}

.cart-related-add-btn {
  width: 100%;
  font-size: var(--font-size-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  min-height: 36px;
}

/* Mobile Responsive Styles for Cart */
@media (max-width: 767px) {
  .cart-container {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .checkout-progress-compact .progress-steps {
    max-width: 250px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .step-label {
    font-size: var(--font-size-xs);
  }

  .progress-connector {
    max-width: 30px;
    margin: 0 var(--spacing-xs);
  }

  .cart-header {
    padding: var(--spacing-lg);
  }

  .cart-title {
    font-size: var(--font-size-2xl);
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    padding: var(--spacing-md);
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
  }

  .cart-item-title {
    font-size: var(--font-size-base);
  }

  .cart-summary-section {
    position: static;
    margin-top: var(--spacing-lg);
  }

  .quantity-controls {
    width: 100%;
    max-width: 140px;
  }

  .payment-icons {
    gap: var(--spacing-xs);
  }

  .payment-icon {
    min-width: 45px;
    padding: var(--spacing-xs);
    font-size: 10px;
  }

  .compatibility-help {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-md);
  }


}

/* ========================================
   REUSABLE MODAL COMPONENT STYLES
   ======================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: var(--spacing-md);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--color-background);
  border: var(--border-width) solid var(--color-border);
  border-radius: 0;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(-20px);
  transition: all var(--transition-normal);
  width: 100%;
  max-width: 400px;
}

.modal-overlay.show .modal-container {
  transform: scale(1) translateY(0);
}

.modal-medium {
  max-width: 500px;
}

.modal-large {
  max-width: 700px;
}

.modal-content {
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: var(--border-width) solid var(--color-border-light);
}

.modal-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: 0;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--color-text);
  background-color: var(--color-background-light);
}

.modal-body {
  padding: var(--spacing-xl);
  text-align: center;
}

.modal-text {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.modal-footer {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-top: var(--border-width) solid var(--color-border-light);
  justify-content: flex-end;
}

.modal-footer .btn {
  min-width: 100px;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Mobile responsive modal */
@media (max-width: 767px) {
  .modal-overlay {
    padding: var(--spacing-sm);
  }

  .modal-container {
    max-width: 100%;
    margin: var(--spacing-sm);
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
  }
}

/* Modal animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
  .vevor-mega-menu {
    display: none !important;
  }

  .vevor-mega-menu-trigger {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .vevor-mega-container {
    flex-direction: column;
    min-height: auto;
  }

  .vevor-mega-sidebar {
    width: 100%;
    max-height: 200px;
  }

  .vevor-mega-content-panel {
    padding: 15px 20px;
  }

  .vevor-mega-subcategories {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ========================================
   UPLOADERY FILE UPLOAD INTEGRATION
   ======================================== */

.cart-item-file-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: rgba(0, 123, 255, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.2);
  transition: all var(--transition-fast);
}

.cart-item-file-link:hover {
  text-decoration: none;
  color: #0056b3;
  background-color: rgba(0, 123, 255, 0.15);
  border-color: rgba(0, 123, 255, 0.3);
  transform: translateY(-1px);
}

.cart-item-file-link:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ===== QUESTIONS & ANSWERS APP STYLING ===== */
/* Style the Q&A section to match theme design */
.questions_answers_section {
  background: rgb(232, 234, 237);
  padding: 40px 0;
}

.questions_answers_section .page-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Q&A Container Styling */
[id*="sqa"], [class*="sqa"], [class*="question"], [class*="answer"] {
  background: white !important;
  border-radius: 0 !important;
  border: 1px solid #ddd !important;
  margin-bottom: 16px !important;
  padding: 20px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Q&A Headers and Titles */
[class*="sqa"] h1, [class*="sqa"] h2, [class*="sqa"] h3,
[class*="question"] h1, [class*="question"] h2, [class*="question"] h3 {
  color: #1a365d !important;
  font-weight: 600 !important;
  margin-bottom: 16px !important;
  font-size: 1.5rem !important;
}

/* Q&A Text Content */
[class*="sqa"] p, [class*="sqa"] div,
[class*="question"] p, [class*="question"] div,
[class*="answer"] p, [class*="answer"] div {
  color: #4a5568 !important;
  line-height: 1.6 !important;
  font-size: 1rem !important;
}

/* Q&A Buttons - Match Add to Cart button colors */
[class*="sqa"] button, [class*="sqa"] .btn,
[class*="question"] button, [class*="question"] .btn {
  background: #ff6600 !important;
  color: white !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

[class*="sqa"] button:hover, [class*="sqa"] .btn:hover,
[class*="question"] button:hover, [class*="question"] .btn:hover {
  background: #e55a00 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3) !important;
}

/* Q&A Form Inputs */
[class*="sqa"] input, [class*="sqa"] textarea,
[class*="question"] input, [class*="question"] textarea {
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  padding: 12px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1rem !important;
  width: 100% !important;
  margin-bottom: 12px !important;
}

[class*="sqa"] input:focus, [class*="sqa"] textarea:focus,
[class*="question"] input:focus, [class*="question"] textarea:focus {
  outline: none !important;
  border-color: #ff3600 !important;
  box-shadow: 0 0 0 2px rgba(255, 54, 0, 0.1) !important;
}

/* Q&A Links */
[class*="sqa"] a, [class*="question"] a, [class*="answer"] a {
  color: #ff3600 !important;
  text-decoration: none !important;
}

[class*="sqa"] a:hover, [class*="question"] a:hover, [class*="answer"] a:hover {
  text-decoration: underline !important;
}



/* Mobile Responsive */
@media (max-width: 768px) {
  .questions_answers_section {
    padding: 24px 0;
  }

  .questions_answers_section .page-width {
    padding: 0 16px;
  }

  [id*="sqa"], [class*="sqa"], [class*="question"], [class*="answer"] {
    padding: 16px !important;
    margin-bottom: 12px !important;
  }

  .questions_answers_section h2,
  .questions_answers_section .section-title {
    font-size: 1.5rem !important;
    margin-bottom: 24px !important;
  }
}

/* ===== END QUESTIONS & ANSWERS APP STYLING ===== */

/* ===== PRODUCT RECOMMENDATION SECTIONS STYLING ===== */
/* Style Add to Cart buttons in Similar Items and People Also Bought sections */

/* Target the specific buttons in recommendation sections */
.similar-products-section .add-to-cart-card-btn,
.related-products-section .add-to-cart-card-btn {
  width: 100% !important;
  background: var(--color-primary) !important;
  color: white !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 44px !important;
}

.similar-products-section .add-to-cart-card-btn:hover:not(:disabled),
.related-products-section .add-to-cart-card-btn:hover:not(:disabled) {
  background: var(--color-primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3) !important;
}

.similar-products-section .add-to-cart-card-btn:disabled,
.related-products-section .add-to-cart-card-btn:disabled {
  background: #ccc !important;
  color: #666 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Override any secondary button styling in these sections */
.similar-products-section .btn-secondary,
.related-products-section .btn-secondary {
  background: var(--color-primary) !important;
  color: white !important;
  border-color: var(--color-primary) !important;
}

.similar-products-section .btn-secondary:hover:not(:disabled),
.related-products-section .btn-secondary:hover:not(:disabled) {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3) !important;
}

/* Ensure product card actions are properly styled */
.similar-products-section .product-card-actions,
.related-products-section .product-card-actions {
  margin-top: 12px !important;
  padding-top: 12px !important;
}

/* Style the product cards in recommendation sections to match theme */
.similar-products-section .product-card,
.related-products-section .product-card {
  background: white !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.similar-products-section .product-card:hover,
.related-products-section .product-card:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* ===== END PRODUCT RECOMMENDATION SECTIONS STYLING ===== */

/* ===== SUBTLE FOCUS STYLES FOR NAVIGATION ===== */

/* Logo focus - subtle underline instead of outline */
.vevor-logo a:focus,
.mobile-logo a:focus {
  outline: none;
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Fix ONLY logo and navigation link focus issues - preserve other accessibility */
.vevor-logo a:focus,
.mobile-logo a:focus {
  outline: none;
  /* Keep subtle underline for accessibility */
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Fix navigation links - remove browser default red border */
.vevor-nav-link:focus {
  outline: none;
  /* Use same styling as hover for consistency */
  background-color: #333333;
  color: var(--color-primary);
}

/* ===== END SUBTLE FOCUS STYLES ===== */

/* ===== DEALS PAGE STYLING ===== */

.deals-page {
  background-color: var(--color-background-secondary);
  min-height: 100vh;
}

.deals-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #e55a2b 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.deals-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.deals-hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.deals-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.95;
}

.deals-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.deals-count {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.deals-label {
  font-size: 1rem;
  color: white;
  opacity: 0.9;
}

.deals-content {
  padding: 80px 0;
}

.promotion-card {
  background: white;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 280px;
}

.promotion-card--no-image {
  grid-template-columns: 1fr;
}

.promotion-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.promotion-card--featured {
  border: 3px solid var(--color-primary);
  position: relative;
}

.promotion-card--featured::before {
  content: "FEATURED";
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: white;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
  z-index: 2;
}

.promotion-image {
  background: var(--color-background-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.promotion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promotion-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  text-align: center;
  padding: 20px;
  height: 100%;
}

.promotion-placeholder svg {
  margin-bottom: 12px;
  opacity: 0.5;
}

.promotion-placeholder p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.promotion-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promotion-badge {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.promotion-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 8px;
}

.promotion-subtitle {
  font-size: 1.125rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.promotion-description {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.promotion-expiry {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  padding: 8px 12px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 4px;
  border-left: 3px solid var(--color-primary);
}

.promotion-expiry svg {
  flex-shrink: 0;
}

.promotion-code-section {
  margin-bottom: 24px;
}

.promotion-code-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promotion-code-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.promotion-code-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promotion-code {
  background: var(--color-background-light);
  border: 2px dashed var(--color-primary);
  padding: 12px 16px;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-primary);
  border-radius: 4px;
  letter-spacing: 1px;
}

.promotion-copy-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promotion-copy-btn:hover {
  background: #e55a2b;
  transform: scale(1.05);
}

.promotion-actions {
  display: flex;
  gap: 12px;
}

.promotion-btn {
  padding: 14px 28px;
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.promotion-btn--primary {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.promotion-btn--primary:hover {
  background: #e55a2b;
  border-color: #e55a2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .deals-hero {
    padding: 40px 0;
  }

  .deals-hero-title {
    font-size: 2rem;
  }

  .deals-hero-subtitle {
    font-size: 1rem;
  }

  .deals-content {
    padding: 40px 0;
  }

  .promotion-card,
  .promotion-card--no-image {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .promotion-image {
    min-height: 200px;
  }

  .promotion-content {
    padding: 24px;
  }

  .promotion-title {
    font-size: 1.5rem;
  }

  .promotion-code-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .promotion-copy-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== END DEALS PAGE STYLING ===== */
