/*
Theme Name: My Knitting Era
Theme URI: https://myknittingera.com
Author: My Knitting Era
Author URI: https://myknittingera.com
Description: A warm, handcrafted WordPress theme for My Knitting Era — Tiny Knitted Charms & Keychains. Features a cottagecore aesthetic with teal, coral, and amber tones.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-knitting-era
Tags: handmade, shop, etsy, charms, knitting, cottagecore, custom-colors, custom-menu, featured-images, blog
*/

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

:root {
  --teal:        #3A8C8C;
  --teal-light:  #6BB8B8;
  --teal-pale:   #E8F4F4;
  --coral:       #E8846A;
  --coral-light: #F5B8A8;
  --coral-pale:  #FDF0EC;
  --amber:       #D4A84B;
  --amber-light: #EED08A;
  --amber-pale:  #FBF4E3;
  --cream:       #FAF8F3;
  --warm-white:  #FFFFFF;
  --bark:        #7D5A3C;
  --text-dark:   #3A2E26;
  --text-mid:    #6B5344;
  --text-light:  #9E8476;
  --border:      #E2D8CF;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Force WordPress wrappers to be full width */
#page,
#content,
.site,
.site-content,
.content-area,
.wp-site-blocks {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }

/* ─── TOPBAR ────────────────────────────────────────────── */
.topbar {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topbar a { color: var(--amber-light); text-decoration: underline; }

/* ─── HEADER ────────────────────────────────────────────── */
#masthead {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(58,44,38,0.06);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
}
.logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-pale);
  border: 2px solid var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.logo-circle .logo-fallback { font-size: 28px; }
.site-title {
  font-family: 'Dancing Script', cursive;
  font-size: 26px;
  color: var(--teal);
  line-height: 1.1;
  font-weight: 700;
  text-decoration: none;
  display: block;
}
.site-description {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

/* ─── NAVIGATION ────────────────────────────────────────── */
#site-navigation { display: flex; align-items: center; }

.main-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-navigation ul li a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--teal);
  transition: width 0.25s;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--teal); }
.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item > a::after { width: 100%; }

.nav-etsy-btn {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 30px !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}
.nav-etsy-btn:hover { background: var(--teal-light) !important; }
.nav-etsy-btn::after { display: none !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-mid);
}

/* ─── HERO ──────────────────────────────────────────────── */
.hero-section {
  background: var(--teal-pale);
  border-bottom: 1px solid #d0e8e8;
}
.hero-inner {
  padding: 70px 4% 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: 52px;
  color: var(--teal);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-title em { font-style: italic; color: var(--coral); }
.hero-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  margin: 14px 0 28px;
  max-width: 420px;
  font-weight: 300;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.hero-card:first-child { grid-column: 1 / -1; }
.hero-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-card-label {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-badge.amber { background: var(--amber); }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
}
.btn-primary:hover { background: var(--bark); transform: translateY(-1px); color: #fff; }
.btn-primary.teal { background: var(--teal); }
.btn-primary.teal:hover { background: var(--teal-light); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1.5px solid var(--teal);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--teal); color: #fff; }

/* ─── LAYOUT WRAPPERS ───────────────────────────────────── */
.section-wrap { padding: 64px 4%; max-width: 100%; margin: 0 auto; }
.section-full { padding: 64px 4%; }
.section-full.white-bg { background: var(--warm-white); }
.section-full.teal-bg { background: var(--teal); }
.section-full.cream-bg { background: var(--cream); }
.section-full-inner { max-width: 100%; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 44px; }
.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.section-header h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 40px;
  color: var(--teal);
  font-weight: 700;
}
.teal-bg .section-header h2 { color: #fff; }
.teal-bg .section-label { color: var(--amber-light); }
.section-header p {
  color: var(--text-light);
  font-size: 15px;
  margin-top: 8px;
  font-weight: 300;
}
.teal-bg .section-header p { color: rgba(255,255,255,0.75); }

/* ─── CATEGORY PILLS ────────────────────────────────────── */
.cat-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: var(--warm-white);
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-weight: 400;
  text-decoration: none;
}
.cat-pill:hover, .cat-pill.active {
  border-color: var(--teal);
  background: var(--teal-pale);
  color: var(--teal);
  font-weight: 700;
}

/* ─── PRODUCT GRID ──────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(58,44,38,0.10);
}
.product-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 14px 16px 18px; }
.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.product-desc {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 12px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
}
.etsy-btn {
  background: var(--coral-pale);
  color: var(--coral);
  border: none;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.etsy-btn:hover { background: var(--coral); color: #fff; }

.shop-cta { text-align: center; margin-top: 36px; }

/* ─── YARN DIVIDER ──────────────────────────────────────── */
.yarn-divider {
  text-align: center;
  padding: 0 4%;
  position: relative;
  overflow: hidden;
  height: 28px;
}
.yarn-divider::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--border);
}
.yarn-divider span {
  position: relative;
  background: inherit;
  padding: 0 16px;
  font-size: 18px;
}
.yarn-divider.on-white { background: var(--warm-white); }
.yarn-divider.on-cream  { background: var(--cream); }

/* ─── ABOUT SECTION ─────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-box {
  background: var(--amber-pale);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--amber-light);
}
.about-image-box img { border-radius: 16px; margin: 0 auto; }
.about-image-box .big-emoji { font-size: 80px; display: block; }
.about-image-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
.about-content .section-label { text-align: left; }
.about-content h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 40px;
  color: var(--teal);
  font-weight: 700;
  margin: 6px 0 14px;
}
.about-content p {
  font-size: 15px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 14px;
}
.yarn-swatches { display: flex; gap: 10px; margin-top: 22px; }
.yarn-swatch {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
}

/* ─── FEATURES (teal band) ───────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.feature-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  line-height: 1.75;
}

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.av-teal  { background: var(--teal-pale);  color: var(--teal);  }
.av-coral { background: var(--coral-pale); color: var(--coral); }
.av-amber { background: var(--amber-pale); color: var(--amber); }
.reviewer-name { font-size: 13px; font-weight: 700; color: var(--text-dark); display: block; }
.reviewer-meta { font-size: 12px; color: var(--text-light); }

/* ─── BLOG GRID ─────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 18px 18px 20px; }
.blog-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
}
.blog-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-excerpt {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.65;
}
.blog-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  gap: 10px;
}

/* ─── NEWSLETTER ────────────────────────────────────────── */
.newsletter-box {
  background: var(--amber-pale);
  border: 1px solid var(--amber-light);
  border-radius: 24px;
  padding: 52px 60px;
  text-align: center;
  margin: 0 4% 64px;
}
.newsletter-box .section-label { color: var(--amber); }
.newsletter-box h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 38px;
  color: var(--bark);
  font-weight: 700;
  margin: 6px 0 12px;
}
.newsletter-box p {
  font-size: 15px;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto 26px;
}
.newsletter-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border: 1.5px solid var(--amber);
  border-radius: 30px;
  overflow: hidden;
  background: var(--warm-white);
}
.newsletter-form input[type="email"] {
  flex: 1;
  border: none;
  padding: 13px 20px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: transparent;
  outline: none;
}
.newsletter-form button {
  background: var(--amber);
  color: #fff;
  border: none;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--bark); }

/* ─── FOOTER ────────────────────────────────────────────── */
#colophon {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 52px 4% 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 100%;
  margin: 0 auto 40px;
}
.footer-brand-name {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 260px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.social-link:hover { background: var(--teal); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  max-width: 100%;
  margin: 0 auto;
  font-weight: 300;
}
.footer-bottom a { color: var(--teal-light); text-decoration: none; }
.footer-heart { color: var(--coral-light); }

/* ─── INNER PAGES ───────────────────────────────────────── */
.page-header {
  background: var(--teal-pale);
  border-bottom: 1px solid #d0e8e8;
  padding: 48px 4%;
  text-align: center;
}
.page-header h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 48px;
  color: var(--teal);
  font-weight: 700;
}
.page-header p {
  color: var(--text-mid);
  font-size: 16px;
  font-weight: 300;
  margin-top: 8px;
}

.page-content-wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
}
.page-content h1, .page-content h2, .page-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  margin: 28px 0 12px;
  font-weight: 500;
}
.page-content h1 { font-size: 32px; }
.page-content h2 { font-size: 26px; }
.page-content h3 { font-size: 20px; }
.page-content p { margin-bottom: 18px; color: var(--text-mid); font-weight: 300; }
.page-content a { color: var(--teal); }
.page-content ul, .page-content ol { margin: 0 0 18px 24px; color: var(--text-mid); }
.page-content li { margin-bottom: 6px; font-weight: 300; }
.page-content img { border-radius: 12px; margin: 24px 0; }
.page-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 12px 20px;
  margin: 24px 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text-mid);
  background: var(--teal-pale);
  border-radius: 0 8px 8px 0;
}

/* ─── SINGLE POST ───────────────────────────────────────── */
.post-header { margin-bottom: 32px; }
.post-category-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
  display: block;
}
.post-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}
.post-meta { font-size: 13px; color: var(--text-light); }
.post-featured-img {
  width: 100%;
  border-radius: 16px;
  margin: 24px 0 32px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ─── BREADCRUMB ────────────────────────────────────────── */
.breadcrumb {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 12px 4%;
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 6px; }

/* ─── COLOR UTILITIES ───────────────────────────────────── */
.bg-coral-pale { background: var(--coral-pale); }
.bg-amber-pale { background: var(--amber-pale); }
.bg-teal-pale  { background: var(--teal-pale);  }
.bg-purple-pale{ background: #f3eaf5; }
.bg-green-pale { background: #eaf3e8; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 4%; }
  .hero-title { font-size: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-box { margin: 0 0 40px; padding: 40px 4%; }
}

@media (max-width: 640px) {
  #masthead { padding: 0 4%; flex-wrap: wrap; gap: 10px; }
  .main-navigation ul { flex-direction: column; gap: 10px; display: none; width: 100%; padding: 12px 0; }
  .main-navigation.toggled ul { display: flex; }
  .menu-toggle { display: block; }
  .hero-inner { padding: 36px 4%; }
  .hero-title { font-size: 32px; }
  .section-wrap { padding: 44px 4%; }
  .section-full { padding: 44px 4%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .page-content-wrap { padding: 40px 4%; }
  #masthead { position: relative; }
  .breadcrumb { padding: 10px 4%; }
}
