
/* ----- RESET & ROOT ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --pink: #FF6B81;
  --yellow: #FFD166;
  --purple: #7B61FF;
  --bg: #F5F7FA;
  --dark: #2D3748;
  --success: #22C55E;
  --white: #FFFFFF;
  --r: 24px;
  --rl: 32px;
}
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  padding-bottom: 70px; /* space for mobile nav */
}
@media (min-width: 769px) {
  body { padding-bottom: 0; }
}

/* ----- UTILITY ----- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ----- NAVBAR (sticky) ----- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,107,129,0.12);
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: 0 4px 24px rgba(123,97,255,0.07);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 38px; height: 38px; background:  border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; }
.logo-text { font-size: 1.2rem; font-weight: 800; background: linear-gradient(135deg,var(--pink),var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo-tag { font-size: 0.6rem; color: #999; font-weight: 500; display: block; margin-top: -3px; }
.nav-menu { display: flex; gap: 1.8rem; list-style: none; }
.nav-menu a { text-decoration: none; color: var(--dark); font-size: 0.82rem; font-weight: 600; transition: color 0.2s; position: relative; }
.nav-menu a:hover { color: var(--pink); }
.nav-menu a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--pink); border-radius: 2px; transition: width 0.2s; }
.nav-menu a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; position: relative; border: none; transition: all 0.2s; color: var(--dark); }
.nav-icon:hover { background: #ffe4e8; transform: translateY(-1px); }
.nav-icon .badge { position: absolute; top: -4px; right: -4px; background: var(--pink); color: white; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.btn-login { background: linear-gradient(135deg,var(--pink),var(--purple)); color: white; border: none; padding: 8px 18px; border-radius: 12px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 14px rgba(255,107,129,0.35); }
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,129,0.4); }

/* ----- HERO ----- */
.hero {
  background: linear-gradient(135deg, #fff5f7 0%, #f0ecff 50%, #fff8e7 100%);
  padding: 3rem 1.5rem 3rem;
  position: relative; overflow: hidden;
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,107,129,0.1); color: var(--pink); font-size: 0.75rem; font-weight: 700; padding: 6px 14px; border-radius: 100px; border: 1px solid rgba(255,107,129,0.2); margin-bottom: 1rem; }
.hero-badge span { animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; color: var(--dark); margin-bottom: 1rem; }
.hero h1 .highlight { background: linear-gradient(135deg,var(--pink),var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1rem; color: #718096; line-height: 1.7; margin-bottom: 1.5rem; max-width: 460px; }
.hero-btns { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.btn-primary { background: linear-gradient(135deg,var(--pink),#ff4b6b); color: white; border: none; padding: 14px 28px; border-radius: 16px; font-size: 0.9rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 24px rgba(255,107,129,0.38); transition: all 0.25s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255,107,129,0.45); }
.btn-secondary { background: white; color: var(--dark); border: 2px solid rgba(123,97,255,0.2); padding: 14px 28px; border-radius: 16px; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: all 0.25s; }
.btn-secondary:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-3px); }
.hero-search { background: white; border-radius: 20px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 20px rgba(123,97,255,0.12); border: 1.5px solid rgba(123,97,255,0.1); margin-bottom: 1.5rem; max-width: 440px; }
.hero-search input { border: none; outline: none; font-size: 0.9rem; flex: 1; font-family: inherit; color: var(--dark); background: transparent; }
.hero-search input::placeholder { color: #bbb; }
.search-btn { background: var(--pink); color: white; border: none; padding: 8px 16px; border-radius: 12px; font-size: 0.8rem; font-weight: 700; cursor: pointer; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 280px; }
.hero-giftbox { width: 200px; height: 200px; background: linear-gradient(135deg,#fff0f3,#f3f0ff); border-radius: 32px; display: flex; align-items: center; justify-content: center; font-size: 90px; box-shadow: 0 20px 60px rgba(123,97,255,0.2), 0 4px 16px rgba(255,107,129,0.15); position: relative; animation: floatBox 4s ease-in-out infinite; border: 2px solid rgba(255,255,255,0.8); }
.hero-giftbox i { font-size: 5rem; color: var(--pink); }
@keyframes floatBox { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.floating-el { position: absolute; animation: floatAlt 3s ease-in-out infinite; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; width: 52px; height: 52px; background: rgba(255,255,255,0.8); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.float-1 { top: 10px; left: 5px; animation-delay: 0.5s; }
.float-2 { top: 10px; right: 10px; animation-delay: 1s; }
.float-3 { bottom: 20px; left: 10px; animation-delay: 1.5s; }
.float-4 { bottom: 10px; right: 5px; animation-delay: 0.8s; }
@keyframes floatAlt { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(8deg); } }

/* ----- TRUST BAR ----- */
.trust-bar { background: white; padding: 0.8rem 1rem; border-bottom: 1px solid #f0f0f0; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: #555; }
.trust-item .tick { color: var(--success); font-size: 0.9rem; }

/* ----- SECTIONS ----- */
.section { padding: 3.5rem 1.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.section-title { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 0.7rem; }
.section-sub { font-size: 1rem; color: #718096;  line-height: 1.7; margin-bottom: 2rem; }
.section-head { margin-bottom: 2rem; }
.section.light { background: white; }
.section.gray { background: var(--bg); }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.cat-card { background: white; border-radius: var(--r); padding: 1.2rem 0.8rem; text-align: center; cursor: pointer; transition: all 0.3s; border: 2px solid transparent; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.cat-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 48px rgba(255,107,129,0.15); border-color: rgba(255,107,129,0.2); }
.cat-icon { font-size: 2.2rem; margin-bottom: 0.5rem; display: block; }
.cat-name { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.cat-count { font-size: 0.7rem; color: #999; margin-top: 3px; }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.prod-card { background: white; border-radius: var(--r); overflow: hidden; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.07); position: relative; }
.prod-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(123,97,255,0.14); }
.prod-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; position: relative; }
.prod-img.pink-bg { background: linear-gradient(135deg,#fff0f3,#ffe4e8); }
.prod-img.purple-bg { background: linear-gradient(135deg,#f0ecff,#e4deff); }
.prod-img.yellow-bg { background: linear-gradient(135deg,#fffbec,#fff4d0); }
.prod-img.green-bg { background: linear-gradient(135deg,#ecfff5,#d0ffe7); }
.badge { position: absolute; top: 10px; left: 10px; font-size: 0.6rem; font-weight: 800; padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-best { background: var(--yellow); color: #7a5800; }
.badge-new { background: var(--success); color: white; }
.badge-trend { background: var(--pink); color: white; }
.badge-ltd { background: var(--purple); color: white; }
.wishlist-btn { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1); font-size: 1rem; transition: all 0.2s; color: var(--dark); }
.wishlist-btn:hover { transform: scale(1.15); background: #ffe4e8; }
.prod-body { padding: 1rem; }
.prod-name { font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.prod-stars { color: var(--yellow); font-size: 0.75rem; margin-bottom: 6px; }
.prod-price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prod-price { font-size: 1rem; font-weight: 800; color: var(--pink); }
.prod-orig { font-size: 0.75rem; color: #bbb; text-decoration: line-through; }
.prod-disc { font-size: 0.7rem; font-weight: 700; color: var(--success); }
.add-cart { width: 100%; margin-top: 10px; background: linear-gradient(135deg,var(--pink),var(--purple)); color: white; border: none; padding: 9px; border-radius: 12px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.add-cart:hover { opacity: 0.9; transform: translateY(-1px); }

/* Gift Finder */
.gift-finder { background: linear-gradient(135deg,#1a1040,#2d1b69); border-radius: var(--rl); padding: 2rem 1.5rem; }
.finder-title { color: white; font-size: 1.6rem; font-weight: 800; margin-bottom: 0.3rem; }
.finder-sub { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; }
.finder-steps { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; align-items: center; }
.step-dot { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.15); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; transition: all 0.3s; border: 2px solid transparent; }
.step-dot.active { background: var(--pink); border-color: rgba(255,107,129,0.4); }
.step-dot.done { background: var(--success); }
.finder-step { display: none; }
.finder-step.active { display: block; }
.step-label { color: rgba(255,255,255,0.7); font-size: 0.82rem; font-weight: 600; margin-bottom: 1rem; }
.option-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.option-btn { background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.15); color: white; padding: 8px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.option-btn:hover, .option-btn.selected { background: var(--pink); border-color: var(--pink); }
.finder-nav { display: flex; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.finder-btn { padding: 10px 22px; border-radius: 14px; font-size: 0.85rem; font-weight: 700; cursor: pointer; border: none; transition: all 0.2s; }
.finder-next { background: linear-gradient(135deg,var(--pink),var(--purple)); color: white; }
.finder-back { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); }
.finder-result { color: white; text-align: center; padding: 1rem 0; }
.result-gifts { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.5rem; }
.result-gift { background: rgba(255,255,255,0.1); border-radius: 16px; padding: 1rem; text-align: center; border: 1px solid rgba(255,255,255,0.15); }
.result-gift .r-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.result-gift .r-name { color: white; font-size: 0.8rem; font-weight: 700; }
.result-gift .r-price { color: var(--yellow); font-size: 0.75rem; margin-top: 4px; }

/* Flash sale */
.flash-sale { background: linear-gradient(135deg,#ff3a5c,#ff6b81); border-radius: var(--rl); padding: 2rem 1.5rem; color: white; position: relative; overflow: hidden; }
.flash-sale::before { content: ''; position: absolute; top: -50%; right: -10%; width: 300px; height: 300px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.flash-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.3rem; }
.flash-sub { opacity: 0.85; margin-bottom: 1.5rem; }
.timer { display: flex; gap: 0.8rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.timer-box { background: rgba(0,0,0,0.25); border-radius: 12px; padding: 8px 14px; text-align: center; min-width: 60px; }
.timer-num { font-size: 1.6rem; font-weight: 800; display: block; }
.timer-label { font-size: 0.65rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }
.flash-products { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1rem; margin-top: 1rem; }
.flash-prod { background: rgba(255,255,255,0.12); border-radius: 16px; padding: 1rem; border: 1px solid rgba(255,255,255,0.2); text-align: center; transition: all 0.2s; }
.flash-prod:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.flash-prod .fp-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.flash-prod .fp-name { font-size: 0.8rem; font-weight: 700; }
.flash-prod .fp-price { font-size: 1rem; font-weight: 800; color: var(--yellow); }
.flash-prod .fp-disc { font-size: 0.7rem; opacity: 0.7; text-decoration: line-through; }
.flash-badge { display: inline-block; background: var(--yellow); color: #7a4800; font-size: 0.7rem; font-weight: 800; padding: 3px 10px; border-radius: 100px; margin-bottom: 0.4rem; }

/* Occasions */
.occ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.occ-card { border-radius: var(--r); padding: 1.2rem 0.8rem; text-align: center; cursor: pointer; transition: all 0.3s; }
.occ-card:hover { transform: translateY(-5px) scale(1.02); }
.occ-card .occ-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.occ-card .occ-name { font-size: 0.82rem; font-weight: 700; }
.occ-card .occ-count { font-size: 0.7rem; opacity: 0.7; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.why-card { background: white; border-radius: var(--r); padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; border-bottom: 3px solid transparent; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(123,97,255,0.12); border-bottom-color: var(--pink); }
.why-icon { font-size: 1.8rem; margin-bottom: 0.8rem; width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.why-icon.pink-icon { background: linear-gradient(135deg,#fff0f3,#ffe4e8); }
.why-icon.purple-icon { background: linear-gradient(135deg,#f0ecff,#e4deff); }
.why-icon.yellow-icon { background: linear-gradient(135deg,#fffbec,#fff4d0); }
.why-icon.green-icon { background: linear-gradient(135deg,#ecfff5,#d0ffe7); }
.why-name { font-size: 0.9rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.why-desc { font-size: 0.78rem; color: #718096; line-height: 1.6; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.testi-card { background: white; border-radius: var(--r); padding: 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); position: relative; }
.testi-card::before { content: '"'; font-size: 3.5rem; color: rgba(255,107,129,0.15); font-weight: 800; position: absolute; top: 10px; right: 20px; line-height: 1; }
.testi-stars { color: var(--yellow); font-size: 0.9rem; margin-bottom: 0.6rem; }
.testi-text { font-size: 0.85rem; color: #555; line-height: 1.6; margin-bottom: 1rem; }
.testi-user { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: white; font-size: 0.9rem; }
.testi-name { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.testi-loc { font-size: 0.72rem; color: #999; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.8rem; }
.insta-item { border-radius: 16px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; cursor: pointer; position: relative; transition: all 0.3s; background: #f0f0f0; }
.insta-item:hover { transform: scale(1.04); }
.insta-item::after { content: attr(data-likes) ' ♥'; position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.55); color: white; font-size: 0.65rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; opacity: 0; transition: opacity 0.25s; white-space: nowrap; }
.insta-item:hover::after { opacity: 1; }

/* Newsletter */
.newsletter { background: linear-gradient(135deg,#f0ecff,#fff0f3); border-radius: var(--rl); padding: 2.5rem 1.5rem; text-align: center; }
.nl-title { font-size: 1.8rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.nl-sub { color: #718096; margin-bottom: 1.5rem; }
.nl-form { display: flex; gap: 0.7rem; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.nl-input { flex: 1; padding: 12px 16px; border-radius: 14px; border: 2px solid rgba(123,97,255,0.15); outline: none; font-size: 0.9rem; font-family: inherit; min-width: 180px; }
.nl-input:focus { border-color: var(--purple); }
.nl-btn { background: linear-gradient(135deg,var(--pink),var(--purple)); color: white; border: none; padding: 12px 22px; border-radius: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; font-size: 0.85rem; }

/* Footer */
.footer { background: var(--dark); color: white; padding: 3rem 1.5rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-text { color: white; -webkit-text-fill-color: white; }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.82rem; margin: 0.7rem 0 1.2rem; line-height: 1.6; }
.social-links { display: flex; gap: 0.6rem; }
.social-link { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all 0.2s; text-decoration: none; color: white; }
.social-link:hover { background: var(--pink); transform: translateY(-2px); }
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--pink); }
.payment-methods { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.pay-badge { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 4px 12px; font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.7); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.2rem; font-size: 0.75rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 0.5rem; }

/* Mobile bottom nav */
.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid #f0f0f0; padding: 0.3rem 0; z-index: 200; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); }
.mobile-nav-inner { display: flex; justify-content: space-around; }
.mob-nav-item { text-decoration: none;display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 12px; cursor: pointer; transition: all 0.2s; font-size: 0.6rem; font-weight: 600; color: #999; }
.mob-nav-item.active, .mob-nav-item:hover { color: var(--pink); background: rgba(255,107,129,0.08); }
.mob-nav-item .mob-icon { font-size: 1.3rem; }

/* Personalized preview */
.pers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.pers-form { display: flex; flex-direction: column; gap: 1rem; }
.pers-input { padding: 12px 16px; border-radius: 14px; border: 2px solid rgba(123,97,255,0.15); outline: none; font-size: 0.88rem; font-family: inherit; color: var(--dark); transition: border-color 0.2s; background: white; width: 100%; }
.pers-input:focus { border-color: var(--purple); }
.upload-area { border: 2px dashed rgba(123,97,255,0.3); border-radius: 14px; padding: 1.2rem; text-align: center; cursor: pointer; color: var(--purple); font-size: 0.85rem; font-weight: 600; transition: all 0.2s; background: rgba(123,97,255,0.03); }
.upload-area:hover { background: rgba(123,97,255,0.07); border-color: var(--purple); }
.preview-box { background: white; border-radius: var(--rl); padding: 1.8rem; box-shadow: 0 12px 48px rgba(123,97,255,0.12); text-align: center; border: 2px solid rgba(123,97,255,0.1); }
.preview-mug { font-size: 4rem; display: block; margin-bottom: 0.8rem; }
.preview-text { font-size: 0.78rem; color: #999; }
.preview-name { font-size: 1rem; font-weight: 800; color: var(--purple); margin-top: 0.5rem; }

/* Responsive Media Queries */
@media (max-width: 992px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-search { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-visual { min-height: 200px; }
  .hero-giftbox { width: 160px; height: 160px; font-size: 3.5rem; }
  .hero-giftbox i { font-size: 3.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pers-grid { grid-template-columns: 1fr; }
  .result-gifts { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .mobile-nav { display: block; }
  body { padding-bottom: 70px; }
  .navbar { padding: 0 1rem; }
  .btn-login { padding: 6px 14px; font-size: 0.7rem; }
  .nav-icon { width: 32px; height: 32px; font-size: 14px; }
  .section { padding: 2.5rem 1rem; }
  .flash-title { font-size: 1.5rem; }
  .finder-title { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .trust-item { font-size: 0.7rem; gap: 4px; }
  .trust-inner { gap: 1rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .occ-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .result-gifts { grid-template-columns: 1fr; }
}
/* Hide wishlist icon on mobile headers */
@media (max-width: 768px) {
  nav.navbar .nav-actions a[href="wishlist.php"] {
    display: none !important;
  }
}