/**
 * ShaCakes - Brand Design System & Core Stylesheet
 * Faithfully handcrafted to match Reference Template Design.png
 */

:root {
  --primary-red: #D90429;
  --primary-red-hover: #B70422;
  --accent-red: #D90429;
  --dark-red: #900C1F;
  --accent-gold: #FFAE00;
  --accent-gold-hover: #E59D00;
  --accent-yellow: #FFD166;
  --bg-cream: #FDFBF7;
  --bg-cream-card: #F8F3EA;
  --bg-card: #FFFFFF;
  --bg-dark-hero: #141414;
  --text-dark: #121212;
  --text-secondary: #555555;
  --text-muted: #8E8B85;
  --border-light: #EBE6DC;
  --border-card: #EFE9DE;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.12);
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-hero: 28px;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Canvas Decorative Red Waves (Matching the sides of Reference Template Design) */
.page-canvas-wrapper {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: #FFFFFF;
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
  overflow-x: hidden;
}

.canvas-decor-left {
  position: absolute;
  top: 180px;
  left: -20px;
  width: 44px;
  height: 280px;
  background: var(--primary-red);
  border-radius: 0 100px 100px 0;
  z-index: 1;
  pointer-events: none;
}

.canvas-decor-right {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 44px;
  height: 220px;
  background: var(--primary-red);
  border-radius: 100px 0 0 100px;
  z-index: 1;
  pointer-events: none;
}

/* Hide decorative side waves on screens <= 1260px so they never cause horizontal scroll or wiggle */
@media (max-width: 1260px) {
  .canvas-decor-left,
  .canvas-decor-right {
    display: none !important;
  }
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Helpers */
.section-heading-center {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  margin-bottom: 36px;
}

/* Navbar */
.navbar {
  background: #FFFFFF;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-logo-icon-cycler {
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-icon-cycler .brand-food-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.7) translateY(4px) rotate(-6deg);
  animation: logoFoodCycler 9s infinite ease-in-out;
  pointer-events: none;
}

.brand-logo-icon-cycler .icon-cake {
  animation-delay: 0s;
}

.brand-logo-icon-cycler .icon-pizza {
  animation-delay: 3s;
}

.brand-logo-icon-cycler .icon-burger {
  animation-delay: 6s;
}

@keyframes logoFoodCycler {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(4px) rotate(-6deg);
  }
  4%, 29% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
  }
  33%, 100% {
    opacity: 0;
    transform: scale(0.7) translateY(-4px) rotate(6deg);
  }
}

.brand-logo-text {
  font-family: var(--font-main);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-logo:hover .brand-logo-icon-cycler {
  transform: scale(1.08) rotate(3deg);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A1A1A;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #111111;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.nav-link.highlight-gold {
  color: var(--accent-gold);
}

.nav-link.highlight-gold:hover {
  color: var(--accent-gold-hover);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Pill Buttons */
.btn-gold-pill {
  background-color: var(--accent-gold);
  color: #111111;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 174, 0, 0.25);
}

.btn-gold-pill:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 174, 0, 0.35);
}

.btn-red-pill {
  background-color: var(--primary-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(217, 4, 41, 0.35);
}

.btn-red-pill:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217, 4, 41, 0.45);
}

/* Swiggy Delivery Pill Buttons & Badges */
.btn-swiggy-pill {
  background: linear-gradient(135deg, #FC8019 0%, #E26D0A 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(252, 128, 25, 0.35);
}

.btn-swiggy-pill:hover {
  background: linear-gradient(135deg, #FF8D2E 0%, #EA7410 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 128, 25, 0.45);
  color: #FFFFFF !important;
}

.swiggy-delivery-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #FFF6EE 0%, #FFFDF8 100%);
  border: 1.5px solid rgba(252, 128, 25, 0.35);
  border-radius: 16px;
  padding: 12px 20px;
  margin: 18px 0 24px;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(252, 128, 25, 0.08);
  flex-wrap: wrap;
}

.swiggy-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.swiggy-banner-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FC8019;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(252, 128, 25, 0.35);
}

.swiggy-banner-text h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #121212;
  margin-bottom: 2px;
}

.swiggy-banner-text p {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
}

.btn-outline-pill {
  background-color: #FFFFFF;
  color: #111111;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #111111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-outline-pill:hover {
  background-color: #111111;
  color: #FFFFFF;
}

/* Action Icons */
.action-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #222222;
  position: relative;
  transition: background 0.2s ease;
}

.action-icon-link:hover {
  background: #F3EFEA;
}

.cart-counter-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--primary-red);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

/* ========================================================
   1. HERO SECTION
   ======================================================== */
.hero-section {
  padding: 16px 24px 36px 24px;
}

.hero-banner-card {
  background-color: var(--bg-dark-hero);
  border-radius: var(--radius-hero);
  padding: 50px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.hero-content {
  min-width: 0;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title .title-white {
  display: block;
  color: #FFFFFF;
}

.hero-title .title-gold {
  display: block;
  color: var(--accent-gold);
}

.hero-subtitle {
  color: #E0E0E0;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 440px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.hero-image-wrap img {
  border-radius: 20px;
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.hero-image-wrap:hover img {
  transform: scale(1.02);
}

/* ========================================================
   2. CATEGORIES SECTION (Scrollable Carousel)
   ======================================================== */
.categories-section {
  padding: 30px 24px 50px;
}

.categories-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.categories-title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.categories-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 4px;
}

.carousel-nav-arrows {
  display: flex;
  gap: 10px;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-card);
  background: #FFF;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.carousel-nav-btn:hover {
  background: var(--primary-red, #D90429);
  color: #FFF;
  border-color: var(--primary-red, #D90429);
  transform: translateY(-2px);
}

/* Horizontal Track with hidden browser scrollbar */
.categories-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Category Card matching Image 1 dimensions & horizontal layout */
.categories-carousel-track .category-card {
  flex: 0 0 360px;
  min-width: 360px;
  height: 160px;
  min-height: 160px;
  scroll-snap-align: start;
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.categories-carousel-track .category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.category-card-media {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card-media .category-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.category-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.category-card-body .category-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 4px;
  line-height: 1.2;
}

.category-card-body .category-card-desc {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-card-body .btn-red-pill {
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1.2;
  background-color: var(--primary-red, #D90429) !important;
  color: #FFFFFF !important;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.3);
}

.category-card-body .btn-red-pill:hover {
  background-color: var(--primary-red-hover, #B70422) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 4, 41, 0.45);
}

/* Custom Scrollbar Capsule Track matching Image 2 */
.carousel-scrollbar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.carousel-scrollbar-track {
  width: 380px;
  max-width: 82%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.26);
  background: rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.carousel-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 130px;
  background: #4A4A4A;
  border-radius: 999px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  pointer-events: auto;
  transition: background-color 0.2s ease;
}

.carousel-scrollbar-thumb:hover {
  background: #2b2b2b;
}

.carousel-scrollbar-thumb:active,
.carousel-scrollbar-thumb.dragging {
  cursor: grabbing;
  background: #111111;
}



/* ========================================================
   3. OUR BEST SELLERS SECTION
   ======================================================== */
.best-sellers-section {
  padding: 40px 24px 60px;
}

.best-sellers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.product-bestseller-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 16px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

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

.product-card-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #F4F1EA;
}

.product-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-bestseller-card:hover .product-card-thumb-wrap img {
  transform: scale(1.05);
}

/* 1. Product Name */
.product-card-title {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
  line-height: 1.35;
  min-height: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
  word-break: break-word;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* 2. Category */
.product-card-category {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--primary-red);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.2px;
  min-width: 0;
  max-width: 100%;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
}

.product-card-price {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  white-space: nowrap;
}

.btn-card-add {
  background-color: var(--primary-red);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(217, 4, 41, 0.25);
  flex-shrink: 0;
}

.btn-card-add:hover {
  background-color: var(--primary-red-hover);
  transform: scale(1.04);
}

/* ========================================================
   4. HAPPY CUSTOMERS SECTION
   ======================================================== */
.customers-section {
  padding: 40px 24px 60px;
}

.customers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 24px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.testimonial-user-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  max-width: 52px;
  max-height: 52px;
  aspect-ratio: 1 / 1;
  flex: 0 0 52px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

.testimonial-user-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-style: normal;
}

/* ========================================================
   5. LIMITED TIME OFFER BANNER
   ======================================================== */
.promo-section {
  padding: 20px 24px 50px;
}

.promo-banner {
  background-color: var(--primary-red);
  background-image: linear-gradient(135deg, #E0062E 0%, #B80422 100%);
  border-radius: 16px;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(217, 4, 41, 0.3);
}

.promo-left-label {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.promo-center-text {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
}

.promo-center-text .accent-yellow {
  color: var(--accent-yellow);
  font-weight: 800;
}

.promo-center-text .code-highlight {
  color: var(--accent-yellow);
  font-weight: 900;
  letter-spacing: 0.5px;
}

/* ========================================================
   6. VISIT SHACAKES SECTION
   ======================================================== */
.visit-section {
  padding: 30px 24px 60px;
}

.visit-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 30px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
}

.visit-map-container {
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  background: #E8ECEF;
  border: 1px solid #D5DBD8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.visit-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.visit-info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.visit-info-block-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.visit-info-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========================================================
   7. FOOTER
   ======================================================== */
.footer {
  border-top: 1px solid var(--border-card);
  background: #FFFFFF;
  padding: 40px 24px 30px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.footer-nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer-nav-link:hover {
  color: var(--primary-red);
}

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

.social-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111111;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.social-circle-btn:hover {
  background: var(--primary-red);
  transform: translateY(-2px);
}

.footer-copyright {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid #F0ECE4;
}

.footer-powered-by {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-powered-by a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-powered-by a:hover {
  color: var(--primary-red);
}

/* ========================================================
   MOBILE DRAWER & RESPONSIVE
   ======================================================== */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 290px;
  max-width: 84vw;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 2001;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
  display: none;
  flex-direction: column;
  box-shadow: -6px 0 28px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav-drawer.open {
  display: flex;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EEE;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-nav-item {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid #F5F5F5;
  color: #111;
  display: block;
}

.drawer-nav-item.active {
  color: var(--primary-red);
}

/* Toast Notification */
.sha-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111111;
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sha-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ========================================================
   UNIFIED RESPONSIVE BREAKPOINTS (Mobile, Tablet, Desktop)
   ======================================================== */

/* 1. TABLET & IPAD (Landscape & Portrait up to 1024px) */
@media (max-width: 1024px) {
  header.navbar nav,
  header.navbar .nav-links,
  nav.nav-links {
    display: none !important;
  }

  .breadcrumb-nav {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s ease;
  }

  .mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .hero-section {
    padding: 16px 20px 32px 20px;
  }

  .hero-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 32px;
    gap: 28px;
  }

  .hero-subtitle {
    margin: 0 auto 28px;
    max-width: 520px;
  }

  .hero-image-wrap {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-image-wrap img {
    max-height: 380px;
    width: 100%;
    object-fit: cover;
  }

  .best-sellers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .customers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .customers-grid .testimonial-card:last-child {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

/* 2. MEDIUM TABLET / LARGE PHONES (<= 860px) */
@media (max-width: 860px) {
  .promo-section {
    padding: 16px 18px 36px;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }

  .promo-left-label {
    white-space: normal;
    font-size: 1.25rem;
  }

  .promo-center-text {
    font-size: 0.98rem;
  }

  .visit-section {
    padding: 24px 18px 44px;
  }

  .visit-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }

  .visit-map-container {
    height: 240px;
  }

  .footer-top-row {
    flex-direction: column;
    text-align: center;
    gap: 22px;
  }

  .footer-nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-social-icons {
    justify-content: center;
  }
}

/* 3. MOBILE LANDSCAPE & SMALL TABLETS (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .section-heading-center {
    font-size: 1.85rem;
    margin-bottom: 28px;
  }

  .categories-section {
    padding: 24px 18px 40px;
  }

  .categories-carousel-track {
    gap: 16px;
    padding: 8px 2px 14px;
  }

  .categories-carousel-track .category-card {
    flex: 0 0 320px;
    min-width: 320px;
    height: 152px;
    min-height: 152px;
    padding: 16px 18px;
    gap: 14px;
  }

  .category-card-media {
    width: 64px;
    height: 64px;
  }

  .category-card-body .category-card-title {
    font-size: 1.18rem;
  }

  .category-card-body .category-card-desc {
    font-size: 0.8rem;
  }

  .carousel-scrollbar-track {
    width: 280px;
    max-width: 80%;
  }

  .best-sellers-section {
    padding: 32px 18px 48px;
  }

  .customers-section {
    padding: 32px 18px 48px;
  }

  .footer {
    padding: 32px 18px 24px;
  }
}

/* 4. SMARTPHONES PORTRAIT (<= 600px) */
@media (max-width: 600px) {
  #btn-nav-order {
    display: none !important;
  }

  .nav-container {
    gap: 8px;
  }

  .brand-logo {
    gap: 8px;
    min-width: 0;
  }

  .brand-logo-text {
    font-size: 1.35rem;
  }

  .brand-logo-icon-cycler {
    width: 36px;
    height: 36px;
  }

  .nav-right-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .action-icon-link {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    padding: 12px 14px 24px;
  }

  .hero-banner-card {
    padding: 24px 16px;
    border-radius: 20px;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .hero-image-wrap {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .hero-image-wrap img {
    max-height: 240px;
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
  }

  .categories-section {
    padding: 20px 14px 34px;
  }

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

  .categories-subtitle {
    font-size: 0.85rem;
  }

  .carousel-nav-btn {
    width: 38px;
    height: 38px;
  }

  .categories-carousel-track {
    gap: 12px;
  }

  .categories-carousel-track .category-card {
    flex: 0 0 calc(84vw - 12px);
    min-width: 255px;
    max-width: 320px;
    height: auto;
    min-height: 142px;
    padding: 14px 15px;
    gap: 12px;
    border-radius: 16px;
  }

  .category-card-media {
    width: 58px;
    height: 58px;
  }

  .category-card-body .category-card-title {
    font-size: 1.12rem;
    margin-bottom: 3px;
  }

  .category-card-body .category-card-desc {
    font-size: 0.78rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .category-card-body .btn-red-pill {
    padding: 6px 18px;
    font-size: 0.8rem;
  }

  .carousel-scrollbar-track {
    width: 220px;
    max-width: 70%;
    height: 8px;
  }

  .best-sellers-section {
    padding: 26px 14px 40px;
  }

  .section-heading-center {
    font-size: 1.6rem;
    margin-bottom: 22px;
  }

  .best-sellers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-bestseller-card {
    padding: 12px 10px;
    border-radius: 14px;
    min-width: 0;
  }

  .product-card-thumb-wrap {
    border-radius: 10px;
    margin-bottom: 8px;
  }

  .product-card-title {
    font-size: 0.74rem;
    min-height: 1.4em;
    margin-bottom: 2px;
  }

  .product-card-category {
    font-size: 0.90rem;
    min-height: 2.3em;
    margin-bottom: 10px;
  }

  .product-card-price {
    font-size: 1.05rem;
  }

  .btn-card-add {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .customers-section {
    padding: 26px 14px 40px;
  }

  .customers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .customers-grid .testimonial-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .testimonial-card {
    padding: 18px;
  }

  .promo-section {
    padding: 14px 14px 30px;
  }

  .promo-banner {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .promo-left-label {
    font-size: 1.15rem;
  }

  .promo-center-text {
    font-size: 0.92rem;
  }

  .visit-section {
    padding: 20px 14px 40px;
  }

  .visit-card-grid {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .visit-info-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .visit-map-container {
    height: 200px;
    border-radius: 12px;
  }

  .footer {
    padding: 28px 14px 20px;
  }

  .footer-nav-links {
    gap: 14px;
    font-size: 0.88rem;
  }
}

/* 5. ULTRA-COMPACT PHONES (<= 380px, e.g. iPhone SE, Fold outer display) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .brand-logo-text {
    font-size: 1.22rem;
  }

  .brand-logo-icon-cycler {
    width: 30px;
    height: 30px;
  }

  .hero-banner-card {
    padding: 22px 14px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .categories-carousel-track .category-card {
    flex: 0 0 240px;
    min-width: 240px;
    padding: 12px 12px;
    gap: 10px;
  }

  .category-card-media {
    width: 50px;
    height: 50px;
  }

  .category-card-body .category-card-title {
    font-size: 1.05rem;
  }

  .category-card-body .btn-red-pill {
    padding: 5px 14px;
    font-size: 0.75rem;
  }

  .best-sellers-grid {
    grid-template-columns: 1fr;
    max-width: 290px;
    margin: 0 auto;
    gap: 16px;
  }

  .product-bestseller-card {
    padding: 14px;
  }

  .product-card-title {
    font-size: 0.78rem;
    min-height: auto;
    margin-bottom: 2px;
  }

  .product-card-category {
    font-size: 0.98rem;
    min-height: auto;
    margin-bottom: 12px;
  }

  .product-card-price {
    font-size: 1.15rem;
  }

  .btn-card-add {
    padding: 6px 16px;
    font-size: 0.80rem;
  }

  .visit-map-container {
    height: 180px;
  }
}

/* ========================================================
   TRUST & ARTISAN HIGHLIGHTS RIBBON (Option 1 - White Logos on Crimson)
   ======================================================== */
.trust-ribbon-section {
  padding: 10px 0 24px;
}

.trust-artisan-ribbon {
  background: linear-gradient(135deg, #8B0000 0%, #A3081D 50%, #750000 100%);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(139, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
  box-sizing: border-box;
}

.trust-ribbon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 14px;
  position: relative;
  box-sizing: border-box;
}

.trust-ribbon-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.trust-ribbon-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.trust-ribbon-item:hover .trust-ribbon-icon {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.22);
}

.trust-ribbon-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.trust-ribbon-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.90);
  margin-top: 2px;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .trust-artisan-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 14px;
  }
  .trust-ribbon-item:nth-child(2)::after {
    display: none;
  }
  .trust-ribbon-item:nth-child(odd)::after {
    right: 0;
    top: 10%;
    height: 80%;
  }
}

@media (max-width: 580px) {
  .trust-artisan-ribbon {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 14px;
  }
  .trust-ribbon-item {
    padding: 8px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .trust-ribbon-item:last-child {
    border-bottom: none;
  }
  .trust-ribbon-item::after {
    display: none !important;
  }
  .trust-ribbon-icon {
    width: 40px;
    height: 40px;
  }
  .trust-ribbon-title {
    font-size: 0.90rem;
  }
  .trust-ribbon-sub {
    font-size: 0.76rem;
  }
}
