/* ============================================================
   PRINTMOTIVE — style.css  |  Font: Playfair Display + DM Sans
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --accent:  #ff4d2e;
  --accent2: #ffb300;
  --wa:      #25d366;
  --bg:      #faf8f4;
  --bg2:     #ffffff;
  --bg3:     #f0ece3;
  --ink:     #1a1714;
  --ink2:    #4a4540;
  --muted:   #9a9088;
  --border:  rgba(0,0,0,0.09);
  --shadow:  0 4px 24px rgba(0,0,0,0.07);
  --shadow-h:0 16px 48px rgba(0,0,0,0.14);
  --nav-h:   68px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

/* ============================================================
   NAVBAR  — transparent on top, solid on scroll
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  transition: background 0.35s, box-shadow 0.35s;
}
nav.scrolled {
  background: rgba(250,248,244,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon { width: 36px; height: 36px;  border-radius:50%; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem; font-weight: 900;
  color: var(--ink); line-height: 1;
  letter-spacing: -0.5px;
}
.logo-text em { color: var(--accent); font-style: italic; }

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 4px !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ink) !important; transform: translateY(-2px); }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--accent); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.2s;
}
.hamburger:hover span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg2);
  box-shadow: -6px 0 40px rgba(0,0,0,0.15);
  z-index: 2000;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.38s cubic-bezier(0.16,1,0.3,1);
}
.drawer.open { right: 0; }

.drawer-close {
  align-self: flex-end;
  width: 38px; height: 38px;
  background: var(--bg3);
  border: none; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ink);
  transition: background 0.2s;
}
.drawer-close:hover { background: var(--accent); color: #fff; }

.drawer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 900;
  color: var(--ink);
}
.drawer-logo em { color: var(--accent); font-style: italic; }

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dl {
  display: block;
  padding: 0.9rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
}
.dl:hover { color: var(--accent); padding-left: 0.8rem; }
.dl-cta {
  display: inline-block;
  margin-top: 0.8rem;
  background: var(--accent);
  color: #fff !important;
  padding: 0.8rem 1.8rem !important;
  border-radius: 4px;
  border-bottom: none !important;
  text-align: center;
}

.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: all; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float-wa {
  position: fixed; bottom: 1.8rem; right: 1.8rem;
  width: 50px; height: 50px;
  background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.42);
  text-decoration: none; z-index: 500;
  animation: floatBob 3s ease-in-out infinite;
}
.float-wa:hover { animation-play-state: paused; transform: scale(1.12); }
.float-wa-ring {
  position: absolute; width: 75%; height: 75%;
  border-radius: 50%; border: 2px solid var(--wa);
  animation: waRing 2.2s ease-out infinite;
}
@keyframes floatBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes waRing   { 0%{transform:scale(1);opacity:1} 100%{transform:scale(2.3);opacity:0} }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4rem 2.5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-bg-text {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: clamp(7rem,17vw,20rem);
  font-weight: 900; font-style: italic;
  color: var(--ink); opacity: 0.03;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap; pointer-events: none;
  letter-spacing: -4px;
}
.hero-left { animation: slideInL 0.8s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes slideInL { from{opacity:0;transform:translateX(-40px)} to{opacity:1;transform:none} }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent2); color: var(--ink);
  padding: 0.28rem 0.9rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  border-radius: 2px; margin-bottom: 1.2rem;
}
.tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.2rem,6.5vw,7.5rem);
  font-weight: 900; line-height: 0.95;
  letter-spacing: -1px; color: var(--ink);
  margin-bottom: 1.2rem;
}
h1 .red      { color: var(--accent); font-style: italic; }
h1 .h-outline { -webkit-text-stroke: 2px var(--ink); color: transparent; }

.hero-sub {
  font-size: 1rem; color: var(--ink2);
  max-width: 420px; line-height: 1.75; margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 900;
  color: var(--accent); line-height: 1;
}
.stat-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* Hero right cards */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  animation: slideInR 0.8s 0.2s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes slideInR { from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:none} }
.hero-card-stack { position: relative; width: 340px; height: 400px; }
.h-card {
  position: absolute; width: 240px; height: 280px;
  background: var(--bg2); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; padding-bottom: 0.8rem;
}
.h-card img { position: absolute; inset: 0; width: 100%; height: 85%; object-fit: cover; }
.hc-label {
  position: relative; z-index: 1;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 700;
  color: #fff; background: rgba(0,0,0,0.5);
  padding: 0.25rem 0.9rem; border-radius: 20px;
  backdrop-filter: blur(4px);
}
.card-back  { left: 0;   bottom: 0;   transform: rotate(-7deg); animation: fc1 4.2s ease-in-out infinite; }
.card-mid   { left: 50px;bottom: 20px;transform: rotate(3deg);  animation: fc2 4.8s ease-in-out infinite; }
.card-front { left: 95px;bottom: 48px;transform: rotate(-1deg); animation: fc3 5.4s ease-in-out infinite; }
@keyframes fc1 { 0%,100%{transform:rotate(-7deg) translateY(0)} 50%{transform:rotate(-7deg) translateY(-9px)} }
@keyframes fc2 { 0%,100%{transform:rotate(3deg)  translateY(0)} 50%{transform:rotate(3deg)  translateY(-7px)} }
@keyframes fc3 { 0%,100%{transform:rotate(-1deg) translateY(0)} 50%{transform:rotate(-1deg) translateY(-11px)} }

.hero-badge {
  position: absolute; bottom: 1.2rem; right: -0.5rem;
  width: 95px; height: 95px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: spin360 10s linear infinite;
  box-shadow: 0 6px 24px rgba(255,77,46,0.4);
}
@keyframes spin360 { to{transform:rotate(360deg)} }
.hb-spin {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  color: #fff; text-align: center; line-height: 1.3; letter-spacing: 0.5px;
  animation: spin360 10s linear infinite reverse;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  background: var(--ink);
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  padding: 0.9rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 2rem; white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-track span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 3px; color: #fff; flex-shrink: 0; text-transform: uppercase;
}
.mx { color: var(--accent) !important; }

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
section { padding: 5.5rem 2.5rem; }
.sec-tag {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.4rem;
}
.sec-tag.light { color: var(--accent2); }
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem,4.5vw,4rem);
  font-weight: 900; line-height: 1; color: var(--ink);
}
.sec-title.light { color: #fff; }
.h-outline  { -webkit-text-stroke: 2px var(--ink); color: transparent; font-style: italic; }
.h-outline-y{ -webkit-text-stroke: 2px var(--accent2); color: transparent; font-style: italic; }
.sec-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #fff;
  padding: 0.85rem 1.8rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; border: 2px solid var(--accent);
  border-radius: 4px; letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.25s;
}
.btn-primary:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--ink);
  padding: 0.85rem 1.8rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; border: 2px solid var(--ink);
  border-radius: 4px; letter-spacing: 0.3px;
  transition: background 0.25s, color 0.25s;
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline.sm { padding: 0.55rem 1.1rem; font-size: 0.78rem; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--wa); color: #fff;
  padding: 0.85rem 1.8rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; border-radius: 4px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,0.35); }

/* ============================================================
   PRODUCTS
   ============================================================ */
#products { background: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

.product-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-h); }
.product-card:hover .pcta { opacity: 1; transform: translateY(0); }
.product-card:hover .pimg-wrap img { transform: scale(1.06); }

.pimg-wrap { height: 210px; overflow: hidden; position: relative; background: var(--bg3); }
.pimg-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pbadge {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: var(--accent); color: #fff;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 2px;
}
.pbadge.blue   { background: #3b82f6; }
.pbadge.purple { background: #7c3aed; }
.pbadge.yellow { background: var(--accent2); color: var(--ink); }

.pinfo { padding: 1.2rem; }
.pname {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem;
}
.pdesc { font-size: 0.8rem; color: var(--muted); line-height: 1.65; }
.pfooter {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border);
}
.pprice { font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.pcta {
  background: var(--ink); color: #fff; border: none;
  padding: 0.45rem 0.9rem; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 700;
  cursor: pointer;
  opacity: 0; transform: translateY(5px);
  transition: all 0.28s cubic-bezier(0.16,1,0.3,1);
}
.pcta:hover { background: var(--accent); }
@media (hover: none) {
  .pcta {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}
/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how {
  background: var(--ink);
  position: relative; overflow: hidden;
}
#how::before {
  content: 'PROCESS';
  position: absolute; font-family: 'Playfair Display', serif;
  font-size: 14rem; font-weight: 900; font-style: italic;
  color: rgba(255,255,255,0.03);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none; white-space: nowrap;
}
.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; margin-top: 3rem; position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 2.6rem; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), var(--accent), transparent);
}
.step-card {
  position: relative; z-index: 1;
  text-align: center; padding: 0 0.5rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s;
}
.step-card.visible { opacity: 1; transform: translateY(0); }
.step-card:nth-child(1){transition-delay:0.08s}
.step-card:nth-child(2){transition-delay:0.2s}
.step-card:nth-child(3){transition-delay:0.32s}
.step-card:nth-child(4){transition-delay:0.44s}

.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem;
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 900;
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover .step-num { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(255,77,46,0.18); }
.step-icon {
  width: 46px; height: 46px;
  background: rgba(255,77,46,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
}
.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--accent2); margin-bottom: 0.45rem;
}
.step-desc { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.7; }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.testi-card {
  background: var(--bg2);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 1.7rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); }
.testi-stars { color: var(--accent2); letter-spacing: 2px; margin-bottom: 0.9rem; font-size: 0.9rem; }
.testi-text {
  font-size: 0.88rem; line-height: 1.8;
  color: var(--ink2); margin-bottom: 1.3rem;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.testi-city { font-size: 0.7rem; color: var(--muted); }


/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--ink); color: #fff; padding: 5rem 2.5rem 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-wrap {
  display: flex; align-items: center; gap: 0.55rem;
  text-decoration: none; margin-bottom: 1rem;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 900; color: #fff;
}
.footer-brand-name em { color: var(--accent); font-style: italic; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 240px; margin-bottom: 1.4rem; }
.social-row { display: flex; gap: 0.6rem; }
.soc-btn {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.15); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: all 0.2s;
}
.soc-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.fcol-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem; font-weight: 700; font-style: italic;
  color: var(--accent2); margin-bottom: 1rem;
}
.flinks { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.flinks a, .fbtn {
  color: rgba(255,255,255,0.4); font-size: 0.8rem;
  text-decoration: none; background: none; border: none;
  font-family: 'DM Sans', sans-serif; cursor: pointer;
  padding: 0; text-align: left;
  transition: color 0.2s;
}
.flinks a:hover, .fbtn:hover { color: #fff; }

.fcontact {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  text-decoration: none; margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.fcontact:not(.no-link):hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.8rem; font-size: 0.72rem; color: rgba(255,255,255,0.22);
  flex-wrap: wrap; gap: 0.5rem;
}
.developer{text-decoration: none;
font-size: 0.72rem; color: rgba(255,255,255,0.22);
   }
/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 5.5rem; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--wa); color: #fff;
  padding: 0.65rem 1.5rem; border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 700;
  z-index: 999; opacity: 0; pointer-events: none; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(37,211,102,0.32);
  transition: opacity 0.28s, transform 0.28s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* Hide desktop links, show hamburger */
  .nav-links   { display: none; }
  .hamburger   { display: flex; }

  #hero { grid-template-columns: 1fr; padding: 3rem 1.4rem; }
  .hero-right  { display: none; }

  .products-grid   { grid-template-columns: repeat(2,1fr); }
  .steps-grid      { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .testi-grid      { grid-template-columns: 1fr; }
  .gallery-grid    { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi-tall         { grid-row: auto; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 2rem; }

  section { padding: 4rem 1.4rem; }
  footer  { padding: 3rem 1.4rem 1.5rem; }
  nav     { padding: 0 1.2rem; }
}
@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  h1 { font-size: 2.8rem; }
  .order-title { font-size: 2.2rem; }
}

/* ripple */
@keyframes pmRipple {
  from { transform: translate(-50%,-50%) scale(0); opacity: 1; }
  to   { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}

/* ============================================================
   ORDER MODAL POPUP
   ============================================================ */
#pm-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 480px) {
  #pm-modal { align-items: center; }
}

.pm-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s;
}
.pm-modal-open .pm-modal-backdrop { opacity: 1; }

.pm-modal-box {
  position: relative; z-index: 1;
  background: #fff;
  width: 100%; max-width: 420px;
  border-radius: 20px 20px 0 0;
  padding: 2rem 1.8rem 2.5rem;
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16,1,0.3,1), opacity 0.3s;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.18);
}
@media (min-width: 480px) {
  .pm-modal-box {
    border-radius: 16px;
    transform: translateY(0) scale(0.93);
  }
}
.pm-modal-open .pm-modal-box {
  transform: translateY(0);
  opacity: 1;
}
@media (min-width: 480px) {
  .pm-modal-open .pm-modal-box {
    transform: translateY(0) scale(1);
  }
}

.pm-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  background: #f0ece3; border: none; border-radius: 50%;
  font-size: 1.2rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #666; transition: background 0.2s, color 0.2s;
}
.pm-modal-close:hover { background: #ff4d2e; color: #fff; }

.pm-modal-tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: #ff4d2e; margin-bottom: 0.4rem;
}
.pm-modal-product {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 900; color: #1a1714;
  line-height: 1.1; margin-bottom: 0.3rem;
}
.pm-modal-price {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem; font-weight: 700;
  color: #ff4d2e; margin-bottom: 1rem;
}
.pm-modal-desc {
  font-size: 0.83rem; color: #9a9088;
  margin-bottom: 1.4rem; line-height: 1.5;
}

.pm-modal-btns {
  display: flex; flex-direction: column; gap: 0.8rem;
}

.pm-btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 0.65rem;
  background: #25d366; color: #fff;
  padding: 0.95rem; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(37,211,102,0.3);
}
.pm-btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.4); }

.pm-btn-email {
  display: flex; align-items: center; justify-content: center; gap: 0.65rem;
  background: #f5f1ea; color: #1a1714;
  padding: 0.95rem; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
  text-decoration: none; border: 2px solid #e8e2d6;
  transition: background 0.2s, border-color 0.2s;
}
.pm-btn-email:hover { background: #1a1714; color: #fff; border-color: #1a1714; }

.pm-modal-or {
  text-align: center; position: relative; margin: 1rem 0;
}
.pm-modal-or::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: #e8e2d6;
}
.pm-modal-or span {
  background: #fff; padding: 0 0.8rem;
  font-size: 0.75rem; color: #9a9088; position: relative; z-index: 1;
}

.pm-btn-ig {
  display: flex; align-items: center; justify-content: center; gap: 0.65rem;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  padding: 0.85rem; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.pm-btn-ig:hover { transform: translateY(-2px); opacity: 0.9; }

/* ============================================================
   CART ICON — NAVBAR
   ============================================================ */
.nav-cart {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 6px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.nav-cart:hover { color: var(--accent); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--accent); color: #fff;
  font-size: 0.58rem; font-weight: 800;
  min-width: 17px; height: 17px;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--bg);
}
.cart-count.has-items { display: flex; }

/* ============================================================
   ADD TO CART BUTTON — product cards
   ============================================================ */
.pfooter {
  gap: 0.5rem;
}
.pcta-cart {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--bg3); color: var(--ink);
  border: 1.5px solid var(--border);
  padding: 0.45rem 0.75rem; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  opacity: 0; transform: translateY(5px);
  transition: all 0.28s cubic-bezier(0.16,1,0.3,1);
}
.pcta-cart:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-card:hover .pcta-cart { opacity: 1; transform: translateY(0); }

@media (hover: none) {
  .pcta       { opacity: 1 !important; transform: translateY(0) !important; }
  .pcta-cart  { opacity: 1 !important; transform: translateY(0) !important; }
}

/* ============================================================
   CART DRAWER
   ============================================================ */
#cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
#cart-backdrop.open { opacity: 1; pointer-events: all; }

#cart-drawer {
  position: fixed; top: 0; right: -110%;
  width: min(380px, 94vw); height: 100vh;
  background: #fff; z-index: 2999;
  display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,0.14);
  transition: right 0.38s cubic-bezier(0.16,1,0.3,1);
}
#cart-drawer.open { right: 0; }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.cart-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 900; color: var(--ink);
  display: flex; align-items: center;
}
.cart-close-btn {
  width: 32px; height: 32px;
  background: var(--bg3); border: none; border-radius: 6px;
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); transition: background 0.2s;
}
.cart-close-btn:hover { background: var(--accent); color: #fff; }

.cart-items {
  flex: 1; overflow-y: auto;
  padding: 1rem 1.2rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.cart-empty {
  margin: auto; text-align: center; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.cart-empty p { font-size: 0.9rem; font-weight: 600; margin: 0; }
.cart-empty small { font-size: 0.75rem; }

.cart-item {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.75rem;
}
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-size: 0.82rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ci-size { font-weight: 600; color: var(--accent); font-size: 0.78rem; }
.ci-price { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--accent); font-weight: 700; margin-top: 2px; }
.ci-subtotal { font-size: 0.7rem; color: var(--muted); }

.ci-qty {
  display: flex; align-items: center; gap: 0.3rem;
}
.ci-qty button {
  width: 26px; height: 26px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 4px; font-size: 1rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--ink); line-height: 1;
  transition: all 0.18s;
}
.ci-qty button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.ci-qty span { font-size: 0.85rem; font-weight: 700; min-width: 22px; text-align: center; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.ci-remove {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1.1rem; padding: 2px 4px;
  border-radius: 4px; transition: color 0.18s, background 0.18s;
  line-height: 1;
}
.ci-remove:hover { color: #fff; background: var(--accent); }

.cart-footer {
  padding: 1.2rem 1.4rem 1.8rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.2rem; padding-bottom: 1rem;
  border-bottom: 1.5px dashed var(--border);
}
.cart-total-label {
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 2px;
}
.cart-total-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 900; color: var(--accent);
  line-height: 1;
}
.cart-order-btn {
  width: 100%; padding: 0.9rem;
  border: none; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 0.55rem; margin-bottom: 0.6rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.cart-wa-btn {
  background: #25d366; color: #fff;
  border-radius: 12px;
  font-size: 1rem; font-weight: 700;
  box-shadow: 0 4px 16px rgba(37,211,102,0.28);
}
.cart-wa-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,0.38); }

.cart-email-btn {
  background: var(--bg3); color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 1rem; font-weight: 700;
}
.cart-email-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.cart-order-btn svg { flex-shrink: 0; }

/* ── DELIVERY DETAILS FORM ── */
.pm-delivery-form {
  background: #f9f5ff;
  border: 1.5px solid rgba(99,102,241,0.18);
  border-radius: 10px;
  padding: 14px 14px 10px;
  margin: 14px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pm-delivery-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.pm-delivery-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid rgba(99,102,241,0.22);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #1a1a2e;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.pm-delivery-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.10);
}
.pm-delivery-input::placeholder { color: #aaa; }
.pm-delivery-textarea { min-height: 56px; }

/* Cart drawer delivery form divider */
.cart-delivery-divider {
  border: none;
  border-top: 1.5px dashed rgba(99,102,241,0.18);
  margin: 8px 0;
}

/* ── DELIVERY POPUP ── */
#pm-delivery-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease;
}
#pm-delivery-popup.pm-dp-open { opacity: 1; }

.pm-dp-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
}
.pm-dp-box {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 22px;
  width: min(92vw, 420px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  transform: translateY(30px);
  transition: transform 0.25s ease;
  display: flex; flex-direction: column; gap: 10px;
}
#pm-delivery-popup.pm-dp-open .pm-dp-box {
  transform: translateY(0);
}
.pm-dp-title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--accent);
}
.pm-dp-sub {
  font-size: 0.85rem; color: #888;
  margin-top: -4px;
}
.pm-dp-input {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid #e0e0e0;
  border-radius: 9px;
  font-family: inherit; font-size: 0.93rem;
  color: #1a1a2e; background: #fafafa;
  outline: none; resize: none;
  transition: border-color 0.2s;
}
.pm-dp-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.10);
}
.pm-dp-input::placeholder { color: #bbb; }
.pm-dp-textarea { min-height: 60px; }
.pm-dp-btns {
  display: flex; gap: 10px; margin-top: 4px;
}
.pm-dp-cancel {
  flex: 1; padding: 11px;
  border: 1.5px solid #e0e0e0;
  border-radius: 9px; background: #f5f5f5;
  font-family: inherit; font-size: 0.93rem;
  font-weight: 600; color: #666;
  cursor: pointer; transition: background 0.2s;
}
.pm-dp-cancel:hover { background: #ececec; }
.pm-dp-confirm {
  flex: 2; padding: 11px;
  border: none; border-radius: 9px;
  background: var(--accent);
  font-family: inherit; font-size: 0.93rem;
  font-weight: 700; color: #fff;
  cursor: pointer; transition: opacity 0.2s;
}
.pm-dp-confirm:hover { opacity: 0.88; }

/* ── CATEGORY CARDS ── */
/* ── Search bar + Filter toggle ── */
.products-toolbar {
  display: flex;
  gap: 10px;
  padding: 0 4vw;
  margin-bottom: 16px;
}
.search-bar-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #9a9aa8;
  pointer-events: none;
}
.search-bar-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  background: #fff;
  color: #1a1a2e;
  outline: none;
  transition: border-color 0.2s;
}
.search-bar-input:focus { border-color: var(--accent); }
.search-bar-input::placeholder { color: #b0b0bc; }

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  background: #fff;
  color: #1a1a2e;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.filter-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── Price filter panel (collapsible) ── */
.filter-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 4vw;
}
.filter-panel.open { max-height: 300px; margin-bottom: 16px; }
.filter-panel-inner {
  background: #f8f8fb;
  border: 2px solid #f0f0f0;
  border-radius: 14px;
  padding: 16px;
}
.filter-panel-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.price-preset-btn {
  padding: 7px 14px;
  border: 2px solid #e2e2ea;
  border-radius: 20px;
  background: #fff;
  color: #4a4a58;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.price-preset-btn:hover { border-color: var(--accent); color: var(--accent); }
.price-preset-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.price-slider-row {
  margin-bottom: 10px;
}
.price-slider-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #4a4a58;
}
.price-slider-value {
  font-weight: 700;
  color: var(--accent);
}
.price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e2e2ea;
  outline: none;
  cursor: pointer;
  margin: 4px 0;
}
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent), 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}
.price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent), 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}
.price-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #9a9aa8;
  margin-top: 2px;
}
.price-filter-clear {
  background: none;
  border: none;
  color: #9a9aa8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.price-filter-clear:hover { color: var(--accent); }

.cat-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 4vw 18px;
  margin-bottom: 10px;
  scrollbar-width: none;
}
.cat-grid::-webkit-scrollbar { display: none; }

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 14px;
  padding: 12px 10px 10px;
  cursor: pointer;
  min-width: 90px;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.13);
}
.cat-card.active {
  border-color: var(--accent);
  background: #f3f3ff;
  box-shadow: 0 4px 16px rgba(99,102,241,0.15);
}
.cat-img-wrap {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}
.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  white-space: nowrap;
}
.cat-card.active .cat-name {
  color: var(--accent);
}
.cat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 2px 7px;
  min-width: 20px;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   NEW ADDITIONS — Dynamic Products, Skeleton, Reviews CTA
   ============================================================ */

/* ── CSS Variables used in reviews.html / admin.html ── */
:root {
  --text:    var(--ink);
  --surface: #fff;
  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── SKELETON LOADER ── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.product-skeleton {
  border-radius: 16px;
  height: 340px;
  background: linear-gradient(90deg, #f0ece3 25%, #e8e4da 50%, #f0ece3 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}

.testi-skeleton {
  border-radius: 12px;
  height: 160px;
  background: linear-gradient(90deg, #f0ece3 25%, #e8e4da 50%, #f0ece3 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}

/* ── PRODUCT CARD — Updated for dynamic rendering ── */
.product-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

.pc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: white;
  font-size: 0.68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: 0.5px;
}

.pc-img-wrap {
  width: 100%; height: 200px; overflow: hidden;
  background: #fff;
}
.pc-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.35s;
}
.product-card:hover .pc-img-wrap img { transform: scale(1.06); }

.pc-body {
  padding: 1.2rem; display: flex; flex-direction: column; flex: 1;
}
.pc-cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.pc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; margin-bottom: 6px;
  color: var(--ink); line-height: 1.3;
}
.pc-desc {
  font-size: 0.8rem; color: var(--muted); line-height: 1.55;
  margin-bottom: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.pc-price-row {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px;
}
.pc-price {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem; font-weight: 700; color: var(--ink);
}
.pc-price-tag {
  font-size: 0.7rem; color: var(--muted);
}

.pc-btns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.pc-btn-cart {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent; border: 1.5px solid var(--border);
  border-radius: 10px; padding: 9px 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: var(--ink); cursor: pointer; transition: all 0.2s;
}
.pc-btn-cart:hover { border-color: var(--accent); color: var(--accent); }

.pc-btn-order {
  background: var(--accent); color: white; border: none;
  border-radius: 10px; padding: 9px 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s, transform 0.1s;
}
.pc-btn-order:hover { opacity: 0.88; }
.pc-btn-order:active { transform: scale(0.97); }

.pc-btn-cart:disabled,
.pc-btn-order:disabled {
  opacity: 0.5; cursor: not-allowed;
  pointer-events: none;
}
.pc-btn-cart:disabled:hover { border-color: var(--border); color: var(--ink); }
.pc-btn-order:disabled:hover { opacity: 0.5; }

/* Out-of-stock product card + badge */
.product-card.pc-oos .pc-img-wrap { opacity: 0.6; }
.pc-badge-oos {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: #ef4444; color: white;
  font-size: 0.68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ── TESTIMONIALS — updated cards with API data ── */
.testi-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.7rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}
.tc-stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 2px; }
.tc-text  { font-size: 0.93rem; line-height: 1.65; color: var(--ink2); margin-bottom: 1.2rem; }
.tc-author { display: flex; align-items: center; gap: 10px; }
.tc-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; flex-shrink: 0;
}
.tc-name { font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.tc-date { font-size: 0.72rem; color: var(--muted); }

/* ── REVIEWS CTA ROW ── */
.reviews-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.reviews-cta-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 24px; border-radius: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
  cursor: pointer;
}

/* ── TOAST (shared) ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1714; color: #fff;
  padding: 11px 22px; border-radius: 10px;
  font-size: 0.9rem; font-weight: 500;
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: all 0.3s; white-space: nowrap; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── RIPPLE ANIMATION ── */
@keyframes pmRipple {
  to { transform: translate(-50%,-50%) scale(1); opacity: 0; }
}

/* ── FADE UP ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product Media Carousel */
.pc-media-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pc-media-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.pc-media-item {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}

.pc-media-item.active {
  display: block;
}

.pc-media-prev,
.pc-media-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-media-prev {
  left: 10px;
}

.pc-media-next {
  right: 10px;
}

/* Only apply hover color on devices with a real pointer (mouse).
   On touch devices, :hover can get "stuck" active after a tap until
   the user taps elsewhere — this keeps the orange highlight mouse-only
   and uses :active for an instant touch-tap feedback instead. */
@media (hover: hover) and (pointer: fine) {
  .pc-media-prev:hover,
  .pc-media-next:hover {
    background: var(--accent, #ff4d2e);
    border-color: var(--accent, #ff4d2e);
  }
}
.pc-media-prev:active,
.pc-media-next:active {
  background: var(--accent, #ff4d2e);
  border-color: var(--accent, #ff4d2e);
}

.pc-media-item video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mute/unmute button on autoplay videos */
.pc-mute-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.pc-mute-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}
.pc-mute-btn svg {
  width: 15px;
  height: 15px;
}

/* Click cursor hint on media items */
.pc-media-item img,
.pc-media-item video {
  cursor: zoom-in;
}

/* Media Lightbox (full-size view) */
.media-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.media-lightbox-overlay.open {
  display: flex;
}

.media-lightbox-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-lightbox-content {
  max-width: 100%;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-lightbox-content img,
.media-lightbox-content video {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Wrapper for video + its custom mute button inside the lightbox */
.ml-video-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 82vh;
}
.ml-mute-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ml-mute-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}
.ml-mute-btn svg {
  width: 18px;
  height: 18px;
}

.media-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #ff4d2e;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-lightbox-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
}
.media-lightbox-nav button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (hover: hover) and (pointer: fine) {
  .media-lightbox-nav button:hover {
    background: var(--accent, #ff4d2e);
    border-color: var(--accent, #ff4d2e);
  }
}
.media-lightbox-nav button:active {
  background: var(--accent, #ff4d2e);
  border-color: var(--accent, #ff4d2e);
}

/* ══════════════════════════════════════
   PRODUCT DETAIL MODAL (Amazon-style click-through)
   ══════════════════════════════════════ */
#pm-detail-modal {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 760px) {
  #pm-detail-modal { align-items: center; }
}

.pm-dtl-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.3s;
}
.pm-dtl-open .pm-dtl-backdrop { opacity: 1; }

.pm-dtl-box {
  position: relative; z-index: 1;
  background: #fff;
  width: 100%; max-width: 900px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
  transform: translateY(60px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.16,1,0.3,1), opacity 0.3s;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.2);
  display: flex; flex-direction: column;
}
@media (min-width: 760px) {
  .pm-dtl-box {
    border-radius: 18px;
    transform: translateY(0) scale(0.94);
    flex-direction: row;
    max-height: 85vh;
  }
}
.pm-dtl-open .pm-dtl-box { transform: translateY(0); opacity: 1; }
@media (min-width: 760px) {
  .pm-dtl-open .pm-dtl-box { transform: translateY(0) scale(1); }
}

.pm-dtl-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 5;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.9); border: none; border-radius: 50%;
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #666; transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
@media (hover: hover) and (pointer: fine) {
  .pm-dtl-close:hover { background: #ff4d2e; color: #fff; }
}

/* Media side — matches the full media lightbox exactly: dark bg, no crop
   (object-fit: contain), same nav arrows, same custom mute button. */
.pm-dtl-media {
  position: relative;
  width: 100%; aspect-ratio: 1/1;
  background: #000;
  flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 760px) {
  .pm-dtl-media { width: 46%; aspect-ratio: auto; height: auto; }
}
.pm-dtl-media-content {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.pm-dtl-media-content img,
.pm-dtl-media-content video {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
.pm-dtl-media-content .ml-video-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  max-width: 100%; max-height: 100%;
}

.pm-dtl-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  z-index: 3;
}
@media (hover: hover) and (pointer: fine) {
  .pm-dtl-nav:hover { background: var(--accent, #ff4d2e); border-color: var(--accent, #ff4d2e); }
}
.pm-dtl-nav:active { background: var(--accent, #ff4d2e); border-color: var(--accent, #ff4d2e); }
.pm-dtl-prev { left: 12px; }
.pm-dtl-next { right: 12px; }

.pm-dtl-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.pm-dtl-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: background 0.2s, width 0.2s;
}
.pm-dtl-dot.active { background: #ff4d2e; width: 18px; border-radius: 3px; }

/* Info side */
.pm-dtl-info {
  padding: 1.6rem 1.6rem 2.2rem;
  flex: 1;
  min-width: 0;
}
@media (min-width: 760px) {
  .pm-dtl-info { padding: 2.2rem 2.2rem 2.2rem 1.8rem; overflow-y: auto; }
}

.pm-dtl-cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #ff4d2e; margin-bottom: 0.4rem;
}
.pm-dtl-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 900; color: #1a1714;
  line-height: 1.15; margin-bottom: 0.5rem;
}
.pm-dtl-price {
  font-family: 'Space Mono', monospace;
  font-size: 1.15rem; font-weight: 700; color: #ff4d2e;
  margin-bottom: 1rem;
}
.pm-dtl-price-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; font-weight: 500; color: #9a9088;
  text-transform: none;
}
.pm-dtl-oos-badge {
  display: inline-block;
  background: #ef4444; color: white;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.pm-dtl-desc {
  font-size: 0.88rem; color: #6b625a; line-height: 1.6;
  margin-bottom: 1.4rem;
}

/* Size selector */
.pm-dtl-sizes { margin-bottom: 1.4rem; }
.pm-dtl-sizes-label {
  font-size: 0.82rem; font-weight: 700; color: #1a1714; margin-bottom: 0.6rem;
}
.pm-dtl-required { color: #ff4d2e; }
.pm-dtl-size-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.5rem; }
.pm-dtl-size-chip {
  min-width: 44px; padding: 9px 14px;
  background: #f5f1ea; border: 1.5px solid #e8e2d6; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 700;
  color: #1a1714; cursor: pointer; transition: all 0.15s;
}
.pm-dtl-size-chip:hover { border-color: #ff4d2e; }
.pm-dtl-size-chip.active {
  background: #ff4d2e; border-color: #ff4d2e; color: #fff;
}
.pm-dtl-size-hint {
  font-size: 0.76rem; color: #9a9088;
}
.pm-dtl-size-hint.ok { color: #25a35a; font-weight: 600; }
.pm-dtl-size-hint.shake {
  color: #ff4d2e; font-weight: 600;
  animation: pmSizeShake 0.4s ease;
}
@keyframes pmSizeShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Action buttons */
.pm-dtl-btns { display: flex; flex-direction: column; gap: 0.8rem; }
.pm-dtl-btn-cart, .pm-dtl-btn-order {
  width: 100%; justify-content: center;
  padding: 0.95rem; border-radius: 10px;
  font-size: 0.95rem;
}
.pm-dtl-btn-cart:disabled, .pm-dtl-btn-order:disabled {
  opacity: 0.45; cursor: not-allowed;
}
