@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@500;700;800&display=swap');

/* Brand Design Tokens & Custom Styles */
:root {
  --color-primary: #1F4D36;     /* Forest Green */
  --color-secondary: #C89B3C;   /* Satin Gold */
  --color-bg: #FAF8F3;          /* Warm Ivory */
  --color-text: #222222;        /* Soft Charcoal */
  --color-accent: #E7D9B5;      /* Champagne Gold */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Custom Typography Utility */
.font-playfair {
  font-family: var(--font-heading);
}

.font-inter {
  font-family: var(--font-body);
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-panel-dark {
  background: rgba(31, 77, 54, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(31, 77, 54, 0.1);
}

/* Luxury Gold Gradients */
.gold-gradient-text {
  background: linear-gradient(135deg, #C89B3C 0%, #F3D07C 50%, #B88A2B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #C89B3C 0%, #E7D9B5 50%, #B88A2B 100%);
}

.forest-gradient-bg {
  background: linear-gradient(135deg, #1F4D36 0%, #153525 100%);
}

/* Custom Micro-interactions */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-premium:hover::before {
  width: 300%;
  height: 300%;
}

/* Custom Spacing & Border Styling */
.luxury-border {
  border-color: rgba(200, 155, 60, 0.2);
}

/* Before and After Image Slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
}

.ba-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider .resize {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.ba-slider .handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--color-secondary);
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.ba-slider .handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-secondary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Floating Elements Parallax Mock */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Swiper overrides */
.swiper-pagination-bullet-active {
  background: var(--color-secondary) !important;
}

/* Zoom effect on hover */
.zoom-img-container {
  overflow: hidden;
}

.zoom-img-container img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.zoom-img-container:hover img {
  transform: scale(1.08);
}

/* ===== PAGE LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-content {
  min-height: calc(100vh - 200px);
  padding: 60px 20px;
}

.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.page-content h2 {
  font-size: 2rem;
  margin: 40px 0 20px 0;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.page-content h3 {
  font-size: 1.3rem;
  margin: 20px 0 10px 0;
  color: var(--color-text);
}

.page-content p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #555;
}

.page-content ul, .page-content ol {
  margin: 20px 0 20px 30px;
  line-height: 1.8;
}

.page-content li {
  margin-bottom: 10px;
  color: #555;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.promo-banner {
  background: linear-gradient(90deg, #1F4D36 0%, #2d6a47 100%);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-secondary);
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--color-primary);
  color: white !important;
  border-radius: 25px;
}

/* ===== HERO SECTION ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 20px;
}

.hero-text h1 {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-btn {
  padding: 15px 40px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31, 77, 54, 0.2);
}

.product-hero {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  background: linear-gradient(135deg, #f5f3ed 0%, #faf8f3 100%);
  padding: 60px 20px;
}

.benefits h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: var(--color-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(31, 77, 54, 0.15);
}

.benefit-card i {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.benefit-card p {
  font-size: 0.95rem;
  color: #666;
}

/* ===== LIMITED OFFER SECTION ===== */
.limited-offer {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d6a47 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.limited-offer h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
}

.limited-offer p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}

.offer-codes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.offer-code {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.offer-code h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: white;
}

.offer-code .code {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-secondary);
  margin: 15px 0;
  font-family: 'Courier New', monospace;
}

.offer-code button {
  padding: 10px 25px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.offer-code button:hover {
  background: white;
  transform: scale(1.05);
}

/* Ensure AOS-animated sections are visible by default */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 60px 20px;
  background: white;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.section-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #f9f7f4;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--color-secondary);
}

.testimonial-card .rating {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.testimonial-author span {
  font-weight: 400;
  color: #888;
}

/* ===== ABOUT PREVIEW SECTION ===== */
.about-preview {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f3ed 0%, #faf8f3 100%);
  text-align: center;
}

.about-preview h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.about-preview p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.learn-more-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-secondary);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* ===== FAQ SECTION ===== */
.faq-preview {
  padding: 60px 20px;
  background: white;
}

.faq-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 40px;
}

.faq-item {
  margin-bottom: 15px;
  background: #f9f7f4;
  border-radius: 8px;
  padding: 20px;
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.faq-item p {
  color: #666;
  margin: 0;
}

.faq-full-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #f9f7f4;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  user-select: none;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f0ede8;
}

.faq-question h3 {
  margin: 0;
  flex: 1;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  background: white;
  padding: 20px;
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 10px;
  border-radius: 0 8px 8px 0;
}

.faq-answer p {
  margin: 0;
  color: #666;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #dab849 100%);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: white;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.9);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 12px 30px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #153525;
}

/* ===== FOOTER ===== */
.footer {
  background: #143424; /* Forest Green Dark */
  color: #d6d3d1;      /* Stone 300 */
  padding: 60px 20px 30px;
  border-top: 1px solid rgba(45, 106, 79, 0.1);
  font-family: var(--font-body);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #a8a29e; /* Stone 400 */
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--color-secondary);
}

/* Brand Column specifics */
.brand-col .footer-logo {
  max-width: 160px;
  margin-bottom: 16px;
}

.brand-col .footer-logo svg {
  width: 100%;
  height: auto;
}

.brand-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #a8a29e;
  margin-top: 0;
  margin-bottom: 24px;
}

/* Social links */
.footer-col .social-links {
  display: flex;
  gap: 12px;
}

.footer-col .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(45, 106, 79, 0.2);
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.footer-col .social-links a:hover {
  background: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Store info specifics */
.store-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #a8a29e;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.store-info-list li i {
  color: var(--color-secondary);
  margin-top: 4px;
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
}

.store-info-list li a {
  color: #a8a29e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.store-info-list li a:hover {
  color: var(--color-secondary);
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(45, 106, 79, 0.15);
  margin: 40px 0 25px;
}

/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 0;
  border-top: none;
  text-align: left;
}

.footer-bottom p {
  color: #a8a29e;
  font-size: 0.8rem;
  margin: 0;
}

/* Payment option badges */
.payment-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(31, 77, 54, 0.2);
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(45, 106, 79, 0.1);
}

.payment-badges .badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6d3d1;
}

.payment-badges .badge-sep {
  color: rgba(255, 255, 255, 0.15);
}

.payment-badges .secure-pay {
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-badges .secure-pay i {
  color: #10b981;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

/* ===== CONTACT FORM ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 40px 0;
}

.contact-info {
  background: #f9f7f4;
  padding: 30px;
  border-radius: 10px;
}

.contact-info h3 {
  color: var(--color-primary);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item i {
  color: var(--color-secondary);
  font-size: 1.5rem;
  min-width: 30px;
}

.info-item h4 {
  color: var(--color-primary);
  margin-bottom: 5px;
}

.contact-form {
  background: #f9f7f4;
  padding: 30px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.submit-btn {
  padding: 12px 30px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: var(--color-secondary);
}

/* ===== POLICY PAGES ===== */
.policy-page {
  max-width: 800px;
  margin: 40px auto;
}

.last-updated {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.policy-section {
  margin-bottom: 40px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

.cta-section {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #f5f3ed 0%, #faf8f3 100%);
  border-radius: 10px;
  margin-top: 40px;
}

.cta-section h2 {
  color: var(--color-primary);
}

.view-all-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

/* ===== ABOUT PAGE STYLES ===== */
.about-section {
  margin-bottom: 50px;
}

.about-hero {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.hero-image, .gallery-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero-image {
  max-width: 300px;
}

.hero-image:hover, .gallery-image:hover {
  transform: translateY(-5px);
}

.gallery-image {
  max-width: 280px;
}

.about-image-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.feature-image {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.image-cta {
  flex: 1;
  min-width: 250px;
}

.image-cta h3 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.about-gallery {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.ingredients-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.ingredient {
  background: linear-gradient(135deg, #f5f3ed 0%, #faf8f3 100%);
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--color-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.ingredient:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.ingredient h4 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.ingredient p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .nav-menu {
    gap: 15px;
    font-size: 0.9rem;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .page-content h1 {
    font-size: 1.8rem;
  }

  .page-content h2 {
    font-size: 1.5rem;
  }
}

/* ===== GLOBAL OVERFLOW GUARD ===== */
/* Prevents any element from causing horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

/* Product page specific fixes */
@media (max-width: 640px) {
  /* Ensure iframe / embeds don't overflow */
  iframe, video, embed, object {
    max-width: 100%;
  }

  /* Ensure tables don't push layout on mobile */
  table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    word-break: break-word;
  }

  /* Thumbnail scroller stays inside its container */
  #thumb-scroll {
    -webkit-overflow-scrolling: touch;
  }

  /* Tab buttons wrapping on very small screens */
  .tab-btn {
    font-size: 10px;
    padding: 8px 10px;
  }

  /* Review form card stays inside viewport */
  #add-review-form {
    max-width: 100%;
  }

  /* Sticky buy button safe area */
  #sticky-buy-btn {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 100%;
  }
}
