/* Wide Carousel Banner Styles - Full Width with Proper Image Containment */
.wide-carousel-section {
  width: 100%;
  margin-bottom: 0;
  background: var(--white);
  padding: 0;
  position: relative;
  margin-top: -20px; /* Merge with header */
  padding-top: 20px; /* Compensate for negative margin */
}

.wide-carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  background: linear-gradient(135deg, var(--cyan-lighter) 0%, var(--white) 100%);
  margin: 0;
  padding: 0;
}

/* Merging Effect - Top Border */
.wide-carousel-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(184, 235, 242, 0.6) 50%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Merging Effect - Bottom Border */
.wide-carousel-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 20%, rgba(255, 255, 255, 0.8) 40%, rgba(184, 235, 242, 0.4) 70%, transparent 100%);
  z-index: 3;
  pointer-events: none;
  border-radius: 0 0 0 0;
}

/* Additional merging effect for the section below */
.wide-carousel-section + section,
.wide-carousel-section + * {
  margin-top: -40px;
  padding-top: 40px;
  position: relative;
  z-index: 1;
}

.wide-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden !important;
  z-index: 2;
}

.wide-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  z-index: 1;
}

.wide-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.wide-carousel-inner {
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden !important;
  box-sizing: border-box;
}

.wide-carousel-content {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 60px;
  gap: 40px;
  box-sizing: border-box;
}

.wide-carousel-left {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 30px;
  box-sizing: border-box;
  overflow: hidden;
}

.wide-carousel-text {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.wide-carousel-badge {
  display: inline-block;
  background: var(--cyan-primary);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.wide-carousel-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.wide-carousel-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.wide-carousel-price {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.wide-carousel-price-old {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.wide-carousel-price-new {
  font-size: 34px;
  font-weight: 700;
  color: var(--cyan-primary);
}

.wide-carousel-btn {
  display: inline-block;
  background: var(--cyan-primary);
  color: var(--white);
  padding: 14px 35px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--cyan-primary);
}

.wide-carousel-btn:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.wide-carousel-right {
  flex: 0 0 50%;
  max-width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 30px;
  box-sizing: border-box;
  overflow: hidden !important;
}

.wide-carousel-image-container {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  box-sizing: border-box;
  padding: 20px;
}

.wide-carousel-image {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px;
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
}

.wide-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: var(--cyan-primary);
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wide-carousel-nav:hover {
  background: var(--cyan-primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.wide-carousel-prev {
  left: 20px;
}

.wide-carousel-next {
  right: 20px;
}

.wide-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.wide-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.wide-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.wide-carousel-dot.active {
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
  width: 30px;
  border-radius: 6px;
}

/* Responsive Styles for Wide Carousel */
@media (max-width: 991.98px) {
  .wide-carousel {
    height: 450px;
  }
  
  .wide-carousel-content {
    padding: 30px 40px;
    gap: 30px;
  }
  
  .wide-carousel-title {
    font-size: 28px;
  }
  
  .wide-carousel-description {
    font-size: 14px;
  }
  
  .wide-carousel-price-new {
    font-size: 26px;
  }
}

@media (max-width: 767.98px) {
  .wide-carousel {
    height: auto !important;
    min-height: 280px !important;
    max-height: 320px !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  
  .wide-carousel-content {
    flex-direction: column;
    padding: 15px 12px !important;
    gap: 12px !important;
    display: flex !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .wide-carousel-left,
  .wide-carousel-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0;
    display: block !important;
    visibility: visible !important;
  }
  
  .wide-carousel-text {
    text-align: center;
    display: block !important;
    visibility: visible !important;
  }
  
  .wide-carousel-title {
    font-size: 18px !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .wide-carousel-description {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    display: block !important;
    visibility: visible !important;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  
  .wide-carousel-price {
    justify-content: center;
    margin-bottom: 10px !important;
    display: flex !important;
    visibility: visible !important;
  }
  
  .wide-carousel-price-new {
    font-size: 18px !important;
    display: inline-block !important;
    visibility: visible !important;
  }
  
  .wide-carousel-image-container {
    min-height: 140px !important;
    max-height: 160px !important;
    height: 160px !important;
    padding: 10px !important;
    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .wide-carousel-image {
    display: block !important;
    visibility: visible !important;
    max-width: calc(100% - 20px) !important;
    max-height: calc(100% - 20px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }
  
  .wide-carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex !important;
    visibility: visible !important;
    z-index: 10 !important;
  }
  
  .wide-carousel-prev {
    left: 10px;
  }
  
  .wide-carousel-next {
    right: 10px;
  }
  
  .wide-carousel-dots {
    bottom: 15px;
    display: flex !important;
    visibility: visible !important;
    z-index: 10 !important;
  }
  
  .wide-carousel-dot {
    display: block !important;
    visibility: visible !important;
  }
  
  .wide-carousel-btn {
    padding: 8px 20px !important;
    font-size: 13px !important;
    margin-top: 0 !important;
    display: inline-block !important;
  }
  
  .wide-carousel-badge {
    font-size: 10px !important;
    padding: 4px 12px !important;
    margin-bottom: 6px !important;
  }
}

/* Global Styles and Variables */

:root {
  /* Cyan and White Company Colors */
  --cyan-primary: #00bcd4;
  --cyan-dark: #0097a7;
  --cyan-light: #4dd0e1;
  --cyan-lighter: #b2ebf2;
  --white: #ffffff;
  --white-off: #f8f9fa;
  --gray-light: #e0e0e0;
  --gray-medium: #9e9e9e;
  --gray-dark: #424242;
  --text-dark: #212121;
  --text-light: #757575;
  --text-muted: #9e9e9e;
  --success: #00c853;
  --danger: #d32f2f;
  --warning: #ffa726;
  
  /* Legacy colors for compatibility - now using cyan */
  --amazon-orange: var(--cyan-primary);
  --amazon-orange-dark: var(--cyan-dark);
  --amazon-orange-light: var(--white);
  --amazon-blue: var(--white);
  --amazon-blue-light: var(--cyan-light);
  --amazon-gray: var(--gray-medium);
  --amazon-gray-light: var(--gray-light);
  --amazon-white: var(--white);
  --amazon-light-gray: var(--white-off);
  --amazon-border: var(--gray-light);
  --amazon-text: var(--text-dark);
  --amazon-text-light: var(--text-light);
  --amazon-text-muted: var(--text-muted);
  --amazon-success: var(--success);
  --amazon-danger: var(--danger);
  --amazon-warning: var(--warning);
  
  /* Primary color scheme */
  --primary-color: var(--cyan-primary);
  --primary-dark: var(--cyan-dark);
  --primary-light: var(--cyan-light);
  --secondary-color: var(--white);
  --accent-color: var(--cyan-primary);
  --success-color: var(--success);
  --warning-color: var(--warning);
  --danger-color: var(--danger);
  --dark-color: var(--text-dark);
  --light-color: var(--white-off);
  --border-color: var(--gray-light);
  --text-muted: var(--text-muted);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --cyan-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

/* Base Styles */
html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Amazon Ember', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--amazon-text);
  background-color: var(--amazon-white);
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Ensure containers respect viewport width and use full width */
.container {
  width: 100%;
  max-width: 100% !important;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.container-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

[class*="col-"] {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* Override Bootstrap's default container max-widths at all breakpoints */
@media (min-width: 576px) {
  .container {
    max-width: 100% !important;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 100% !important;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 100% !important;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 100% !important;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 100% !important;
  }
}

/* Ensure main content uses full width */
main {
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1; /* Lower z-index so header dropdown appears above */
}

main .container,
main .container-fluid {
  width: 100%;
  max-width: 100%;
}

/* Prevent elements from overflowing */
table {
  width: 100%;
  max-width: 100%;
  table-layout: auto;
}

/* Responsive tables */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Responsive Images */
img,
.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Product Gallery Styles */
.product-gallery-container {
  position: relative;
  max-width: 100%;
  overflow: hidden !important;
  box-sizing: border-box;
}

.product-gallery-container .row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  overflow: hidden;
}

.product-gallery-container [class*="col-"] {
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 8px;
  overflow: hidden;
}

.product-gallery-container .col-10 {
  overflow: hidden !important;
  max-width: 100% !important;
  box-sizing: border-box;
  position: relative;
}

.product-gallery-container .col-10 > * {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Sticky Image Gallery - keeps images fixed while content scrolls */
.sticky-image-gallery {
  position: sticky;
  top: 20px;
  align-self: flex-start;
  z-index: 100;
}

.thumbnail-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 8px;
}

.thumbnail-item {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.thumbnail-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.thumbnail-item.active img {
  border: 2px solid var(--cyan-primary) !important;
  box-shadow: 0 0 0 1px rgba(0, 188, 212, 0.3);
}

.thumbnail-item img {
  transition: all 0.3s ease;
}

.main-image-container {
  position: relative;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100% !important;
  box-sizing: border-box;
  padding: 15px;
  height: 500px; /* Fixed height instead of aspect-ratio */
  clip-path: inset(0); /* Additional overflow protection */
}

.main-image-container img,
.main-image-container .main-product-image,
.main-image-container #mainImage,
.main-image-container .img-fluid,
.main-image-container img.img-fluid {
  max-width: calc(100% - 30px) !important; /* Account for padding */
  max-height: calc(100% - 30px) !important; /* Account for padding */
  width: auto !important;
  height: auto !important;
  object-fit: contain !important; /* Keep original aspect ratio, fit within container */
  transition: transform 0.3s ease;
  cursor: zoom-in;
  display: block;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.main-image-container img:hover,
.main-image-container .main-product-image:hover,
.main-image-container #mainImage:hover {
  transform: scale(1.01); /* Reduced scale to prevent overflow */
}

.image-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
}

.image-nav-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.image-nav-prev {
  left: 10px;
}

.image-nav-next {
  right: 10px;
}

.zoom-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-image-container:hover .zoom-indicator {
  opacity: 1;
}

.more-indicator {
  height: 80px;
  cursor: default;
}

.more-indicator:hover {
  transform: none;
}

/* Product Specifications - Amazon Style */
.product-specifications {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.spec-section {
    padding: 0;
}

.spec-category {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e7e7e7;
}

.spec-list {
    background: #fff;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e7e7e7;
    transition: background-color 0.2s ease;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:hover {
    background-color: #f8f9fa;
}

.spec-label {
    font-weight: 600;
    color: #000;
    margin-right: 1rem;
    min-width: 40%;
    flex-shrink: 0;
}

.spec-value {
    color: #000;
    text-align: right;
    flex-grow: 1;
    word-break: break-word;
}

/* Mobile Responsive for Gallery */
@media (max-width: 768px) {
    /* Disable sticky on mobile for better UX */
    .sticky-image-gallery {
        position: static;
        top: auto;
    }
    
    /* Fix product info text overflow on mobile */
    .product-info {
        padding: 10px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .product-info h1,
    .product-info h2,
    .product-info h1.h2 {
        font-size: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
        padding: 0;
        margin: 0 0 15px 0;
    }
    
    .main-image-container {
        height: 350px;
        min-height: 300px;
        padding: 10px;
        max-width: 100%;
        overflow: hidden !important;
    }
    
    .main-image-container img,
    .main-image-container .main-product-image,
    .main-image-container #mainImage {
        max-width: calc(100% - 20px) !important; /* Account for padding */
        max-height: calc(100% - 20px) !important; /* Account for padding */
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .image-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .image-nav-prev {
        left: 5px;
    }
    
    .image-nav-next {
        right: 5px;
    }
    
    /* Mobile specifications */
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spec-label {
        margin-right: 0;
        margin-bottom: 4px;
        min-width: auto;
    }
    
    .spec-value {
        text-align: left;
    }
  
  .thumbnail-gallery {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 8px;
  }
  
  .thumbnail-item {
    flex-shrink: 0;
    width: 60px;
  }
  
  .thumbnail-item img {
    height: 60px;
  }
  
  .zoom-indicator {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }
}

/* Modern Header with Cyan and White */
.amazon-header {
  background-color: var(--white);
  color: var(--text-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.1);
  border-bottom: 2px solid var(--cyan-primary);
}

.header-top {
  background-color: var(--white);
  border-bottom: 1px solid var(--cyan-lighter);
  padding: 8px 0;
}

/* Ensure nav links inside the header are visible on black background */
.amazon-header .nav-links a,
.amazon-header .navbar-nav .nav-link {
  color: var(--amazon-white) !important;
}
.amazon-header .nav-links a:hover,
.amazon-header .navbar-nav .nav-link:hover {
  color: var(--cyan-primary) !important;
}

.logo-link {
  text-decoration: none;
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.logo-text {
  color: var(--cyan-primary);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}

/* Company Logo and Branding */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-logo {
  /* larger, more prominent responsive logo */
  height: clamp(64px, 8vh, 140px);
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
  display: block;
}

.company-logo:hover {
  transform: scale(1.03);
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--cyan-dark) 100%);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan-primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.company-tagline {
  margin-top: 2px;
}

.company-tagline span {
  font-size: 12px;
  color: var(--amazon-white);
  font-style: italic;
  font-weight: 600; /* bolder */
  letter-spacing: 0.2px;
}

/* Search Container */
.search-container {
  display: flex;
  align-items: center;
  background-color: var(--amazon-white);
  border: 1px solid var(--cyan-lighter);
  border-radius: 4px;
  overflow: hidden;
  height: 40px;
  max-width: 100%;
  transition: border-color 0.2s ease;
}

.search-container:focus-within {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.1);
}

.search-dropdown {
  background-color: var(--amazon-light-gray);
  border-right: 1px solid var(--amazon-border);
}

.search-category {
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--amazon-text);
  outline: none;
  cursor: pointer;
  min-width: 120px;
}

.search-input {
  flex: 1;
  border: none;
  border-radius: 50px;
  padding: 8px 12px;
  font-size: 16px;
  outline: none;
  color: var(--amazon-text);
}

.search-input::placeholder {
  color: var(--amazon-text-muted);
}

.search-btn {
  background-color: var(--cyan-primary);
  border: none;
  padding: 8px 16px;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-btn:hover {
  background-color: var(--cyan-dark);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px; /* reduced gap so actions sit closer together */
  justify-content: flex-end;
  flex-wrap: nowrap;
}

/* Ensure cart is always at the rightmost position */
.header-actions .cart-link-right {
  margin-left: auto !important;
  order: 999 !important;
}

.account-link, .header-action {
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
}

.account-link:hover, .header-action:hover {
  background-color: var(--cyan-lighter);
  color: var(--cyan-primary);
}

.account-text, .action-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 8px;
}

.account-label, .action-label {
  font-size: 12px;
  line-height: 1.2;
}

.account-sub, .action-sub {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

/* Cart Icon */
.cart-link {
  position: relative;
}

.cart-icon {
  position: relative;
  font-size: 24px;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--cyan-primary);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Left-positioned cart link (prominent) */
.cart-link-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding: 6px 10px;
  background: var(--cyan-primary);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.cart-link-left .cart-icon i {
  color: var(--white);
  font-size: 20px;
}
.cart-link-left .cart-count {
  top: -6px;
  right: -6px;
  background-color: #fff;
  color: var(--cyan-primary);
  width: 18px;
  height: 18px;
  font-size: 11px;
}

/* Right-positioned cart link (prominent) */
.cart-link-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto !important; /* Push cart to the rightmost position */
  margin-right: 0 !important; /* Remove right margin to reach edge */
  padding: 6px 12px;
  background: var(--cyan-primary);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  height: fit-content;
  order: 999; /* Ensure cart is always last */
}
.cart-link-right .cart-icon i {
  color: var(--white);
  font-size: 20px;
}
.cart-link-right .cart-count {
  top: -6px;
  right: -6px;
  background-color: #fff;
  color: var(--cyan-primary);
  width: 18px;
  height: 18px;
  font-size: 11px;
}

/* Account Dropdown */
.account-dropdown {
  position: relative;
}

.account-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--amazon-white);
  border: 1px solid var(--amazon-border);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 280px;
  display: none;
  z-index: 1001;
}

.account-dropdown:hover .account-menu {
  display: block;
}

.account-menu-header {
  background-color: var(--amazon-light-gray);
  padding: 12px 16px;
  border-bottom: 1px solid var(--amazon-border);
}

.account-menu-header h6 {
  margin: 0;
  color: var(--amazon-text);
  font-size: 14px;
  font-weight: 600;
}

.account-menu-content {
  padding: 8px 0;
}

.account-menu-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--amazon-text);
  text-decoration: none;
  transition: background-color 0.2s;
}

.account-menu-item:hover {
  background-color: var(--amazon-light-gray);
  color: var(--amazon-text);
}

.account-menu-item i {
  margin-right: 12px;
  width: 16px;
  text-align: center;
}

.account-menu-footer {
  padding: 8px 16px;
  border-top: 1px solid var(--amazon-border);
}

.logout-btn {
  background: none;
  border: none;
  color: var(--amazon-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 0;
}

.logout-btn i {
  margin-right: 8px;
}

/* Navigation Bar */
.header-nav {
  background-color: var(--cyan-primary);
  padding: 12px 0; /* Increased padding for more space */
  overflow-x: auto; /* Allow horizontal scrolling if needed */
  overflow-y: visible !important; /* Allow dropdown to be visible */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
  position: relative !important;
  z-index: 1001 !important; /* Higher than header to ensure dropdown context */
  isolation: isolate; /* Create new stacking context */
}

.header-nav .container-fluid,
.header-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 100%;
  position: relative;
  z-index: 1001;
}

/* ensure nav links are white on the cyan nav */
.header-nav .nav-links a,
.header-nav .navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 700; /* Made bold */
  padding: 8px 16px; /* Added more spacing around links */
  margin: 0 4px; /* Added margin between links */
}
.header-nav .nav-links a:hover,
.header-nav .navbar-nav .nav-link:hover {
  color: var(--cyan-lighter) !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Collapsible "All" menu dropdown */
.col-md-2 > div[style*="position: relative"] {
  z-index: 10003 !important; /* Ensure parent container has highest z-index */
  position: relative !important;
}

.all-menu-dropdown {
  position: fixed !important; /* Use fixed to escape all stacking contexts */
  left: 16px !important;
  top: auto !important;
  margin-top: 0;
  background: var(--white) !important;
  color: var(--text-dark);
  border: 1px solid var(--cyan-lighter);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.15);
  padding: 12px 0;
  min-width: 250px;
  display: none;
  z-index: 99999 !important; /* Extremely high z-index to appear above everything */
  animation: fadeIn 0.2s ease-out;
}

.all-menu-dropdown[aria-hidden="false"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.all-menu-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.all-menu-dropdown li {
  margin: 0;
}

.all-menu-dropdown a {
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.all-menu-dropdown a:hover {
  background-color: var(--cyan-lighter);
  color: var(--cyan-primary);
  padding-left: 24px;
}

.all-menu-dropdown a i {
  width: 20px;
  text-align: center;
  margin-right: 8px;
  color: var(--cyan-primary);
}

.all-menu-dropdown hr {
  margin: 8px 0;
  border: none;
  border-top: 1px solid var(--gray-light);
}

.all-menu-btn {
  background: transparent;
  border: none;
  color: #ffffff !important; /* make 'All' button text white */
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.all-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.all-menu-btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .all-menu-dropdown {
    position: static;
    top: auto;
    left: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 0;
  }
}

/* Category Drawer (off-canvas from left) */
.category-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 90%;
  background: var(--amazon-white);
  box-shadow: 2px 0 12px rgba(0,0,0,0.2);
  transform: translateX(-110%);
  transition: transform 0.28s ease;
  z-index: 3000;
  overflow-y: auto;
  padding: 16px;
}

/* Make category dropdown text light gray */
.search-category {
  color: #bfbfbf; /* light gray for category select */
}

/* Make 'Deliver to Your Location' text white for contrast */
.delivery-info {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

/* Fallback class-based open state (used by JS toggle) */
.category-drawer.open {
  transform: translateX(0) !important;
}

.category-drawer .drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--amazon-text);
}

/* Dim overlay when drawer open */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2990;
  display: none;
}

.drawer-backdrop[aria-hidden="false"] {
  display: block;
}

/* Backdrop fade-in/out */
.drawer-backdrop {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.drawer-backdrop[aria-hidden="false"] {
  opacity: 1;
}

/* Fallback class-based backdrop visibility */
.drawer-backdrop.open {
  display: block !important;
  opacity: 1 !important;
}

/* Ensure links in drawer are keyboard-focusable and visible */
.category-drawer a:focus {
  outline: 3px solid rgba(37,99,235,0.35);
  outline-offset: 2px;
}

.all-menu-btn {
  background-color: transparent;
  border: none;
  color: #ffffff !important;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: background-color 0.2s;
}

.all-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.nav-links a {
  color: #111 !important;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}

.nav-links a:hover {
  background-color: var(--amazon-blue-light);
}

/* User-requested color overrides: ensure correct elements are styled */
/* Category select text: dark gray */
.search-category {
  color: #6b6b6b !important; /* dark gray */
}

/* 'All' button and delivery info text: force white for contrast */
.all-menu-btn,
.all-menu-btn * {
  color: #ffffff !important;
}

.delivery-info,
.delivery-info * {
  color: #ffffff !important;
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.delivery-info:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Strong override: ensure header navigation links are inline, centered, and white
   This forces 'Home Appliances' and 'Home & Garden' to match other nav items. */
.header-nav .nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: nowrap !important; /* Keep all items on a single line */
  white-space: nowrap !important; /* Prevent text wrapping */
  position: relative !important; /* Ensure proper positioning */
  z-index: 1002 !important; /* Higher than header-nav to ensure links are clickable */
}
.header-nav .nav-links a {
  color: #ffffff !important; /* force white text in nav */
  display: inline-flex !important;
  align-items: center !important;
  padding: 10px 12px !important; /* Reduced padding to fit more items */
  font-size: 14px !important; /* Slightly smaller font to fit on one line */
  font-weight: 700 !important; /* Made bold */
  text-decoration: none !important;
  margin: 0 4px !important; /* Reduced margin between links */
  white-space: nowrap !important; /* Prevent text wrapping */
  flex-shrink: 0 !important; /* Prevent items from shrinking */
  cursor: pointer !important; /* Ensure cursor shows as pointer */
  pointer-events: auto !important; /* Ensure links are clickable */
  position: relative !important; /* Ensure proper stacking */
  z-index: 1003 !important; /* Higher z-index to ensure links are above everything */
  user-select: none !important; /* Prevent text selection on click */
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}
.header-nav .nav-links a:hover {
  color: var(--amazon-orange) !important;
}


/* Big Scrolling Banner Carousel */
.hero-carousel-section {
  background: var(--amazon-white);
  padding: 0; /* Remove vertical padding for full-width alignment */
  margin-bottom: clamp(10px, 2vw, 20px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
  z-index: 1; /* Lower z-index so dropdown appears above */
}

.hero-carousel-section .container-fluid {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.hero-carousel-section .row {
  margin-left: 0;
  margin-right: 0;
}

.hero-carousel-section .col-12 {
  padding-left: 0;
  padding-right: 0;
}

.banner-carousel-container {
  position: relative;
  border-radius: 0; /* Remove border radius for full-width edge-to-edge */
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 100%; /* Full width - no restrictions */
  margin: 0; /* Remove auto margins */
  z-index: 1; /* Lower z-index so dropdown appears above */
}

.banner-carousel {
  position: relative;
  height: clamp(300px, 45vh, 550px); /* Increased height to accommodate all content */
  min-height: 300px;
  max-height: 550px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
}

.slide-background {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(15px, 3vw, 40px); /* Responsive padding: 15px on mobile, 40px on desktop */
  box-sizing: border-box;
  overflow: hidden;
  max-height: 100%; /* Ensure content doesn't exceed banner height */
}

.slide-1 {
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00838f 100%);
}

.slide-2 {
  background: linear-gradient(135deg, #0097a7 0%, #00bcd4 50%, #4dd0e1 100%);
}

.slide-3 {
  background: linear-gradient(135deg, #00838f 0%, #00bcd4 50%, #0097a7 100%);
}

.slide-4 {
  background: linear-gradient(135deg, #00bcd4 0%, #4dd0e1 50%, #0097a7 100%);
}

/* AirPods banner artwork */
.airpods-banner {
  background-image: url('/img/products/5CB0U43851_details-218.jpg');
  background-repeat: no-repeat;
  background-position: right 6% center;
  background-size: clamp(360px, 45vw, 680px);
}

/* Hide the foreground product frame only for AirPods banner */
.airpods-banner .product-showcase {
  display: none;
}

@media (max-width: 768px) {
  .airpods-banner {
    background-position: center bottom 32px;
    background-size: clamp(260px, 78vw, 420px);
  }
}

.slide-content {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 40px); /* Responsive gap */
  width: 100%;
  max-width: 100%;
  max-height: 100%; /* Prevent content from exceeding banner height */
  position: relative;
  z-index: 1; /* Lower z-index so dropdown appears above */
  box-sizing: border-box;
  overflow: hidden; /* Hide any content that exceeds */
}

.slide-left {
  flex: 1;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 100%; /* Prevent overflow */
  overflow: hidden; /* Hide any content that exceeds */
  box-sizing: border-box;
}

.slide-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-badge {
  background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  color: white;
  padding: clamp(4px, 1vw, 8px) clamp(12px, 2.5vw, 20px); /* Responsive padding */
  border-radius: 20px;
  display: inline-block;
  margin-bottom: clamp(8px, 2vw, 20px);
  font-weight: 600;
  font-size: clamp(10px, 1.5vw, 14px); /* Responsive font size */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 188, 212, 0.3);
}

.price-section {
  color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0; /* Allow flex item to shrink */
}

.lowest-price {
  font-size: clamp(11px, 1.8vw, 16px); /* Responsive font size */
  color: #e2e8f0;
  margin-bottom: clamp(5px, 1vw, 8px);
  display: block;
}

.price-display {
  margin-bottom: clamp(10px, 2vw, 16px);
}

.original-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: clamp(12px, 2vw, 18px); /* Responsive font size */
  margin-right: clamp(8px, 1.5vw, 12px);
}

.sale-price {
  font-size: clamp(20px, 4.5vw, 36px); /* Responsive: 20px mobile, 36px desktop */
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.product-title {
  font-size: clamp(18px, 4vw, 32px); /* Responsive: 18px mobile, 32px desktop */
  font-weight: 700;
  color: white;
  margin-bottom: clamp(5px, 1vw, 8px);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.product-feature {
  font-size: clamp(12px, 2vw, 18px); /* Responsive: 12px mobile, 18px desktop */
  color: #e2e8f0;
  margin-bottom: clamp(10px, 2vw, 20px);
  line-height: 1.4;
}

.bank-offers {
  margin-bottom: clamp(10px, 2vw, 16px);
  margin-top: auto; /* Push to bottom of flex container */
  max-width: 100%; /* Prevent overflow */
  overflow: hidden; /* Hide any content that exceeds */
}

.offer-text {
  font-size: clamp(11px, 1.8vw, 14px); /* Responsive font size */
  color: #cbd5e1;
  display: block;
  margin-bottom: clamp(5px, 1vw, 8px);
}

.bank-logos {
  display: flex;
  gap: clamp(4px, 1vw, 8px); /* Responsive gap */
  margin-bottom: clamp(5px, 1vw, 8px);
  flex-wrap: wrap;
}

.bank-card {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: clamp(4px, 1vw, 6px) clamp(8px, 1.5vw, 12px); /* Responsive padding */
  border-radius: 6px;
  font-size: clamp(10px, 1.5vw, 12px); /* Responsive font size */
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.discount-text {
  font-size: clamp(12px, 2vw, 16px); /* Responsive font size */
  color: #10b981;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.product-showcase {
  position: relative;
}

.product-frame {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(0, 151, 167, 0.3) 100%);
  border: 3px solid #00bcd4;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 30px rgba(0, 188, 212, 0.4);
  backdrop-filter: blur(10px);
}

.product-image {
  max-width: clamp(120px, 25vw, 250px); /* Auto-adjusts: 120px mobile, 250px desktop */
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.product-image:hover {
  transform: scale(1.05);
}

/* Promotional Banner (Amazon-style) */
.promo-banner-container {
  width: 50%;
  max-width: 100%;
  margin: -6rem auto 0; /* centers banner horizontally, keeps negative top margin */
  overflow: hidden;
}

.promo-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid var(--cyan-primary);
  border-left: 4px solid var(--cyan-primary); /* cyan accent border */
  border-radius: 6px;
  padding: 10px 12px; /* reduced from 16px */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.2), 0 1px 3px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00bcd4, #0097a7, #00bcd4);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.promo-banner:hover {
  border-color: var(--cyan-dark);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3), 0 2px 6px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.promo-banner-content {
  display: flex;
  align-items: center;
  gap: 12px; /* reduced from 20px */
  flex: 1;
  min-width: 0; /* allows flex items to shrink */
  overflow: hidden;
}

.promo-brand-logo {
  min-width: 80px; /* reduced from 120px */
  display: flex;
  align-items: center;
}

.promo-brand-logo .brand-name {
  font-size: 14px; /* reduced from 18px */
  font-weight: 600;
  color: #146eb4;
  transition: color 0.3s ease;
}

.promo-banner:hover .promo-brand-logo .brand-name {
  color: #0f4c75;
}

.promo-product-image {
  width: 80px; /* reduced from 120px */
  height: 80px; /* reduced from 120px */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  overflow: hidden;
}

.promo-banner:hover .promo-product-image {
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  border-color: var(--cyan-primary);
  transform: scale(1.05);
}

.promo-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.promo-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px; /* reduced from 8px */
}

.promo-product-name {
  font-size: 12px; /* reduced from 14px */
  color: #111;
  font-weight: 400;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.promo-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-rating .stars {
  display: inline-flex;
  gap: 2px;
}

.promo-rating .rating-count {
  font-size: 12px;
  color: #007185;
}

.promo-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.promo-price .current-price,
.promo-price .sale-price {
  font-size: 14px; /* reduced from 18px */
  font-weight: 700;
  color: #B12704;
}

.promo-price .prime-badge {
  background: linear-gradient(135deg, #146eb4 0%, #0f4c75 100%);
  color: #ffffff;
  font-size: 10px; /* reduced from 11px */
  font-weight: 700;
  padding: 1px 4px; /* reduced padding */
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(20, 110, 180, 0.3);
  transition: all 0.3s ease;
}

.promo-banner:hover .promo-price .prime-badge {
  box-shadow: 0 2px 6px rgba(20, 110, 180, 0.4);
  transform: scale(1.05);
}

.promo-action {
  flex-shrink: 0;
}

.promo-shop-btn {
  padding: 6px 16px; /* reduced from 8px 24px */
  font-weight: 600;
  font-size: 12px; /* reduced from 14px */
  border-radius: 4px;
  white-space: nowrap;
  background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 188, 212, 0.3);
}

.promo-shop-btn:hover {
  background: linear-gradient(135deg, #0097a7 0%, #00bcd4 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 188, 212, 0.4);
}

.promo-sponsored {
  position: absolute;
  bottom: 6px; /* adjusted for smaller banner */
  right: 12px; /* adjusted for smaller banner */
  font-size: 10px; /* slightly smaller */
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}

.promo-sponsored i {
  font-size: 12px;
  cursor: help;
}

/* Horizontal scroller for multiple product images on category cards */
.product-image-scroller {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.product-image-scroller .image-row {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
}
.product-image-scroller img.product-image {
  max-width: 180px;
  height: auto;
}

/* Normalize price alignment on product cards */
.product-card .product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px; /* Fixed height for consistent alignment */
  min-height: 32px; /* keeps rows even when some have old price */
  justify-content: center; /* center price */
  margin-bottom: 0.25rem !important; /* minimal gap to Add to Cart - overrides Bootstrap mb-3 */
  flex-wrap: wrap;
}
.product-card .product-price .current-price,
.product-card .product-price .sale-price,
.product-card .product-price .old-price {
  line-height: 1;
  margin: 0;
}
.product-card .product-price .current-price,
.product-card .product-price .sale-price {
  font-size: 1rem; /* normalize size */
}
.product-card .product-price .current-price {
  color: #dc3545 !important; /* match promo style across all cards */
  font-weight: 700;
}
.product-card .product-price .sale-price {
  color: #dc3545; /* red but same size */
  font-weight: 700;
}
.product-card .product-price .old-price {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 0.9em;
}

/* Ensure consistent card layout and aligned buttons/prices */
.product-card .product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.product-card .product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
  text-align: center; /* center all text elements */
  justify-content: space-between;
}
.product-card .product-title,
.product-card .product-title a {
  text-align: center;
  display: block;
}
.product-card .product-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.product-card .product-actions {
  margin-top: auto;
}

/* Make all product cards visually uniform */
.product-card .product-image-container {
  height: 260px; /* unify visual height across cards */
  display: flex;
  align-items: flex-end; /* bottom-align images so bases line up */
  justify-content: center;
  background: #fff;
}
.product-card .product-image-container img.product-image,
.product-card .product-image-container img {
  max-height: 240px; /* consistent image height */
  width: auto;
  object-fit: contain;
  display: block;
}

.product-card .product-title {
  height: 39.2px; /* Fixed height: 14px * 1.4 line-height * 2 lines = 39.2px */
  max-height: 39.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: clamp(30px, 5vw, 50px); /* Auto-adjusts: 30px mobile, 50px desktop */
  height: clamp(30px, 5vw, 50px);
  border-radius: 50%;
  font-size: clamp(16px, 3vw, 24px); /* Auto-adjusts font size */
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 10;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: clamp(10px, 2vw, 20px); /* Responsive left position */
}

.next-btn {
  right: clamp(10px, 2vw, 20px); /* Responsive right position */
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: clamp(10px, 2vw, 20px); /* Responsive bottom position */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(6px, 1.5vw, 10px); /* Responsive gap */
  z-index: 10;
}

.dot {
  width: clamp(8px, 1.5vw, 12px); /* Auto-adjusts: 8px mobile, 12px desktop */
  height: clamp(8px, 1.5vw, 12px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: clamp(1px, 0.3vw, 2px) solid rgba(255, 255, 255, 0.6);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.dot.active {
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.festive-banner {
  background: linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #1a202c 100%);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.festive-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hanging-lamps {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 40px;
  background: linear-gradient(90deg, 
    rgba(255, 215, 0, 0.3) 0%, 
    rgba(255, 165, 0, 0.4) 25%, 
    rgba(255, 215, 0, 0.3) 50%, 
    rgba(255, 165, 0, 0.4) 75%, 
    rgba(255, 215, 0, 0.3) 100%);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.festive-patterns {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
}

.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px;
}

.festive-badge {
  background: linear-gradient(90deg, #00bcd4 0%, #0097a7 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.banner-main {
  display: flex;
  align-items: center;
  gap: 40px;
}

.banner-left {
  flex: 1;
}

.price-highlight {
  color: white;
}

.lowest-price {
  font-size: 16px;
  color: #e2e8f0;
  margin-bottom: 8px;
  display: block;
}

.price-display {
  margin-bottom: 16px;
}

.original-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 18px;
  margin-right: 12px;
}

.sale-price {
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-feature {
  font-size: 16px;
  color: #e2e8f0;
  margin-bottom: 20px;
}

.bank-offers {
  margin-bottom: 16px;
}

.offer-text {
  font-size: 14px;
  color: #cbd5e1;
  display: block;
  margin-bottom: 8px;
}

.bank-logos {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.bank-card {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.discount-text {
  font-size: 14px;
  color: #10b981;
  font-weight: 600;
}

.terms {
  margin-top: 12px;
}

.terms small {
  color: #94a3b8;
  font-size: 12px;
}

.banner-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-showcase {
  position: relative;
}

.product-frame {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(0, 151, 167, 0.3) 100%);
  border: 3px solid #00bcd4;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 30px rgba(0, 188, 212, 0.4);
}

.product-image {
  max-width: 200px;
  height: auto;
  border-radius: 12px;
}

.banner-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.nav-arrow {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.sidebar-categories {
  background-color: var(--amazon-white);
  border: 1px solid var(--amazon-border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.sidebar-title {
  color: var(--amazon-text);
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 14px;
}

/* Make filter sidebar smaller */
.col-lg-3 .card {
  font-size: 0.875rem; /* Smaller base font size */
}

/* Reduce filter sidebar width */
@media (min-width: 992px) {
  .row > .col-lg-3:first-child {
    flex: 0 0 18%; /* Reduce from 25% (col-lg-3) to 18% */
    max-width: 18%;
  }
  
  .row > .col-lg-9 {
    flex: 0 0 82%; /* Adjust products column to 82% */
    max-width: 82%;
  }
}

.col-lg-3 .card-header {
  padding: 0.5rem 0.75rem; /* Reduced padding */
}

.col-lg-3 .card-header h5 {
  font-size: 0.95rem; /* Smaller header */
  margin-bottom: 0;
}

.col-lg-3 .card-body {
  padding: 0.75rem; /* Reduced padding */
}

.col-lg-3 .form-label {
  font-size: 0.8rem; /* Smaller labels */
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.col-lg-3 .form-control,
.col-lg-3 .form-select {
  font-size: 0.8rem; /* Smaller input text */
  padding: 0.35rem 0.5rem; /* Reduced padding */
  height: auto;
  min-height: 1.8rem;
}

.col-lg-3 .form-control-sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.4rem;
  min-height: 1.6rem;
}

.col-lg-3 .form-select-sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.4rem;
  min-height: 1.6rem;
}

.col-lg-3 .mb-3 {
  margin-bottom: 0.75rem !important; /* Reduced spacing between filter sections */
}

.col-lg-3 .form-check {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.col-lg-3 .form-check-input {
  width: 0.9rem;
  height: 0.9rem;
  margin-top: 0.15rem;
}

.col-lg-3 .form-check-label {
  font-size: 0.8rem;
  padding-left: 0.4rem;
}

.col-lg-3 .btn-sm {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 8px;
}

.category-list a {
  display: flex;
  align-items: center;
  color: var(--amazon-text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s;
  font-size: 14px;
}

.category-list a:hover {
  background-color: var(--white-off);
  color: var(--cyan-primary);
}

.category-list i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.hero-carousel {
  background-color: var(--amazon-white);
  border: 1px solid var(--amazon-border);
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
}

.hero-slide {
  height: 100%;
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 40px;
}

.hero-text {
  flex: 1;
  padding-right: 40px;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 600;
  color: var(--amazon-text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 16px;
  color: var(--amazon-text-light);
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-hero-primary {
  background-color: var(--cyan-primary);
  color: var(--white);
  padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 24px); /* Responsive padding */
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(12px, 1.8vw, 16px); /* Responsive font size */
  transition: all 0.2s;
  display: inline-block;
}

.btn-hero-primary:hover {
  background-color: var(--cyan-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background-color: transparent;
  color: var(--amazon-text);
  padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 24px); /* Responsive padding */
  border: 1px solid var(--amazon-border);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(12px, 1.8vw, 16px); /* Responsive font size */
  transition: all 0.2s;
  display: inline-block;
}

.btn-hero-secondary:hover {
  background-color: var(--amazon-light-gray);
  color: var(--amazon-text);
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

/* Amazon India Style Deals Section */
.deals-section {
  background-color: var(--amazon-white);
  padding: 20px 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.deals-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 0 20px;
}

.deals-column {
  background-color: var(--amazon-white);
}

.deals-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--amazon-text);
  margin-bottom: 16px;
  padding: 0 8px;
}

.deals-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.deal-card {
  background-color: var(--amazon-white);
  border: 1px solid var(--amazon-border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.deal-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: var(--amazon-danger);
  color: var(--amazon-white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.festive-badge-small {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #dc2626;
  color: var(--amazon-white);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
}

.deal-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.deal-info {
  padding: 12px;
}

.deal-info h6 {
  font-size: 14px;
  font-weight: 500;
  color: var(--amazon-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.deal-price {
  margin-bottom: 8px;
}

.deal-price .original-price {
  text-decoration: line-through;
  color: var(--amazon-text-muted);
  font-size: 12px;
  margin-right: 8px;
}

.deal-price .sale-price {
  font-weight: 700;
  color: var(--amazon-text);
  font-size: 16px;
}

/* Special Sections */
.special-section {
  margin-top: 20px;
  padding: 16px;
  background-color: var(--amazon-light-gray);
  border-radius: 8px;
}

.section-title h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--amazon-text);
  margin-bottom: 4px;
}

.section-title p {
  font-size: 14px;
  color: var(--amazon-text-light);
  margin-bottom: 12px;
}

.refrigerator-showcase {
  text-align: center;
}

.refrigerator-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Preethi Section */
.preethi-section {
  margin-top: 20px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 8px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.preethi-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.preethi-content {
  position: relative;
  z-index: 2;
  color: white;
}

.preethi-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.preethi-content p {
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.preethi-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preethi-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
}

.deals-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 20px;
}

.deals-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--amazon-text);
  margin: 0;
}

.see-all-link {
  color: var(--cyan-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.see-all-link:hover {
  color: var(--cyan-dark);
  text-decoration: underline;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 0 20px;
  align-items: stretch; /* Ensure all cards in a row have equal height */
  position: relative;
  z-index: 0; /* Very low z-index so dropdown appears above */
}

.deal-item {
  background-color: var(--amazon-white);
  border: 1px solid var(--amazon-border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.deal-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.deal-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: var(--amazon-danger);
  color: var(--amazon-white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.deal-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.deal-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.deal-info h6 {
  font-size: 14px;
  font-weight: 500;
  color: var(--amazon-text);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36.4px; /* Fixed height: 14px * 1.3 line-height * 2 lines = 36.4px */
  max-height: 36.4px;
}

.deal-price {
  margin-bottom: 8px;
  min-height: 28px; /* Ensure consistent height for price section */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.deal-price .original-price {
  text-decoration: line-through;
  color: var(--amazon-text-muted);
  font-size: 12px;
  margin-right: 8px;
}

.deal-price .sale-price {
  font-weight: 700;
  color: var(--amazon-text);
  font-size: 16px;
}

.deal-price .savings {
  color: var(--amazon-success);
  font-size: 12px;
  font-weight: 500;
  margin-left: 8px;
}

.deal-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--amazon-danger);
  font-size: 12px;
  font-weight: 500;
}

/* Shop Categories Section */
.shop-categories {
  background-color: var(--amazon-white);
  padding: 20px 0;
  margin-bottom: 20px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding: 0 20px;
}

.category-card {
  background-color: var(--amazon-white);
  border: 1px solid var(--amazon-border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
  color: inherit;
}

.category-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.category-info {
  padding: 12px;
  text-align: center;
}

.category-info h6 {
  font-size: 14px;
  font-weight: 500;
  color: var(--amazon-text);
  margin-bottom: 4px;
}

.category-info span {
  color: var(--cyan-primary);
  font-size: 12px;
  font-weight: 500;
}

/* Best Sellers Section */
.best-sellers {
  background-color: var(--amazon-white);
  padding: 20px 0;
  margin-bottom: 20px;
}

/* Recommended Products Section */
.recommended-products {
  background-color: var(--amazon-white);
  padding: 20px 0;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--amazon-text);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--amazon-text-light);
  font-size: 16px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  align-items: stretch; /* Ensure all cards in a row have equal height */
  position: relative;
  z-index: 0; /* Very low z-index so dropdown appears above */
}

.section-footer {
  text-align: center;
}

.btn-view-all {
  background-color: var(--cyan-primary);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.btn-view-all:hover {
  background-color: var(--cyan-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Ensure header maintains cyan and white theme on mobile */
  .amazon-header {
    background-color: var(--white) !important;
  }
  
  .header-top {
    background-color: var(--white) !important;
  }
  
  /* Remove padding to allow cart to reach right edge on mobile */
  .header-top .container-fluid {
    padding-right: 0 !important;
  }
  
  .header-top .row {
    margin-right: 0 !important;
  }
  
  .header-top .col-8 {
    padding-right: 0 !important;
  }
  
  .header-actions {
    justify-content: flex-end !important;
    gap: 12px;
    padding-right: 0 !important;
  }
  
  .header-actions .cart-link-right {
    margin-right: 0 !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    position: relative;
    right: 0;
  }
  
  /* Force cart to absolute right edge */
  .mobile-header .header-top .container-fluid {
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  
  .mobile-header .header-top .row {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  
  .mobile-header .header-top .col-8 {
    padding-right: 0 !important;
    margin-right: 0 !important;
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
  
  .mobile-header .header-actions {
    padding-right: 0 !important;
    margin-right: 0 !important;
    gap: 8px;
  }
  
  .mobile-header .cart-link-right {
    margin-right: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
  }
  
  .header-nav {
    background-color: var(--cyan-primary) !important;
  }
  
  /* Force navigation links to be white and bold on mobile */
  .header-nav .nav-links a,
  .header-nav .navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }
  
  .header-nav .nav-links a:hover,
  .header-nav .navbar-nav .nav-link:hover {
    color: var(--cyan-lighter) !important;
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* Ensure all header elements are properly styled on mobile */
  .amazon-header .logo-link,
  .amazon-header .logo-text,
  .amazon-header .account-link {
    color: var(--text-dark) !important;
  }
  
  .amazon-header a:hover {
    color: var(--cyan-primary) !important;
  }
  
  .header-top .row {
    flex-direction: column;
    gap: 12px;
  }
  
  .search-container {
    width: 100%;
  }
  
  .header-actions {
    justify-content: flex-end !important;
    gap: 12px;
  }
  
  .header-nav .nav-links {
    flex-wrap: nowrap !important; /* Keep on single line */
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .delivery-info {
    display: none;
  }
  
  /* Fix container padding on mobile */
  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Fix row margins on mobile */
  .row {
    margin-left: -10px !important;
    margin-right: -10px !important;
  }
  
  /* Category and Product Pages Mobile Alignment */
  /* Stack filters and products vertically on mobile */
  .col-lg-3,
  .col-lg-9 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Product grid - 2 columns on mobile */
  .col-lg-4.col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  /* Product cards mobile adjustments */
  .product-card {
    margin-bottom: 12px;
  }
  
  .product-card .product-info {
    padding: 10px !important;
  }
  
  .product-card .product-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }
  
  .product-card .product-image-container {
    height: 180px !important;
  }
  
  .product-card .product-image-container img {
    max-height: 160px !important;
  }
  
  /* Filters sidebar mobile */
  .card.border-0.shadow-sm {
    margin-bottom: 20px;
  }
  
  /* Hide filters by default on mobile, show with toggle */
  .col-lg-3 .card {
    margin-bottom: 15px;
  }
  
  /* Make filters collapsible on mobile */
  .col-lg-3 .card-header {
    cursor: pointer;
    user-select: none;
    position: relative;
  }
  
  .col-lg-3 .card-header::after {
    content: '\002B';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 20px;
    color: var(--text-dark);
  }
  
  .col-lg-3 .card-header.collapsed::after {
    content: '\2212';
  }
  
  /* Ensure filters card body is visible on desktop */
  @media (min-width: 992px) {
    .col-lg-3 .card-body {
      display: block !important;
    }
  }
  
  /* Product detail page mobile */
  .col-lg-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-bottom: 20px;
  }
  
  /* Product gallery mobile */
  .product-gallery-container .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .product-gallery-container .col-2,
  .product-gallery-container .col-10 {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  
  /* Breadcrumbs mobile */
  .breadcrumb {
    padding: 8px 10px !important;
    margin-bottom: 10px !important;
    font-size: 12px;
  }
  
  /* Category header mobile */
  .h2.mb-0 {
    font-size: 20px !important;
    padding: 0 10px !important;
    margin-bottom: 10px !important;
  }
  
  /* Sort and results header mobile */
  .d-flex.justify-content-between {
    flex-direction: column !important;
    gap: 10px;
    padding: 0 10px;
    margin-bottom: 15px !important;
  }
  
  /* Promo banner mobile */
  .promo-banner-container {
    margin: 0 10px 15px 10px !important;
  }
  
  /* Pagination mobile */
  .pagination {
    padding: 0 10px;
    flex-wrap: wrap;
  }
  
  .pagination .page-link {
    padding: 6px 10px;
    font-size: 13px;
  }
  
  /* Products grid mobile */
  .row.g-4 {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }
  
  .row.g-4 > [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  /* Ensure product grid doesn't overflow */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 10px !important;
  }
  
  /* Category page main container */
  main .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Category page content sections */
  main .container-fluid > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  main .container-fluid > .row > [class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Product detail page container */
  main .container-fluid.py-3 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Ensure no horizontal overflow */
  body.mobile-device {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  
  body.mobile-device main,
  body.mobile-device header,
  body.mobile-device footer {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  [class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Fix deals section alignment */
  .deals-section {
    padding: 15px 0 !important;
  }
  
  .deals-layout {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 10px !important;
  }
  
  .deals-header {
    padding: 0 10px !important;
  }
  
  .deals-grid {
    padding: 0 10px !important;
  }
  
  .hero-carousel-section {
    padding: 0;
    margin-bottom: 15px;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
  }
  
  .hero-carousel-section .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .hero-carousel-section .row {
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
    display: flex !important;
    visibility: visible !important;
  }
  
  .hero-carousel-section .col-12 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
    display: block !important;
    visibility: visible !important;
  }
  
  .banner-carousel-container {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    margin: 0;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
  }
  
  .banner-carousel {
    height: clamp(220px, 30vh, 320px) !important; /* Reduced height for mobile */
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    min-height: 220px !important;
    max-height: 320px !important;
  }
  
  .banner-slide {
    width: 100%;
    max-width: 100%;
    display: block !important;
    position: absolute !important;
    opacity: 0;
  }
  
  .banner-slide.active {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .slide-background {
    padding: 12px 10px !important;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    justify-content: center;
  }
  
  .slide-content {
    flex-direction: column;
    text-align: center;
    gap: 10px !important;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .slide-left {
    width: 100%;
    text-align: center;
    order: 2;
  }
  
  .slide-right {
    width: 100%;
    order: 1;
    margin-bottom: 10px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    max-height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .slide-right .product-image,
  .slide-right img,
  .slide-right .product-showcase,
  .slide-right .product-frame {
    max-width: 100% !important;
    max-height: 150px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }
  
  .product-title {
    font-size: 18px !important;
    line-height: 1.3;
    margin-bottom: 8px !important;
  }
  
  .sale-price {
    font-size: 20px !important;
  }
  
  .original-price {
    font-size: 12px !important;
  }
  
  .product-image {
    max-width: 120px !important;
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }
  
  .promo-badge {
    font-size: 10px !important;
    padding: 4px 12px !important;
    margin-bottom: 6px !important;
  }
  
  .lowest-price {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }
  
  .product-feature {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }
  
  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  .carousel-dots {
    bottom: 10px;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  /* Ensure images display properly on mobile */
  img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .deal-image {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  
  .product-image {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  .deals-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .deals-grid-2x2 {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 !important;
  }
  
  /* Fix deal card alignment */
  .deal-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  .deal-info {
    padding: 10px !important;
  }
  
  .deal-info h6 {
    font-size: 13px;
    line-height: 1.3;
  }
  
  .bank-logos {
    flex-wrap: wrap;
  }
  
  /* Fix products grid alignment */
  .products-grid {
    padding: 0 10px !important;
    gap: 15px !important;
  }
  
  /* Fix section headers alignment */
  .section-header {
    padding: 0 10px !important;
  }
  
  .ai-recommendations-section,
  .trending-products-section {
    padding: 20px 0 !important;
  }
  
  .ai-recommendations-section .container-fluid,
  .trending-products-section .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Fix recent searches section */
  .recent-searches-container {
    padding: 0 10px !important;
  }
  
  /* Fix footer alignment */
  footer .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Fix wide carousel section - ensure it's visible on mobile */
  .wide-carousel-section {
    padding: 0 !important;
    margin-top: 0 !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1 !important;
  }
  
  .wide-carousel-container {
    padding: 0 !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  
  .wide-carousel {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 400px !important;
    overflow: visible !important;
  }
  
  .wide-carousel-slide {
    display: block !important;
    position: relative !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  .wide-carousel-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
  
  .wide-carousel-inner {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .wide-carousel-content {
    display: flex !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Ensure text alignment is consistent */
  .deals-header h3,
  .section-title,
  .section-header h2 {
    text-align: left !important;
    padding-left: 0 !important;
  }
}

/* Footer - White Background with Cyan Text */
footer.footer-white,
footer {
  background-color: var(--white) !important;
  color: var(--text-dark) !important;
  border-top: 2px solid var(--cyan-primary);
}

/* Override Bootstrap bg-dark class for footer */
footer.bg-dark,
footer.bg-dark * {
  background-color: var(--white) !important;
  color: var(--text-dark) !important;
}

/* Ensure all footer text is dark, not light */
footer .text-light,
footer .text-white {
  color: var(--text-dark) !important;
}

footer .text-muted {
  color: var(--text-light) !important;
}

.footer-heading,
footer h6,
footer h5,
footer h4 {
  color: var(--cyan-primary) !important;
  font-weight: 600;
  font-size: 16px;
}

.footer-text {
  color: var(--text-dark) !important;
  font-size: 14px;
}

.footer-link {
  color: var(--text-dark) !important;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--cyan-primary) !important;
}

.footer-divider {
  border-color: var(--cyan-lighter) !important;
  opacity: 0.3;
}

.footer-icon {
  color: var(--cyan-primary) !important;
  font-size: 20px;
}

.footer-input {
  border: 1px solid var(--gray-light) !important;
  color: var(--text-dark) !important;
}

.footer-input:focus {
  border-color: var(--cyan-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25) !important;
}

.footer-input::placeholder {
  color: var(--text-muted) !important;
}

.btn-cyan {
  background-color: var(--cyan-primary) !important;
  border-color: var(--cyan-primary) !important;
  color: var(--white) !important;
}

.btn-cyan:hover {
  background-color: var(--cyan-dark) !important;
  border-color: var(--cyan-dark) !important;
  color: var(--white) !important;
}

/* Footer Branding */
.footer-branding {
  margin-bottom: 20px;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo-link {
  text-decoration: none;
  color: var(--cyan-primary);
  display: inline-block;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-company-logo {
  height: clamp(50px, 6vh, 80px);
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-fallback {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-logo-main {
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan-primary);
  letter-spacing: -0.5px;
}

.footer-logo-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  font-style: italic;
  letter-spacing: 0.2px;
}

.company-info {
  margin: 16px 0;
  padding: 16px;
  background: var(--white-off);
  border-radius: 8px;
  border-left: 3px solid var(--cyan-primary);
}

.company-info p {
  margin-bottom: 8px;
  font-size: 14px;
}

.company-info strong {
  color: var(--cyan-primary);
}

.company-info i {
  color: var(--cyan-primary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--white-off);
  color: var(--cyan-primary);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--cyan-lighter);
}

.social-link:hover {
  background: var(--cyan-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
  text-decoration: none;
  border-color: var(--cyan-primary);
}

.social-link i {
  font-size: 18px;
}

/* Jetlink Limited Branding */
.brand-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo {
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.025em;
}

.brand-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Header Styles */
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Search Bar */
.search-bar {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-bar .form-control {
  border-radius: 25px;
  padding-left: 45px;
  border: 2px solid var(--border-color);
  transition: border-color 0.2s ease;
}

.search-bar .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.search-bar .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Amazon-style Product Cards */
.product-card {
  border: 1px solid var(--amazon-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--amazon-white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 0; /* Very low z-index so dropdown appears above */
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Ensure card fills available height */
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: var(--cyan-primary);
}

.product-card .card-img-top {
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.3s ease;
  background-color: var(--amazon-light-gray);
}

.product-card:hover .card-img-top {
  transform: scale(1.02);
}

.product-card .card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-title {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--amazon-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 39.2px; /* Fixed height: 14px * 1.4 line-height * 2 lines = 39.2px */
  max-height: 39.2px;
}

.product-card .product-title a {
  color: var(--amazon-text);
  text-decoration: none;
}

.product-card .product-title a:hover {
  color: var(--cyan-primary);
}

/* Product Rating */
.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  gap: 4px;
}

.product-rating .stars {
  color: var(--cyan-primary);
  font-size: 12px;
}

.product-rating .rating-count {
  color: var(--amazon-text-light);
  font-size: 12px;
  margin-left: 4px;
}

/* Product Price */
.product-price {
  font-weight: 700;
  font-size: 18px;
  color: var(--amazon-text);
  margin-bottom: 8px;
}

.product-price .original-price {
  text-decoration: line-through;
  color: var(--amazon-text-muted);
  font-size: 14px;
  font-weight: 400;
  margin-right: 8px;
}

.product-price .savings {
  color: var(--amazon-success);
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
}

/* Prime Badge */
.prime-badge {
  background-color: var(--cyan-primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: inline-block;
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--amazon-danger);
  color: var(--amazon-white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

/* Add to Cart Button */
.product-card .btn-add-cart {
  background-color: var(--cyan-primary);
  border: none;
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: auto;
  width: 100%;
}

.product-card .btn-add-cart:hover {
  background-color: var(--cyan-dark);
  transform: translateY(-1px);
}

.product-card .btn-add-cart:active {
  transform: translateY(0);
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}

.wishlist-btn:hover {
  background-color: var(--amazon-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wishlist-btn i {
  color: var(--amazon-text-muted);
  font-size: 16px;
}

.wishlist-btn:hover i {
  color: var(--amazon-danger);
}

/* Product Features */
.product-features {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--amazon-border);
}

.product-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  font-size: 12px;
  color: var(--amazon-text-light);
  margin-bottom: 2px;
  position: relative;
  padding-left: 12px;
}

.product-features li:before {
  content: "•";
  color: var(--cyan-primary);
  position: absolute;
  left: 0;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 8px;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 8px;
  font-weight: 500;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Category Cards */
.category-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
}

.category-card .category-image {
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.category-card .category-info {
  padding: 1.5rem;
  text-align: center;
}

.category-card .category-name {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.category-card .category-count {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-section .lead {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* USP Section */
.usp-section {
  background: var(--light-color);
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.usp-item {
  text-align: center;
  padding: 1rem;
}

.usp-item .usp-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.usp-item .usp-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.usp-item .usp-description {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Cart Styles */
.cart-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.quantity-input {
  width: 80px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem;
}

/* Checkout Styles */
.checkout-step {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.checkout-step.active {
  background: var(--light-color);
  border: 2px solid var(--primary-color);
}

.checkout-step.completed {
  background: #f0fdf4;
  border: 2px solid var(--success-color);
}

/* Form Styles */
.form-control {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Quantity Input Specific Styles */
#quantity {
  font-size: 16px !important;
  font-weight: 500 !important;
  text-align: center !important;
  -moz-appearance: textfield;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product Info Section - Fix text overflow */
.product-info {
  padding: 15px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.product-info h1,
.product-info h2 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  padding: 0;
  margin: 0 0 15px 0;
  line-height: 1.3;
  box-sizing: border-box;
}

.product-info h1.h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.product-info * {
  max-width: 100%;
  box-sizing: border-box;
}

/* Enhanced Product Detail Styles */
.product-details {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

/* Product Description Content Styling */
.product-description-content {
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.product-description-content strong {
  font-weight: 700 !important;
  color: var(--text-dark);
  display: block;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.product-description-content strong:first-child {
  margin-top: 0;
}

.product-description-content br {
  line-height: 1.6;
}

.key-features {
  background: white;
  border-radius: 6px;
  padding: 1rem;
  border: 1px solid #e9ecef;
}

.price .alert-danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
  border: none;
  color: white;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.price .h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.specifications .table-borderless td {
  padding: 0.5rem 0;
  border: none;
}

.specifications .table-borderless td:first-child {
  width: 40%;
  color: #6c757d;
}

.product-description h5,
.product-description h6 {
  color: #212529;
  font-weight: 600;
}

.product-description ul {
  padding-left: 1.5rem;
}

.product-description li {
  margin-bottom: 0.5rem;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

/* Alert Styles */
.alert {
  border-radius: 8px;
  border: none;
  padding: 1rem 1.25rem;
}

.alert-success {
  background-color: #f0fdf4;
  color: #166534;
}

.alert-danger {
  background-color: #fef2f2;
  color: #dc2626;
}

.alert-warning {
  background-color: #fffbeb;
  color: #d97706;
}

.alert-info {
  background-color: #eff6ff;
  color: #2563eb;
}

/* Badge Styles */
.badge {
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
}

.badge-success {
  background-color: var(--success-color);
}

.badge-warning {
  background-color: var(--warning-color);
}

.badge-danger {
  background-color: var(--danger-color);
}

.badge-primary {
  background-color: var(--primary-color);
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .product-card .card-body {
    padding: 1rem;
  }
  
  .search-bar {
    margin-bottom: 1rem;
  }
  
  /* Product gallery mobile adjustments */
  .product-gallery-container {
    flex-direction: column;
  }
  
  .thumbnail-gallery {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 8px;
  }
  
  .main-image-container {
    height: 350px; /* Fixed height on mobile */
    min-height: 300px;
  }
  
  .main-image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  /* Ensure all content fits screen */
  body {
    width: 100%;
    max-width: 100vw;
  }
  
  main {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  header,
  footer {
    width: 100%;
    max-width: 100%;
  }
}


/* Extra small devices (phones, less than 576px) - Banner only */
@media (max-width: 575.98px) {
  /* Banner carousel extra small */
  .hero-carousel-section {
    padding: 5px 0;
    margin-bottom: 10px;
  }
  
  .hero-carousel-section .container-fluid {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
  
  /* Further reduce padding on very small screens */
  .container,
  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }
  
  [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  .deals-layout {
    padding: 0 8px !important;
  }
  
  .deals-header {
    padding: 0 8px !important;
  }
  
  .deals-grid {
    padding: 0 8px !important;
  }
  
  .products-grid {
    padding: 0 8px !important;
  }
  
  .section-header {
    padding: 0 8px !important;
  }
  
  .recent-searches-container {
    padding: 0 8px !important;
  }
  
  .banner-carousel {
    height: clamp(280px, 35vh, 350px) !important; /* Increased height to accommodate all content on small screens */
    display: block !important;
    visibility: visible !important;
  }
  
  /* Ensure wide carousel is visible on very small screens */
  .wide-carousel-section {
    display: block !important;
    visibility: visible !important;
    margin-top: 0 !important;
    padding-top: 5px !important;
  }
  
  .wide-carousel {
    min-height: 250px !important;
    max-height: 300px !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .wide-carousel-content {
    padding: 12px 8px !important;
    gap: 10px !important;
  }
  
  .wide-carousel-image-container {
    min-height: 120px !important;
    max-height: 140px !important;
    height: 140px !important;
    padding: 8px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .wide-carousel-image {
    max-width: calc(100% - 16px) !important;
    max-height: calc(100% - 16px) !important;
    object-fit: contain !important;
    box-sizing: border-box !important;
  }
  
  .wide-carousel-title {
    font-size: 16px !important;
    margin-bottom: 4px !important;
  }
  
  .wide-carousel-description {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }
  
  .wide-carousel-price {
    margin-bottom: 8px !important;
  }
  
  .wide-carousel-price-new {
    font-size: 16px !important;
  }
  
  .banner-carousel {
    height: clamp(200px, 28vh, 280px) !important;
    min-height: 200px !important;
    max-height: 280px !important;
  }
  
  .slide-background {
    padding: clamp(10px, 2vw, 15px) clamp(8px, 1.5vw, 10px);
  }
  
  .slide-content {
    gap: clamp(8px, 2vw, 15px);
  }
  
  /* Category and Product Pages - Very Small Screens */
  /* Product grid - single column on very small screens */
  .col-lg-4.col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Product cards very small screens */
  .product-card .product-image-container {
    height: 200px !important;
  }
  
  .product-card .product-image-container img {
    max-height: 180px !important;
  }
  
  /* Product detail - stack everything */
  .product-gallery-container .col-2 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
  }
  
  .product-gallery-container .col-10 {
    flex: 0 0 80% !important;
    max-width: 80% !important;
  }
  
  /* Thumbnail gallery mobile */
  .thumbnail-gallery {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 5px;
  }
  
  .thumbnail-item {
    flex-shrink: 0;
    width: 60px !important;
    height: 60px !important;
  }
  
  .thumbnail-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  
  /* Main product image mobile */
  .main-image-container {
    height: 300px !important;
    min-height: 250px !important;
  }
  
  /* Product info mobile */
  .product-info h1 {
    font-size: 20px !important;
  }
  
  .product-info .h2 {
    font-size: 22px !important;
  }
  
  /* Add to cart buttons mobile */
  .add-to-cart .row .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
  }
  
  /* Product tabs mobile */
  .nav-tabs {
    flex-wrap: wrap;
    font-size: 13px;
  }
  
  .nav-tabs .nav-link {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  /* Related products mobile */
  .col-lg-3.col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  
  .product-title {
    font-size: clamp(16px, 3.5vw, 22px); /* Auto-adjusts */
    margin-bottom: clamp(5px, 1vw, 10px);
  }
  
  .sale-price {
    font-size: clamp(18px, 4vw, 28px); /* Auto-adjusts */
  }
  
  .original-price {
    font-size: clamp(11px, 1.8vw, 16px); /* Auto-adjusts */
  }
  
  .product-image {
    max-width: clamp(100px, 20vw, 180px); /* Auto-adjusts */
  }
  
  .promo-badge {
    font-size: 10px;
    padding: 4px 12px;
    margin-bottom: 8px;
  }
  
  .lowest-price {
    font-size: 11px;
  }
  
  .product-feature {
    font-size: 12px;
    margin-bottom: 10px;
  }
  
  .carousel-nav {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .prev-btn {
    left: 5px;
  }
  
  .next-btn {
    right: 5px;
  }
  
  .carousel-dots {
    bottom: 8px;
    gap: 6px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  /* Fix header on very small screens */
  .header-top .row {
    gap: 8px;
    margin-right: 0 !important;
  }
  
  .header-top .container-fluid {
    padding-right: 0 !important;
  }
  
  .header-top .col-8 {
    padding-right: 0 !important;
  }
  
  .header-actions {
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-end !important;
  }
  
  .header-actions .cart-link-right {
    margin-right: 0 !important;
    margin-left: auto !important;
  }
  
  /* Ensure all text is properly aligned */
  .deals-header h3,
  .section-title,
  .section-header h2 {
    font-size: 18px;
    text-align: left !important;
    padding-left: 0 !important;
  }
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

.rounded-lg { border-radius: 12px !important; }
.rounded-xl { border-radius: 16px !important; }

/* Modern Animations and Effects */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.slide-in {
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from { 
    transform: translateX(-100%); 
    opacity: 0;
  }
  to { 
    transform: translateX(0); 
    opacity: 1;
  }
}

.scale-in {
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from { 
    transform: scale(0.9); 
    opacity: 0;
  }
  to { 
    transform: scale(1); 
    opacity: 1;
  }
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Smooth Transitions */
* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Focus States */
button:focus,
input:focus,
select:focus,
a:focus {
  outline: 2px solid var(--cyan-primary);
  outline-offset: 2px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--amazon-light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-dark);
}

/* AI/ML Sections Styling */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--cyan-primary), var(--cyan-dark));
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.ai-recommendations-section,
.trending-products-section {
  background: var(--white-off);
  margin: 20px 0;
  border-radius: 8px;
  padding: 30px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--amazon-text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-title i {
  color: var(--cyan-primary);
  font-size: 32px;
}

.section-subtitle {
  color: var(--amazon-text-light);
  font-size: 16px;
  margin-top: 8px;
}

.recent-searches-section {
  background: var(--white);
  border-top: 2px solid var(--cyan-lighter);
  padding: 20px 0;
}

.recent-searches-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.recent-searches-container h5 {
  color: var(--amazon-text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recent-searches-container h5 i {
  color: var(--cyan-primary);
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.search-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--cyan-primary);
  padding: 8px 16px;
  border: 2px solid var(--cyan-primary);
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.search-tag:hover {
  background: var(--cyan-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.search-tag i {
  font-size: 12px;
}

/* Selection Styling */
::selection {
  background-color: var(--cyan-primary);
  color: var(--white);
}

/* Zoom Modal Styles */
#zoomModal .modal-content {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

#zoomModal .modal-body {
  overflow: hidden;
  position: relative;
}

.zoom-container {
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  touch-action: none; /* Prevent default touch behaviors */
}

.zoom-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: grab;
  transition: transform 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: none;
}

.zoom-image:active {
  cursor: grabbing;
}

/* Ensure modal doesn't interfere with wheel events */
#zoomModal {
  touch-action: none;
  pointer-events: auto;
}

#zoomModal * {
  touch-action: none;
  pointer-events: auto;
}

#zoomModal .modal-content {
  pointer-events: auto;
}

#zoomModal .modal-body {
  pointer-events: auto;
}

.zoom-container {
  pointer-events: auto;
}

.zoom-image {
  pointer-events: auto;
}

.zoom-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.zoom-controls .btn {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.zoom-controls .btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.zoom-level-indicator {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 60px;
  text-align: center;
}

/* Zoom indicator enhancement */
.zoom-indicator {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-image-container:hover .zoom-indicator {
  opacity: 1;
}

/* Print Styles */
@media print {
  .amazon-header,
  .btn-add-cart,
  .wishlist-btn,
  .search-container {
    display: none !important;
  }
  
  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ============================================
   MOBILE-ONLY PAGE STYLES
   ============================================ */

/* Mobile Carousel Styles */
.mobile-carousel-section {
  width: 100%;
  margin-bottom: 15px;
  background: var(--white);
  padding: 0;
}

.mobile-carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cyan-lighter) 0%, var(--white) 100%);
  border-radius: 0;
}

.mobile-carousel {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.mobile-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.mobile-carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.mobile-carousel-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 15px;
  gap: 12px;
}

.mobile-carousel-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 160px;
  background: var(--white-off);
  border-radius: 8px;
  padding: 10px;
}

.mobile-carousel-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.mobile-carousel-info {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 5px;
}

.mobile-badge {
  display: inline-block;
  background: var(--cyan-primary);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mobile-carousel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mobile-carousel-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.mobile-price-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.mobile-price-new {
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan-primary);
}

.mobile-shop-btn {
  display: inline-block;
  background: var(--cyan-primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  border: 2px solid var(--cyan-primary);
}

.mobile-shop-btn:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.mobile-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.mobile-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.mobile-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.mobile-carousel-dot.active {
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
  width: 24px;
  border-radius: 6px;
}

/* Mobile Header Styles */
.mobile-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 188, 212, 0.1);
}

.mobile-header .header-top {
  padding: 8px 0;
}

/* Ensure cart icon is positioned at top right on mobile */
.mobile-header .header-actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

.mobile-header .header-top .col-8 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 0 !important; /* Remove right padding to allow cart to reach edge */
}

.mobile-header .header-top .container-fluid {
  padding-right: 0 !important; /* Remove container padding on right */
}

.mobile-header .header-top .row {
  margin-right: 0 !important; /* Remove row negative margin on right */
}

.mobile-header .cart-link-right {
  margin-left: auto !important;
  margin-right: 0 !important; /* Remove any right margin */
  padding-right: 0 !important; /* Remove any right padding */
  order: 999 !important;
  position: relative;
  right: 0;
}

.mobile-header .cart-link-right .cart-icon {
  margin-right: 0 !important;
  padding-right: 0 !important;
}

/* Force cart to absolute right edge - override all Bootstrap padding */
.mobile-header .header-top .container-fluid {
  padding-right: 0 !important;
  margin-right: 0 !important;
  overflow: visible;
}

.mobile-header .header-top .row {
  margin-right: 0 !important;
  padding-right: 0 !important;
  --bs-gutter-x: 0;
}

.mobile-header .header-top .col-8,
.mobile-header .header-top .col {
  padding-right: 0 !important;
  margin-right: 0 !important;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  --bs-gutter-x: 0;
}

.mobile-header .header-top .col-auto {
  padding-left: 10px;
  padding-right: 0;
  flex-shrink: 0;
}

.mobile-header .header-actions {
  padding-right: 0 !important;
  margin-right: 0 !important;
  gap: 4px !important;
  width: auto;
  justify-content: flex-end !important;
  flex-shrink: 0;
}

.mobile-header .cart-link-right {
  margin-right: 0 !important;
  padding: 6px 0 6px 8px !important; /* Reduced left padding, no right padding */
  margin-left: 0 !important;
  flex-shrink: 0;
}

.mobile-header .account-link {
  padding: 8px !important;
  margin-right: 0 !important;
  flex-shrink: 0;
}

/* Remove all padding from cart icon and link on mobile */
.mobile-header .cart-link-right,
.mobile-header .cart-link-right * {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

/* Ensure cart icon container has no padding */
.mobile-header .cart-link-right .cart-icon {
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Override Bootstrap's default column padding for mobile header */
@media (max-width: 768px) {
  .mobile-header .header-top .col-8 {
    --bs-gutter-x: 0 !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  
  .mobile-header .header-top .container-fluid {
    --bs-gutter-x: 0 !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  
  .mobile-header .header-top .row {
    --bs-gutter-x: 0 !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Override cart-link-right padding on mobile */
  .mobile-header .cart-link-right {
    padding-right: 0 !important;
    padding-left: 12px !important;
  }
  
  /* Ensure body and html have no padding on mobile */
  body.mobile-device,
  html {
    padding-right: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden;
  }
  
  /* Ensure header has no right padding */
  .mobile-header {
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  
  .mobile-header .header-top {
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
}

.mobile-nav {
  background-color: var(--cyan-primary);
  padding: 8px 0;
}

.nav-links-mobile {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 10px;
}

.nav-links-mobile a {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.nav-links-mobile a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Deals Section */
.mobile-deals-section {
  padding: 15px 0;
  background: var(--white);
}

.mobile-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  padding: 0 10px;
}

.mobile-deals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 10px;
}

.mobile-deal-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-deal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: var(--cyan-primary);
}

.mobile-deal-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.mobile-deal-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--danger);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
}

.mobile-deal-image {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-off);
  overflow: hidden;
  padding: 10px;
}

.mobile-deal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mobile-deal-info {
  padding: 10px;
}

.mobile-deal-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 33.8px;
}

.mobile-deal-price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mobile-deal-old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 11px;
}

.mobile-deal-new-price {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
}

/* Mobile Products Section */
.mobile-products-section {
  padding: 15px 0;
  background: var(--white-off);
}

.mobile-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 10px;
}

.mobile-product-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: var(--cyan-primary);
}

.mobile-product-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.mobile-product-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--danger);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  z-index: 2;
}

.mobile-product-image {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-off);
  overflow: hidden;
  padding: 10px;
}

.mobile-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mobile-product-info {
  padding: 10px;
}

.mobile-product-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 33.8px;
}

.mobile-product-price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mobile-product-old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 11px;
}

.mobile-product-new-price {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 15px;
}

/* Mobile Category Page Styles */
.mobile-breadcrumb {
  padding: 8px 0;
  background: var(--white-off);
}

.mobile-breadcrumb .breadcrumb {
  margin-bottom: 0;
  padding: 0 10px;
  font-size: 12px;
}

.mobile-category-header {
  padding: 15px 10px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.mobile-category-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.mobile-category-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.mobile-filters-toggle {
  padding: 10px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.mobile-filters-panel {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 15px 10px;
}

.mobile-products-count {
  padding: 10px;
  background: var(--white-off);
  font-size: 13px;
}

.mobile-pagination {
  padding: 20px 10px;
  background: var(--white);
}

.mobile-empty-state {
  padding: 40px 10px;
  background: var(--white);
}

/* Mobile Product Detail Page Styles */
.mobile-product-images {
  position: relative;
  background: var(--white);
  margin-bottom: 15px;
}

.mobile-product-carousel {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.mobile-product-image-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-off);
}

.mobile-product-image-slide.active {
  opacity: 1;
  z-index: 1;
}

.mobile-product-image-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mobile-product-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--white);
}

.mobile-product-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-light);
  cursor: pointer;
  transition: background 0.3s ease;
}

.mobile-product-dot.active {
  background: var(--cyan-primary);
  width: 24px;
  border-radius: 4px;
}

.mobile-product-info {
  background: var(--white);
  padding: 15px 10px;
}

.mobile-product-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.mobile-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-product-rating .stars {
  display: flex;
  gap: 2px;
}

.mobile-product-rating .rating-text {
  font-size: 13px;
  color: var(--text-muted);
}

.mobile-product-price-section {
  padding: 15px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.mobile-deal-badge {
  display: inline-block;
  background: var(--danger);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.mobile-price-new {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
}

.mobile-price-old {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.mobile-discount-badge {
  background: var(--danger);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.mobile-savings {
  font-size: 14px;
  color: var(--success);
  font-weight: 600;
  margin-top: 5px;
}

.mobile-tax-info {
  font-size: 12px;
}

.mobile-stock-status {
  padding: 10px 0;
}

.mobile-product-details {
  padding: 15px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.mobile-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.mobile-detail-item .detail-label {
  color: var(--text-muted);
}

.mobile-detail-item .detail-value {
  color: var(--text-dark);
  font-weight: 500;
}

.mobile-product-description {
  padding: 15px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
}

.mobile-add-to-cart {
  padding: 15px 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.mobile-quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-trust-badges {
  padding: 15px 0;
  border-top: 1px solid var(--gray-light);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 8px;
  background: var(--white-off);
  border-radius: 6px;
}

.trust-badge-item i {
  font-size: 16px;
}

.mobile-product-tabs {
  margin-top: 15px;
}

.mobile-product-tabs .nav-tabs {
  border-bottom: 2px solid var(--gray-light);
}

.mobile-product-tabs .nav-link {
  font-size: 13px;
  padding: 10px 12px;
  color: var(--text-muted);
  border: none;
  border-bottom: 2px solid transparent;
}

.mobile-product-tabs .nav-link.active {
  color: var(--cyan-primary);
  border-bottom-color: var(--cyan-primary);
  background: transparent;
}

.mobile-review-item {
  padding: 15px 0;
}

.mobile-related-products {
  padding: 20px 10px;
  background: var(--white-off);
  margin-top: 20px;
}

.mobile-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0 10px;
  margin-bottom: 15px;
}

/* Mobile Cart Page Styles */
.mobile-cart-header {
  padding: 15px 10px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.mobile-cart-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

.mobile-cart-count {
  font-size: 14px;
  color: var(--text-muted);
}

.mobile-cart-items {
  background: var(--white);
  padding: 10px 0;
}

.mobile-cart-item {
  display: flex;
  gap: 12px;
  padding: 15px 10px;
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
}

.mobile-cart-item:last-child {
  border-bottom: none;
}

.mobile-cart-item-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-off);
  border-radius: 8px;
  overflow: hidden;
}

.mobile-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mobile-cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.mobile-cart-item-name a {
  color: var(--text-dark);
  text-decoration: none;
}

.mobile-cart-item-name a:hover {
  color: var(--cyan-primary);
}

.mobile-cart-item-details {
  font-size: 12px;
  color: var(--text-muted);
}

.mobile-cart-item-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-cart-item-quantity {
  margin-top: 4px;
}

.mobile-cart-item-quantity .form-label {
  font-size: 12px;
  margin-bottom: 4px;
}

.mobile-cart-item-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
}

.mobile-cart-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mobile-cart-item-actions .btn {
  font-size: 12px;
  padding: 4px 8px;
}

.mobile-order-summary {
  padding: 15px 10px;
  background: var(--white-off);
  margin-top: 10px;
}

.mobile-summary-card {
  background: var(--white);
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mobile-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
}

.mobile-summary-details {
  margin-bottom: 15px;
}

.mobile-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.mobile-summary-row .summary-label {
  color: var(--text-muted);
}

.mobile-summary-row .summary-value {
  color: var(--text-dark);
  font-weight: 500;
}

.mobile-summary-total {
  font-size: 18px;
  font-weight: 700;
  padding-top: 10px;
  border-top: 2px solid var(--gray-light);
}

.mobile-summary-total .summary-label {
  color: var(--text-dark);
}

.mobile-summary-total .total-amount {
  color: var(--cyan-primary);
  font-size: 20px;
}

.mobile-shipping-note {
  padding: 8px;
  background: var(--cyan-lighter);
  border-radius: 4px;
  margin: 8px 0;
}

.mobile-summary-actions {
  margin-bottom: 10px;
}

.mobile-summary-security {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid var(--gray-light);
}

.mobile-empty-cart {
  padding: 40px 10px;
  background: var(--white);
}

/* Mobile Auth Pages Styles */
.mobile-auth-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  background: var(--white-off);
}

.mobile-auth-card {
  width: 100%;
  max-width: 450px;
  background: var(--white);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.mobile-auth-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-lighter);
  border-radius: 50%;
}

.mobile-auth-logo i {
  font-size: 48px;
  color: var(--cyan-primary);
}

.mobile-auth-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.mobile-auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.mobile-auth-alert {
  margin-bottom: 20px;
  font-size: 14px;
  padding: 12px 16px;
}

.mobile-auth-form {
  margin-bottom: 20px;
}

.mobile-auth-form .form-label {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.mobile-auth-form .form-control-lg {
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--gray-light);
}

.mobile-auth-form .form-control-lg:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 153, 204, 0.25);
}

.mobile-auth-form .input-group .btn {
  border-left: none;
  border-radius: 0 8px 8px 0;
}

.mobile-auth-form .input-group .form-control {
  border-right: none;
  border-radius: 8px 0 0 8px;
}

.mobile-auth-form .form-check-label {
  font-size: 14px;
  color: var(--text-dark);
}

.mobile-auth-form .btn-lg {
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
}

.mobile-auth-divider {
  position: relative;
  text-align: center;
  margin: 25px 0;
  padding: 0 20px;
}

.mobile-auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-light);
}

.mobile-auth-divider span {
  position: relative;
  background: var(--white);
  padding: 0 15px;
  color: var(--text-muted);
  font-size: 14px;
}

.mobile-auth-trust {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}

.mobile-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.mobile-trust-item i {
  font-size: 20px;
}

/* Mobile Footer */
.mobile-footer {
  background: var(--white);
  border-top: 2px solid var(--cyan-primary);
  padding: 20px 0;
  margin-top: 20px;
}

.mobile-footer-links {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
  padding: 0 10px;
}

.mobile-footer-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.mobile-footer-links a:hover {
  color: var(--cyan-primary);
  background: var(--cyan-lighter);
}

.mobile-footer-text {
  text-align: center;
  color: var(--text-light);
  font-size: 12px;
  margin: 0;
  padding: 0 10px;
}

/* Mobile Main Content */
.mobile-main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-bottom: 20px;
}
