/* =========================
   FULL style.css — Vorali
   ========================= */

/* ========== 1. VARIABLES & RESET ========== */
:root {
  --bg: #fff;
  --bg-secondary: #fdeedd;
  --text: #2f2a25;
  --muted: #6c655f;
  --accent: #c39b8a;
  --container: 1180px;
  --radius: 12px;
  --shadow-1: 0 8px 20px rgba(20,15,10,0.06);

  --header-height: 72px;
  --integrity-bg: #2f2b28;
  --integrity-accent: #f6c89f;
}

* { box-sizing: border-box; }

html, body { 
    margin: 0; 
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; 
    color: var(--text); 
    background: var(--bg); 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

/* Prevent horizontal scroll & add space for fixed header */
body { 
    width: 100%;
    overflow-x: hidden;
    padding-top: calc(var(--header-height) + 12px); 
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ========== 2. HEADER & NAVIGATION (Fixed) ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid rgba(20,15,10,0.04);
  backdrop-filter: blur(6px);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
}

.brand { 
    display: flex; 
    align-items: center; 
    height: 100%; 
    text-decoration: none; 
    color: var(--text); 
}

.logo-img {
  height: auto;
  width: auto;
  max-height: 88%; 
  display: block;
}

/* --- DESKTOP NAVIGATION DEFAULTS --- */

/* Hide hamburger on desktop */
.hamburger-menu {
    display: none !important; 
}

/* Show nav links on desktop */
.site-nav {
    display: block !important;
    width: auto;
    background: transparent;
    box-shadow: none;
    position: static;
    padding: 0;
    border: none;
}

.site-nav .nav-links { 
    list-style: none; 
    display: flex; 
    gap: 18px; 
    margin: 0; 
    padding: 0; 
    align-items: center; 
}

.site-nav .nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 6px;
  font-weight: 600;
  position: relative;
  transition: color .16s ease;
}

.site-nav .nav-links a.active { font-weight: 800; color: #000; }
.site-nav .nav-links a.active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -6px;
  height: 3px;
  background: #000;
  border-radius: 3px;
  display: block;
}

/* --- MOBILE NAVIGATION (Screens smaller than 760px) --- */
@media (max-width: 760px) {

    /* Reset Header Height */
    :root { --header-height: 72px; }
    .site-header { height: var(--header-height); }
    body { padding-top: calc(var(--header-height) + 10px); }

/* SHOW the Hamburger Button (Bigger) */
    .hamburger-menu {
        display: block !important;
        background: none;
        border: none;
        
        /* 1. Increased Size */
        font-size: 40px; 
        
        /* 2. Tight line-height prevents it from stretching the header */
        line-height: 1; 
        
        cursor: pointer;
        color: var(--text);
        padding: 0;
        margin-left: auto;
}

    /* HIDE the Nav Links by default */
    .site-nav {
        display: none !important; /* Hidden! */
        position: absolute;
        top: 100%; /* Sit right below the header */
        left: 0;
        right: 0;
        background-color: #fff;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 20px;
        z-index: 2000;
    }

    /* WHEN OPEN: Show the menu (Toggled by JS) */
    .site-nav.is-open {
        display: block !important;
    }

    /* Stack links vertically */
    .site-nav .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .site-nav .nav-links a {
        font-size: 16px;
        display: block;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .site-nav .nav-links a::after { display: none; } /* Remove underline on mobile */
    
    .site-nav .nav-links li {
        width: 100%;
    }
}

/* ========== 3. HERO SLIDER ========== */
.hero-slider { position: relative; height: 78vh; overflow: hidden; display: block; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out, transform .9s ease; display: flex; align-items: center; justify-content: center; }
.hero-slide.active { opacity: 1; transform: translateY(0); z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,7,0.18), rgba(7,7,7,0.18)); mix-blend-mode: multiply; }
.hero-content { position: relative; color: #fff; text-align: center; max-width: 760px; padding: 36px; z-index: 2; }
.hero-content h1 { margin: 0 0 8px; font-size: 2.6rem; line-height: 1.02; text-shadow: 0 12px 40px rgba(10,10,10,0.45); }
.hero-content p { margin: 0 0 14px; font-size: 1.05rem; color: rgba(255,255,255,0.92); text-shadow: 0 6px 26px rgba(8,8,8,0.35); }
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; background: #000; color: #fff; text-decoration: none; font-weight: 700; cursor: pointer; border: none; }
.btn-ghost { background: transparent; border: 1px solid #ccc; color: #333; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 50; background: rgba(255,255,255,0.85); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0; box-shadow: var(--shadow-1); }
.arrow-left { left: 18px; } .arrow-right { right: 18px; }

/* ========== 4. FEATURES & SECTIONS ========== */
.section-padding { padding: 48px 0; }
.text-center { text-align: center; margin-bottom: 18px; }
.accent-text { color: var(--accent); margin-bottom: 6px; }

.features-grid { display: grid; gap: 18px; margin-top: 24px; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (min-width: 1200px) { .features-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (max-width: 760px) { .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 420px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 140px;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(20,15,10,0.10); }
.feature-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.feature-card h3 { margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--text); transition: opacity .25s ease; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.45; position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: opacity .28s ease, transform .28s ease; pointer-events: none; font-weight: 500; }
.feature-card:hover h3 { opacity: 0; transform: translateY(-6px); }
.feature-card:hover p { opacity: 1; transform: translateY(0); }

/* ========== 5. PRODUCTS ========== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.product-card { background: #fff; border-radius: var(--radius); padding: 14px; text-align: center; box-shadow: var(--shadow-1); cursor: pointer; transition: transform .32s ease, box-shadow .32s ease; display: flex; flex-direction: column; gap: 8px; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(20,15,10,0.12); }

.product-image-wrapper { width: 100%; max-width: 300px; height: 220px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg,#fff,#f7f5f3); margin: 0 auto; }
.product-image-wrapper img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.05); }


/* --- Add to style.css --- */

/* Ensure the slide container can hold the absolute video */
.hero-slide {
    position: relative;
    overflow: hidden;
    /* Your existing height/width styles for hero-slide remain here */
}

/* The actual video element */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0; /* Sits behind everything */
    transform: translateX(-50%) translateY(-50%); /* Centers the video precisely */
    object-fit: cover; /* Ensures it fills the space without stretching */
}

/* Ensure overlay and content sit ON TOP of the video */
.hero-overlay {
    z-index: 1; /* Above video */
    /* Your existing overlay styles (opacity, color) remain here */
}

.hero-content {
    z-index: 2; /* Above overlay */
    position: relative;
}

/* ========== 6. PRODUCT MODAL (Fixed Overlay) ========== */
.product-modal { 
    position: fixed; 
    inset: 0;        
    display: none;   
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
    padding: 18px; 
}

.product-modal.is-open { display: flex; }

.product-modal-backdrop { 
    position: absolute; 
    inset: 0; 
    background: rgba(18,15,12,0.56); 
    backdrop-filter: blur(4px);
    opacity: 0; 
    transition: opacity .28s ease; 
}
.product-modal.is-open .product-modal-backdrop { opacity: 1; }

.product-modal-card { 
    position: relative; 
    width: min(980px, 95%); 
    max-height: 86vh; 
    overflow: hidden; 
    border-radius: 14px; 
    background: #fff; 
    box-shadow: 0 30px 80px rgba(10,10,10,0.45); 
    z-index: 10; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
}

.modal-image-title,
#productModalTitle {
  margin: 6px 0 0;        /* 🔑 tighter */
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #3e4a3d;
  line-height: 1.25;
}



/* Modal Slider */
.modal-left { 
    position: relative; 
    background: linear-gradient(180deg,#fff,#fbfaf8); 
    overflow: hidden; 
    height: 450px; 
    width: 100%;
}

.modal-slider-wrapper {
  margin-bottom: 6px; /* was implicit / larger */
}

.modal-slide-item {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;         
    z-index: 0; 
    transition: opacity 1s ease-in-out; 
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background-color: #fbfaf8; 
}

.modal-slide-item.active { opacity: 1; z-index: 10; }

.modal-slide-item img {
    width: 100%; height: 100%; object-fit: contain;
    max-height: 100%;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.modal-right { 
    padding: 40px; overflow-y: auto; max-height: 86vh; 
    display: flex; flex-direction: column;
}
.modal-right h2 { margin-top: 0; font-size: 2rem; margin-bottom: 15px; }
.modal-right p { color: var(--muted); line-height: 1.6; font-size: 1.05rem; }
.modal-actions { margin-top: 30px; display: flex; gap: 12px; }

.modal-close { 
    position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; 
    border-radius: 50%; border: 0; background: rgba(0,0,0,0.05); cursor: pointer; 
    z-index: 20; font-size: 20px; color: #333; 
    display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.1); }

@media (max-width: 980px) { 
    .product-modal-card { grid-template-columns: 1fr; overflow-y: auto; display: block; } 
    .modal-left { height: 300px; }
    .modal-right { padding: 25px; }
}

/* ========== 7. INTEGRITY GRID ========== */
.integrity-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 18px; }
@media (min-width: 1200px) { .integrity-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (max-width: 760px) { .integrity-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 420px) { .integrity-grid { grid-template-columns: 1fr; } }

.integrity-card {
  background: var(--integrity-bg);
  color: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10,10,10,0.18);
  text-align: center;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .2s;
}
.integrity-card:hover { transform: translateY(-5px); }
.integrity-card::before {
  content: ''; display: block; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  margin-bottom: 6px; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.integrity-card:nth-child(1)::before { content: '🌿'; background: var(--integrity-accent); color: #3b2d24; }
.integrity-card:nth-child(2)::before { content: '🚫'; background: linear-gradient(135deg,#ffb88c,#f6c89f); color: #3b2d24; }
.integrity-card:nth-child(3)::before { content: '🥥'; background: linear-gradient(135deg,#ffdba8,#f6c89f); color: #3b2d24; }
.integrity-card:nth-child(4)::before { content: '🧼'; background: linear-gradient(135deg,#cfe8d8,#9fd8c8); color: #163a2b; }
.integrity-card:nth-child(5)::before { content: '🐰'; background: linear-gradient(135deg,#f6c89f,#ffdba8); color: #3b2d24; }
.integrity-card:nth-child(6)::before { content: '🩺'; background: linear-gradient(135deg,#d0d8f6,#b6c8f6); color: #11244a; }
.integrity-card h4 { margin: 0; font-size: 1.03rem; font-weight: 800; }
.integrity-card p { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ========== 8. SITE NOTICE (Overlay) ========== */
.vorali-overlay { 
    position: fixed !important; top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex; align-items: center; justify-content: center; 
    z-index: 99999; background: rgba(0,0,0,0.6); padding: 20px; 
}
.vorali-overlay .overlay-card { 
    max-width: 680px; width: 100%; border-radius: 12px; background: #fff; 
    padding: 24px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.3); 
    position: relative; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.vorali-overlay .overlay-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.vorali-overlay .overlay-head h2 { margin: 0; font-size: 1.3rem; color: var(--text); }
.vorali-overlay .overlay-close { 
    position: absolute; right: 16px; top: 16px; background: #f0f0f0; border: 0; 
    width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
}

/* ========== 9. NEWSLETTER ========== */
.newsletter-section { background: var(--bg-secondary); padding: 56px 0; border-top: 1px solid rgba(20,15,10,0.03); }
.newsletter-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nl-text { max-width: 640px; flex: 1 1 300px; }
.nl-form { display: flex; gap: 8px; align-items: center; flex: 1 1 300px; justify-content: flex-end; }
.nl-form input[type="email"] { padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(20,15,10,0.1); flex: 1; min-width: 0; }
.newsletter-submit { padding: 12px 20px; border-radius: 8px; border: 0; background: #000; color: #fff; cursor: pointer; font-weight: 700; white-space: nowrap; }

@media (max-width: 760px) {
    .newsletter-inner { flex-direction: column; text-align: center; }
    .nl-form { width: 100%; justify-content: center; }
    .nl-form input[type="email"] { width: auto; flex: 1; }
}

/* ========== 10. FOOTER (Maximized Logo Version) ========== */






/* RIGHT: Contact Info */
.contact-block { justify-self: end; text-align: right; }
.contact-block p { margin: 3px 0; color: #4a4a4a; font-size: 0.95rem; }
.contact-block a { color: #111; text-decoration: none; font-weight: 700; transition: color 0.2s; }
.contact-block a:hover { color: #555; text-decoration: underline; }

@media (max-width: 760px) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .footer-left, .contact-block { justify-self: center; text-align: center; }
    .contact-block { text-align: center; }
}

/* Helper styles */
.is-hidden { display: none !important; }
.nl-msg { color: #2e7d32; font-weight: 600; font-size: 1.1rem; }



/* =========================
   Exclusive Skin Care – FIXED IMAGE CONTAINMENT
   ========================= */

.skin-care-box {
  display: grid;
  grid-template-columns: 320px 1fr; /* FIXED image column */
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  align-items: center;
  margin-top: 30px;
}

/* Image wrapper controls size */
.skin-care-image {
  width: 100%;
  max-width: 300px;
  height: 300px;
  background: linear-gradient(180deg, #fff, #f7f5f3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image itself never exceeds wrapper */
.skin-care-image img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

@media (max-width: 768px) {
  #productModalTitle {
    font-size: 1.35rem;
  }

  .skin-care-image {
    margin: 0 auto;
  }

  .skin-care-content ul {
    text-align: left;
    display: inline-block;
  }
}


/* =========================
   MOBILE MODAL FIX (CRITICAL)
   ========================= */

@media (max-width: 768px) {

  /* Ensure modal container fills screen correctly */
  .product-modal {
    align-items: center;
    justify-content: center;
    padding: 12px;
  }

  /* Constrain modal card to viewport */
  .product-modal-card {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 24px);
    overflow: hidden; /* prevent overflow outside */
    border-radius: 12px;
  }

  /* Stack image + content */
  .product-modal-card {
    display: flex;
    flex-direction: column;
  }

  /* Image area */
  .modal-left {
    flex: 0 0 auto;
    height: 220px;              /* FIXED height */
    max-height: 35vh;
    overflow: hidden;
  }

  /* Text/content area scrolls internally */
  .modal-right {
    flex: 1 1 auto;
    overflow-y: auto;           /* THIS IS THE KEY */
    padding: 20px;
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent body scroll bleed */
  body.modal-open {
    overflow: hidden;
  }

}



/* =====================================
   FORCE MOBILE MODAL TO STAY IN VIEWPORT
   ===================================== */

@media (max-width: 768px) {

  /* Overlay */
  .product-modal {
    
    inset: 0;
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  /* Modal card becomes full-screen container */
  .product-modal-card {
    width: 100%;
    
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  /* Image section (top) */
  .modal-left {
    flex: 0 0 220px;
    max-height: 220px;
    overflow: hidden;
  }

  /* Content section scrolls */
  .modal-right {
    flex: 1 1 auto;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 18px;
  }

  /* Ensure close button is always reachable */
  .modal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10001;
  }
}

/* =====================================
   FIX: Skin Balance Image Size Consistency
   ===================================== */

/* Ensure skin care image behaves like product images */
.skin-care-image {
  width: 100%;
  max-width: 300px;       /* SAME as product cards */
  height: 220px;          /* SAME height */
  margin: 0 auto;
  background: linear-gradient(180deg, #fff, #f7f5f3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Prevent image from stretching layout */
.skin-care-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* =====================================
   FINAL FIX — PREVENT MODAL IMAGE OVERFLOW
   ===================================== */

@media (max-width: 768px) {

  /* Force modal to stay within viewport */
  .product-modal {
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  .product-modal-card {
    max-height: calc(100vh - 20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* 🔑 HARD LIMIT IMAGE AREA */
  .modal-left {
    flex: 0 0 200px;
    max-height: 200px;
    overflow: hidden;
  }

  /* 🔑 HARD LIMIT IMAGE ITSELF */
  .modal-slide-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-slide-item img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
  }

  /* Scroll text internally */
  .modal-right {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* =====================================
   MOBILE POPUP — FINAL STABLE VERSION
   ===================================== */

@media (max-width: 768px) {

  /* Overlay */
  .product-modal {
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  /* Popup card */
  .product-modal-card {
    position: relative; /* 🔑 anchor for close button */
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 64px);
    margin: auto;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
  }

  /* Image area (fixed height for ALL products) */
  .modal-left {
    flex: 0 0 240px;   /* try 220px–260px */
    max-height: 240px;
    overflow: hidden;
  }

  /* Image itself */
  .modal-slide-item img {
     max-width: 95%;
     max-height: 95%;
    object-fit: contain;
  }

  /* Content scrolls */
  .modal-right {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
  }

  /* ✅ CLOSE BUTTON INSIDE POPUP */
  .modal-close {
    position: absolute;       /* 👈 KEY FIX */
    top: 10px;
    right: 10px;
    z-index: 20;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
}



/* =====================================
   POPUP IMAGE ZOOM-ON-TAP
   ===================================== */

.modal-slide-item img {
  cursor: zoom-in;
  transition: transform 0.25s ease;
  will-change: transform;
}

.modal-slide-item img.is-zoomed {
  transform: scale(1.15);   /* subtle zoom */
  cursor: zoom-out;
}





@media (max-width: 768px) {
  .modal-image-title {
    font-size: 1.4rem;
  }
}


.modal-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}



@media (max-width: 768px) {

  /* Ensure image section does not overlap text */
  .modal-left {
    flex-shrink: 0;          /* 🔑 prevents collapsing */
    height: 240px;           /* fixed, predictable */
    max-height: 240px;
  }

  /* Force text to start below image */
  .modal-right {
    position: relative;
    margin-top: 0;
    padding-top: 18px;       /* 🔑 creates separation */
  }

}



/* POLICY PAGE STYLING */

.policy-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.policy-container {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.policy-container h1 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 600;
}

.policy-block {
  margin-bottom: 50px;
}

.policy-container h2 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.policy-container h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #555;
}

.policy-container p {
  line-height: 1.8;
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.policy-container ul {
  padding-left: 20px;
}

.policy-container ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 14px;
  color: #555;
}

/* Mobile Responsive */

@media (max-width: 768px) {
  .policy-container {
    padding: 30px 20px;
  }
}


/* Footer Styling Upgrade */

/* =========================
   FULL style.css — Vorali
   ========================= */

/* ========== 1. VARIABLES & RESET ========== */
:root {
  --bg: #fff;
  --bg-secondary: #fdeedd;
  --text: #2f2a25;
  --muted: #6c655f;
  --accent: #c39b8a;
  --container: 1180px;
  --radius: 12px;
  --shadow-1: 0 8px 20px rgba(20,15,10,0.06);

  --header-height: 72px;
  --integrity-bg: #2f2b28;
  --integrity-accent: #f6c89f;
}

* { box-sizing: border-box; }

html, body { 
    margin: 0; 
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; 
    color: var(--text); 
    background: var(--bg); 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
}

/* Prevent horizontal scroll & add space for fixed header */
body { 
    width: 100%;
    overflow-x: hidden;
    padding-top: calc(var(--header-height) + 12px); 
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ========== 2. HEADER & NAVIGATION (Fixed) ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid rgba(20,15,10,0.04);
  backdrop-filter: blur(6px);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
}

.brand { 
    display: flex; 
    align-items: center; 
    height: 100%; 
    text-decoration: none; 
    color: var(--text); 
}

.logo-img {
  height: auto;
  width: auto;
  max-height: 88%; 
  display: block;
}

/* --- DESKTOP NAVIGATION DEFAULTS --- */

/* Hide hamburger on desktop */
.hamburger-menu {
    display: none !important; 
}

/* Show nav links on desktop */
.site-nav {
    display: block !important;
    width: auto;
    background: transparent;
    box-shadow: none;
    position: static;
    padding: 0;
    border: none;
}

.site-nav .nav-links { 
    list-style: none; 
    display: flex; 
    gap: 18px; 
    margin: 0; 
    padding: 0; 
    align-items: center; 
}

.site-nav .nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 6px;
  font-weight: 600;
  position: relative;
  transition: color .16s ease;
}

.site-nav .nav-links a.active { font-weight: 800; color: #000; }
.site-nav .nav-links a.active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -6px;
  height: 3px;
  background: #000;
  border-radius: 3px;
  display: block;
}

/* --- MOBILE NAVIGATION (Screens smaller than 760px) --- */
@media (max-width: 760px) {

    /* Reset Header Height */
    :root { --header-height: 72px; }
    .site-header { height: var(--header-height); }
    body { padding-top: calc(var(--header-height) + 10px); }

/* SHOW the Hamburger Button (Bigger) */
    .hamburger-menu {
        display: block !important;
        background: none;
        border: none;
        
        /* 1. Increased Size */
        font-size: 40px; 
        
        /* 2. Tight line-height prevents it from stretching the header */
        line-height: 1; 
        
        cursor: pointer;
        color: var(--text);
        padding: 0;
        margin-left: auto;
}

    /* HIDE the Nav Links by default */
    .site-nav {
        display: none !important; /* Hidden! */
        position: absolute;
        top: 100%; /* Sit right below the header */
        left: 0;
        right: 0;
        background-color: #fff;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 20px;
        z-index: 2000;
    }

    /* WHEN OPEN: Show the menu (Toggled by JS) */
    .site-nav.is-open {
        display: block !important;
    }

    /* Stack links vertically */
    .site-nav .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .site-nav .nav-links a {
        font-size: 16px;
        display: block;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .site-nav .nav-links a::after { display: none; } /* Remove underline on mobile */
    
    .site-nav .nav-links li {
        width: 100%;
    }
}

/* ========== 3. HERO SLIDER ========== */
.hero-slider { position: relative; height: 78vh; overflow: hidden; display: block; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out, transform .9s ease; display: flex; align-items: center; justify-content: center; }
.hero-slide.active { opacity: 1; transform: translateY(0); z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,7,0.18), rgba(7,7,7,0.18)); mix-blend-mode: multiply; }
.hero-content { position: relative; color: #fff; text-align: center; max-width: 760px; padding: 36px; z-index: 2; }
.hero-content h1 { margin: 0 0 8px; font-size: 2.6rem; line-height: 1.02; text-shadow: 0 12px 40px rgba(10,10,10,0.45); }
.hero-content p { margin: 0 0 14px; font-size: 1.05rem; color: rgba(255,255,255,0.92); text-shadow: 0 6px 26px rgba(8,8,8,0.35); }
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; background: #000; color: #fff; text-decoration: none; font-weight: 700; cursor: pointer; border: none; }
.btn-ghost { background: transparent; border: 1px solid #ccc; color: #333; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 50; background: rgba(255,255,255,0.85); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0; box-shadow: var(--shadow-1); }
.arrow-left { left: 18px; } .arrow-right { right: 18px; }

/* ========== 4. FEATURES & SECTIONS ========== */
.section-padding { padding: 48px 0; }
.text-center { text-align: center; margin-bottom: 18px; }
.accent-text { color: var(--accent); margin-bottom: 6px; }

.features-grid { display: grid; gap: 18px; margin-top: 24px; grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (min-width: 1200px) { .features-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (max-width: 760px) { .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 420px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  min-height: 140px;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(20,15,10,0.10); }
.feature-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.feature-card h3 { margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--text); transition: opacity .25s ease; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.45; position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: opacity .28s ease, transform .28s ease; pointer-events: none; font-weight: 500; }
.feature-card:hover h3 { opacity: 0; transform: translateY(-6px); }
.feature-card:hover p { opacity: 1; transform: translateY(0); }

/* ========== 5. PRODUCTS ========== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.product-card { background: #fff; border-radius: var(--radius); padding: 14px; text-align: center; box-shadow: var(--shadow-1); cursor: pointer; transition: transform .32s ease, box-shadow .32s ease; display: flex; flex-direction: column; gap: 8px; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px rgba(20,15,10,0.12); }

.product-image-wrapper { width: 100%; max-width: 300px; height: 220px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg,#fff,#f7f5f3); margin: 0 auto; cursor: pointer; }
.product-image-wrapper img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.05); }


/* --- Add to style.css --- */

/* Ensure the slide container can hold the absolute video */
.hero-slide {
    position: relative;
    overflow: hidden;
    /* Your existing height/width styles for hero-slide remain here */
}

/* The actual video element */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0; /* Sits behind everything */
    transform: translateX(-50%) translateY(-50%); /* Centers the video precisely */
    object-fit: cover; /* Ensures it fills the space without stretching */
}

/* Ensure overlay and content sit ON TOP of the video */
.hero-overlay {
    z-index: 1; /* Above video */
    /* Your existing overlay styles (opacity, color) remain here */
}

.hero-content {
    z-index: 2; /* Above overlay */
    position: relative;
}

/* ========== 6. PRODUCT MODAL (Fixed Overlay) ========== */
.product-modal { 
    position: fixed; 
    inset: 0;        
    display: none;   
    z-index: 9999; 
    align-items: center; 
    justify-content: center; 
    padding: 18px; 
}

.product-modal.is-open { display: flex; }

.product-modal-backdrop { 
    position: absolute; 
    inset: 0; 
    background: rgba(18,15,12,0.56); 
    backdrop-filter: blur(4px);
    opacity: 0; 
    transition: opacity .28s ease; 
}
.product-modal.is-open .product-modal-backdrop { opacity: 1; }

.product-modal-card { 
    position: relative; 
    width: min(980px, 95%); 
    max-height: 86vh; 
    overflow: hidden; 
    border-radius: 14px; 
    background: #fff; 
    box-shadow: 0 30px 80px rgba(10,10,10,0.45); 
    z-index: 10; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
}

.modal-image-title,
#productModalTitle {
  margin: 6px 0 0;        /* 🔑 tighter */
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #3e4a3d;
  line-height: 1.25;
}



/* Modal Slider */
.modal-left { 
    position: relative; 
    background: linear-gradient(180deg,#fff,#fbfaf8); 
    overflow: hidden; 
    height: 450px; 
    width: 100%;
}

.modal-slider-wrapper {
  margin-bottom: 6px; /* was implicit / larger */
}

.modal-slide-item {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;         
    z-index: 0; 
    transition: opacity 1s ease-in-out; 
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background-color: #fbfaf8; 
}

.modal-slide-item.active { opacity: 1; z-index: 10; }

.modal-slide-item img {
    width: 100%; height: 100%; object-fit: contain;
    max-height: 100%;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.modal-right { 
    padding: 40px; overflow-y: auto; max-height: 86vh; 
    display: flex; flex-direction: column;
}
.modal-right h2 { margin-top: 0; font-size: 2rem; margin-bottom: 15px; }
.modal-right p { color: var(--muted); line-height: 1.6; font-size: 1.05rem; }
.modal-actions { margin-top: 30px; display: flex; gap: 12px; }

.modal-close { 
    position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; 
    border-radius: 50%; border: 0; background: rgba(0,0,0,0.05); cursor: pointer; 
    z-index: 20; font-size: 20px; color: #333; 
    display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.1); }

@media (max-width: 980px) { 
    .product-modal-card { grid-template-columns: 1fr; overflow-y: auto; display: block; } 
    .modal-left { height: 300px; }
    .modal-right { padding: 25px; }
}

/* ========== 7. INTEGRITY GRID ========== */
.integrity-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 18px; }
@media (min-width: 1200px) { .integrity-grid { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (max-width: 760px) { .integrity-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 420px) { .integrity-grid { grid-template-columns: 1fr; } }

.integrity-card {
  background: var(--integrity-bg);
  color: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10,10,10,0.18);
  text-align: center;
  position: relative;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .2s;
}
.integrity-card:hover { transform: translateY(-5px); }
.integrity-card::before {
  content: ''; display: block; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  margin-bottom: 6px; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.integrity-card:nth-child(1)::before { content: '🌿'; background: var(--integrity-accent); color: #3b2d24; }
.integrity-card:nth-child(2)::before { content: '🚫'; background: linear-gradient(135deg,#ffb88c,#f6c89f); color: #3b2d24; }
.integrity-card:nth-child(3)::before { content: '🥥'; background: linear-gradient(135deg,#ffdba8,#f6c89f); color: #3b2d24; }
.integrity-card:nth-child(4)::before { content: '🧼'; background: linear-gradient(135deg,#cfe8d8,#9fd8c8); color: #163a2b; }
.integrity-card:nth-child(5)::before { content: '🐰'; background: linear-gradient(135deg,#f6c89f,#ffdba8); color: #3b2d24; }
.integrity-card:nth-child(6)::before { content: '🩺'; background: linear-gradient(135deg,#d0d8f6,#b6c8f6); color: #11244a; }
.integrity-card h4 { margin: 0; font-size: 1.03rem; font-weight: 800; }
.integrity-card p { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ========== 8. SITE NOTICE (Overlay) ========== */
.vorali-overlay { 
    position: fixed !important; top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex; align-items: center; justify-content: center; 
    z-index: 99999; background: rgba(0,0,0,0.6); padding: 20px; 
}
.vorali-overlay .overlay-card { 
    max-width: 680px; width: 100%; border-radius: 12px; background: #fff; 
    padding: 24px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.3); 
    position: relative; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.vorali-overlay .overlay-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.vorali-overlay .overlay-head h2 { margin: 0; font-size: 1.3rem; color: var(--text); }
.vorali-overlay .overlay-close { 
    position: absolute; right: 16px; top: 16px; background: #f0f0f0; border: 0; 
    width: 32px; height: 32px; border-radius: 50%; font-size: 16px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
}

/* ========== 9. NEWSLETTER ========== */
.newsletter-section { background: var(--bg-secondary); padding: 56px 0; border-top: 1px solid rgba(20,15,10,0.03); }
.newsletter-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nl-text { max-width: 640px; flex: 1 1 300px; }
.nl-form { display: flex; gap: 8px; align-items: center; flex: 1 1 300px; justify-content: flex-end; }
.nl-form input[type="email"] { padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(20,15,10,0.1); flex: 1; min-width: 0; }
.newsletter-submit { padding: 12px 20px; border-radius: 8px; border: 0; background: #000; color: #fff; cursor: pointer; font-weight: 700; white-space: nowrap; }

@media (max-width: 760px) {
    .newsletter-inner { flex-direction: column; text-align: center; }
    .nl-form { width: 100%; justify-content: center; }
    .nl-form input[type="email"] { width: auto; flex: 1; }
}

/* ========== 10. FOOTER (Maximized Logo Version) ========== */
.site-footer { 
  background: #efe6d8;
  color: #333;
  padding: 28px 20px;   /* ↓ Reduced from 50px */
  font-size: 14px;
}

.footer-inner { 
    display: grid; 
    grid-template-columns: 1fr auto 1fr; 
    align-items: center; 
    gap: 15px; 
}

/* LEFT: Logo */
.footer-left { justify-self: start; line-height: 0; }
.footer-logo { 
  height: 100px;   /* Increased */
  width: auto;
  display: block;
}

/* CENTER: Slogan */
.footer-center {
  text-align: center;
  line-height: 1.6;   /* Was 1.9 */
}

.footer-tagline {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.footer-links {
  margin: 6px 0;
  font-size: 0.95rem;
}

.footer-copy {
  margin-top: 4px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* RIGHT: Contact Info */
.contact-block { justify-self: end; text-align: right; }
.contact-block p { margin: 3px 0; color: #4a4a4a; font-size: 0.95rem; }
.contact-block a { color: #111; text-decoration: none; font-weight: 700; transition: color 0.2s; }
.contact-block a:hover { color: #555; text-decoration: underline; }

@media (max-width: 760px) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
    .footer-left, .contact-block { justify-self: center; text-align: center; }
    .contact-block { text-align: center; }
}

/* Helper styles */
.is-hidden { display: none !important; }
.nl-msg { color: #2e7d32; font-weight: 600; font-size: 1.1rem; }



/* =========================
   Exclusive Skin Care – FIXED IMAGE CONTAINMENT
   ========================= */

.skin-care-box {
  display: grid;
  grid-template-columns: 320px 1fr; /* FIXED image column */
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  align-items: center;
  margin-top: 30px;
}

/* Image wrapper controls size */
.skin-care-image {
  width: 100%;
  max-width: 300px;
  height: 300px;
  background: linear-gradient(180deg, #fff, #f7f5f3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image itself never exceeds wrapper */
.skin-care-image img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

@media (max-width: 768px) {
  #productModalTitle {
    font-size: 1.35rem;
  }

  .skin-care-image {
    margin: 0 auto;
  }

  .skin-care-content ul {
    text-align: left;
    display: inline-block;
  }
}


/* =========================
   MOBILE MODAL FIX (CRITICAL)
   ========================= */

@media (max-width: 768px) {

  /* Ensure modal container fills screen correctly */
  .product-modal {
    align-items: center;
    justify-content: center;
    padding: 12px;
  }

  /* Constrain modal card to viewport */
  .product-modal-card {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 24px);
    overflow: hidden; /* prevent overflow outside */
    border-radius: 12px;
  }

  /* Stack image + content */
  .product-modal-card {
    display: flex;
    flex-direction: column;
  }

  /* Image area */
  .modal-left {
    flex: 0 0 auto;
    height: 220px;              /* FIXED height */
    max-height: 35vh;
    overflow: hidden;
  }

  /* Text/content area scrolls internally */
  .modal-right {
    flex: 1 1 auto;
    overflow-y: auto;           /* THIS IS THE KEY */
    padding: 20px;
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent body scroll bleed */
  body.modal-open {
    overflow: hidden;
  }

}



/* =====================================
   FORCE MOBILE MODAL TO STAY IN VIEWPORT
   ===================================== */

@media (max-width: 768px) {

  /* Overlay */
  .product-modal {
    
    inset: 0;
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  /* Modal card becomes full-screen container */
  .product-modal-card {
    width: 100%;
    
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  /* Image section (top) */
  .modal-left {
    flex: 0 0 220px;
    max-height: 220px;
    overflow: hidden;
  }

  /* Content section scrolls */
  .modal-right {
    flex: 1 1 auto;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 18px;
  }

  /* Ensure close button is always reachable */
  .modal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10001;
  }
}

/* =====================================
   FIX: Skin Balance Image Size Consistency
   ===================================== */

/* Ensure skin care image behaves like product images */
.skin-care-image {
  width: 100%;
  max-width: 300px;       /* SAME as product cards */
  height: 220px;          /* SAME height */
  margin: 0 auto;
  background: linear-gradient(180deg, #fff, #f7f5f3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Prevent image from stretching layout */
.skin-care-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* =====================================
   FINAL FIX — PREVENT MODAL IMAGE OVERFLOW
   ===================================== */

@media (max-width: 768px) {

  /* Force modal to stay within viewport */
  .product-modal {
    align-items: center;
    justify-content: center;
    padding: 10px;
  }

  .product-modal-card {
    max-height: calc(100vh - 20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* 🔑 HARD LIMIT IMAGE AREA */
  .modal-left {
    flex: 0 0 200px;
    max-height: 200px;
    overflow: hidden;
  }

  /* 🔑 HARD LIMIT IMAGE ITSELF */
  .modal-slide-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-slide-item img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
  }

  /* Scroll text internally */
  .modal-right {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}


/* =====================================
   MOBILE POPUP — FINAL STABLE VERSION
   ===================================== */

@media (max-width: 768px) {

  /* Overlay */
  .product-modal {
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  /* Popup card */
  .product-modal-card {
    position: relative; /* 🔑 anchor for close button */
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 64px);
    margin: auto;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
  }

  /* Image area (fixed height for ALL products) */
  .modal-left {
    flex: 0 0 240px;   /* try 220px–260px */
    max-height: 240px;
    overflow: hidden;
  }

  /* Image itself */
  .modal-slide-item img {
     max-width: 95%;
     max-height: 95%;
    object-fit: contain;
  }

  /* Content scrolls */
  .modal-right {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
  }

  /* ✅ CLOSE BUTTON INSIDE POPUP */
  .modal-close {
    position: absolute;       /* 👈 KEY FIX */
    top: 10px;
    right: 10px;
    z-index: 20;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
}



/* =====================================
   POPUP IMAGE ZOOM-ON-TAP
   ===================================== */

.modal-slide-item img {
  cursor: zoom-in;
  transition: transform 0.25s ease;
  will-change: transform;
}

.modal-slide-item img.is-zoomed {
  transform: scale(1.15);   /* subtle zoom */
  cursor: zoom-out;
}





@media (max-width: 768px) {
  .modal-image-title {
    font-size: 1.4rem;
  }
}


.modal-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}



@media (max-width: 768px) {

  /* Ensure image section does not overlap text */
  .modal-left {
    flex-shrink: 0;          /* 🔑 prevents collapsing */
    height: 240px;           /* fixed, predictable */
    max-height: 240px;
  }

  /* Force text to start below image */
  .modal-right {
    position: relative;
    margin-top: 0;
    padding-top: 18px;       /* 🔑 creates separation */
  }

}



/* POLICY PAGE STYLING */

.policy-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.policy-container {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 60px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.policy-container h1 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 600;
}

.policy-block {
  margin-bottom: 50px;
}

.policy-container h2 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #333;
}

.policy-container h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #555;
}

.policy-container p {
  line-height: 1.8;
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.policy-container ul {
  padding-left: 20px;
}

.policy-container ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 14px;
  color: #555;
}

/* Mobile Responsive */

@media (max-width: 768px) {
  .policy-container {
    padding: 30px 20px;
  }
}




/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}


.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-price {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-weight: 600;
    font-size: 15px;
    color: #000;
}


/* Hair Oil Price Styling */

.oil-price-wrapper {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.oil-price-box {
  background: #f8f6f3;
  padding: 15px 25px;
  border-radius: 10px;
  border: 1px solid #eee;
  min-width: 150px;
}

.oil-price-box .size {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.oil-price-box .price {
  font-size: 18px;
  font-weight: 600;
  color: #111;
}




/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}


.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-price {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-weight: 600;
    font-size: 15px;
    color: #000;
}


/* Hair Oil Price Styling */

.oil-price-wrapper {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.oil-price-box {
  background: #f8f6f3;
  padding: 15px 25px;
  border-radius: 10px;
  border: 1px solid #eee;
  min-width: 150px;
}

.oil-price-box .size {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.oil-price-box .price {
  font-size: 18px;
  font-weight: 600;
  color: #111;
}


/* =========================
   DESKTOP CURSOR TOOLTIP
   ========================= */

#cursorTooltip {
  position: fixed;
  pointer-events: none;
  background: #efe6d8;
  color: #2f2a25;
  border: 1px solid #ddd;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.15s ease;
  z-index: 99999;
  font-weight: 500;
}

/* Disable on mobile */
@media (max-width: 768px) {
  #cursorTooltip {
    display: none !important;
  }
}


.image-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.popup-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Close Button - EXACT top right corner */
.close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  background: white;
  color: #000;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}