/*
Theme Name: Premloom Envision
Theme URI: https://premloomenvision.com
Description: Custom handcrafted Premloom Envision theme
Version: 4.6
Author: Premloom Envision
*/

/*
  PREMLOOM ENVISION v2
  Dribbble Glassmorphism + Original Brand Palette
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

:root {
  --cream:      #FFFDEE;
  --mint:       #E2FBCE;
  --sage:       #9DC88D;
  --green-mid:  #4D774E;
  --green-deep: #164A41;
  --amber:      #F1B24A;
  --amber-d:    #D4952A;
  --white:      #FFFFFF;
  --body:       #3A5C3D;
  --muted:      #7A9E7E;

  --r:          24px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --t:          0.4s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--green-deep);
  cursor: none;
  overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}
em {
  font-style: italic;
  font-weight: 400;
  color: var(--green-mid);
}
a { text-decoration: none; color: inherit; }

/* Custom Cursor */
#cur-dot {
  position: fixed; width: 10px; height: 10px;
  border-radius: 50%; background: var(--amber);
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: white;
}
#cur-dot span {
  opacity: 0; font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; transition: opacity 0.3s;
}
#cur-ring {
  position: fixed; width: 40px; height: 40px;
  border-radius: 50%; border: 1.5px solid var(--sage);
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}
body.c-hover #cur-dot {
  width: 120px; height: 120px;
  background: var(--green-deep);
}
body.c-hover #cur-dot span { opacity: 1; }
body.c-hover #cur-ring { width: 140px; height: 140px; border-color: var(--green-deep); opacity: 0.3; }

/* Background Canvas */
.ambient-bg {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: url('/wp-content/uploads/2025/04/hero-bg.jpg') center/cover no-repeat fixed;
  z-index: -10; transition: filter 0.3s;
}
.ambient-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(135deg, rgba(255,253,238,0.4) 0%, rgba(226,251,206,0.35) 50%, rgba(157,200,141,0.15) 100%);
  z-index: -9;
}

/* Glassmorphism Navigation */
.nav {
  position: fixed; top: 20px; left: 5%; width: 90%;
  height: 72px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px; box-shadow: 0 4px 30px rgba(22, 74, 65, 0.05);
  z-index: 1000; transition: transform 0.4s var(--ease);
}
.logo { display:flex; align-items:center; gap:12px; }
.logo img { width: 44px; height: 44px; border-radius: 50%; }
.logo-txt {
  font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600;
  line-height: 1.1; letter-spacing: 0.02em;
}
.logo-txt span {
  display: block; font-size: 10px; font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.15em; color: var(--green-mid); text-transform: uppercase;
}
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-deep); padding: 8px 16px; border-radius: 30px; transition: all var(--t);
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.5); }

.nav-icons { display: flex; align-items: center; gap: 12px; }
.nic {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-deep); cursor: none; transition: all var(--t); position: relative;
}
.nic:hover { transform: translateY(-2px); background: #fff; }
.nbadge {
  position: absolute; top: -2px; right: -2px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--amber); color: #fff; font-size: 9px;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
#login-btn {
  width: auto; padding: 0 16px; border-radius: 20px; white-space: nowrap; font-size: 14px; font-weight: 600; font-family: 'DM Sans', sans-serif;
}
#login-btn:hover { background: var(--amber); color: #fff; border-color: var(--amber); }

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero Section (Word Play + Glass) */
.hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 20px 40px; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(226, 251, 206, 0.4); backdrop-filter: blur(16px);
  border: 1px solid rgba(157, 200, 141, 0.6); border-radius: 30px;
  padding: 8px 24px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 30px;
}
.hero-badge::before { content: '\2726'; color: var(--amber); }

.hero-title-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0px; margin-bottom: 24px; text-align: center;
}
.ht-solid {
  font-family: 'Playfair Display', serif; font-size: clamp(45px, 7vw, 90px); font-weight: 500; letter-spacing: -0.02em; color: var(--green-deep);
  line-height: 1;
}
.ht-glass {
  font-family: 'Playfair Display', serif; font-size: clamp(45px, 7vw, 90px); font-weight: 500; font-style: italic;
  color: var(--green-mid);
  line-height: 1;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 17px); color: var(--green-deep);
  max-width: 700px; line-height: 1.6; margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.7); display: inline-block; padding: 16px 28px; border-radius: 40px; font-weight: 500;
}

/* Trust Bar */
.trust {
  position: relative; z-index: 10;
  background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.4); border-bottom: 1px solid rgba(255,255,255,0.4);
  padding: 20px 40px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.ti { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.tic { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* Overlapping Constellation Grid for Categories & Products */
.section-overlap {
  position: relative; padding: 60px 5%; width: 100%; max-width: 1300px; margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 50px; position: relative; }
.sl { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-deep); display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 16px; }
.sl::before, .sl::after { content: ''; width: 30px; height: 1.5px; background: rgba(22, 74, 65, 0.4); }
.st { font-size: clamp(36px, 5vw, 60px); color: var(--green-deep); line-height: 1.1; }
.sd { font-size: 15px; color: var(--body); max-width: 500px; margin: 16px auto 0; line-height: 1.6; }

.glass-node {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--r); padding: 24px;
  box-shadow: 0 20px 50px rgba(22, 74, 65, 0.10), 0 2px 6px rgba(22, 74, 65, 0.06);
  transform-style: preserve-3d; transition: background 0.4s;
}
.glass-node:hover { background: rgba(255, 255, 255, 0.95); box-shadow: 0 30px 60px rgba(22, 74, 65, 0.14); }

.n-img { height: 240px; border-radius: 16px; overflow: hidden; margin-bottom: 20px; position: relative; }
.n-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.glass-node:hover .n-img img { transform: scale(1.06); }
.n-badge { position: absolute; top: 12px; left: 12px; background: #fff; padding: 6px 12px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; }

.n-tag { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.n-title { font-size: 20px; color: var(--green-deep); margin-bottom: 12px; }
.n-bot { display: flex; justify-content: space-between; align-items: center; }
.n-price { font-size: 18px; font-weight: 600; }
.n-btn { background: var(--green-deep); color: #fff; border: 2px solid transparent; padding: 10px 20px; border-radius: 30px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s; font-family: 'DM Sans', sans-serif; }
.glass-node:hover .n-btn { background: var(--amber); }
.n-btn:hover { border-color: var(--amber); outline: none; background: transparent; color: var(--green-deep); }

/* Masonry Grid Setup */
.products-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: start;
}
.products-masonry .glass-node:nth-child(even) {
  margin-top: 80px;
}

/* Glass Panel Standard Section (About, Rewards, Testimonials) */
.glass-panel-section {
  position: relative; z-index: 10; padding: 120px 5%;
}
.glass-panel {
  max-width: 1200px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 40px; padding: 80px 60px;
  box-shadow: 0 40px 80px rgba(22, 74, 65, 0.10), 0 2px 8px rgba(22, 74, 65, 0.06);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.a-imgs { position: relative; height: 500px; }
.a-img-1 { position: absolute; bottom: 0; left: 0; width: 70%; height: 80%; border-radius: 24px; overflow: hidden; border: 4px solid #fff; }
.a-img-2 { position: absolute; top: 0; right: 0; width: 60%; height: 60%; border-radius: 24px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.a-imgs img { width: 100%; height: 100%; object-fit: cover; }
.afeats { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.af { display: flex; gap: 16px; background: rgba(255,255,255,0.92) !important; padding: 20px; border-radius: 20px; }
.fic { width: 48px; height: 48px; border-radius: 12px; background: var(--mint); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ftxt h4 { font-size: 15px; margin-bottom: 4px; }
.ftxt p { font-size: 13px; color: var(--muted); }

/* Unified Grid for Rewards/Testimonials */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.card-glass {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95); border-radius: var(--r); padding: 40px 30px;
  transition: transform 0.4s; box-shadow: 0 8px 30px rgba(22, 74, 65, 0.08);
}
.card-premium-glass {
  background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.85); border-radius: var(--r); padding: 40px 30px;
  transition: transform 0.4s; box-shadow: 0 10px 40px rgba(22, 74, 65, 0.08);
}
.card-glass:hover, .card-premium-glass:hover { transform: translateY(-10px); }

/* Category specific */
.cat-img { width: 100%; height: 140px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card-glass:hover .cat-img img { transform: scale(1.05); }

/* Shop Specific Styles (products.html) */
.shop-sidebar input[type="checkbox"] { accent-color: var(--green-deep); width: 16px; height: 16px; cursor: pointer; }
.shop-card { padding: 15px; border-radius: var(--r); background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255,255,255,0.95); box-shadow: 0 8px 30px rgba(22, 74, 65, 0.08); }
.sc-img::after { content: ''; position: absolute; inset: 0; background: rgba(22, 74, 65, 0.2); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.shop-card:hover .sc-img::after { opacity: 1; }
.shop-card:hover .sc-img img { transform: scale(1.05); }
.shop-card:hover .add-cart-overlay { opacity: 1; bottom: 20px; }
.add-cart-overlay { padding: 12px 24px; font-size: 14px; border-radius: 40px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); background: #fff; color: var(--green-deep); }
.add-cart-overlay:hover { background: var(--amber); color: #fff; border-color: transparent;}

/* WhatsApp Float */
.wa-float {
  position: fixed; bottom: 40px; right: 40px; width: 64px; height: 64px;
  background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 32px; text-decoration: none; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 1000; transition: transform 0.4s cubic-bezier(0.4, 3, 0.4, 1);
}
.wa-float:hover { transform: scale(1.15) rotate(10deg); background: #25D366; color: #fff; border-color: transparent;}

/* Auth Modal */
.auth-modal {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.auth-modal.active { opacity: 1; pointer-events: auto; }
.auth-box {
  background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(40px) saturate(200%); -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 30px; width: 90%; max-width: 420px;
  padding: 40px; position: relative; box-shadow: 0 30px 60px rgba(22, 74, 65, 0.15);
  transform: translateY(40px); transition: transform 0.4s var(--ease);
}
.auth-modal.active .auth-box { transform: translateY(0); }
.close-auth {
  position: absolute; top: 20px; right: 20px; background: transparent; border: none;
  font-size: 20px; color: var(--green-deep); transition: color 0.3s;
}
.close-auth:hover { color: var(--amber); }
.auth-input {
  width: 100%; padding: 14px 20px; border-radius: 16px; border: 1px solid #fff;
  background: rgba(255,255,255,0.4); font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--green-deep); outline: none; transition: all 0.3s;
}
.auth-input::placeholder { color: var(--muted); }
.auth-input:focus { border-color: var(--amber); background: rgba(255,255,255,0.8); }

/* Login / Auth Standalone Page */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 40px;
}
.auth-glass-pane {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 50px 40px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 40px 80px rgba(22, 74, 65, 0.1);
}
.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--green-deep);
  text-align: center;
  margin-bottom: 30px;
}
.auth-glass-pane form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.input-elegant {
  width: 100%;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--green-deep);
  outline: none;
  transition: all 0.3s;
}
.input-elegant::placeholder { color: var(--muted); }
.input-elegant:focus { border-color: var(--amber); background: rgba(255,255,255,0.8); }
.btn-glass {
  background: var(--green-deep);
  color: #fff;
  border: 2px solid transparent;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
}
.btn-glass:hover { background: var(--amber); }
.glass-nav {
  position: fixed; top: 20px; left: 5%; width: 90%;
  height: 72px; padding: 0 40px;
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px; box-shadow: 0 4px 30px rgba(22, 74, 65, 0.05);
  z-index: 1000;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
}
.cursor-dot {
  position: fixed; width: 10px; height: 10px;
  border-radius: 50%; background: var(--amber);
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
}

/* Footer */
footer {
  position: relative; z-index: 10;
  background: var(--green-deep); color: var(--cream);
  padding: 80px 5% 40px; border-top-left-radius: 40px; border-top-right-radius: 40px;
}
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; max-width: 1200px; margin: 0 auto 60px; }
.flogo img { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 20px; }
.fgrid h5 { font-size: 18px; margin-bottom: 24px; color: #fff; }
.flinks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.flinks a { font-size: 14px; color: rgba(255,253,238,0.6); transition: color 0.3s; }
.flinks a:hover { color: var(--amber); }
.fbot { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.4); max-width: 1200px; margin: 0 auto; }

/* ===== Responsive ===== */

/* Shop responsive */
@media (max-width: 992px) {
  .shop-container { flex-direction: column; }
  .shop-sidebar { width: 100%; position: relative; top: 0; margin-bottom: 30px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* Tablet & below */
@media (max-width: 992px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,253,238,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 999;
    list-style: none;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { font-size: 18px; padding: 12px 24px; }
  .section-overlap { padding: 60px 5%; }
  .products-masonry { grid-template-columns: repeat(2, 1fr); }
  .products-masonry .glass-node:nth-child(even) { margin-top: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .a-imgs { height: 300px; }
  .grid-3 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .glass-panel { padding: 40px 24px; }
  .nav { padding: 0 20px; }
  #login-btn { display: none; }
}

/* Phone */
@media (max-width: 600px) {
  .hero-title-wrap { flex-direction: column; gap: 5px; }
  .products-masonry { grid-template-columns: 1fr; }
  .products-masonry .glass-node:nth-child(even) { margin-top: 0; }
  .fgrid { grid-template-columns: 1fr; }
  .ht-solid, .ht-glass { font-size: 40px; text-align: center; }
  .trust { gap: 20px; padding: 15px 20px; }
  .ti { font-size: 11px; }
  .fbot { flex-direction: column; gap: 8px; text-align: center; }
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto !important; }
  #cur-dot, #cur-ring, .cursor-dot { display: none !important; }
  .nic { cursor: pointer; }
  .n-btn { cursor: pointer; }
  a { cursor: pointer; }
  button { cursor: pointer; }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver)
   ============================================ */

/* Hidden state — applied by JS before IntersectionObserver triggers */
.reveal-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* Visible state — applied when scrolled into view */
.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Stagger child cards within sections */
.reveal-visible .card-glass,
.reveal-visible .glass-node {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO ENTRANCE ANIMATIONS (CSS Keyframes)
   ============================================ */

/* Nav slides down */
.gs-fade-down {
  animation: fadeDown 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-60px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero content slides up */
.gs-fade-up {
  animation: fadeUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === v4.5 Scroll Reveal + Overrides === */
.reveal-hidden { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal-visible { opacity: 1 !important; transform: translateY(0) !important; }
.reveal-visible .card-glass, .reveal-visible .glass-node { opacity: 1; transform: translateY(0); }
body.home .ekit-template-content-footer { display:none!important; }
#pl-popup-overlay { display: none !important; }
   v4.6 ADDITIONS
   ============================================ */

/* --- Category Card Links & Hover Overlays --- */
a.cat-card-link {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r);
}
a.cat-card-link .card-glass {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
a.cat-card-link:hover .card-glass {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(22, 74, 65, 0.18);
}
.cat-hover-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(22,74,65,0.0) 0%, rgba(22,74,65,0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 22px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
}
a.cat-card-link:hover .cat-hover-overlay { opacity: 1; }
.cat-hover-overlay span {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--amber);
  padding: 7px 18px;
  border-radius: 30px;
}

/* --- WhatsApp Float Button --- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}

/* --- WooCommerce Product Grid (Shop Page) --- */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(12px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  border-radius: var(--r) !important;
  box-shadow: 0 4px 24px rgba(22, 74, 65, 0.07) !important;
  padding: 16px !important;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease) !important;
  overflow: hidden !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(22, 74, 65, 0.14) !important;
}
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
  border-radius: 14px !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin-bottom: 12px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Playfair Display', serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--green-deep) !important;
  margin-bottom: 8px !important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  color: var(--amber-d) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  display: block !important;
  margin-top: 12px !important;
  padding: 10px 0 !important;
  background: var(--green-deep) !important;
  color: var(--cream) !important;
  border-radius: 30px !important;
  text-align: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  transition: background 0.3s !important;
  border: none !important;
  width: 100% !important;
  cursor: pointer !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  background: var(--amber) !important;
  color: var(--green-deep) !important;
}

/* WooCommerce shop page layout wrapper */
.woocommerce-page .woocommerce,
.woocommerce .woocommerce-notices-wrapper + * {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5% 80px;
}

/* WooCommerce pagination */
.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  justify-content: center;
  margin-top: 40px;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.5) !important;
  border: 1px solid rgba(22,74,65,0.15) !important;
  color: var(--green-deep) !important;
  font-weight: 500 !important;
  transition: background 0.3s !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--green-deep) !important;
  color: var(--cream) !important;
}

@media (max-width: 992px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* --- Footer Consistency (Elementor Kit footer on inner pages) --- */
.ekit-template-content-footer,
.ekit-template-content-footer .elementor,
body:not(.home) footer:not(.site-footer) {
  background: var(--green-deep) !important;
  color: var(--cream) !important;
}
.ekit-template-content-footer a,
.ekit-template-content-footer p,
.ekit-template-content-footer span,
.ekit-template-content-footer li {
  color: rgba(255,253,238,0.75) !important;
}
.ekit-template-content-footer a:hover { color: var(--amber) !important; }
.ekit-template-content-footer h1,
.ekit-template-content-footer h2,
.ekit-template-content-footer h3,
.ekit-template-content-footer h4,
.ekit-template-content-footer h5 {
  color: #fff !important;
}
/* Ensure footer is always at bottom with rounded corners */
.ekit-template-content-footer {
  border-top-left-radius: 40px !important;
  border-top-right-radius: 40px !important;
  padding: 60px 5% 40px !important;
  margin-top: 0 !important;
  position: relative;
  z-index: 10;
}

/* --- Single Product Page --- */
.woocommerce div.product {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5% 80px;
}
.woocommerce div.product .woocommerce-product-gallery__image img {
  border-radius: 20px;
}
.woocommerce div.product .product_title {
  font-family: 'Playfair Display', serif !important;
  color: var(--green-deep) !important;
  font-size: 32px !important;
}
.woocommerce div.product .price {
  color: var(--amber-d) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
}
.woocommerce div.product .single_add_to_cart_button {
  background: var(--green-deep) !important;
  color: var(--cream) !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  border: none !important;
  padding: 14px 32px !important;
  transition: background 0.3s !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--amber) !important;
  color: var(--green-deep) !important;
}

/* Cart & Checkout basic cleanup */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5% 80px;
}
.woocommerce table.shop_table {
  border-collapse: collapse;
  width: 100%;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(12px);
  border-radius: var(--r);
  overflow: hidden;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(22,74,65,0.08);
  color: var(--green-deep);
}
.woocommerce #place_order,
.woocommerce .checkout-button {
  background: var(--green-deep) !important;
  color: var(--cream) !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  padding: 14px 32px !important;
  border: none !important;
  transition: background 0.3s !important;
  cursor: pointer !important;
}
.woocommerce #place_order:hover,
.woocommerce .checkout-button:hover {
  background: var(--amber) !important;
  color: var(--green-deep) !important;
}
/* =========================================
   PREMLOOM ENVISION v4.7 CSS ADDITIONS
   Append to /wp-content/themes/premloom-envision/style.css
   Fixes: brand vars, search modal, products dropdown,
          footer, color palette, WA button, nav scroll
   ========================================= */

/* === BRAND CSS VARIABLES === */
:root {
  --pl-green:     #164a41;   /* Brand primary deep green */
  --pl-green-mid: #1e6b5e;   /* Mid green for hover */
  --pl-green-lt:  #2a8a78;   /* Light green accent */
  --pl-dark:      #0d2e29;   /* Near-black green for headings */
  --pl-amber:     #c8872a;   /* Warm amber/gold accent */
  --pl-amber-lt:  #e6a84a;   /* Light amber for hover */
  --pl-cream:     #f9f4ec;   /* Warm cream background */
  --pl-cream-dk:  #f0e8d8;   /* Slightly darker cream */
  --pl-white:     #ffffff;
  --pl-text:      #2d4a3e;   /* Body text — dark green tint */
  --pl-muted:     #6b8c7a;   /* Muted text */
  --pl-border:    rgba(22,74,65,0.12);

  /* Legacy aliases (keep backward compat) */
  --green-deep:   #164a41;
  --body:         #2d4a3e;
}

/* === CURSOR === */
#cur-dot {
  width: 10px; height: 10px;
  background: var(--pl-amber);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 99999; transform: translate(-50%, -50%);
  transition: width .15s, height .15s, background .2s;
}
#cur-dot span {
  display: none; font-size: 10px; white-space: nowrap;
  background: var(--pl-dark); color: #fff;
  padding: 2px 6px; border-radius: 4px;
  position: absolute; left: 14px; top: -4px;
}
#cur-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--pl-amber);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 99998; transform: translate(-50%, -50%);
  transition: border-color .2s;
  opacity: 0.6;
}
body.c-hover #cur-dot { width: 16px; height: 16px; }
body.c-hover #cur-dot span { display: block; }
body.c-hover #cur-ring { border-color: var(--pl-green); opacity: 1; }
@media (max-width: 768px) { #cur-dot, #cur-ring { display: none !important; } }

/* === SCROLL REVEALS === */
.reveal-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* =========================================
   PRODUCTS MEGA DROPDOWN
   ========================================= */
.pl-has-dropdown { position: relative !important; }

.pl-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 680px;
  max-width: 780px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(14,46,41,0.18), 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid var(--pl-border);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 9000;
  pointer-events: none;
}
.pl-dropdown.pl-dd-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
.pl-dropdown::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: #fff;
  border-left: 1px solid var(--pl-border);
  border-top: 1px solid var(--pl-border);
  border-radius: 2px;
}
.pl-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 20px 20px 0;
}
.pl-dd-col {
  padding: 8px 10px 16px;
  border-right: 1px solid var(--pl-border);
}
.pl-dd-col:last-child { border-right: none; }

.pl-dd-parent {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pl-dark) !important;
  text-decoration: none !important;
  padding: 4px 0 8px;
  line-height: 1.3;
  white-space: normal;
}
.pl-dd-parent:hover { color: var(--pl-amber) !important; }
.pl-dd-icon { font-size: 16px; flex-shrink: 0; }

.pl-dd-children {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pl-dd-child {
  font-size: 12px;
  color: var(--pl-muted) !important;
  text-decoration: none !important;
  padding: 3px 0 3px 8px;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.4;
}
.pl-dd-child:hover {
  color: var(--pl-green) !important;
  border-left-color: var(--pl-amber);
}

.pl-dd-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 10px;
  margin-top: 8px;
  border-top: 1px solid var(--pl-border);
  background: var(--pl-cream);
  border-radius: 0 0 16px 16px;
}
.pl-dd-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--pl-green) !important;
  text-decoration: none !important;
}
.pl-dd-all:hover { color: var(--pl-amber) !important; }
.pl-dd-corp {
  font-size: 13px;
  font-weight: 600;
  color: var(--pl-amber) !important;
  text-decoration: none !important;
  margin-left: auto;
}
.pl-dd-corp:hover { color: var(--pl-dark) !important; }

/* Responsive dropdown */
@media (max-width: 992px) {
  .pl-dropdown {
    position: fixed;
    top: auto; bottom: 0; left: 0;
    transform: none;
    min-width: 100vw; max-width: 100vw;
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
  .pl-dropdown.pl-dd-visible { transform: none; }
  .pl-dropdown-inner { grid-template-columns: repeat(2, 1fr); }
  .pl-dropdown::before { display: none; }
}
@media (max-width: 480px) {
  .pl-dropdown-inner { grid-template-columns: 1fr; }
}

/* =========================================
   SEARCH MODAL
   ========================================= */
#pl-search-modal {
  position: fixed; inset: 0; z-index: 99990;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 80px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
#pl-search-modal.pl-search-active {
  opacity: 1; visibility: visible;
}
.pl-search-overlay {
  position: absolute; inset: 0;
  background: rgba(13,46,41,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pl-search-box {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 36px 40px 28px;
  width: min(580px, 92vw);
  box-shadow: 0 30px 80px rgba(13,46,41,0.25);
  transform: translateY(-20px);
  transition: transform 0.25s ease;
}
#pl-search-modal.pl-search-active .pl-search-box {
  transform: translateY(0);
}
.pl-search-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 28px; color: var(--pl-muted);
  line-height: 1; padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.pl-search-close:hover { color: var(--pl-dark); background: var(--pl-cream); }

.pl-search-label {
  font-size: 14px; color: var(--pl-muted); margin: 0 0 16px;
  text-align: center; letter-spacing: 0.02em;
}
.pl-search-form {
  display: flex; gap: 10px; align-items: stretch;
}
.pl-search-input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  font-size: 16px;
  color: var(--pl-dark);
  background: var(--pl-cream);
  border: 2px solid transparent;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.pl-search-input:focus { border-color: var(--pl-amber); background: #fff; }
.pl-search-submit {
  height: 52px; padding: 0 24px;
  background: var(--pl-green);
  color: #fff; border: none; cursor: pointer;
  border-radius: 12px; font-size: 15px; font-weight: 600;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}
.pl-search-submit:hover { background: var(--pl-green-mid); }

.pl-search-quick {
  margin-top: 16px;
  display: flex; align-items: center;
  gap: 8px; flex-wrap: wrap;
}
.pl-search-quick span {
  font-size: 12px; color: var(--pl-muted); flex-shrink: 0;
}
.pl-search-quick a {
  font-size: 12px; font-weight: 500;
  color: var(--pl-green) !important;
  background: var(--pl-cream);
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none !important;
  border: 1px solid var(--pl-border);
  transition: background 0.15s, color 0.15s;
}
.pl-search-quick a:hover {
  background: var(--pl-green);
  color: #fff !important;
}

/* =========================================
   WHATSAPP FLOAT BUTTON
   ========================================= */
.wa-float {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.15);
  z-index: 9000;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* =========================================
   NAV SCROLLED STATE
   ========================================= */
.nav-scrolled {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 20px rgba(22,74,65,0.1) !important;
  transition: background 0.3s, box-shadow 0.3s;
}

/* =========================================
   FOOTER CONSISTENCY
   ========================================= */
.site-footer,
.elementor-location-footer,
[data-elementor-type="footer"] .e-con:last-child,
footer {
  background: var(--pl-green) !important;
  color: var(--pl-cream) !important;
}
.site-footer a, .elementor-location-footer a,
[data-elementor-type="footer"] a {
  color: rgba(249,244,236,0.8) !important;
  text-decoration: none !important;
}
.site-footer a:hover, .elementor-location-footer a:hover,
[data-elementor-type="footer"] a:hover {
  color: var(--pl-amber) !important;
}
.site-footer .elementor-widget-text-editor *,
.site-footer .elementor-widget-heading *,
.elementor-location-footer .elementor-widget-text-editor *,
.elementor-location-footer .elementor-widget-heading * {
  color: var(--pl-cream) !important;
}
.e-con.e-con-full.pl-footer-inner,
.elementor-location-footer .e-con:first-child {
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

/* =========================================
   WOOCOMMERCE SHOP GRID (3-col glassmorphism)
   ========================================= */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: rgba(255,255,255,0.45) !important;
  backdrop-filter: blur(12px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.4) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(22,74,65,0.10) !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  margin: 0 !important;
  padding-bottom: 16px !important;
}
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 40px rgba(22,74,65,0.14) !important;
}
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
  border-radius: 20px 20px 0 0 !important;
  width: 100% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 15px !important;
  color: var(--pl-dark) !important;
  padding: 12px 16px 4px !important;
  line-height: 1.4 !important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  color: var(--pl-green) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 0 16px !important;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  margin: 8px 16px 0 !important;
  background: var(--pl-green) !important;
  color: #fff !important;
  border-radius: 50px !important;
  border: none !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
  display: inline-block !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  background: var(--pl-amber) !important;
  color: #fff !important;
}
/* 2-col at tablet */
@media (max-width: 992px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* 1-col at mobile */
@media (max-width: 600px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   SINGLE PRODUCT PAGE
   ========================================= */
.woocommerce div.product .product_title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 32px !important;
  color: var(--pl-dark) !important;
  line-height: 1.25 !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--pl-green) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
}
.woocommerce div.product .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--pl-green) !important;
  color: #fff !important;
  border-radius: 50px !important;
  border: none !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: background 0.2s !important;
}
.woocommerce div.product .single_add_to_cart_button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--pl-amber) !important;
}
.woocommerce div.product div.images img {
  border-radius: 20px !important;
}

/* =========================================
   CART & CHECKOUT
   ========================================= */
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th {
  border-color: var(--pl-border) !important;
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  color: var(--pl-dark) !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}

/* =========================================
   CATEGORY CARD HOVER OVERLAYS
   ========================================= */
.cat-card-link {
  display: block;
  position: relative;
  text-decoration: none !important;
  border-radius: 20px;
  overflow: hidden;
}
.cat-hover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(22,74,65,0.7) 0%, rgba(200,135,42,0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex; align-items: center; justify-content: center;
  border-radius: 20px;
}
.cat-hover-overlay::after {
  content: 'Shop Now';
  color: #fff; font-weight: 700; font-size: 16px;
  letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  padding: 10px 24px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.6);
}
.cat-card-link:hover .cat-hover-overlay { opacity: 1; }

/* =========================================
   GLOBAL BUTTON STYLE
   ========================================= */
.pl-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pl-green);
  color: #fff !important; text-decoration: none !important;
  padding: 13px 30px; border-radius: 50px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.pl-btn-primary:hover { background: var(--pl-amber); transform: translateY(-2px); }
.pl-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--pl-green) !important; text-decoration: none !important;
  padding: 12px 28px; border-radius: 50px;
  font-weight: 600; font-size: 15px;
  border: 2px solid var(--pl-green); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pl-btn-secondary:hover { background: var(--pl-green); color: #fff !important; }

/* =========================================
   MOBILE RESPONSIVE FIXES
   ========================================= */
@media (max-width: 768px) {
  .pl-search-box { padding: 28px 20px 20px; }
  .pl-search-form { flex-direction: column; }
  .pl-search-input, .pl-search-submit { width: 100%; }
  .pl-search-submit { height: 48px; }
  .wa-float { bottom: 20px; right: 16px; width: 52px; height: 52px; }
  .pl-has-dropdown { position: static !important; }
}

/* End v4.7 ADDITIONS */


/* =========================================
   PREMLOOM v5 ENHANCEMENTS
   ========================================= */

/* 1. NAV — more breathing room from top + stronger hover contrast */
nav {
  top: 32px !important;
}
.nav-links a:hover {
  background: rgba(22, 74, 65, 0.12) !important;
  color: var(--green-deep) !important;
}
/* Login/Signup button — more visible on light bg */
#login-btn.nic {
  background: var(--green-deep) !important;
  color: var(--cream) !important;
  border: none !important;
  padding: 0 18px !important;
  width: auto !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 30px !important;
  white-space: nowrap !important;
}
#login-btn.nic:hover {
  background: var(--green-mid) !important;
}

/* 2. HERO SUB — glassmorphism pill */
.hero-sub-glass {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(14px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 18px !important;
  padding: 14px 26px !important;
  display: inline-block !important;
  box-shadow: 0 4px 20px rgba(22, 74, 65, 0.08) !important;
}

/* 3. HIDE PLUGIN-INJECTED SECTIONS */
#pl-trust-signals,
.pl-trust-signals,
[id*="trust-signals"] {
  display: none !important;
}
#premloom-youtube-section,
.premloom-youtube-section,
[id*="youtube-section"] {
  display: none !important;
}

/* 4. HIDE SQUARE WHATSAPP PLUGIN BUTTON (keep our round .wa-float) */
.wp-widget-whatsapp:not(.wa-float),
.wpcw-widget:not(.wa-float),
.click-to-chat-whatsapp:not(.wa-float),
.wts-chat-button-wrapper:not(.wa-float),
a[href*="wa.me"]:not(.wa-float):not(footer a),
div[class*="whatsapp-chat"]:not(.wa-float),
div[id*="whatsapp-chat"]:not(.wa-float),
.sap-whatsapp-button:not(.wa-float) {
  display: none !important;
}

/* 5. AFEATS — gap between feature boxes */
.afeats {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin-top: 24px !important;
}
.af {
  padding: 18px 20px !important;
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 16px !important;
  transition: transform 0.3s var(--ease), background 0.3s !important;
}
.af:hover {
  background: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* 6. ABOUT / WHERE CRAFT MEETS PURPOSE — glassmorphism frame */
.glass-panel {
  background: rgba(255, 253, 238, 0.5) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 8px 40px rgba(22, 74, 65, 0.08) !important;
}

/* 7. MEET OUR ARTISANS button */
.artisan-btn {
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  font-size: 13px !important;
  transition: all 0.3s var(--ease) !important;
}
.artisan-btn:hover {
  background: var(--green-mid) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(22, 74, 65, 0.25) !important;
}

/* 8. PRODUCT PAGE — prevent content from going above fixed nav */
.woocommerce-shop-page-title,
.woocommerce-archive-description,
.woocommerce-products-header,
.page-header h1 {
  position: relative;
  z-index: 1;
}
/* ensure shop content starts below nav */
body.woocommerce .woocommerce-main-image,
body.woocommerce-page main.site-main,
body.post-type-archive-product .site-main {
  position: relative;
  z-index: 1;
}

/* Fix "Showing X–X of XX results" alignment */
.woocommerce-result-count {
  margin: 0 0 0 0 !important;
  padding: 10px 0 !important;
  line-height: 40px !important;
  display: inline-block !important;
}

/* Fix sort-by ordering select padding */
.woocommerce-ordering {
  margin: 0 !important;
}
.woocommerce-ordering select.orderby {
  padding: 8px 36px 8px 14px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(77, 119, 78, 0.3) !important;
  background: rgba(255,255,255,0.7) !important;
  height: 40px !important;
  font-family: inherit !important;
}

/* Fix sale badge + wishlist button bottom padding on product images */
.woocommerce ul.products li.product .onsale {
  margin: 0 !important;
  bottom: 12px !important;
  top: auto !important;
  left: 12px !important;
  right: auto !important;
}
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product mark.onsale {
  margin-bottom: 0 !important;
}
/* Wishlist button on product card images */
.tinvwl_add_to_wishlist_button,
.ti-wishlist-plus,
.wl-btn-wrap,
[class*="wishlist-btn"] {
  bottom: 12px !important;
  top: auto !important;
}

/* Remove unwanted gap below product images */
.woocommerce ul.products li.product a img {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  display: block !important;
}

/* 9. SCROLL AMBIENT BACKGROUND EFFECT */
.ambient-bg {
  transition: background-color 0.8s ease !important;
}
/* Smooth hero transitions */
.hero {
  transition: background 0.6s ease !important;
}

/* 10. RESPONSIVE */
@media (max-width: 768px) {
  nav {
    top: 12px !important;
  }
  .hero-sub-glass {
    padding: 12px 16px !important;
    border-radius: 14px !important;
  }
  .afeats {
    gap: 12px !important;
  }
}

/* End v5 ENHANCEMENTS */


/* === Hide WhatsApp CTC button === */
.ht-ctc { display: none !important; }

.pl-trust-strip { display: none !important; }
