/* ============================================
   TYMO Beauty - Complete Stylesheet
   Theme: Rose Gold / Warm Brown
   Fonts: Inter (body), Playfair Display (headings)
   ============================================ */

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand colors */
  --primary: #c4897a;
  --primary-dark: #a96b5c;
  --primary-light: #e8c8bf;
  --primary-bg: #fdf6f3;
  --secondary: #3d2c2e;
  --secondary-light: #5a4345;
  --accent: #d4a89a;
  --accent-light: #f0ded7;

  /* Neutrals */
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-muted: #888;
  --text-light: #bbb;
  --bg-white: #ffffff;
  --bg-light: #faf7f5;
  --bg-warm: #fdf6f3;
  --border: #e8ddd8;
  --border-light: #f0ebe7;

  /* Status */
  --success: #2ecc71;
  --warning: #f39c12;
  --error: #e74c3c;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --announcement-height: 40px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.14);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);
}

/* ----- Typography ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.6;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: 80px 0;
}

/* ----- Announcement Bar ----- */
.announcement-bar {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  height: var(--announcement-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}
.announcement-bar .close-announcement {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.announcement-bar .close-announcement:hover {
  color: #fff;
}
.announcement-bar a {
  color: var(--accent-light);
  text-decoration: underline;
}

/* ----- Header / Navigation ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}
.logo svg {
  width: 36px;
  height: 36px;
}
.logo:hover { color: var(--text-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Style 1: Primary - filled */
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 137, 122, 0.35);
}

/* Style 2: Secondary - outline */
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* Style 3: Dark */
.btn-dark {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.btn-dark:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(61, 44, 46, 0.3);
}

/* Style 4: Light / Ghost */
.btn-light {
  background: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--border);
}
.btn-light:hover {
  background: var(--bg-light);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Style 5: White (for dark backgrounds) */
.btn-white {
  background: #fff;
  color: var(--secondary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--accent-light);
  color: var(--secondary);
  border-color: var(--accent-light);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-warm) 0%, #f8ece6 100%);
  overflow: hidden;
  padding: 40px 0 60px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,137,122,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  margin-bottom: 1rem;
  color: var(--secondary);
}
.hero-content .hero-tagline {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.hero-content .hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-badges {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.1));
}

/* ----- Logo Cloud / Trust Badges ----- */
.logo-cloud {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}
.logo-cloud-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px 60px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
.trust-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.trust-item .stars {
  display: flex;
  gap: 2px;
  color: #f5a623;
}
.trust-item .trust-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}
.trust-item .trust-sub {
  font-size: 0.8rem;
}

/* ----- Product Cards ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}
.product-card .product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}
.product-card .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-info h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.product-rating svg {
  width: 16px;
  height: 16px;
  color: #f5a623;
}
.product-rating span {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.product-price .original-price {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}
.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  flex: 1;
}
.product-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ----- Why TYMO Section ----- */
.why-section {
  background: var(--bg-warm);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card .feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}
.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ----- Amazon Section ----- */
.amazon-section {
  background: var(--bg-white);
}
.amazon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.amazon-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.amazon-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.amazon-card .amazon-badge {
  display: inline-block;
  background: #ffd814;
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.amazon-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 12px;
  padding: 10px;
}
.amazon-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.amazon-card .product-rating {
  justify-content: center;
}
.amazon-card .amazon-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 8px 0 12px;
}
.amazon-card .btn {
  font-size: 0.85rem;
  padding: 10px 20px;
}

/* ----- Blog Cards ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.blog-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--bg-white);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card .blog-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-light);
  position: relative;
}
.blog-card .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-image img {
  transform: scale(1.05);
}
.blog-card .blog-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card .blog-content {
  padding: 20px;
}
.blog-card .blog-content h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.blog-card .blog-content h3 a {
  color: var(--text-dark);
}
.blog-card .blog-content h3 a:hover {
  color: var(--primary);
}
.blog-card .blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.blog-card .blog-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}
.blog-card .read-more {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
}

/* ----- CTA Banner ----- */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(196,137,122,0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(196,137,122,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ----- FAQ ----- */
.faq-section {
  background: var(--bg-light);
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--bg-white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover {
  background: var(--primary-bg);
}
.faq-question:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s var(--ease);
  color: var(--primary);
}
.faq-item[aria-expanded="true"] .faq-question .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item[aria-expanded="true"] .faq-answer {
  padding: 0 24px 18px;
  max-height: 300px;
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 0;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  line-height: 1.6;
}
.footer-brand .logo {
  color: #fff;
}
.footer-brand .logo svg {
  color: var(--primary);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a {
  color: rgba(255,255,255,0.6);
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
}

/* ----- Country Selector ----- */
.country-selector-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.country-selector-trigger:hover {
  background: var(--bg-light);
}
.country-selector-trigger svg {
  width: 18px;
  height: 18px;
}

.country-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.country-modal.active {
  display: flex;
}
.country-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.country-modal-content {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.country-modal-content h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-bottom: 8px;
  text-align: center;
}
.country-modal-content p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.country-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all var(--transition);
  text-align: left;
}
.country-option:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}
.country-option:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.country-option .country-flag {
  font-size: 1.2rem;
}
.country-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* ----- Notification Toast ----- */
.notification-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  background: var(--secondary);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
}
.notification-toast.active {
  transform: translateY(0);
  opacity: 1;
}
.notification-toast svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--success);
}

/* ----- Mobile Menu Toggle ----- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
}

/* ----- Breadcrumbs ----- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 16px 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumbs .separator {
  color: var(--text-light);
}

/* ----- Article Layout ----- */
.article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--announcement-height) + 20px);
  align-self: start;
}
.article-toc {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
}
.article-toc h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-toc ul {
  list-style: none;
}
.article-toc ul li {
  margin-bottom: 6px;
}
.article-toc ul li a {
  font-size: 0.88rem;
  color: var(--text-body);
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.article-toc ul li a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary-light);
}

.floating-cta {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  writing-mode: vertical-rl;
  gap: 8px;
}
.floating-cta .btn {
  writing-mode: horizontal-tb;
  padding: 12px 20px;
  font-size: 0.85rem;
}

/* ----- Mobile Bottom CTA ----- */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.mobile-bottom-cta .btn {
  flex: 1;
}

/* ----- Article Content ----- */
.article-content {
  max-width: 800px;
}
.article-header {
  margin-bottom: 32px;
}
.article-header h1 {
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-featured-image {
  margin-bottom: 32px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 16/9;
  position: relative;
}
.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}
.article-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.article-body p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.article-body ul, .article-body ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.article-body img {
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}

/* Article inline CTA */
.article-cta-inline {
  background: var(--bg-warm);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}
.article-cta-inline p {
  margin-bottom: 12px;
  font-weight: 500;
}

/* Figure / image placeholder */
figure {
  margin: 1.5rem 0;
}
figure figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* ----- Blog Listing ----- */
.blog-listing-header {
  text-align: center;
  padding: 60px 20px 40px;
  background: var(--bg-warm);
}

/* ----- 404 Page ----- */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.page-404 h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.page-404 p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* ----- Privacy Policy ----- */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.privacy-content h1 {
  margin-bottom: 1rem;
}
.privacy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.privacy-content p, .privacy-content ul {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.privacy-content ul {
  padding-left: 1.5rem;
}
.privacy-content .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ----- Animations ----- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Figure images */
figure img {
  width: 100%;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
}

/* ----- Native Lazy Loading ----- */
img[loading="lazy"] {
  background: var(--bg-light);
  opacity: 0;
  animation: imgFadeIn 0.4s var(--ease) forwards;
}
@keyframes imgFadeIn {
  to { opacity: 1; }
}

/* Product card images */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

/* Blog card images */
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Amazon store images */
.amazon-grid img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
}

/* Hero image */
.hero-image img {
  width: 100%;
  height: auto;
  max-width: 450px;
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

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

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    order: -1;
  }
  .floating-cta {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --announcement-height: 36px;
  }
  section {
    padding: 50px 0;
  }

  .hero {
    padding: 30px 0 40px;
    min-height: auto;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-content {
    text-align: center;
    order: 1;
  }
  .hero-image {
    order: 0;
  }
  .hero-image img {
    max-height: 300px;
  }
  .hero-badges {
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .header-actions .btn.btn-sm {
    display: inline-flex;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .amazon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .country-modal-content {
    padding: 24px;
  }
  .country-options {
    grid-template-columns: 1fr;
  }

  .mobile-bottom-cta {
    display: flex;
  }
  .mobile-bottom-cta + footer {
    padding-bottom: 70px;
  }

  .notification-toast {
    left: 16px;
    right: 16px;
    bottom: 80px;
    max-width: none;
  }

  .article-layout {
    padding: 24px 16px;
  }
  .article-body h2 {
    margin-top: 1.5rem;
  }

  .logo-cloud-inner {
    gap: 20px 30px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .amazon-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card .product-info {
    padding: 14px;
  }
  .product-card .product-info h3 {
    font-size: 0.9rem;
  }
  .product-desc {
    display: none;
  }
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

/* ----- Accessibility ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #fff;
  padding: 12px 24px;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.skip-link:focus {
  top: 0;
}
