/* ============================================================
   BakeBox - Main Stylesheet
   Brand: Orange #FF6B00 | Dark #3D3D3D | Cream #FFF8F0
   Fonts: Playfair Display (headings) | Inter (body)
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --primary:      #FF6B00;
  --primary-dark: #E55A00;
  --dark:         #3D3D3D;
  --cream:        #FFF8F0;
  --cream-dark:   #F5E6D3;
  --gold:         #D4AF37;
  --text:         #444444;
  --light-gray:   #F8F9FA;
  --border:       #E8E8E8;
  --shadow:       0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

p {
  margin-bottom: 1rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Utility Classes ── */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom   { background-color: var(--primary) !important; }
.bg-cream            { background-color: var(--cream) !important; }
.bg-dark-custom      { background-color: var(--dark) !important; }
.text-gold           { color: var(--gold) !important; }
.font-heading        { font-family: 'Playfair Display', serif; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}

.navbar-brand span {
  color: var(--dark);
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background-color: rgba(255, 107, 0, 0.06);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Cart Badge */
.cart-icon-wrapper {
  position: relative;
  display: inline-block;
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.btn-cart-nav {
  background-color: var(--primary);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 0.4rem 1.2rem !important;
  font-weight: 600;
  font-size: 0.88rem;
}

.btn-cart-nav:hover {
  background-color: var(--primary-dark);
  color: #ffffff !important;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg,
.whatsapp-float i {
  color: #ffffff;
  font-size: 1.6rem;
}

/* Pulse animation for whatsapp */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.4);
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C38 35%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
  opacity: 0.18;
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255, 107, 0, 0.88) 0%,
    rgba(255, 107, 0, 0.55) 50%,
    rgba(255, 248, 240, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 2rem 1rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease both;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  animation: fadeInUp 0.8s 0.4s ease both;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero CTA Buttons */
.btn-hero-primary {
  background-color: #ffffff;
  color: var(--primary) !important;
  border: 2px solid #ffffff;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-hero-primary:hover {
  background-color: transparent;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-hero-secondary {
  background-color: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.8);
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-hero-secondary:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Fade In Up Keyframe */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
}

.section-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 1rem;
  color: #888;
  margin-top: 1.2rem;
  font-family: 'Inter', sans-serif;
}

.section-header {
  margin-bottom: 3rem;
}

/* ============================================================
   BUTTONS (Global)
   ============================================================ */
.btn-primary-custom {
  background-color: var(--primary);
  color: #ffffff;
  border: 2px solid var(--primary);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(255, 107, 0, 0.35);
}

.btn-outline-primary-custom {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(255, 107, 0, 0.35);
}

/* Override Bootstrap btn-warning for orange */
.btn-warning {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

.btn-warning:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--cream);
}

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

.product-card:hover .product-card-image img {
  transform: scale(1.07);
}

/* Category Badge */
.product-badge-category {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

/* Sale Badge */
.product-badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #E53935;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Featured Badge */
.product-badge-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--gold);
  font-size: 1.1rem;
  background: rgba(255,255,255,0.9);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.product-card-body p {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 0.85rem;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price */
.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
}

.price-original {
  font-size: 0.88rem;
  color: #aaa;
  text-decoration: line-through;
  font-family: 'Inter', sans-serif;
}

/* Add to Cart Button */
.btn-add-to-cart {
  width: 100%;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-add-to-cart:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4);
}

.btn-add-to-cart:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   CATEGORY GRID CARDS
   ============================================================ */
.category-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: block;
  color: var(--dark);
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  color: var(--primary);
  border-color: var(--primary);
}

.category-card-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.category-card:hover .category-card-icon {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.category-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.category-card small {
  font-size: 0.8rem;
  color: #999;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   WHY BAKEBOX SECTION
   ============================================================ */
.why-bakebox {
  background-color: var(--cream);
  padding: 5rem 0;
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-icon-circle {
  width: 75px;
  height: 75px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.7rem;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  transition: var(--transition);
}

.feature-item:hover .feature-icon-circle {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 6px 22px rgba(255, 107, 0, 0.45);
}

.feature-item h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  height: 100%;
}

.testimonial-quote-icon {
  font-size: 3rem;
  color: var(--cream-dark);
  line-height: 1;
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.testimonial-stars {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream-dark);
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
}

.testimonial-author-info h6 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.1rem;
  color: var(--dark);
}

.testimonial-author-info small {
  font-size: 0.8rem;
  color: #aaa;
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  background-color: var(--cream);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-title {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Gallery Lightbox Modal */
.gallery-lightbox .modal-content {
  background-color: rgba(0, 0, 0, 0.92);
  border: none;
  border-radius: var(--radius);
}

.gallery-lightbox .modal-body {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox .modal-body img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
}

.gallery-lightbox .btn-close {
  filter: invert(1);
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #ffffff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-section .btn-cta {
  background-color: #ffffff;
  color: var(--primary);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid #ffffff;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-section .btn-cta:hover {
  background-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-section {
  padding: 3rem 0 5rem;
}

.cart-table {
  background-color: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-table table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.cart-table thead th {
  background-color: var(--cream);
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
  padding: 1rem 1.25rem;
}

.cart-table tbody td {
  padding: 1.1rem 1.25rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.cart-product-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
}

.cart-product-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.98rem;
}

.cart-product-options {
  font-size: 0.8rem;
  color: #999;
  margin-top: 0.2rem;
}

/* Quantity Input */
.qty-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 34px;
  height: 34px;
  background-color: var(--light-gray);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
}

.qty-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.qty-input {
  width: 48px;
  height: 34px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background-color: #ffffff;
  outline: none;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove Button */
.btn-remove-cart {
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem 0.5rem;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.btn-remove-cart:hover {
  color: #E53935;
  background-color: rgba(229, 57, 53, 0.08);
}

/* Cart Summary Card */
.cart-summary-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}

.cart-summary-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.92rem;
}

.cart-summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 0.75rem;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
}

.cart-summary-row .amount {
  font-weight: 600;
  color: var(--dark);
}

.cart-summary-row .amount.discount {
  color: #2E7D32;
}

.cart-summary-row .amount.total-amount {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Coupon */
.coupon-input-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.coupon-input-group input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
}

.coupon-input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.coupon-input-group button {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.coupon-input-group button:hover {
  background-color: var(--primary-dark);
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-section {
  padding: 3rem 0 5rem;
}

.checkout-form-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.checkout-form-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-form-card h5 i {
  color: var(--primary);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
  outline: none;
}

.form-label {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

/* Order Summary Checkout */
.order-summary-checkout {
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  position: sticky;
  top: 90px;
}

.order-summary-checkout h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 0.75rem;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.order-item-image {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--cream-dark);
}

.order-item-details {
  flex: 1;
}

.order-item-details .name {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

.order-item-details .qty {
  font-size: 0.8rem;
  color: #999;
}

.order-item-price {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
  white-space: nowrap;
}

/* ============================================================
   PAYMENT SUCCESS PAGE
   ============================================================ */
.success-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.success-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.success-checkmark {
  width: 90px;
  height: 90px;
  background-color: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  animation: checkPop 0.6s ease;
}

.success-checkmark i,
.success-checkmark svg {
  font-size: 2.5rem;
  color: #2E7D32;
}

@keyframes checkPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.success-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.success-card .order-ref {
  display: inline-block;
  background-color: var(--cream);
  color: var(--primary);
  font-weight: 700;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   ORDER TRACKING - VERTICAL TIMELINE
   ============================================================ */
.tracking-section {
  padding: 3rem 0 5rem;
}

.tracking-timeline {
  position: relative;
  padding: 1rem 0;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}

.tracking-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  margin-bottom: 2rem;
  padding-left: 0.5rem;
}

.tracking-step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--border);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 3px var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #aaa;
  flex-shrink: 0;
  z-index: 1;
  transition: var(--transition);
}

.tracking-step.active .tracking-step-icon {
  background-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25);
  color: #ffffff;
  border-color: #ffffff;
}

.tracking-step.completed .tracking-step-icon {
  background-color: #2E7D32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
  color: #ffffff;
  border-color: #ffffff;
}

.tracking-step-content {
  flex: 1;
  padding-top: 0.35rem;
}

.tracking-step-content h6 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.tracking-step-content p {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

.tracking-step.active .tracking-step-content h6 {
  color: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4.5rem 0 0;
  font-family: 'Inter', sans-serif;
}

.site-footer h5 {
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.site-footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand span {
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-links a::before {
  content: '›';
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Footer Bottom Bar */
.footer-bottom {
  background-color: rgba(0,0,0,0.25);
  margin-top: 3rem;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: var(--primary);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
  background-color: var(--cream);
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
}

.breadcrumb-item {
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #999;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #ccc;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-section {
  padding: 2.5rem 0 5rem;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.product-thumbnail-grid {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.product-thumbnail {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: var(--transition);
  flex-shrink: 0;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

.product-detail-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.product-detail-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.5rem;
}

.product-detail-price .original {
  font-size: 1rem;
  color: #bbb;
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-weight: 400;
}

.product-detail-stars {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Customization Form */
.customization-card {
  background-color: var(--cream);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 1rem;
  border: 1px solid var(--cream-dark);
}

.customization-card h6 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.85rem;
}

/* Stock Badges */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
}

.stock-badge.in-stock {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.stock-badge.low-stock {
  background-color: #FFF8E1;
  color: #F57F17;
}

.stock-badge.out-stock {
  background-color: #FFEBEE;
  color: #C62828;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container-custom {
  position: fixed;
  top: 85px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-custom {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 380px;
  border-left: 4px solid var(--primary);
  animation: toastSlideIn 0.35s ease;
  pointer-events: all;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
}

.toast-custom.success { border-left-color: #2E7D32; }
.toast-custom.error   { border-left-color: #C62828; }
.toast-custom.warning { border-left-color: #F57F17; }
.toast-custom.info    { border-left-color: #1565C0; }

.toast-custom-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.toast-custom.success .toast-custom-icon { color: #2E7D32; }
.toast-custom.error   .toast-custom-icon { color: #C62828; }
.toast-custom.warning .toast-custom-icon { color: #F57F17; }
.toast-custom.info    .toast-custom-icon { color: #1565C0; }
.toast-custom         .toast-custom-icon { color: var(--primary); }

.toast-custom-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: #bbb;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
  transition: var(--transition);
  flex-shrink: 0;
}

.toast-custom-close:hover {
  color: var(--dark);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}

.toast-custom.dismissing {
  animation: toastSlideOut 0.3s ease forwards;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination .page-link {
  color: var(--dark);
  border-color: var(--border);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: var(--transition);
}

.pagination .page-link:hover {
  color: var(--primary);
  background-color: rgba(255, 107, 0, 0.08);
  border-color: var(--primary);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.pagination .page-item.disabled .page-link {
  color: #ccc;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 95px;
  right: 28px;
  width: 44px;
  height: 44px;
  background-color: var(--dark);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* ============================================================
   SHOP PAGE / FILTER SIDEBAR
   ============================================================ */
.shop-section {
  padding: 3rem 0 5rem;
}

.filter-sidebar {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}

.filter-sidebar h6 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.filter-check-label {
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.filter-check-label:hover {
  color: var(--primary);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-section {
  padding: 3rem 0 5rem;
}

.faq-search-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.faq-search {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: var(--transition);
  background-color: #ffffff;
}

.faq-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

.faq-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 1rem;
  pointer-events: none;
}

.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark) !important;
  background-color: #ffffff !important;
  padding: 1.1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  color: var(--primary) !important;
  background-color: rgba(255,107,0,0.04) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-button::after {
  filter: none;
}

.accordion-button:not(.collapsed)::after {
  filter: none;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 3rem 0 5rem;
}

.contact-info-card {
  background-color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--cream-dark);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-text h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info-text p {
  font-size: 0.88rem;
  color: #888;
  margin: 0;
}

.contact-form-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section {
  padding: 3.5rem 0;
}

.about-image-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
}

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

.about-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--primary);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 4px 15px rgba(255,107,0,0.4);
}

.about-badge-overlay .number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-badge-overlay .label {
  font-size: 0.78rem;
  opacity: 0.9;
}

/* ============================================================
   PRIVACY / TERMS PAGES
   ============================================================ */
.legal-page {
  padding: 3rem 0 5rem;
}

.legal-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ============================================================
   ALERT STYLES
   ============================================================ */
.alert {
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large Desktop (≥1400px) */
@media (min-width: 1400px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet Landscape (≤1199px) */
@media (max-width: 1199px) {
  .cart-summary-card,
  .order-summary-checkout {
    position: static;
  }
}

/* Tablet (≤991px) */
@media (max-width: 991px) {
  .hero-section {
    min-height: 75vh;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 0.75rem !important;
  }

  .navbar-collapse {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
    box-shadow: var(--shadow);
  }

  .tracking-timeline::before {
    left: 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .hero-section {
    min-height: 65vh;
    text-align: center;
  }

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

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .cart-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: 0.4rem 0;
    font-size: 0.88rem;
  }

  .cart-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--dark);
    font-size: 0.82rem;
    margin-right: 0.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  #back-to-top {
    bottom: 80px;
    right: 20px;
    width: 38px;
    height: 38px;
  }

  .toast-container-custom {
    top: 75px;
    right: 12px;
    left: 12px;
  }

  .toast-custom {
    min-width: unset;
    max-width: 100%;
  }

  .checkout-form-card {
    padding: 1.25rem;
  }

  .success-card {
    padding: 2.5rem 1.5rem;
  }
}

/* Small Mobile (≤575px) */
@media (max-width: 575px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .product-thumbnail-grid {
    gap: 0.4rem;
  }

  .product-thumbnail {
    width: 58px;
    height: 58px;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  /* Hide everything except invoice content */
  .navbar,
  .site-footer,
  .breadcrumb-section,
  .whatsapp-float,
  #back-to-top,
  .btn-add-to-cart,
  .btn-hero-primary,
  .btn-hero-secondary,
  .cta-section,
  .toast-container-custom,
  .cart-actions,
  .coupon-input-group,
  [class*="btn-"]:not(.print-visible),
  nav,
  footer {
    display: none !important;
  }

  body {
    background-color: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .invoice-section {
    display: block !important;
    padding: 0;
  }

  .invoice-header {
    margin-bottom: 1.5rem;
  }

  a[href]::after {
    content: none;
  }

  table {
    width: 100%;
    border-collapse: collapse;
  }

  table th,
  table td {
    border: 1px solid #ccc;
    padding: 0.5rem;
    font-size: 11pt;
  }

  table th {
    background-color: #f0f0f0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .page-break {
    page-break-before: always;
  }
}
