/* ============================================
   AteşÖlçer.io — NexTemp® Official Brand Theme  
   Faithful adaptation of nextemp.us design
   ============================================ */

@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');

:root {
  /* NexTemp Brand Colors — exact match */
  --nextemp-green: #1B6B3E;
  --nextemp-green-light: #228B4F;
  --nextemp-green-dark: #145530;
  --nextemp-green-pale: #E8F5EE;
  --nextemp-green-bg: #EBF4EF;
  --nextemp-dark: #1C2B3A;
  --nextemp-dark-2: #243447;
  --nextemp-orange: #E8683A;
  --nextemp-yellow: #F5B731;

  /* Light neutrals */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFB;
  --bg-section: #F2F5F3;
  --text-dark: #1A1A2E;
  --text-body: #4A4A5A;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --border-green: rgba(27, 107, 62, 0.15);

  --section-padding: 88px 0;
  --container-width: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-white); color: var(--text-dark);
  line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family:'Outfit',sans-serif; line-height:1.2; letter-spacing:-0.02em;
}
a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }

.container { max-width:var(--container-width); margin:0 auto; padding:0 24px; }

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  background: linear-gradient(90deg, var(--nextemp-green) 0%, var(--nextemp-orange) 100%);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.announcement-bar a { color: white; text-decoration: underline; }

/* === NAVBAR === */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: all 0.3s ease;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand { display:flex; align-items:center; gap:8px; }
.navbar-brand .logo-icon { height: 28px; width: auto; }
.navbar-brand .brand-text {
  font-family:'Outfit',sans-serif; font-size:1.3rem; font-weight:700;
  color: var(--nextemp-green);
}
.navbar-menu { display:flex; align-items:center; gap:28px; }
.navbar-menu a {
  font-size:0.88rem; font-weight:500; color:var(--text-body);
  transition: color var(--transition);
}
.navbar-menu a:hover { color: var(--nextemp-green); }
.navbar-cta .btn { padding:10px 24px; font-size:0.88rem; }
.mobile-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; }
.mobile-toggle span { width:24px; height:2px; background:var(--text-dark); border-radius:2px; }

/* === BUTTONS === */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 32px; border-radius:var(--radius); font-family:'Outfit',sans-serif;
  font-size:0.95rem; font-weight:600; cursor:pointer; border:none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--text-dark); color: white;
}
.btn-primary:hover { background: #000; transform:translateY(-2px); box-shadow:var(--shadow-md); }

.btn-green {
  background: var(--nextemp-green); color: white;
}
.btn-green:hover { background: var(--nextemp-green-dark); transform:translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--nextemp-green);
  border: 2px solid var(--nextemp-green);
}
.btn-outline:hover { background: var(--nextemp-green); color: white; transform:translateY(-2px); }

.btn-whatsapp { background:#25D366; color:white; }
.btn-whatsapp:hover { background:#128C7E; transform:translateY(-2px); }

.btn-orange { background: var(--nextemp-orange); color: white; }
.btn-orange:hover { background: #D05828; transform:translateY(-2px); box-shadow:0 4px 16px rgba(232,104,58,0.3); }

/* === SECTION UTILITIES === */
.section-badge {
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 16px; background:var(--nextemp-green);
  border-radius:6px; font-size:0.75rem; font-weight:700;
  color:white; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:16px;
}
.section-title {
  font-size:clamp(1.8rem,4vw,2.6rem); font-weight:800; margin-bottom:16px;
}
.section-subtitle {
  font-size:1.05rem; color:var(--text-body); max-width:640px; line-height:1.8;
}

/* === HERO / PRODUCT === */
.hero {
  padding: 48px 0 64px;
  background: var(--bg-light);
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:start;
}

/* Product Gallery */
.product-gallery { position: relative; }
.product-main-image {
  background: var(--nextemp-green-pale);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  min-height: 480px;
}
.product-main-image img {
  max-height: 440px; width: auto; object-fit: contain;
}
.product-thumbnails {
  display: flex; gap: 10px; margin-top: 16px; overflow-x: auto;
  padding-bottom: 4px;
}
.product-thumbnails img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: border-color var(--transition);
}
.product-thumbnails img:hover,
.product-thumbnails img.active {
  border-color: var(--nextemp-green);
}

/* Product Info */
.product-info-section { padding-top: 8px; }
.product-sold-badge {
  display: inline-block;
  background: var(--nextemp-green);
  color: white; padding: 4px 12px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 12px;
}
.product-title {
  font-size: 2.4rem; font-weight: 800; margin-bottom: 8px;
  color: var(--text-dark);
}
.product-price-hero {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 12px;
  color: var(--text-dark);
}
.product-price-hero .note {
  display:block; font-size:0.82rem; font-weight:400; color:var(--text-muted); margin-top:4px;
}
.product-rating {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.product-rating .stars { color: #F5B731; font-size: 1.1rem; }
.product-rating .count { font-size: 0.85rem; color: var(--text-muted); }

/* Trust Badges SVG */
.trust-badges-wrap {
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-badges-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* Product Bullet Points */
.product-bullets { margin: 20px 0; }
.product-bullets li {
  font-size: 0.9rem; color: var(--text-body); padding: 4px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.product-bullets li::before {
  content: '•'; color: var(--nextemp-green); font-weight: 700;
  flex-shrink: 0;
}

/* Add to Cart Area */
.product-actions { margin-top: 24px; }
.product-actions .btn { width: 100%; margin-bottom: 10px; padding: 16px; font-size: 1rem; }
.shipping-note {
  margin-top: 12px; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 0.85rem;
}
.shipping-note strong { color: var(--text-dark); }

/* Accordion items */
.spec-accordion { margin-top: 24px; border-top: 1px solid var(--border); }
.spec-acc-item { border-bottom: 1px solid var(--border); }
.spec-acc-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; cursor: pointer; font-weight: 600;
  font-size: 0.92rem; color: var(--text-dark);
}
.spec-acc-header .chevron {
  transition: transform var(--transition); font-size: 0.9rem; color: var(--text-light);
}
.spec-acc-item.active .spec-acc-header .chevron { transform: rotate(180deg); }
.spec-acc-body {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.spec-acc-item.active .spec-acc-body { max-height: 600px; }
.spec-acc-body-inner {
  padding: 0 0 16px;
  font-size: 0.88rem; color: var(--text-body); line-height: 1.8;
}

/* === HOW IT WORKS === */
.how-section {
  padding: var(--section-padding);
  background: var(--bg-white);
}
.how-section .container { text-align:center; }
.how-steps-box {
  background: var(--nextemp-green-pale);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  margin-top: 40px;
}
.how-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.how-step { text-align: center; }
.how-step-number {
  width: 36px; height: 36px; background: var(--nextemp-green);
  border-radius: 50%; color: white; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.how-step-icon {
  width: 72px; height: 72px; border-radius: 50%;
  border: 2px solid var(--nextemp-green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.8rem;
  color: var(--nextemp-green); background: var(--bg-white);
}
.how-step h3 {
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--nextemp-green);
  line-height: 1.4;
}

/* Video Banner */
.video-banner {
  background: var(--nextemp-dark);
  border-radius: var(--radius-xl);
  margin-top: 48px;
  padding: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
  overflow: hidden; position: relative;
}
.video-banner-text h2 {
  font-size: 3rem; font-weight: 900; color: var(--nextemp-green);
  line-height: 1.1; margin-bottom: 16px;
}
.video-banner-text .brand-name {
  font-size: 2rem; color: white; font-style: italic;
}
.video-banner-image img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}

/* === PRODUCTS SECTION === */
.products-section {
  padding: var(--section-padding); background: var(--bg-light);
}
.products-section .container { text-align:center; }
.products-grid {
  display:grid; grid-template-columns:repeat(2,1fr); gap:28px;
  margin-top:48px; max-width:900px; margin-left:auto; margin-right:auto;
}
.prod-card {
  background:var(--bg-white); border:1px solid var(--border);
  border-radius:var(--radius-lg); overflow:hidden;
  transition:all var(--transition); box-shadow:var(--shadow-sm);
}
.prod-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.prod-card-badge {
  position:absolute; top:12px; left:12px; z-index:2;
  padding:4px 12px; border-radius:4px;
  font-size:0.7rem; font-weight:700; text-transform:uppercase;
  letter-spacing:0.05em; color:white;
}
.prod-card-badge.best { background:var(--nextemp-orange); }
.prod-card-badge.corp { background:var(--nextemp-green); }
.prod-card-img {
  position:relative; height:240px;
  background:var(--nextemp-green-pale);
  display:flex; align-items:center; justify-content:center;
}
.prod-card-img img { max-height:200px; width:auto; object-fit:contain; transition:transform var(--transition); }
.prod-card:hover .prod-card-img img { transform:scale(1.05); }
.prod-card-body { padding:24px; text-align:left; }
.prod-card-body h3 { font-size:1.1rem; font-weight:700; margin-bottom:6px; }
.prod-card-target { font-size:0.78rem; color:var(--nextemp-green); font-weight:500; margin-bottom:12px; }
.prod-card-features { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.prod-card-features span {
  padding:3px 10px; background:var(--nextemp-green-pale);
  border-radius:100px; font-size:0.7rem; color:var(--nextemp-green-dark); font-weight:500;
}
.prod-card-price { font-size:1.4rem; font-weight:800; margin-bottom:14px; }
.prod-card-price .note { display:block; font-size:0.75rem; font-weight:400; color:var(--text-muted); margin-top:2px; }

/* === COMPARISON === */
.comparison-section { padding:var(--section-padding); background:var(--bg-white); }
.comparison-section .container { text-align:center; }
.comparison-section .section-subtitle { margin:0 auto 48px; }
.comp-table-wrap {
  max-width:900px; margin:0 auto; border-radius:var(--radius-lg);
  overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow-sm);
}
.comp-table { width:100%; border-collapse:collapse; background:var(--bg-white); }
.comp-table thead th {
  padding:16px 20px; font-family:'Outfit',sans-serif;
  font-size:0.88rem; font-weight:700; text-align:center;
}
.comp-table thead th:first-child { text-align:left; background:var(--bg-section); }
.comp-table thead th:nth-child(2) { background:#FFF5F5; color:var(--text-muted); }
.comp-table thead th:nth-child(3) { background:var(--nextemp-green-pale); color:var(--nextemp-green); }
.comp-table tbody td {
  padding:13px 20px; font-size:0.86rem; color:var(--text-body);
  border-bottom:1px solid var(--border);
}
.comp-table tbody td:first-child { font-weight:600; color:var(--text-dark); text-align:left; background:var(--bg-section); }
.comp-table tbody td:nth-child(2) { text-align:center; background:#FFFAFA; }
.comp-table tbody td:nth-child(3) { text-align:center; background:rgba(232,245,238,0.3); }
.comp-table tbody tr:last-child td { border-bottom:none; }

/* === AUDIENCE === */
.audience-section { padding:var(--section-padding); background:var(--bg-light); }
.audience-section .container { text-align:center; }
.audience-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:44px; }
.aud-card {
  background:var(--bg-white); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:28px; text-align:left;
  transition:all var(--transition); box-shadow:var(--shadow-sm);
}
.aud-card:hover { border-color:var(--border-green); transform:translateY(-4px); box-shadow:0 8px 30px rgba(27,107,62,0.1); }
.aud-card .emoji { font-size:1.8rem; margin-bottom:10px; }
.aud-card h3 { font-size:1.05rem; font-weight:700; margin-bottom:6px; }
.aud-card p { font-size:0.86rem; color:var(--text-muted); line-height:1.8; margin-bottom:14px; }

/* === STATS === */
.stats-section {
  padding:64px 0;
  background: var(--nextemp-green);
  color:white;
}
.stats-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:24px; text-align:center; }
.stat-item .stat-number {
  font-family:'Outfit',sans-serif; font-size:clamp(1.5rem,3vw,2rem);
  font-weight:800; color:white; margin-bottom:4px;
}
.stat-item .stat-label { font-size:0.75rem; color:rgba(255,255,255,0.7); font-weight:500; }

/* === FAQ === */
.faq-section { padding:var(--section-padding); background:var(--bg-white); }
.faq-section .container { text-align:center; }
.faq-list { max-width:800px; margin:44px auto 0; text-align:left; }
.faq-item {
  border:1px solid var(--border); border-radius:var(--radius);
  margin-bottom:8px; overflow:hidden; background:var(--bg-white);
  transition: all var(--transition);
}
.faq-item:hover { border-color:var(--border-green); }
.faq-item.active { border-color:var(--nextemp-green); box-shadow:0 4px 20px rgba(27,107,62,0.08); }
.faq-question {
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px; cursor:pointer; font-weight:600;
  font-size:0.9rem; user-select:none; color:var(--text-dark);
}
.faq-question:hover { background:var(--bg-section); }
.faq-question .chevron { font-size:0.9rem; transition:transform var(--transition); color:var(--text-light); }
.faq-item.active .faq-question .chevron { transform:rotate(180deg); color:var(--nextemp-green); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height:500px; padding:0 20px 20px; }
.faq-answer p { font-size:0.86rem; color:var(--text-muted); line-height:1.8; }

/* === CORPORATE CTA === */
.corporate-section { padding:var(--section-padding); background:var(--nextemp-green-pale); }
.corporate-content {
  max-width:700px; margin:0 auto; text-align:center;
}
.corporate-content .section-subtitle { margin:0 auto 28px; }
.corporate-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* === NEWSLETTER / STAY CONNECTED === */
.newsletter-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--nextemp-green) 0%, var(--nextemp-green-dark) 100%);
  color: white; text-align: center;
}
.newsletter-section h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.newsletter-section p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 24px; }
.newsletter-form {
  display: flex; gap: 8px; max-width: 420px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1; padding: 12px 16px; border: none; border-radius: 8px;
  font-size: 0.9rem; outline: none;
}
.newsletter-form button {
  padding: 12px 24px; background: var(--text-dark); color: white;
  border: none; border-radius: 8px; font-weight: 600; cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: #000; }

/* === FOOTER === */
.footer {
  padding: 48px 0 24px; background: var(--bg-white);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr;
  gap:40px; margin-bottom:40px;
}
.footer-brand .brand-text {
  font-family:'Outfit',sans-serif; font-size:1.2rem; font-weight:700;
  color:var(--nextemp-green); margin-bottom:10px;
}
.footer-brand .brand-desc {
  font-size:0.82rem; color:var(--text-muted); line-height:1.7; margin-bottom:16px;
}
.footer-brand .contact-info { display:flex; flex-direction:column; gap:6px; }
.footer-brand .contact-info a {
  font-size:0.82rem; color:var(--text-body); display:flex;
  align-items:center; gap:6px; transition:color var(--transition);
}
.footer-brand .contact-info a:hover { color:var(--nextemp-green); }
.footer-heading {
  font-family:'Outfit',sans-serif; font-size:0.78rem; font-weight:700;
  text-transform:uppercase; letter-spacing:0.08em; color:var(--text-dark);
  margin-bottom:16px;
}
.footer-links a {
  display:block; font-size:0.82rem; color:var(--text-muted);
  padding:3px 0; transition:color var(--transition);
}
.footer-links a:hover { color:var(--nextemp-green); }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between;
  padding-top:20px; border-top:1px solid var(--border);
  font-size:0.75rem; color:var(--text-light);
}

/* === PARENTS & CAREGIVERS === */
.parents-section { padding: var(--section-padding); background: var(--bg-white); }
.parents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.reverse-grid { direction: rtl; }
.reverse-grid > * { direction: ltr; }
.challenge-list { margin-top: 24px; display:flex; flex-direction:column; gap:16px; list-style:none; padding:0; }
.challenge-list li {
  font-size: 0.95rem; color: var(--text-body); line-height: 1.6;
  position: relative; padding-left: 28px;
}
.challenge-list li::before {
  content: '✓'; color: var(--nextemp-green); font-weight: bold; font-size: 1.1rem;
  position: absolute; left: 0; top: -2px;
}
.temperature-guide { margin-top: 24px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.temp-row { padding: 14px 16px; font-size: 0.95rem; border-bottom: 1px solid var(--border); background: var(--bg-light); color: var(--text-body); }
.temp-row:last-child { border-bottom: none; }
.temp-row.warning { background: rgba(232, 104, 58, 0.08); color: var(--nextemp-orange); font-weight: 500;}

/* === OUR STORY === */
.our-story-section { padding: var(--section-padding); background: var(--nextemp-dark); color: white; }
.our-story-section .section-title { color: white; text-align: center; margin-top: 16px; }
.story-wrapper { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.timeline { width: 100%; border-left: 2px solid rgba(255,255,255,0.1); padding-left: 32px; margin-top: 32px; }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -39px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--nextemp-green);
  border: 4px solid var(--nextemp-dark);
}
.timeline-item .year { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--nextemp-green); margin-bottom: 6px; }
.timeline-item .desc { font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.6; }
.usa-made { display: flex; align-items: center; gap: 24px; background: rgba(255,255,255,0.05); padding: 24px; border-radius: var(--radius-lg); margin-top: 48px; border: 1px solid rgba(255,255,255,0.1); width: 100%; }
.usa-text strong { display: block; font-size: 1.1rem; margin-bottom: 6px; color: white; }
.usa-text p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* === BLOG / INSIGHTS === */
.blog-section { padding: var(--section-padding); background: var(--bg-light); border-bottom: 1px solid var(--border); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all var(--transition); display: flex; flex-direction: column; text-decoration:none; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-green); }
.blog-img { height: 220px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--nextemp-green); letter-spacing: 0.05em; margin-bottom: 10px; }
.blog-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; line-height: 1.4; }
.blog-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.read-more { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-top: auto; display: inline-flex; align-items: center; gap: 6px; transition: color var(--transition); }
.blog-card:hover .read-more { color: var(--nextemp-green); }

/* === FLOATING WHATSAPP === */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-wa:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgba(37,211,102,0.5);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(24px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes fadeInRight {
  from { opacity:0; transform:translateX(24px); }
  to { opacity:1; transform:translateX(0); }
}
.animate-on-scroll { opacity:0; transform:translateY(20px); transition:all 0.5s ease-out; }
.animate-on-scroll.visible { opacity:1; transform:translateY(0); }

/* === RESPONSIVE === */
@media (max-width:1024px) {
  .hero .container { grid-template-columns:1fr; }
  .how-steps-grid { grid-template-columns:repeat(3,1fr); }
  .video-banner { grid-template-columns:1fr; padding:40px; text-align:center; }
  .stats-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:768px) {
  :root { --section-padding:56px 0; }
  .navbar-menu { display:none; }
  .mobile-toggle { display:flex; }
  .product-main-image { min-height:320px; }
  .trust-icons-row { gap:16px; flex-wrap:wrap; justify-content:center; }
  .how-steps-grid { grid-template-columns:1fr; gap:24px; }
  .products-grid { grid-template-columns:1fr; }
  .comp-table-wrap { overflow-x:auto; }
  .audience-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; gap:10px; text-align:center; }
  .corporate-actions { flex-direction:column; align-items:center; }
  .newsletter-form { flex-direction:column; }
  .video-banner { padding:32px; }
  .video-banner-text h2 { font-size:2rem; }
  .parents-grid { grid-template-columns: 1fr; gap: 32px; }
  .reverse-grid { direction: ltr; }
  .blog-grid { grid-template-columns: 1fr; }
  .usa-made { flex-direction: column; text-align: center; gap: 16px; }
}
@media (max-width:480px) {
  .product-title { font-size:1.8rem; }
  .steps-grid { grid-template-columns:1fr; }
}

/* ===== CART BADGE ===== */
.navbar-cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--nextemp-orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}

/* ===== QUANTITY SELECTOR ===== */
.qty-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
  margin-bottom: 12px;
}
.qty-btn {
  background: var(--bg-light);
  border: none;
  width: 38px;
  height: 46px;
  font-size: 1.3rem;
  font-weight: 400;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  user-select: none;
}
.qty-btn:hover { background: #e5e7eb; }
.qty-input {
  width: 54px;
  height: 46px;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: inherit;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; background: #f9fafb; }

/* ===== CART TOAST ===== */
.cart-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--nextemp-dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 99999;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cart-toast a { color: var(--nextemp-yellow); text-decoration: none; margin-left: 10px; font-weight: 600; }
.cart-toast a:hover { text-decoration: underline; }

/* WooCommerce AJAX button states */
.add_to_cart_button.loading { opacity: 0.7; pointer-events: none; }
.add_to_cart_button.added { background: var(--nextemp-green-dark) !important; }

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 80px 0;
  background: var(--bg-light);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.review-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.review-stars {
  color: #F5B731;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.review-text {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  background: var(--nextemp-green-bg);
  color: var(--nextemp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.88rem; color: var(--text-dark); }
.review-author span { font-size: 0.8rem; color: var(--text-muted); }

/* How to use visual */
.how-use-visual {
  margin: 40px auto 0;
  max-width: 800px;
  text-align: center;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 18px 12px 14px;
  box-shadow: 0 4px 16px rgba(37,211,102,.40);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease, box-shadow .2s ease;
  pointer-events: none;
}
.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.whatsapp-float:hover {
  background: #1ebe5b;
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
  color: #fff;
  text-decoration: none;
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  flex-shrink: 0;
}
.whatsapp-label {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    padding: 14px;
    border-radius: 50%;
  }
  .whatsapp-label { display: none; }
  .whatsapp-float svg { width: 30px; height: 30px; }
}

/* ============================================================
   EXIT INTENT POPUP
   ============================================================ */
.exit-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-popup-overlay.active {
  display: flex;
}
.exit-popup {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: popupIn .3s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}
.exit-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
  line-height: 1;
  padding: 4px 8px;
}
.exit-popup-close:hover { color: #333; }
.exit-popup-icon { font-size: 48px; margin-bottom: 12px; }
.exit-popup-title {
  font-size: 22px;
  font-weight: 700;
  color: #2d2d2d;
  margin: 0 0 12px;
}
.exit-popup-msg {
  font-size: 16px;
  color: #555;
  margin: 0 0 16px;
}
.exit-popup-coupon {
  display: inline-block;
  background: #f0fafa;
  border: 2px dashed #009999;
  color: #009999;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 10px 24px;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: all;
}
.exit-popup-sub {
  font-size: 13px;
  color: #888;
  margin: 0 0 20px;
}
.exit-popup-cta {
  display: block;
  width: 100%;
  font-size: 16px;
  padding: 14px;
  margin-bottom: 14px;
}
.exit-popup-kvkk {
  font-size: 11px;
  color: #aaa;
  margin: 0;
}
.exit-popup-kvkk a { color: #aaa; text-decoration: underline; }
@media (max-width: 480px) {
  .exit-popup { padding: 32px 20px 24px; }
  .exit-popup-title { font-size: 18px; }
}

/* ============================================================
   HACİM İNDİRİMİ — sepet bildirimi
   ============================================================ */
.nextemp-volume-notice {
  background: #e8f8f5;
  border-left: 4px solid #009999;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: #006666;
  margin-top: 10px;
  display: none;
}
.nextemp-volume-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
  margin: 14px 0;
}
.nextemp-volume-table th {
  background: #f0fafa;
  color: #009999;
  padding: 6px 10px;
  text-align: left;
  font-weight: 600;
}
.nextemp-volume-table td {
  padding: 6px 10px;
  border-bottom: 1px solid #f0f0f0;
}
.nextemp-volume-table tr.active-tier td {
  font-weight: 700;
  color: #009999;
}
