:root{
  /* Mint/Peach modern palette */
  --mint:#8BD3C7;
  --mint-dark:#49b9ab;
  --peach:#F9C8B8;
  --peach-soft:#fdebdc;
  --ink:#0f172a;
  --muted:#6b7280;
  --surface:#ffffff;
  --surface-2:#f8fafc;
  /* Custom colors */
  --cart-button:#1baaae;
  /* Backwards compatible vars */
  --brand-start: var(--mint-dark);
  --brand-end: var(--mint);
  --brand-dark:#0b1020;
}

.gradient-nav{
  background: linear-gradient(90deg,var(--brand-start),var(--brand-end));
}
.nav-search-group{
  border: 1px solid #22c55e33;
  border-radius: 999px;
  overflow: hidden;
}
.nav-search-input{ padding:.65rem 1rem; }
.nav-search-btn{ border-radius:0 999px 999px 0; }

/* Add to cart button styling */
.btn-outline-dark {
  border-color: var(--cart-button) !important;
  color: var(--cart-button) !important;
}

.btn-outline-dark:hover {
  background-color: var(--cart-button) !important;
  border-color: var(--cart-button) !important;
  color: white !important;
}

.btn-outline-dark:focus {
  box-shadow: 0 0 0 0.2rem rgba(27, 170, 174, 0.25) !important;
}

.nav-tabs-bar .btn{ border-radius: .5rem; }

/* Hero slider like reference */
.hero-slider{ 
  margin-bottom: 1rem;
  margin-left: -50px;
  margin-right: -50px;
  width: calc(100% + 100px);
}
.hero-slide{
  min-height: 520px;
  background-size: cover;
  background-position: center right;
  background-color: var(--mint-dark);
  position: relative;
  border-radius: 1rem;
}

/* Make hero section full width for web browser */
#hero {
  padding-left: 0;
  padding-right: 0;
  margin-left: -50px;
  margin-right: -50px;
  width: calc(100% + 100px);
}

.hero-slider {
  margin-left: -50px;
  margin-right: -50px;
  width: calc(100% + 100px);
}

.hero-slide {
  border-radius: 0;
}

/* Full width hero for desktop screens */
@media (min-width: 992px) {
  #hero {
    margin-left: -100px;
    margin-right: -100px;
    width: calc(100% + 200px);
  }
  
  .hero-slider {
    margin-left: -100px;
    margin-right: -100px;
    width: calc(100% + 200px);
  }
}

/* Extra large screens - even more full width */
@media (min-width: 1200px) {
  #hero {
    margin-left: -150px;
    margin-right: -150px;
    width: calc(100% + 300px);
  }
  
  .hero-slider {
    margin-left: -150px;
    margin-right: -150px;
    width: calc(100% + 300px);
  }
}

/* Ultra-wide screens - maximum full width */
@media (min-width: 1400px) {
  #hero {
    margin-left: -200px;
    margin-right: -200px;
    width: calc(100% + 400px);
  }
  
  .hero-slider {
    margin-left: -200px;
    margin-right: -200px;
    width: calc(100% + 400px);
  }
}

/* Default gradient for slides without images */
.hero-slide:not(.hero-slide-with-image) {
  background-image: linear-gradient(135deg, var(--mint-dark) 0%, var(--mint) 100%);
}

.hero-overlay{
  position:absolute; inset:0; border-radius:1rem;
  /* Soft left fade for readability */
  background: linear-gradient(90deg, rgba(15,23,42,.28) 0%, rgba(15,23,42,.12) 45%, rgba(15,23,42,.04) 65%, rgba(15,23,42,0) 100%);
}
.hero-copy{ 
  max-width: 700px; 
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  padding: 2rem;
}

.hero-copy h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-copy p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.hero-copy .btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
}
.hero-control{ width:auto; }
.hero-control-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(255,255,255,.15); color: #fff; font-size: 28px;
  border: 1px solid rgba(255,255,255,.25);
}
.hero-control:hover .hero-control-icon{ background: rgba(255,255,255,.35); }

/* Carousel indicators */
.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.5);
  border: none;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: rgba(255,255,255,.9);
  transform: scale(1.2);
}

.carousel-indicators button:hover {
  background-color: rgba(255,255,255,.7);
}

/* Responsive Hero */
@media (max-width: 575.98px) {
  .hero-slide {
    min-height: 300px;
    border-radius: 0.5rem;
  }
  
  .hero-overlay {
    border-radius: 0.5rem;
  }
  
  .hero-copy {
    max-width: 100%;
    padding: 1rem;
  }
  
  .hero-copy h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-copy p {
    font-size: 0.9rem;
  }
  
  .hero-control-icon {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-slide {
    min-height: 350px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-slide {
    min-height: 400px;
  }
}

/* Auth card styles */
.auth-screen{ background:#0b0f1a; min-height: calc(100vh - 120px); display:flex; align-items:center; justify-content:center; }
.auth-card{ max-width: 420px; width:100%; border-radius: 1rem; background:#111827; color:#e5e7eb; border:1px solid #1f2937; position:relative; box-shadow:0 20px 60px rgba(0,0,0,.6); }
.auth-glow{ position:absolute; inset:-2px; border-radius:1rem; background: radial-gradient(400px 200px at top left, rgba(99,102,241,.35), transparent), radial-gradient(400px 200px at bottom right, rgba(20,184,166,.35), transparent); filter: blur(30px); opacity:.6; z-index:0; }
.auth-inner{ position:relative; z-index:1; padding: 2rem; }
.auth-pill{ border-radius:.75rem; border:1px solid #374151; overflow:hidden; display:flex; }
.auth-pill .active{ background:#fff; color:#111; }
.auth-input{ background:#0f172a; border:1px solid #1f2937; color:#fff; }
.auth-input::placeholder{ color:#6b7280; }

/* Split layout for auth pages (light left card, peach right illustration) */
.auth-split{ width:100%; max-width:1100px; border-radius:1.25rem; overflow:hidden; background:#fff; box-shadow:0 30px 80px rgba(0,0,0,.15); display:grid; grid-template-columns: 1fr 1fr; }
.auth-left-card{ padding:2.25rem; background:#ffffff; }
.auth-left-card .brand{ color:#f97316; font-weight:700; }
.auth-left-card .title{ font-weight:800; font-size:1.75rem; }
.auth-form .form-control{ border-radius:.5rem; background:#fbfbfb; border:1px solid #ececec; }
.auth-form .btn-primary{ background:#f97316; border-color:#f97316; }
.auth-form .btn-primary:hover{ background:#ea640b; border-color:#ea640b; }
.auth-right-illustration{ background:#fdebdc; display:flex; align-items:center; justify-content:center; position:relative; }
.auth-right-illustration:after{ content:""; position:absolute; left:0; top:0; bottom:0; width:1px; background:rgba(0,0,0,.05); }
.auth-illustration-cart{ width:72%; max-width:420px; aspect-ratio: 4/3; background: radial-gradient(120px 80px at 30% 30%, #22d3ee33, transparent), radial-gradient(120px 80px at 65% 55%, #60a5fa33, transparent), radial-gradient(120px 80px at 45% 75%, #f59e0b33, transparent); border-radius:1rem; border:2px dashed rgba(0,0,0,.08); }

@media (max-width: 992px){
  .auth-split{ grid-template-columns: 1fr; }
  .auth-right-illustration{ display:none; }
}

.page-hero{ background: linear-gradient(180deg, #fff, #fff); }

.footer-gradient{ background: linear-gradient(180deg,#0b1020, #07101d); }

/* Responsive Footer */
@media (max-width: 575.98px) {
  .footer-gradient .container {
    padding: 1rem;
  }
  
  .footer-gradient .col-12 {
    margin-bottom: 1.5rem;
  }
  
  .footer-gradient h6 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-gradient .list-unstyled li {
    margin-bottom: 0.5rem;
  }
  
  .footer-gradient .form-control {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  
  .footer-gradient .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}

.top-strip{
  background: linear-gradient(90deg,#0b1020,#15203a);
}

.search-bar .form-control{
  border-radius: .75rem 0 0 .75rem;
}
.search-bar .btn{
  border-radius: 0 .75rem .75rem 0;
}

.card-hover{
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-hover:hover{
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.15);
}

/* Bigger hero spacing on desktop */
@media (min-width: 992px){
  #hero{ padding-top: 1rem; padding-bottom: 0; }
}

/* Animations */
@keyframes floatUp {
  from { transform: translateY(8px); opacity: .0; }
  to { transform: translateY(0); opacity: 1; }
}

.btn-primary{
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); }

.reveal{ opacity: 0; transform: translateY(16px); }
.reveal-visible{ opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

.promo-tile{ animation: floatUp .6s ease both; }

/* Mega menu */
.mega-menu .dropdown-item{
  padding: .35rem .5rem;
  border-radius: .5rem;
}
.mega-menu .dropdown-item:hover{
  background: rgba(255,255,255,.2);
  color: #fff;
}
.promo-tile{
  background: linear-gradient(135deg, var(--peach) 0%, var(--mint) 100%);
  color:#0b1020;
  border: 0;
}

/* Category pills */
.category-pills .btn{
  background: rgba(0,0,0,.04);
  border: 0;
  border-radius: 999px;
  margin: .25rem;
}
.category-pills .btn.active, .category-pills .btn:hover{ background: var(--mint-dark); color:#fff; }

/* Product Cards */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.product-image {
  width: 100%;
  height: 320px; /* default cards */
  object-fit: cover;
  border-radius: 0;
}

/* Extra large product card variant for homepage grids */
.product-card-xl .product-image{ height: 420px; }

/* Responsive Product Cards */
@media (max-width: 575.98px) {
  .product-image {
    height: 200px;
  }
  
  .product-card-xl .product-image {
    height: 220px;
  }
  
  .product-card {
    border-radius: 12px;
  }
  
  .product-card .card-body {
    padding: 0.75rem;
  }
  
  .product-card .card-title {
    font-size: 0.85rem;
    height: 2.2rem;
    line-height: 1.1;
  }
  
  .product-card .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .product-image {
    height: 250px;
  }
  
  .product-card-xl .product-image {
    height: 280px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .product-image {
    height: 280px;
  }
  
  .product-card-xl .product-image {
    height: 340px;
  }
}

/* Prefer 1:1 square cropping visually similar to 1080x1080 */
.product-image{ aspect-ratio: 1 / 1; }

.product-card .card-body {
  padding: 1rem;
}

.product-card .card-title {
  font-size: 0.9rem;
  line-height: 1.3;
  height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card .price-section {
  min-height: 1.5rem;
}

/* Short product description under title (2-line clamp) */
.product-desc{
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
  margin-bottom: .5rem;
  max-height: 2.7rem; /* ~2 lines */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card .btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
}

.product-card .btn-outline-dark {
  border-color: #333;
  color: #333;
}

.product-card .btn-outline-dark:hover {
  background-color: #333;
  border-color: #333;
  color: white;
}

.product-card .btn-success { background-color: var(--peach); border-color: var(--peach); color: var(--ink); }

.product-card .btn-success:hover { background-color: var(--peach-soft); border-color: var(--peach-soft); color: var(--ink); }

/* Sale badges */
.product-card .badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Flash sale countdown */
.countdown{
  display:flex; gap: .75rem; align-items:center;
}
.countdown .time-box{
  background: var(--mint);
  color:#fff; border-radius: 12px; padding: .5rem .75rem; min-width:72px; text-align:center;
  box-shadow: 0 10px 20px rgba(139,211,199,.25);
}
.countdown .time-box .num{ font-size: 1.25rem; font-weight: 700; display:block; }
.countdown .time-box .lbl{ font-size: .72rem; opacity:.95; display:block; }

/* Section headings */
.section-title{ font-weight:800; letter-spacing:.2px; text-align: center; }
.section-subtitle{ color: var(--muted); text-align: center; }

/* Rounded slider edges */
.carousel-inner{ border-radius: 18px; }

/* Pill buttons */
.btn-pill{ border-radius: 999px; padding: .6rem 1rem; }
.btn-mint{ background: var(--mint-dark); border-color: var(--mint-dark); color:#fff; }
.btn-mint:hover{ background:#379d90; border-color:#379d90; color:#fff; }

/* Override Bootstrap green colors with pastel colors */
.btn-success {
  background-color: var(--peach) !important;
  border-color: var(--peach) !important;
  color: var(--ink) !important;
}

.btn-success:hover {
  background-color: var(--peach-soft) !important;
  border-color: var(--peach-soft) !important;
  color: var(--ink) !important;
}

.text-success {
  color: var(--mint-dark) !important;
}

.bg-success {
  background-color: var(--mint) !important;
}

.badge.bg-success {
  background-color: var(--mint) !important;
  color: var(--ink) !important;
}

/* Override Bootstrap blue colors with pastel colors */
.btn-primary {
  background-color: var(--mint-dark) !important;
  border-color: var(--mint-dark) !important;
  color: white !important;
}

.btn-primary:hover {
  background-color: var(--mint) !important;
  border-color: var(--mint) !important;
  color: white !important;
}

.btn-outline-primary {
  color: var(--mint-dark) !important;
  border-color: var(--mint-dark) !important;
}

.btn-outline-primary:hover {
  background-color: var(--mint-dark) !important;
  border-color: var(--mint-dark) !important;
  color: white !important;
}

/* Additional blue color overrides */
.text-primary {
  color: var(--mint-dark) !important;
}

.bg-primary {
  background-color: var(--mint) !important;
  color: var(--ink) !important;
}

.badge.bg-primary {
  background-color: var(--mint) !important;
  color: var(--ink) !important;
}

/* Category Cards */
.category-card {
  background: var(--mint);
  border: 1px solid rgba(73, 185, 171, 0.2);
  transition: all 0.3s ease;
  min-height: 120px;
}

.category-card:hover {
  background: var(--mint-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(73, 185, 171, 0.3);
}

.category-card:hover .category-icon i,
.category-card:hover .category-name h6 {
  color: white !important;
}

.category-icon i {
  transition: color 0.3s ease;
}

.category-name h6 {
  transition: color 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Responsive Category Cards */
@media (max-width: 575.98px) {
  .category-card {
    min-height: 80px;
    padding: 0.75rem;
  }
  
  .category-icon i {
    font-size: 1.5rem;
  }
  
  .category-name h6 {
    font-size: 0.8rem;
    line-height: 1.1;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .category-card {
    min-height: 100px;
  }
  
  .category-icon i {
    font-size: 1.75rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .category-card {
    min-height: 110px;
  }
}

/* ===== ENHANCED MOBILE RESPONSIVE DESIGN ===== */

/* Mobile First Approach - Base styles for mobile */
@media (max-width: 575.98px) {
  /* Mobile Navigation */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .nav-search {
    margin: 0.5rem 0;
    order: -1;
  }
  
  .nav-search-group {
    border-radius: 0.5rem;
  }
  
  .nav-search-input {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .nav-search-btn {
    padding: 0.5rem 0.75rem;
  }
  
  /* Mobile Container Fixes */
  .container-fluid {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  
  /* Mobile Navbar Improvements */
  .navbar-collapse {
    background: white;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    flex-direction: column;
  }
  
  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Mobile Hero */
  .hero-slide {
    min-height: 250px;
    border-radius: 0.5rem;
  }
  
  .hero-copy {
    padding: 1rem;
  }
  
  .hero-copy h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .hero-copy p {
    font-size: 0.9rem;
  }
  
  /* Mobile Product Cards */
  .product-card {
    margin-bottom: 1rem;
    border-radius: 0.75rem;
  }
  
  .product-image {
    height: 180px;
    border-radius: 0.75rem 0.75rem 0 0;
  }
  
  .product-card .card-body {
    padding: 0.75rem;
  }
  
  .product-card .card-title {
    font-size: 0.85rem;
    height: 2.2rem;
    line-height: 1.1;
  }
  
  .product-card .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    min-height: 36px;
  }
  
  /* Mobile Product Grid */
  .col-6 {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }
  
  /* Mobile Forms */
  .form-control, .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
    border-radius: 0.5rem;
  }
  
  .btn {
    min-height: 44px; /* Touch-friendly */
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
  }
  
  /* Mobile Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
  
  /* Mobile Spacing */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  
  /* Mobile Page Header */
  .page-hero {
    padding: 1.5rem 0;
  }
  
  .page-hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  /* Mobile Footer */
  .footer-gradient .container {
    padding: 1rem;
  }
  
  .footer-gradient .col-12 {
    margin-bottom: 1.5rem;
  }
  
  .footer-gradient h6 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .footer-gradient .list-unstyled li {
    margin-bottom: 0.5rem;
  }
  
  .footer-gradient .form-control {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
  
  .footer-gradient .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
  
  /* Mobile Category Cards */
  .category-card {
    min-height: 80px;
    padding: 0.75rem;
  }
  
  .category-icon i {
    font-size: 1.5rem;
  }
  
  .category-name h6 {
    font-size: 0.8rem;
  }
  
  /* Mobile Sections */
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.85rem;
  }
  
  /* Mobile Auth Forms */
  .auth-split {
    margin: 0.5rem;
    border-radius: 0.75rem;
  }
  
  .auth-left-card {
    padding: 1.5rem;
  }
  
  .auth-form .form-control {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .auth-form .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Mobile Cart */
  .cart-item {
    padding: 0.75rem;
  }
  
  .cart-item img {
    width: 60px;
    height: 60px;
  }
  
  /* Mobile Buttons */
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  /* Mobile Grid Improvements */
  .row {
    margin-left: -0.375rem;
    margin-right: -0.375rem;
  }
  
  .row > * {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }
  
  /* Mobile Mega Menu */
  .mega-menu {
    position: static !important;
    box-shadow: none !important;
    border: 1px solid #dee2e6 !important;
    margin-top: 0.5rem;
    border-radius: 0.5rem;
  }
  
  /* Mobile Dropdown */
  .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    margin-top: 0.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
  }
  
  /* Mobile Alerts */
  .alert {
    font-size: 0.9rem;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 0.5rem;
  }
  
  /* Mobile Tables */
  .table-responsive {
    border: none;
  }
  
  .table {
    font-size: 0.85rem;
  }
  
  .table th,
  .table td {
    padding: 0.5rem 0.25rem;
  }
  
  /* Mobile Modals */
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .modal-content {
    border-radius: 0.5rem;
  }
  
  /* Mobile Carousel */
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  
  .carousel-indicators {
    bottom: 0.5rem;
  }
  
  .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }
  
  /* Mobile Breadcrumbs */
  .breadcrumb {
    font-size: 0.8rem;
    padding: 0.5rem 0;
  }
  
  .breadcrumb-item {
    padding: 0.25rem 0;
  }
  
  /* Mobile Badges */
  .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Mobile Cards */
  .card {
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  /* Mobile Input Groups */
  .input-group {
    flex-wrap: wrap;
  }
  
  .input-group .form-control {
    border-radius: 0.5rem 0.5rem 0 0;
  }
  
  .input-group .btn {
    border-radius: 0 0 0.5rem 0.5rem;
    width: 100%;
  }
  
  /* Mobile List Groups */
  .list-group-item {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  /* Mobile Pagination */
  .pagination {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-slide {
    min-height: 300px;
  }
  
  .product-image {
    height: 220px;
  }
  
  .category-card {
    min-height: 90px;
  }
  
  .nav-search {
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Tablet Navigation */
  .navbar-collapse {
    background: white;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    flex-direction: column;
  }
  
  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-weight: 500;
  }
  
  /* Tablet Forms */
  .form-control, .form-select {
    font-size: 16px;
    padding: 0.75rem;
  }
  
  .btn {
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
  
  /* Tablet Product Cards */
  .product-card .card-body {
    padding: 1rem;
  }
  
  .product-card .card-title {
    font-size: 0.9rem;
  }
  
  /* Tablet Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-slide {
    min-height: 350px;
  }
  
  .product-image {
    height: 250px;
  }
  
  .product-card-xl .product-image {
    height: 300px;
  }
  
  .category-card {
    min-height: 100px;
  }
  
  .mega-menu {
    max-width: 600px;
  }
  
  .nav-search {
    max-width: 500px;
  }
  
  /* Tablet Navigation */
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
  }
  
  /* Tablet Forms */
  .form-control, .form-select {
    padding: 0.75rem;
  }
  
  /* Tablet Product Cards */
  .product-card .card-body {
    padding: 1rem;
  }
  
  .product-card .card-title {
    font-size: 1rem;
  }
  
  /* Tablet Typography */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.75rem; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-slide {
    min-height: 520px;
  }
  
  .product-image {
    height: 320px;
  }
  
  .product-card-xl .product-image {
    height: 420px;
  }
  
  .category-card {
    min-height: 120px;
  }
  
  .mega-menu {
    max-width: 800px;
  }
  
  .nav-search {
    max-width: 600px;
  }
  
  /* Desktop specific improvements */
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .product-card:hover {
    transform: translateY(-8px);
  }
  
  .category-card:hover {
    transform: translateY(-5px);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-slide {
    min-height: 600px;
  }
  
  .product-image {
    height: 350px;
  }
  
  .product-card-xl .product-image {
    height: 450px;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-slide {
    min-height: 700px;
  }
}

/* ===== RESPONSIVE UTILITIES ===== */

/* Hide on mobile */
@media (max-width: 767.98px) {
  .d-mobile-none {
    display: none !important;
  }
  
  .top-strip {
    display: none !important;
  }
  
  .mega-menu {
    position: static !important;
    box-shadow: none !important;
    border: 1px solid #dee2e6 !important;
    margin-top: 0.5rem;
  }
}

/* Show on mobile only */
@media (max-width: 767.98px) {
  .d-mobile-only {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .d-mobile-only {
    display: none !important;
  }
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 575.98px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
}

/* ===== RESPONSIVE SPACING ===== */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
}

/* ===== RESPONSIVE GRID IMPROVEMENTS ===== */
@media (max-width: 575.98px) {
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  /* Force 2 columns on mobile */
  .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Ensure proper spacing */
  .col-6:not(:last-child) {
    margin-bottom: 1rem;
  }
}

/* Tablet responsive improvements */
@media (min-width: 576px) and (max-width: 991.98px) {
  .col-md-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* ===== RESPONSIVE FORMS ===== */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn {
    min-height: 44px; /* Touch-friendly */
  }
  
  .input-group .btn {
    min-height: 44px;
  }
}

/* ===== RESPONSIVE IMAGES ===== */
img {
  max-width: 100%;
  height: auto;
}

.product-image {
  object-fit: cover;
  width: 100%;
}

/* ===== RESPONSIVE NAVIGATION ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    flex-direction: column;
  }
  
  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }
  
  .nav-search {
    margin: 0.5rem 0;
    order: -1;
  }
  
  /* Mobile navigation improvements */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    font-weight: 500;
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--mint-dark);
  }
}

/* ===== RESPONSIVE CAROUSEL ===== */
@media (max-width: 575.98px) {
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  
  .carousel-indicators {
    bottom: 0.5rem;
  }
  
  .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }
}

/* Ensure hero slider controls remain visible on mobile */
@media (max-width: 575.98px) {
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    display: block;
  }
}

/* ===== RESPONSIVE MODALS ===== */
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .modal-content {
    border-radius: 0.5rem;
  }
}

/* ===== RESPONSIVE TABLES ===== */
@media (max-width: 767.98px) {
  .table-responsive {
    border: none;
  }
  
  .table {
    font-size: 0.85rem;
  }
  
  .table th,
  .table td {
    padding: 0.5rem 0.25rem;
  }
}

/* ===== RESPONSIVE ALERTS ===== */
@media (max-width: 575.98px) {
  .alert {
    font-size: 0.9rem;
    padding: 0.75rem;
    margin: 0.5rem 0;
  }
}

/* ===== RESPONSIVE BADGES ===== */
@media (max-width: 575.98px) {
  .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

/* ===== RESPONSIVE UTILITIES ===== */
.text-responsive {
  font-size: clamp(0.8rem, 2.5vw, 1rem);
}

.heading-responsive {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}

.subheading-responsive {
  font-size: clamp(1rem, 3vw, 1.5rem);
}

/* ===== RESPONSIVE ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== ADDITIONAL MOBILE ENHANCEMENTS ===== */

/* Mobile Touch Improvements */
@media (max-width: 768px) {
  /* Larger touch targets */
  button, a, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better spacing for mobile */
  .mobile-spacing {
    padding: 1rem;
  }
  
  /* Mobile-optimized cards */
  .mobile-card {
    border-radius: 0.75rem;
    padding: 0.75rem;
  }
  
  /* Mobile text sizes */
  .mobile-text-xs {
    font-size: 0.75rem;
  }
  
  .mobile-text-sm {
    font-size: 0.875rem;
  }
  
  .mobile-text-base {
    font-size: 1rem;
  }
  
  /* Mobile-specific utilities */
  .d-mobile-none {
    display: none !important;
  }
  
  .d-mobile-block {
    display: block !important;
  }
  
  .d-mobile-flex {
    display: flex !important;
  }
  
  /* Mobile grid improvements */
  .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Mobile form improvements */
  .form-control:focus {
    border-color: var(--mint-dark);
    box-shadow: 0 0 0 0.2rem rgba(73, 185, 171, 0.25);
  }
  
  /* Mobile button improvements */
  .btn:active {
    transform: scale(0.98);
  }
  
  /* Mobile navigation improvements */
  .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }
  
  /* Mobile search improvements */
  .nav-search-group {
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .nav-search-input {
    border: none;
    outline: none;
  }
  
  .nav-search-input:focus {
    box-shadow: none;
  }
  
  /* Mobile product card improvements */
  .product-card:hover {
    transform: none; /* Disable hover effects on mobile */
  }
  
  /* Mobile category card improvements */
  .category-card:hover {
    transform: none; /* Disable hover effects on mobile */
  }
  
  /* Mobile footer improvements */
  .footer-gradient {
    padding: 2rem 0;
  }
  
  /* Mobile alert improvements */
  .alert-dismissible .btn-close {
    padding: 0.75rem 1rem;
  }
  
  /* Mobile modal improvements */
  .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  /* Mobile dropdown improvements */
  .dropdown-toggle::after {
    margin-left: 0.5em;
  }
  
  /* Mobile pagination improvements */
  .pagination .page-link {
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
  }
  
  /* Mobile table improvements */
  .table-responsive {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
  }
  
  /* Mobile list group improvements */
  .list-group {
    border-radius: 0.5rem;
  }
  
  .list-group-item {
    border-radius: 0;
  }
  
  .list-group-item:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }
  
  .list-group-item:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }
}

/* Mobile landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-slide {
    min-height: 200px;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  .page-hero {
    padding: 1rem 0;
  }
}

/* High DPI mobile devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .product-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
  .card {
    background-color: #1a1a1a;
    border-color: #333;
  }
  
  .form-control {
    background-color: #2a2a2a;
    border-color: #444;
    color: #fff;
  }
  
  .btn-outline-dark {
    border-color: #666;
    color: #fff;
  }
}

/* Reduced motion for mobile */
@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .product-card:hover,
  .category-card:hover {
    transform: none !important;
  }
}

/* ===== RESPONSIVE PRINT STYLES ===== */
@media print {
  .navbar,
  .footer-gradient,
  .btn,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  
  .container {
    max-width: none !important;
  }
  
  .product-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}


/* === Global Page Loader Styles === */

/* One-time blink pulse for CTA buttons */
@keyframes blinkPulse {
  0%   { outline: 0 solid rgba(255, 193, 7, 0); box-shadow: none; transform: scale(1); }
  25%  { outline: 3px solid rgba(255, 193, 7, 0.55); box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.25); transform: scale(1.03); }
  50%  { outline: 0 solid rgba(255, 193, 7, 0); box-shadow: none; transform: scale(1); }
  75%  { outline: 3px solid rgba(255, 193, 7, 0.55); box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.25); transform: scale(1.03); }
  100% { outline: 0 solid rgba(255, 193, 7, 0); box-shadow: none; transform: scale(1); }
}

.blink-once {
  position: relative;
  z-index: 1;
  animation: blinkPulse 900ms ease-in-out 1;
}

/* Continuous blink loop for attention CTA controls */
.blink-loop {
  position: relative;
  z-index: 1;
  animation: blinkPulse 1200ms ease-in-out infinite;
}

/* Full-button continuous blink (non-neon) for primary CTAs */
.blink-loop-solid {
  animation: fullButtonBlink 1200ms ease-in-out infinite;
}

@keyframes fullButtonBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .blink-once { animation: none; }
  .blink-loop { animation: none; }
  .blink-loop-solid { animation: none; }
}

.loader-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 9999;
}
.loader-overlay.active { display: flex; }

.loader-card {
  background: #0b1b1b;
  border: 1px solid rgba(27,170,174,0.35);
  border-radius: 16px;
  padding: 20px 24px;
  color: #eaffff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(27,170,174,0.15) inset;
  min-width: 260px;
  max-width: 340px;
  text-align: center;
}

.swirl-spinner {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--mint, #1baaae), transparent 65%);
  -webkit-mask: radial-gradient(circle, transparent 42%, black 44%);
          mask: radial-gradient(circle, transparent 42%, black 44%);
  animation: swirl-rotate 1.05s linear infinite;
}
@keyframes swirl-rotate { to { transform: rotate(360deg); } }

.brand-row {
  display: flex; align-items: baseline; gap: 8px; justify-content: center;
  margin-bottom: 8px;
}
.brand-glow {
  font-weight: 700; letter-spacing: 0.04em; font-size: 1rem;
  color: var(--mint, #1baaae);
  text-shadow: 0 0 14px rgba(27,170,174,0.6);
}
.dots { display: inline-flex; gap: 4px; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(27,170,174,0.85);
  box-shadow: 0 0 8px rgba(27,170,174,0.55);
  animation: dot-wave 1.1s ease-in-out infinite;
}
.dot:nth-child(2){ animation-delay: .15s }
.dot:nth-child(3){ animation-delay: .30s }
.dot:nth-child(4){ animation-delay: .45s }
@keyframes dot-wave {
  0%, 100% { transform: translateY(0); opacity: .9; }
  50% { transform: translateY(-6px); opacity: .6; }
}

.progress-bar {
  position: relative; height: 4px; border-radius: 999px;
  background: rgba(27,170,174,0.2);
  overflow: hidden; margin: 8px 0 4px;
}
.progress-fill {
  position: absolute; inset: 0 0 0 0; width: 38%;
  background: linear-gradient(90deg, rgba(27,170,174,.15), var(--mint, #1baaae), rgba(27,170,174,.15));
  animation: progress-loop 1.6s ease-in-out infinite;
}
@keyframes progress-loop {
  0%   { transform: translateX(-110%); }
  50%  { transform: translateX(15%); }
  100% { transform: translateX(110%); }
}

.hint { margin-top: 6px; font-size: .85rem; color: #c8f6f6; opacity: .9; }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .swirl-spinner, .dot, .progress-fill { animation: none !important; }
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
  /* Larger touch targets */
  button, a, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better spacing for mobile */
  .mobile-spacing {
    padding: 1rem;
  }
  
  /* Mobile-optimized cards */
  .mobile-card {
    border-radius: 0.75rem;
    padding: 0.75rem;
  }
  
  /* Mobile text sizes */
  .mobile-text-xs {
    font-size: 0.75rem;
  }
  
  .mobile-text-sm {
    font-size: 0.875rem;
  }
  
  .mobile-text-base {
    font-size: 1rem;
  }
  
  /* Mobile-specific utilities */
  .d-mobile-none {
    display: none !important;
  }
  
  .d-mobile-block {
    display: block !important;
  }
  
  .d-mobile-flex {
    display: flex !important;
  }
  
  /* Mobile grid improvements */
  .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Mobile form improvements */
  .form-control:focus {
    border-color: var(--mint-dark);
    box-shadow: 0 0 0 0.2rem rgba(73, 185, 171, 0.25);
  }
  
  /* Mobile button improvements */
  .btn:active {
    transform: scale(0.98);
  }
  
  /* Mobile navigation improvements */
  .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }
  
  /* Mobile search improvements */
  .nav-search-group {
    border-radius: 0.5rem;
    overflow: hidden;
  }
  
  .nav-search-input {
    border: none;
    outline: none;
  }
  
  .nav-search-input:focus {
    box-shadow: none;
  }
  
  /* Mobile product card improvements */
  .product-card:hover {
    transform: none; /* Disable hover effects on mobile */
  }
  
  /* Mobile category card improvements */
  .category-card:hover {
    transform: none; /* Disable hover effects on mobile */
  }
  
  /* Mobile footer improvements */
  .footer-gradient {
    padding: 2rem 0;
  }
  
  /* Mobile alert improvements */
  .alert-dismissible .btn-close {
    padding: 0.75rem 1rem;
  }
  
  /* Mobile modal improvements */
  .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  /* Mobile dropdown improvements */
  .dropdown-toggle::after {
    margin-left: 0.5em;
  }
  
  /* Mobile pagination improvements */
  .pagination .page-link {
    padding: 0.5rem 0.75rem;
    margin: 0 0.125rem;
  }
  
  /* Mobile table improvements */
  .table-responsive {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
  }
  
  /* Mobile list group improvements */
  .list-group {
    border-radius: 0.5rem;
  }
  
  .list-group-item {
    border-radius: 0;
  }
  
  .list-group-item:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }
  
  .list-group-item:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
  }
}

/* Mobile landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-slide {
    min-height: 200px;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  .page-hero {
    padding: 1rem 0;
  }
}

/* High DPI mobile devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .product-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) and (max-width: 768px) {
  .card {
    background-color: #1a1a1a;
    border-color: #333;
  }
  
  .form-control {
    background-color: #2a2a2a;
    border-color: #444;
    color: #fff;
  }
  
  .btn-outline-dark {
    border-color: #666;
    color: #fff;
  }
}

/* Reduced motion for mobile */
@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .product-card:hover,
  .category-card:hover {
    transform: none !important;
  }
}

/* ===== RESPONSIVE PRINT STYLES ===== */
@media print {
  .navbar,
  .footer-gradient,
  .btn,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  
  .container {
    max-width: none !important;
  }
  
  .product-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}

