@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --primary: #1a1a1a;
  --secondary: #979fa5;
  --accent: #979fa5;
  --bg: #FAFAF8;
  --bg-alt: #F5F2EC;
  --white: #FFFFFF;
  --text: #1a1a1a;
  --text-light: #777777;
  --border: #E5DDD4;
  --footer-bg: #979fa5;
  --footer-text: rgba(255,255,255,0.75);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', sans-serif;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TOP HEADER BAR ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.top-header { background: #979fa5; }
.top-header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 25px; height: 36px; display: flex; align-items: center; justify-content: center; }
.top-header-inner span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.92); font-family: var(--font-body); font-weight: 300; }

/* ===== NAVBAR ===== */
.navbar { background: rgba(250,250,248,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); transition: var(--transition); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 25px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 38px; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--secondary); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--border); min-width: 180px; padding: 8px 0; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); transition: var(--transition); }
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--secondary); }

/* Mobile Menu */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: var(--transition); }
.mobile-nav { display: none; position: fixed; top: 108px; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 999; padding: 32px 24px; overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav > a { display: block; padding: 14px 0; font-size: 15px; font-family: var(--font-heading); letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
/* Row with link + toggle arrow */
.mobile-nav-row { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.mobile-nav-row > a { flex: 1; padding: 14px 0; font-size: 15px; font-family: var(--font-heading); letter-spacing: 0.05em; border-bottom: none; }
.mobile-nav-toggle { background: none; border: none; cursor: pointer; padding: 8px 4px; display: flex; align-items: center; color: var(--text); opacity: 0.6; transition: transform 0.25s ease, opacity 0.2s; }
.mobile-nav-toggle svg { width: 18px; height: 18px; }
.mobile-nav-toggle.open { transform: rotate(180deg); opacity: 1; }
/* Sub-menu: hidden by default */
.mobile-nav-sub { display: none; padding-left: 16px; }
.mobile-nav-sub.open { display: block; }
.mobile-nav-sub a { display: block; font-size: 13px; color: var(--text-light); padding: 10px 0; border-bottom: 1px solid var(--border); font-family: var(--font-heading); letter-spacing: 0.04em; }

/* ===== HERO SLIDER ===== */
.hero { position: relative; margin-top: 108px; overflow: hidden; }
.hero-slides { display: flex; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.hero-slide { min-width: 100%; position: relative; }
.hero-slide img { width: 100%; height: auto; display: block; object-fit: unset; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: var(--white); transform: scale(1.2); }
.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 20px; z-index: 10; pointer-events: none; }
.hero-arrow { pointer-events: all; background: rgba(255,255,255,0.7); border: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.hero-arrow:hover { background: var(--white); }

/* ===== SECTIONS ===== */
.section { padding: 64px 50px; max-width: var(--max-width); margin: 0 auto; }
.section-full { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.section-title { font-family: var(--font-heading); font-size: clamp(24px, 4vw, 38px); font-weight: 400; color: var(--text); letter-spacing: 0.02em; }
.section-line { width: 40px; height: 1px; background: var(--footer-bg); margin: 12px auto 0; }

/* ===== CATEGORY GRID (full-width) ===== */
.category-section { padding: 64px 0 0; }
.category-section .section-header { max-width: var(--max-width); margin: 0 auto 40px; padding: 0 25px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 0 15px; }
.category-card { position: relative; overflow: hidden; cursor: pointer; }
.category-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 48px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,0.45)); color: var(--white); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

/* ===== PRODUCT GRID ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; }
.product-card-body { padding: 12px 4px 8px; }
.product-card-name { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; letter-spacing: 0.02em; }
.product-card-price { font-size: 12px; color: var(--text-light); letter-spacing: 0.04em; }
.product-card-shopee { display: inline-block; margin-top: 10px; padding: 8px 20px; background: var(--primary); color: var(--white); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; transition: var(--transition); }
.product-card-shopee:hover { background: var(--secondary); color: var(--white); }
.badge-new { position: absolute; top: 10px; left: 10px; background: var(--accent); color: var(--white); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; }

/* ===== COLLABORATION SECTION ===== */
.collab-section { background: var(--bg-alt); padding: 64px 0; }
.collab-products { max-width: var(--max-width); margin: 0 auto; padding: 32px 25px 0; }

/* ===== TESTIMONIALS (split layout) ===== */
.testimonials-section { background: var(--white); padding: 88px 50px; }
.testi-split { display: grid; grid-template-columns: 260px 1fr; gap: 48px; max-width: var(--max-width); margin: 0 auto; align-items: start; }
.testi-left { position: sticky; top: 120px; }
.testi-left .section-tag { text-align: left; }
.testi-left .section-title { text-align: left; font-size: clamp(16px, 1.8vw, 26px); line-height: 1.25; white-space: nowrap; }
.testi-left .section-line { margin: 14px 0 0; }
.testi-nav { display: flex; gap: 10px; margin-top: 36px; align-items: center; }
.testi-nav-btn { width: 13px; height: 13px; background: #c8c8c8; border: none; border-radius: 50%; cursor: pointer; padding: 0; transition: background 0.25s; flex-shrink: 0; }
.testi-nav-btn:hover, .testi-nav-btn.active { background: var(--footer-bg); }
.testi-right { min-width: 0; }
.testi-slider { overflow: hidden; }
.testi-track { display: flex; transition: transform 0.5s ease; }
.testi-card { margin-right: 24px; padding: 28px 22px; background: var(--bg); border: 1px solid var(--border); flex-shrink: 0; display: flex; flex-direction: column; box-sizing: border-box; }
.testi-review { font-size: 13px; line-height: 1.8; color: var(--text-light); margin-bottom: 16px; font-style: italic; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.testi-author { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.testi-product { font-size: 11px; color: var(--text-light); margin-top: 3px; margin-bottom: 12px; }
.testi-stars { color: var(--accent); font-size: 14px; margin-top: auto; padding-top: 14px; letter-spacing: 2px; }

/* ===== ON OUR LABEL (Gallery) ===== */
.label-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.label-item { overflow: hidden; }
.label-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.4s ease; }
.label-item:hover img { transform: scale(1.06); }

/* ===== FOOTER ===== */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 20px 25px 10px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.footer-brand { flex: 0 0 auto; }
.footer-brand-logo { height: 40px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-col { flex: 0 0 auto; }
.footer-socials { display: flex; flex-direction: column; gap: 10px; }
.footer-socials a { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--footer-text); transition: var(--transition); }
.footer-socials a:hover { color: var(--white); }
.footer-socials .social-icon { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; flex-shrink: 0; }
.footer-address { display: flex; align-items: flex-start; gap: 12px; margin-top: 6px; padding-top: 6px; }
.footer-address svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; opacity: 0.7; fill: white; }
.footer-address-lines { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); line-height: 1.8; }
.footer-address-lines strong { display: block; color: rgba(255,255,255,0.85); font-weight: 500; margin-bottom: 2px; }
.footer-bottom { max-width: var(--max-width); margin: 18px auto 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.18); text-align: center; font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { margin-top: 108px; padding: 60px 24px; text-align: center; background: var(--bg-alt); }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 56px); font-weight: 300; letter-spacing: 0.08em; }
.page-hero p { font-size: 12px; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }

/* ===== FILTER BAR ===== */
.filter-bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 24px; background: none; border: 1px solid var(--border); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ===== PRODUCT DETAIL ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 72px; padding: 48px 24px; max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.gallery-main { aspect-ratio: 1/1; overflow: hidden; background: #f8f7f5; margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-family: var(--font-heading); font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.2; margin-bottom: 16px; }
.product-info .price { font-size: 18px; color: var(--secondary); font-weight: 500; margin-bottom: 20px; }
.product-info .description { font-size: 13px; color: var(--text-light); line-height: 1.9; margin-bottom: 32px; }
.btn-shopee { display: inline-flex; align-items: center; gap: 10px; padding: 14px 40px; background: #EE4D2D; color: var(--white); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; transition: var(--transition); border: none; cursor: pointer; }
.btn-shopee:hover { background: #D94226; color: var(--white); }
.btn-shopee svg { width: 18px; height: 18px; }
.product-breadcrumb { font-size: 11px; color: var(--text-light); margin-bottom: 8px; letter-spacing: 0.05em; }
.product-breadcrumb a:hover { color: var(--secondary); }
.product-category-badge { display: inline-block; padding: 3px 10px; background: var(--bg-alt); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; }

/* ===== ABOUT PAGE ===== */
.about-content { max-width: 800px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.about-content p { font-size: 14px; line-height: 2; color: var(--text-light); margin-bottom: 20px; }
.about-content h2 { font-family: var(--font-heading); font-size: 32px; font-weight: 400; margin: 40px 0 20px; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 900px; margin: 0 auto; padding: 64px 24px; }
.contact-info h3 { font-family: var(--font-heading); font-size: 28px; font-weight: 400; margin-bottom: 20px; }
.contact-info p { font-size: 13px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.contact-links a { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-bottom: 12px; color: var(--text); transition: var(--transition); }
.contact-links a:hover { color: var(--secondary); }
.contact-links img { width: 20px; height: 20px; }

/* ===== HEADING ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes charReveal {
  from { opacity: 0; transform: translateX(-10px); filter: blur(3px); }
  to   { opacity: 1; transform: translateX(0);     filter: blur(0); }
}
/* section-tag and section-line: simple fade up */
.animate-reveal { opacity: 0; }
.animate-reveal.revealed { animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.animate-reveal.revealed.delay-1 { animation-delay: 0.12s; }
.animate-reveal.revealed.delay-2 { animation-delay: 0.24s; }
/* section-title: invisible container, chars handle the reveal */
.section-title.animate-reveal { opacity: 1; }
/* individual characters */
.char-reveal { display: inline-block; opacity: 0; }
.char-reveal.revealed { animation: charReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* ===== PRODUCT IMAGE HOVER — ADVANCED ===== */
.product-card-img { position: relative; overflow: hidden; background: #f8f7f5; }
.product-card-img img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.65s ease;
  transform-origin: center 60%;
}
.product-card:hover .product-card-img img {
  transform: scale(1.10) translateY(-4px);
  filter: brightness(0.88);
}
/* gradient overlay */
.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10,10,10,0.72) 0%,
    rgba(10,10,10,0.18) 45%,
    transparent 100%);
  opacity: 0;
  pointer-events: none; /* invisible on mobile — don't block taps */
  transition: opacity 0.4s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px 14px;
}
.product-card:hover .product-card-overlay { opacity: 1; }
/* shine sweep */
.product-card-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}
.product-card:hover .product-card-overlay::before { transform: translateX(120%); }
/* slide-up action panel */
.overlay-panel {
  transform: translateY(14px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; gap: 8px; align-items: center;
}
.product-card:hover .overlay-panel { transform: translateY(0); }
.overlay-cta {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,0.55); padding: 6px 16px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(6px);
  white-space: nowrap; transition: background 0.25s ease, border-color 0.25s ease;
}
.overlay-cta:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.9); }
/* collab banner */
.collab-banner-wrap { max-width: var(--max-width); margin: 24px auto 0; padding: 0 25px; overflow: hidden; }
.collab-banner-wrap img { width: 100%; display: block; height: auto; }
.collab-banner-outer { margin: 32px 0; width: 100%; }
.collab-banner { width: 100%; display: block; height: auto; }

/* ===== INSTAGRAM FEED ===== */
.ig-section { padding: 90px 0 90px; }
.ig-section .section-header { max-width: var(--max-width); margin: 0 auto 40px; padding: 0 25px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; width: 100%; padding: 0 25px; }
/* On desktop, slide-page wrappers are transparent to the grid */
.ig-slide-page { display: contents; }
.ig-item { position: relative; overflow: hidden; height: 320px; }
.ig-item img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform 0.45s ease; }
.ig-item:hover img { transform: scale(1.08); }
.ig-item-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.28);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.ig-item:hover .ig-item-overlay { opacity: 1; }
.ig-item-overlay svg { width: 26px; height: 26px; fill: #fff; }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-40 { margin-bottom: 40px; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 25px; }
.divider { width: 100%; height: 1px; background: var(--border); margin: 40px 0; }
.btn-outline { display: inline-block; padding: 10px 32px; border: 1px solid var(--primary); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; transition: var(--transition); color: var(--text); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-split { grid-template-columns: 1fr; gap: 32px; }
  .testi-left { position: static; }
}

/* ===== MOBILE (≤768px) — matches reference design ===== */
@media (max-width: 768px) {

  /* -- Navbar -- */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .nav-inner { height: 60px; position: relative; justify-content: flex-end; }
  /* Center logo horizontally */
  .nav-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .nav-logo img { height: 30px; }

  /* -- Hero -- */
  .hero { margin-top: 96px; }
  .mobile-nav { top: 96px; }
  .hero-slide img { width: 100%; height: auto; min-height: unset; aspect-ratio: unset; object-fit: unset; }
  .hero-arrows { display: none; }            /* dots only on mobile */

  /* -- Explore / Category -- */
  .category-section { padding: 36px 0 0; }
  .category-section .section-header { margin-bottom: 24px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 0 10px; }
  .category-card img { aspect-ratio: 1/1; }

  /* -- Product grids -- */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-card-name { font-size: 13px; }
  .product-card-price { font-size: 11px; }

  /* -- Collaboration sections -- */
  .collab-section { padding: 36px 0; }
  .collab-banner-wrap { padding: 0; margin: 12px 0 0; }
  .collab-banner-wrap img { max-height: none; }
  .collab-banner-outer { margin: 16px 0; }
  .collab-banner { max-height: none; height: auto; }
  .collab-products { padding: 14px 12px 0; }

  /* -- Generic section padding -- */
  .section { padding: 40px 16px; }
  .section-full { padding: 40px 0; }

  /* -- Testimonials -- */
  .testimonials-section { padding: 44px 16px; }
  .testi-split { grid-template-columns: 1fr; gap: 20px; }
  .testi-left { position: static; }
  .testi-left .section-title { white-space: normal; font-size: clamp(26px, 7vw, 38px); }
  .testi-nav { margin-top: 20px; }
  .testi-card { min-width: calc(100% - 20px); }

  /* -- On Our Label (gallery) -- */
  .label-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }

  /* -- Instagram feed — 2-column slider -- */
  .ig-section { padding: 44px 0 48px; }
  .ig-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0;
    scrollbar-width: none;
  }
  .ig-grid::-webkit-scrollbar { display: none; }
  /* Each page shows 2 photos side by side, height capped to ~50vw so photos stay thumbnail-size */
  .ig-slide-page {
    display: flex !important;
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    gap: 3px;
    height: 50vw;
    overflow: hidden;
  }
  .ig-item { width: 50%; min-width: 0; flex-shrink: 0; height: 100%; aspect-ratio: unset; }
  .ig-item img { width: 100%; height: 100%; object-fit: cover; }
  .ig-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; padding-bottom: 8px; }
  .ig-slider-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(0,0,0,0.2); border: none; cursor: pointer; padding: 0; transition: background 0.25s;
  }
  .ig-slider-dot.active { background: var(--footer-bg); }

  /* -- Footer -- */
  .footer { padding: 36px 20px 16px; text-align: center; }
  .footer-inner { flex-direction: column; align-items: center; gap: 28px; }
  .footer-brand { text-align: center; }
  .footer-col { width: 100%; }
  .footer-socials { align-items: center; }
  .footer-address { justify-content: center; }
  .footer-bottom { margin-top: 20px; }

  /* -- Inner pages -- */
  .product-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 16px; }
}

@media (max-width: 480px) {
  .category-grid { padding: 0 8px; }
  .label-grid { grid-template-columns: repeat(2, 1fr); }
  /* ig-grid already flex slider from 768px rule — no override needed */
}

/* Hide dots on desktop */
@media (min-width: 769px) {
  .ig-slider-dots { display: none; }
}

/* ===== FLOATING WHATSAPP WIDGET ===== */
.wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none; /* container is pass-through; children opt-in below */
}
.wa-float { pointer-events: auto; }

/* --- Chat Box --- */
.wa-chat-box {
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  transform: scale(0.88) translateY(16px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-chat-box.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Header */
.wa-chat-header {
  background: #25D366;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wa-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-chat-avatar svg { width: 22px; height: 22px; }
.wa-chat-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.wa-chat-status {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.82);
  margin-top: 2px;
}
.wa-chat-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.wa-chat-close:hover { opacity: 1; }
.wa-chat-close svg { width: 18px; height: 18px; }

/* Body */
.wa-chat-body {
  padding: 16px;
  background: #ECE5DD;
  min-height: 72px;
}
.wa-chat-bubble {
  background: #fff;
  border-radius: 8px 8px 8px 0;
  padding: 10px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.09);
  display: inline-block;
  max-width: 90%;
}
.wa-chat-bubble p {
  font-family: var(--font-body);
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.65;
  margin: 0;
}

/* Input Area */
.wa-chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}
.wa-chat-textarea {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #1a1a1a;
  resize: none;
  outline: none;
  line-height: 1.5;
  transition: border-color 0.2s;
  max-height: 90px;
  overflow-y: auto;
}
.wa-chat-textarea:focus { border-color: #25D366; }
.wa-chat-send {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  padding: 0;
}
.wa-chat-send:hover { background: #1ebe5d; transform: scale(1.08); }
.wa-chat-send svg { width: 18px; height: 18px; }

/* --- Floating Button --- */
.wa-float {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float .wa-icon-close { display: none; fill: none; }
.wa-float.open .wa-icon-chat { display: none; }
.wa-float.open .wa-icon-close { display: block; }

@media (max-width: 768px) {
  .wa-widget { bottom: 20px; right: 18px; }
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-chat-box { width: calc(100vw - 36px); }
}


