/* ============================================================
   VIVEKA DIGITAL HUB - Master Stylesheet
   Color Theme: Deep Blue + Golden Yellow + White
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ======================== CSS VARIABLES ======================== */
:root {
  --primary:       #1a2e5a;
  --primary-light: #2d4a8a;
  --primary-dark:  #0f1d3a;
  --accent:        #f5c518;
  --accent-light:  #ffd94d;
  --accent-dark:   #d4a800;
  --white:         #ffffff;
  --off-white:     #f8f9fc;
  --gray-100:      #f1f4f8;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-600:      #64748b;
  --gray-800:      #1e293b;
  --success:       #10b981;
  --danger:        #ef4444;
  --warning:       #f59e0b;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.1);
  --shadow-md:     0 4px 16px rgba(26,46,90,0.12);
  --shadow-lg:     0 10px 40px rgba(26,46,90,0.18);
  --shadow-xl:     0 20px 60px rgba(26,46,90,0.22);
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-main:     'Inter', sans-serif;
  --font-heading:  'Outfit', sans-serif;
}

/* ======================== BASE RESET ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--off-white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Touch-friendly tap targets */
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button { cursor: pointer; font-family: var(--font-main); border: none; outline: none; min-height: 44px; }
input, textarea, select { font-family: var(--font-main); border: none; outline: none; }

/* Prevent text overflow on small screens */
p, h1, h2, h3, h4, li { overflow-wrap: break-word; word-break: break-word; }

/* ======================== FLOATING WHATSAPP ======================== */
.wa-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  z-index: 9997;
  text-decoration: none;
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 6px 34px rgba(37,211,102,0.75), 0 0 0 8px rgba(37,211,102,0.12); }
}
.wa-fab-tooltip {
  position: absolute;
  right: 66px;
  background: var(--primary-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-family: var(--font-main);
}
.wa-fab:hover .wa-fab-tooltip { opacity: 1; }

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ======================== NAVBAR ======================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(26,46,90,0.35);
  transition: var(--transition);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav-logo-text .brand-tagline {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: rgba(245,197,24,0.12);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ======================== HERO ======================== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 90px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(245,197,24,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,197,24,0.06) 0%, transparent 40%);
}

.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======================== COUPON SECTION ======================== */
.coupon-section {
  background: var(--white);
  padding: 30px 20px;
  border-bottom: 2px solid var(--gray-100);
}

.coupon-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.coupon-inner h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.coupon-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 12px;
}

.coupon-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  background: var(--gray-100);
  color: var(--primary);
}

.coupon-input:focus {
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,46,90,0.1);
}

.coupon-input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--gray-400); }

.coupon-msg {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 0;
  min-height: 28px;
  transition: var(--transition);
}

.coupon-msg.success { color: var(--success); }
.coupon-msg.error   { color: var(--danger); }
.coupon-msg.warning { color: var(--warning); }

/* Active coupon badge */
.active-coupon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 1px solid var(--success);
  color: #155724;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 4px;
}

/* ======================== SEARCH ======================== */
.search-section {
  background: var(--gray-100);
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.search-wrapper {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(26,46,90,0.1);
}

.search-input::placeholder { color: var(--gray-400); }

/* ======================== SECTIONS ======================== */
.section {
  padding: 60px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-label {
  display: inline-block;
  background: rgba(26,46,90,0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.container { max-width: 1280px; margin: 0 auto; }

/* ======================== PRODUCT GRID ======================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ======================== PRODUCT CARD ======================== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-100);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img { transform: scale(1.06); }

/* Badge */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge-bestseller { background: var(--accent); color: var(--primary-dark); }
.badge-trending   { background: #ef4444; color: #fff; }
.badge-new        { background: var(--success); color: #fff; }

.product-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-code {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(45,74,138,0.08);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  width: fit-content;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

.product-desc {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.55;
  flex: 1;
}

.product-sales {
  font-size: 0.8rem;
  color: #e65b00;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.price-original {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.price-discount {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(16,185,129,0.1);
  padding: 2px 8px;
  border-radius: 100px;
}

.btn-buy {
  margin-top: 6px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(26,46,90,0.3);
}

.btn-buy:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,46,90,0.4);
}

.btn-buy:active { transform: translateY(0); }

/* WhatsApp green variant */
.btn-buy.wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.btn-buy.wa:hover {
  background: linear-gradient(135deg, #20b855, #0f7060);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,46,90,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,46,90,0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(245,197,24,0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* ======================== CATEGORY FILTER ======================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26,46,90,0.2);
}

/* ======================== CATEGORY CARDS ======================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.cat-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cat-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(26,46,90,0.05), rgba(45,74,138,0.07));
}

.cat-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}

.cat-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.cat-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ======================== ABOUT PAGE ======================== */
.about-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  padding: 80px 20px 60px;
  text-align: center;
  color: var(--white);
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto;
}

.about-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-content p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ======================== CONTACT PAGE ======================== */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  padding: 70px 20px 60px;
  text-align: center;
  color: var(--white);
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-hero p {
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-info-card h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}

.contact-item:last-of-type {
  border-bottom: none;
  margin-bottom: 24px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-map-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-top: 24px;
  text-align: center;
  flex-direction: column;
  gap: 10px;
}
.contact-map-placeholder p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.form-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
  margin-top: 12px;
}

.contact-form-card h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  background: var(--gray-100);
  color: var(--gray-800);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,46,90,0.1);
}

textarea.form-control { resize: vertical; min-height: 110px; }

/* ======================== PRIVACY PAGE ======================== */
.privacy-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 70px 20px 50px;
  text-align: center;
  color: var(--white);
}

.privacy-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.privacy-hero p { color: rgba(255,255,255,0.7); }

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.privacy-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.privacy-section h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-section h2 span { color: var(--primary-light); }

.privacy-section p, .privacy-section li {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.privacy-section ul {
  padding-left: 20px;
  list-style: disc;
}

.privacy-section ul li { margin-bottom: 6px; }

/* ======================== FOOTER ======================== */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 20px 0;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo { margin-bottom: 14px; }

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--accent); }

/* ======================== NO RESULTS ======================== */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
  grid-column: 1 / -1;
}

.no-results .nr-icon { font-size: 3rem; margin-bottom: 12px; }
.no-results h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-600); }
.no-results p { font-size: 0.9rem; }

/* ======================== TOAST NOTIFICATION ======================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-dark);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 9999;
  border-left: 4px solid var(--accent);
  max-width: 320px;
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ======================== UTILITIES ======================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-success { color: var(--success); }
.bg-light     { background: var(--gray-100); }
.hidden       { display: none !important; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mb-2  { margin-bottom: 16px; }
.divider { height: 1px; background: var(--gray-200); margin: 0; }

/* Highlight on valid search */
.product-card.search-highlight { border-color: var(--accent) !important; }

/* Category section titles */
.cat-section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ======================== ANIMATIONS ======================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

@keyframes shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.fade-up { animation: fadeUp 0.5s ease both; }

.animate-pulse { animation: pulse 2s infinite; }

/* ======================== RESPONSIVE ======================== */

/* ---- Tablet (≤ 900px) ---- */
@media (max-width: 900px) {
  .footer-grid          { grid-template-columns: 1fr 1fr; }
  .footer-brand         { grid-column: 1 / -1; }
  .contact-grid         { grid-template-columns: 1fr; }
  .features-grid        { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .products-grid        { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
}

/* ---- Mobile (≤ 680px) ---- */
@media (max-width: 680px) {

  /* Navbar */
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-menu.open       { display: flex; }
  .nav-link            { padding: 13px 16px; border-radius: var(--radius-sm); width: 100%; font-size: 0.95rem; }
  .nav-toggle          { display: flex; }
  .nav-logo-text .brand-name { font-size: 1rem; }

  /* Hero */
  .hero                { padding: 50px 16px 40px; }
  .hero h1             { font-size: 1.7rem; }
  .hero p              { font-size: 0.95rem; }
  .hero-stats          { gap: 16px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-stat .stat-num { font-size: 1.3rem; }
  .hero-badge          { font-size: 0.7rem; padding: 5px 12px; }

  /* Coupon */
  .coupon-section      { padding: 22px 16px; }
  .coupon-form         { flex-direction: column; gap: 10px; }
  .coupon-form .btn    { width: 100%; justify-content: center; padding: 13px; }
  .coupon-input        { font-size: 0.9rem; padding: 12px 14px; }

  /* Search */
  .search-section      { padding: 14px 16px; }
  .search-input        { font-size: 0.88rem; padding: 12px 12px 12px 42px; }

  /* Sections */
  .section             { padding: 36px 16px; }
  .section-header      { margin-bottom: 28px; }
  .section-header h2   { font-size: 1.4rem; }
  .section-header p    { font-size: 0.9rem; }

  /* Products grid */
  .products-grid       { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-name        { font-size: 0.95rem; }
  .product-desc        { font-size: 0.8rem; }
  .price-current       { font-size: 1.2rem; }
  .btn-buy             { padding: 12px 14px; font-size: 0.88rem; }
  .product-body        { padding: 14px; gap: 6px; }

  /* Category filter */
  .filter-bar          { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn          { white-space: nowrap; flex-shrink: 0; padding: 8px 16px; font-size: 0.8rem; }

  /* Category cards */
  .cat-grid            { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
  .cat-card            { padding: 18px 12px; }
  .cat-icon            { font-size: 1.8rem; margin-bottom: 8px; }
  .cat-card h3         { font-size: 0.85rem; }
  .cat-card p          { font-size: 0.75rem; }

  /* Features */
  .features-grid       { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card        { padding: 20px 14px; }
  .feature-icon        { width: 48px; height: 48px; font-size: 1.3rem; margin-bottom: 12px; }
  .feature-card h3     { font-size: 0.9rem; }
  .feature-card p      { font-size: 0.8rem; }

  /* About hero */
  .about-hero          { padding: 50px 16px 36px; }
  .about-hero h1       { font-size: 1.6rem; }
  .about-content       { padding: 36px 16px; }
  .about-content p     { font-size: 0.92rem; }

  /* Contact */
  .contact-hero        { padding: 50px 16px 36px; }
  .contact-hero h1     { font-size: 1.5rem; }
  .contact-info-card,
  .contact-form-card   { padding: 24px 18px; }
  .btn                 { padding: 12px 20px; font-size: 0.88rem; }

  /* Privacy */
  .privacy-hero        { padding: 50px 16px 36px; }
  .privacy-content     { padding: 36px 16px; }
  .privacy-section     { padding: 20px 16px; }

  /* Footer */
  .footer-grid         { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-bottom       { flex-direction: column; text-align: center; gap: 8px; }
  footer               { padding: 36px 16px 0; }

  /* Buttons global */
  .btn-primary,
  .btn-accent,
  .btn-whatsapp,
  .btn-outline         { padding: 12px 22px; font-size: 0.88rem; }
}

/* ---- Small Mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  /* Single column products */
  .products-grid       { grid-template-columns: 1fr; gap: 14px; }
  .features-grid       { grid-template-columns: 1fr; }

  /* Hero */
  .hero                { padding: 44px 14px 36px; }
  .hero h1             { font-size: 1.5rem; }
  .hero-stats          { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Larger product images on single col */
  .product-img-wrap    { aspect-ratio: 16/9; }

  /* Contact info stacking */
  .contact-item        { flex-direction: column; gap: 8px; }
  .contact-icon-box    { width: 40px; height: 40px; font-size: 1rem; }

  /* About content inline styles override */
  .about-content [style*="grid-template-columns"] { grid-template-columns: 1fr 1fr !important; }

  /* Coupon section font */
  .coupon-inner h3     { font-size: 0.9rem; }

  /* Privacy */
  .privacy-section h2  { font-size: 1rem; }

  /* filter bar */
  .filter-bar          { gap: 8px; }

  /* cat grid → single col */
  .cat-grid            { grid-template-columns: 1fr 1fr; }

  /* Owner links stacked */
  .owner-links         { flex-direction: column; }
  .owner-link          { justify-content: center; width: 100%; }
}

/* ---- Extra Small (≤ 380px) ---- */
@media (max-width: 380px) {
  html                 { font-size: 14px; }

  .nav-logo-text .brand-name    { font-size: 0.9rem; }
  .nav-logo-text .brand-tagline { display: none; }
  .nav-logo img        { width: 38px; height: 38px; }

  .hero h1             { font-size: 1.35rem; }
  .hero p              { font-size: 0.88rem; }
  .hero-stats          { grid-template-columns: 1fr 1fr; }

  .products-grid       { grid-template-columns: 1fr; }
  .cat-grid            { grid-template-columns: 1fr; }

  .price-current       { font-size: 1.1rem; }
  .btn-buy             { font-size: 0.85rem; padding: 11px; }

  .section             { padding: 28px 12px; }
  .coupon-section      { padding: 18px 12px; }
  .search-section      { padding: 12px; }

  .owner-name          { font-size: 1.3rem; }
  .owner-quote         { padding: 20px 14px; font-size: 0.9rem; }
}

/* ======================== OWNER SECTION ======================== */
.owner-section {
  background: var(--gray-100);
  padding: 60px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.owner-container {
  max-width: 960px;
  margin: 0 auto;
}

.owner-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

/* Decorative background accent */
.owner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
}

/* ---- Avatar ---- */
.owner-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.owner-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--accent);
  box-shadow: 0 8px 32px rgba(26,46,90,0.25);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.owner-avatar-initials {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  user-select: none;
}

.owner-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--success), #0d9668);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(16,185,129,0.35);
}

/* ---- Info ---- */
.owner-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.owner-meta-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.owner-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  line-height: 1.1;
}

.owner-title {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.owner-bio {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin: 0;
}

/* ---- Tags ---- */
.owner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.owner-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(26,46,90,0.07);
  color: var(--primary);
  border: 1px solid rgba(26,46,90,0.14);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
  transition: var(--transition);
}

.owner-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ---- Social / Links ---- */
.owner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.owner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}

.owner-link-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(37,211,102,0.3);
}
.owner-link-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.owner-link-yt {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(255,0,0,0.25);
}
.owner-link-yt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,0,0,0.35);
}

.owner-link-ph {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.owner-link-ph:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Quote ---- */
.owner-quote {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--accent);
  line-height: 0;
  vertical-align: -0.6em;
  font-style: normal;
}

.quote-author {
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  font-style: normal;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .owner-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 24px;
  }

  .owner-avatar-wrap {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .owner-avatar {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }

  .owner-avatar-initials { font-size: 2rem; }

  .owner-name { font-size: 1.55rem; }

  .owner-quote { padding: 24px 20px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .owner-avatar-wrap { flex-direction: column; }
  .owner-links { flex-direction: column; }
  .owner-link { justify-content: center; }
}

