/*
Theme Name: AllWinFTY
Theme URI: https://allwinfty.com
Description: Premium brand theme — TSMC-inspired enterprise layout. B2B chip programming, MCU flashing, IC reprogramming services.
Author: AllWinFTY Ops
Version: 3.0.0
Text Domain: awf
*/

:root {
  --awf-bg: #ffffff;
  --awf-bg-alt: #f4f6f9;
  --awf-surface: #ffffff;
  --awf-border: #dfe3e8;
  --awf-border-2: #c4cad4;
  --awf-text: #1a1f36;
  --awf-text-2: #475467;
  --awf-text-3: #858f9d;
  --awf-primary: #003d70;
  --awf-primary-dark: #00274d;
  --awf-primary-light: #d9e6f2;
  --awf-primary-bg: #eef3f8;
  --awf-accent: #007b55;
  --awf-gold: #a57c2b;
  --awf-radius-sm: 4px;
  --awf-radius: 8px;
  --awf-radius-lg: 12px;
  --awf-radius-xl: 16px;
  --awf-shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --awf-shadow: 0 4px 12px rgba(0,0,0,.06);
  --awf-shadow-lg: 0 12px 32px rgba(0,0,0,.08);
  --awf-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --awf-mono: 'SF Mono', 'JetBrains Mono', Consolas, monospace;
  --awf-container: 1200px;
  --awf-container-narrow: 820px;
  --awf-gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: var(--awf-font);
  color: var(--awf-text);
  background: var(--awf-bg);
  line-height: 1.55;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: var(--awf-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--awf-primary-dark); }
img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--awf-primary); color: #fff; }

/* Typography */
h1, h2, h3, h4 { font-weight: 500; line-height: 1.2; margin: 0 0 .4em; color: var(--awf-text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.85rem); letter-spacing: -.02em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; line-height: 1.65; color: var(--awf-text-2); }

.awf-wrap { max-width: var(--awf-container); margin: 0 auto; padding: 0 var(--awf-gap); }
.awf-wrap-narrow { max-width: var(--awf-container-narrow); margin: 0 auto; padding: 0 var(--awf-gap); }

/* ============================
   HEADER — TSMC-inspired
   ============================ */
.awf-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--awf-border);
  height: 56px;
  transition: transform .35s ease, background .2s;
}
.awf-header.hidden { transform: translateY(-100%); }
.awf-header.visible { transform: translateY(0); }
.awf-header-inner {
  max-width: var(--awf-container); margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center;
}
.awf-logo {
  font-weight: 600; font-size: .95rem; color: var(--awf-text);
  letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; flex-shrink: 0;
  border-right: 1px solid var(--awf-border); padding-right: 20px;
  margin-right: 24px;
}
.awf-logo:hover { color: var(--awf-primary); }

.awf-nav {
  display: flex; align-items: center; gap: 0;
  flex: 1;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; white-space: nowrap;
}
.awf-nav::-webkit-scrollbar { display: none; }
.awf-nav a {
  display: inline-flex; align-items: center;
  padding: 0 16px; height: 56px;
  font-size: .83rem; font-weight: 500;
  color: var(--awf-text-2); text-decoration: none;
  letter-spacing: .01em;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.awf-nav a:hover { color: var(--awf-text); border-bottom-color: var(--awf-primary); }
.awf-nav .current-menu-item,
.awf-nav .current_page_item { color: var(--awf-text); border-bottom-color: var(--awf-primary); font-weight: 600; }

.awf-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 1.3rem; color: var(--awf-text); line-height: 1; margin-left: auto; }

.awf-cart {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0 0 0 20px; margin-left: auto; flex-shrink: 0;
  font-size: .83rem; font-weight: 500; color: var(--awf-text-2);
  text-decoration: none; height: 56px; line-height: 56px;
  border-bottom: 2px solid transparent;
  transition: all .2s;
}
.awf-cart:hover { color: var(--awf-text); border-bottom-color: var(--awf-primary); }
.awf-cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--awf-primary); color: #fff;
  font-size: .6rem; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%;
}

/* ============================
   HERO — TSMC dark bold
   ============================ */
.awf-hero {
  background: #0a1a2b;
  color: #fff;
  min-height: 480px;
  display: flex; align-items: center;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.awf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,100,180,.12) 0%, transparent 70%);
  pointer-events: none;
}
.awf-hero .awf-wrap-narrow {
  position: relative;
  padding: 80px 24px;
}
.awf-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 12px;
  max-width: 700px;
}
.awf-hero h1 strong { font-weight: 600; }
.awf-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 0 28px;
  line-height: 1.6;
}
.awf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================
   SECTIONS
   ============================ */
.awf-section {
  padding: 60px 0;
}
.awf-section-dark {
  background: var(--awf-bg-alt);
  padding: 60px 0;
}
.awf-section h2 {
  margin: 0 0 8px;
}
.awf-section > .awf-wrap > p {
  font-size: .95rem;
  color: var(--awf-text-2);
}

.awf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.awf-card {
  background: var(--awf-bg);
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius-lg);
  padding: 28px;
  transition: box-shadow .2s, border-color .2s;
}
.awf-card:hover { box-shadow: var(--awf-shadow); border-color: var(--awf-border-2); }
.awf-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.awf-card p { font-size: .87rem; line-height: 1.6; margin: 0; color: var(--awf-text-2); }
.awf-card .icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
  line-height: 1;
}

/* ============================
   BUTTONS — minimal TSMC style
   ============================ */
.awf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px;
  font-weight: 500; font-size: .83rem;
  background: #fff; color: #0a1a2b;
  text-decoration: none; border: 1px solid #fff;
  border-radius: 0;
  transition: all .2s; cursor: pointer;
  line-height: 1.4;
}
.awf-btn:hover { background: rgba(255,255,255,.9); color: #0a1a2b; }
.awf-btn-outline {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.5);
}
.awf-btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.awf-btn-sm { padding: 6px 14px; font-size: .78rem; }

/* ============================
   ARCHIVE
   ============================ */
.awf-archive-header {
  padding: 80px 0 32px;
  margin-top: 56px;
}
.awf-archive-header h1 { margin: 0 0 8px; }
.awf-archive-header p { max-width: 560px; font-size: .95rem; }

.awf-archive-links {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.awf-archive-links a {
  display: inline-flex;
  border: 1px solid var(--awf-border);
  color: var(--awf-text-2);
  padding: 7px 16px;
  font-size: .82rem; font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  border-radius: var(--awf-radius-sm);
}
.awf-archive-links a:hover {
  border-color: var(--awf-primary);
  color: var(--awf-primary);
  background: var(--awf-primary-bg);
}

.awf-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  padding: 0 0 64px;
}
.awf-prod-card {
  background: var(--awf-bg);
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius-lg);
  overflow: hidden;
  transition: all .2s;
}
.awf-prod-card:hover { box-shadow: var(--awf-shadow); border-color: var(--awf-border-2); }
.awf-prod-card .thumb {
  background: var(--awf-bg-alt); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.awf-prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.awf-prod-card .body { padding: 16px 18px 18px; }
.awf-prod-card .title { font-weight: 600; font-size: .9rem; line-height: 1.35; margin: 0; }
.awf-prod-card .title a { color: var(--awf-text); text-decoration: none; }
.awf-prod-card .title a:hover { color: var(--awf-primary); }
.awf-prod-card .cat {
  font-size: .7rem; color: var(--awf-text-3); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px;
}

/* ============================
   SINGLE PRODUCT
   ============================ */
.awf-single {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  padding: 80px 0 40px;
  margin-top: 56px;
}
.awf-single .gallery {
  background: var(--awf-bg-alt);
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius-lg);
  overflow: hidden;
}
.awf-single .gallery img { width: 100%; height: auto; }
.awf-single h1 { margin: 0 0 16px; font-weight: 500; font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
.awf-single .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.awf-single .badge {
  border: 1px solid var(--awf-border);
  background: var(--awf-primary-bg);
  color: var(--awf-primary);
  padding: 4px 10px; font-size: .72rem; font-weight: 600;
  border-radius: var(--awf-radius-sm);
}
.awf-single .desc { font-size: .92rem; line-height: 1.7; color: var(--awf-text-2); }

/* Search box on store/category */
.awf-search-box {
  margin: 0 0 28px;
}
.awf-search-form {
  display: flex;
  max-width: 480px;
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius);
  overflow: hidden;
  transition: border-color .2s;
}
.awf-search-form:focus-within {
  border-color: var(--awf-primary);
}
.awf-search-input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: .88rem;
  font-family: var(--awf-font);
  color: var(--awf-text);
  background: var(--awf-bg);
  outline: none;
}
.awf-search-input::placeholder {
  color: var(--awf-text-3);
}
.awf-search-btn {
  background: var(--awf-primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: .82rem;
  font-weight: 500;
  font-family: var(--awf-font);
  cursor: pointer;
  transition: background .2s;
}
.awf-search-btn:hover {
  background: var(--awf-primary-dark);
}

/* Gallery multi-image */
/* Carousel */
.awf-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.awf-carousel-track {
  display: flex;
  transition: transform .35s ease;
}
.awf-carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.awf-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--awf-border);
}
.awf-carousel-prev,
.awf-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--awf-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  color: var(--awf-text);
  line-height: 1;
}
.awf-carousel-prev:hover,
.awf-carousel-next:hover {
  background: #fff;
  border-color: var(--awf-primary);
  color: var(--awf-primary);
}
.awf-carousel-prev { left: 10px; }
.awf-carousel-next { right: 10px; }
.awf-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.awf-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--awf-border-2);
  cursor: pointer;
  transition: background .2s;
}
.awf-carousel-dot.active {
  background: var(--awf-primary);
}

/* Product content (Elementor + clean HTML) — full width after single layout */
.awf-product-content {
  width: 100%;
  max-width: var(--awf-container);
  margin: 0 auto;
  padding: 20px 24px 40px;
}
.awf-product-content img { max-width: 100%; height: auto; }
.awf-product-content table { width: 100%; border-collapse: collapse; }
.awf-product-content table th,
.awf-product-content table td {
  padding: 10px 14px;
  border: 1px solid var(--awf-border);
  font-size: .88rem;
  text-align: left;
  vertical-align: top;
}
.awf-product-content table th {
  background: var(--awf-bg-alt);
  font-weight: 600;
  white-space: nowrap;
  width: 25%;
}
.awf-product-content ul { padding-left: 20px; line-height: 1.7; }
.awf-product-content li { margin-bottom: 6px; }
.awf-product-content h2 { font-size: 1.25rem; font-weight: 500; margin: 32px 0 16px; }
.awf-product-content h3 { font-size: 1rem; font-weight: 600; margin: 24px 0 8px; }
.awf-product-content h4 { font-size: .9rem; font-weight: 600; margin: 20px 0 8px; }

/* Elementor stretches inside product content */
.awf-product-content .elementor-section-stretched {
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.awf-product-content .elementor-widget-container { padding: 8px 0; }
.awf-product-content .elementor-spacer-inner { height: 16px !important; }

/* ============================
   POSTS / BLOG
   ============================ */
.awf-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 0 0 48px;
}
.awf-post-card {
  background: var(--awf-bg);
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.awf-post-card:hover {
  box-shadow: var(--awf-shadow);
}
.awf-post-card .awf-post-thumb {
  display: block;
  background: var(--awf-bg-alt);
  aspect-ratio: 16/9;
  overflow: hidden;
}
.awf-post-card .awf-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.awf-post-body {
  padding: 18px 20px 22px;
}
.awf-post-meta {
  font-size: .76rem;
  color: var(--awf-text-3);
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}
.awf-post-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.awf-post-title a { color: var(--awf-text); }
.awf-post-title a:hover { color: var(--awf-primary); }
.awf-post-excerpt {
  font-size: .85rem;
  color: var(--awf-text-2);
  margin: 0 0 10px;
  line-height: 1.55;
}
.awf-post-read {
  font-size: .82rem;
  font-weight: 500;
  color: var(--awf-primary);
}
.awf-post-read:hover { color: var(--awf-primary-dark); }
.awf-pagination {
  text-align: center;
  padding: 0 0 48px;
  font-size: .85rem;
}

/* Single post */
.awf-post-single {
  max-width: var(--awf-container-narrow);
  margin: 0 auto;
  padding: 80px 0 48px;
  margin-top: 56px;
}
.awf-post-single h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  margin: 0 0 12px;
}
.awf-post-single-meta {
  font-size: .8rem;
  color: var(--awf-text-3);
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}
.awf-post-single-thumb {
  margin: 20px 0 32px;
  border-radius: var(--awf-radius);
  overflow: hidden;
}
.awf-post-single-thumb img { width: 100%; height: auto; }
.awf-post-single-content {
  font-size: .95rem;
  line-height: 1.7;
}
.awf-post-single-content h2 { font-size: 1.3rem; font-weight: 500; margin: 32px 0 12px; }
.awf-post-single-content h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; }
.awf-post-single-content p { margin: 0 0 1.2em; line-height: 1.7; }
.awf-post-single-content img { max-width: 100%; height: auto; border-radius: 6px; }

.awf-single .desc h2 {
  font-size: 1.1rem; margin: 28px 0 10px; color: var(--awf-text); font-weight: 600;
}
.awf-single .desc h3 { font-size: .95rem; margin: 20px 0 8px; color: var(--awf-text); font-weight: 600; }
.awf-single .desc table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--awf-border);
  margin: 16px 0;
}
.awf-single .desc th, .awf-single .desc td {
  padding: 10px 14px; border-bottom: 1px solid var(--awf-border);
  text-align: left; font-size: .85rem; line-height: 1.55;
}
.awf-single .desc th { width: 28%; background: var(--awf-bg-alt); font-weight: 600; color: var(--awf-text); }
.awf-single .desc tr:last-child th, .awf-single .desc tr:last-child td { border-bottom: 0; }
.awf-single .desc ul {
  background: var(--awf-bg-alt); border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius); padding: 14px 16px 14px 30px; line-height: 1.65;
}
.awf-single .desc li { margin-bottom: 4px; }

/* Elementor content fix — let it render naturally inside desc */
.awf-elementor-content .elementor-section { margin: 0 !important; padding: 0 !important; }
.awf-elementor-content .elementor-section-stretched { left: auto !important; width: 100% !important; max-width: 100% !important; }
.awf-elementor-content .elementor-element { margin: 0 !important; }
.awf-elementor-content { width: 100%; }
.awf-elementor-content img { max-width: 100%; height: auto; border-radius: 4px; }
.awf-elementor-content .elementor-spacer { display: none; }
.awf-elementor-content .elementor-column-gap-no > .elementor-column > .elementor-widget-wrap { padding: 0; }
.awf-elementor-content .elementor-widget-wrap { padding: 12px 0; }
.awf-elementor-content [data-element_type="column"][data-settings*="background_background"],
.awf-elementor-content [data-settings*="background_background"] { background: transparent !important; display: block !important; }
.awf-elementor-content .elementor-section-stretched { max-width: 100% !important; left: 0 !important; padding: 0 !important; }
.awf-elementor-content [class*="elementor-column"] { width: 100% !important; flex: none !important; }
.awf-elementor-content .elementor-spacer-inner { height: 16px !important; }
.awf-elementor-content .elementor-heading-title { font-family: var(--awf-font) !important; }
.awf-elementor-content h3.elementor-heading-title { font-size: 1rem !important; font-weight: 600 !important; color: var(--awf-text) !important; }
.awf-elementor-content h4.elementor-heading-title,
.awf-elementor-content h5.elementor-heading-title { font-size: .9rem !important; font-weight: 600 !important; color: var(--awf-text) !important; letter-spacing: .03em !important; margin-bottom: 8px !important; }

.awf-quote {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px;
  background: var(--awf-primary); color: #fff;
}
.awf-quote h2 { color: #fff; margin: 0 0 6px; font-size: 1.05rem; font-weight: 500; }
.awf-quote p { margin: 0; color: rgba(255,255,255,.8); font-size: .85rem; }
.awf-quote .awf-btn {
  background: #fff; color: var(--awf-primary);
  border-color: #fff; flex-shrink: 0;
}
.awf-quote .awf-btn:hover { background: rgba(255,255,255,.9); }

.awf-process { margin-top: 40px; }
.awf-process h2 { font-size: 1.15rem; margin: 0 0 20px; }
.awf-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.awf-process-step {
  border-top: 3px solid var(--awf-primary);
  padding: 20px 0 0;
}
.awf-process-step .num { font-size: 1.2rem; font-weight: 600; color: var(--awf-primary); margin-bottom: 6px; }
.awf-process-step strong { display: block; margin-bottom: 6px; color: var(--awf-text); font-size: .9rem; }
.awf-process-step p { margin: 0; font-size: .82rem; line-height: 1.55; color: var(--awf-text-2); }

.related { max-width: var(--awf-container); margin: 0 auto; padding: 0 var(--awf-gap) 48px; }
.related h2 { font-size: 1.15rem; margin-bottom: 16px; }

/* ============================
   PAGE / ABOUT
   ============================ */
.awf-page {
  padding: 80px 0 60px;
  margin-top: 56px;
}
.awf-page h1 {
  margin: 0 0 20px;
}
.awf-page-content {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--awf-text-2);
}
.awf-page-content p { margin-bottom: 1.2em; }

/* ============================
   CONTACT
   ============================ */
.awf-contact-hero {
  background: #0a1a2b; color: #fff;
  margin-top: 56px; padding: 60px 0;
}
.awf-contact-hero h1 { color: #fff; }
.awf-contact-hero p { color: rgba(255,255,255,.7); max-width: 520px; }
.awf-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin: 36px 0;
}
/* Ensure anchor scroll to form visible below fixed header */
#quote-form { scroll-margin-top: 80px; }

.awf-contact-card {
  background: var(--awf-surface);
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius-lg);
  padding: 24px;
}
.awf-contact-card h2 { font-size: 1.05rem; margin: 0 0 12px; }
.awf-contact-card ul { margin: 0; padding-left: 16px; line-height: 1.65; font-size: .88rem; }
.awf-contact-faq {
  border: 1px solid var(--awf-border);
  border-radius: var(--awf-radius-lg);
  padding: 24px;
  margin-top: 20px;
}
.awf-contact-faq h2 { font-size: 1.05rem; margin: 0 0 14px; }
.awf-contact-faq h3 { font-size: .9rem; margin: 18px 0 4px; font-weight: 600; color: var(--awf-text); }
.awf-contact-faq p { font-size: .88rem; margin: 0; }

/* ============================
   FOOTER — TSMC minimal
   ============================ */
.awf-footer {
  background: #f4f6f9;
  border-top: 1px solid var(--awf-border);
  padding: 40px 0 0;
}
.awf-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.awf-footer h3 {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--awf-text-3);
  margin: 0 0 14px;
}
.awf-footer p { font-size: .82rem; color: var(--awf-text-3); line-height: 1.65; margin: 0; }
.awf-footer a {
  display: block; font-size: .82rem;
  color: var(--awf-text-2); margin-bottom: 6px;
  transition: color .15s;
}
.awf-footer a:hover { color: var(--awf-primary); }
.awf-footer-bottom {
  border-top: 1px solid var(--awf-border);
  padding: 16px 0;
  text-align: center;
  font-size: .78rem;
  color: var(--awf-text-3);
}

/* ============================
   HIDE WOO
   ============================ */
.woocommerce span.onsale, .ast-onsale-card, .ast-shipping-text,
.price, .product_meta, .single_variation_wrap .price,
.woocommerce-variation-price { display: none !important; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1023px) {
  .awf-grid-3 { grid-template-columns: 1fr 1fr; }
  .awf-single { grid-template-columns: 1fr; gap: 24px; }
  .awf-process-grid { grid-template-columns: 1fr 1fr; }
  .awf-footer-grid { grid-template-columns: 1fr 1fr; }
  .awf-posts { grid-template-columns: 1fr 1fr; gap: 20px; }
  .awf-contact-grid { grid-template-columns: 1fr; }
  .awf-hero { min-height: 380px; }
  .awf-hero .awf-wrap-narrow { padding: 56px 24px; }
}

@media (max-width: 639px) {
  .awf-toggle { display: block; }
  .awf-nav {
    display: none;
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--awf-bg);
    border-bottom: 1px solid var(--awf-border);
    flex-direction: column; padding: 4px 0;
    box-shadow: var(--awf-shadow-lg);
    overflow: visible; white-space: normal;
  }
  .awf-nav.open { display: flex; }
  .awf-nav a {
    padding: 12px 20px; height: auto; font-size: .9rem;
    border-bottom: none; width: 100%;
  }
  .awf-nav a:hover { border-bottom: none; background: var(--awf-primary-bg); }
  .awf-nav .current-menu-item,
  .awf-nav .current_page_item { border-bottom: none; background: var(--awf-primary-bg); border-left: 3px solid var(--awf-primary); }

  .awf-hero { min-height: 300px; }
  .awf-hero .awf-wrap-narrow { padding: 40px 20px; }
  .awf-hero h1 { font-size: 1.4rem; }
  .awf-hero p { font-size: .88rem; margin-bottom: 20px; }
  .awf-hero-actions { flex-direction: column; }
  .awf-hero-actions .awf-btn { justify-content: center; }

  .awf-section { padding: 36px 0; }
  .awf-grid-3 { grid-template-columns: 1fr; }
  .awf-card { padding: 20px; }

  .awf-single { padding: 40px 0 20px; }
  .awf-quote { flex-direction: column; align-items: stretch; gap: 12px; padding: 20px; }
  .awf-quote .awf-btn { justify-content: center; }
  .awf-process-grid { grid-template-columns: 1fr; gap: 12px; }

  .awf-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .awf-prod-card .body { padding: 12px; }
  .awf-prod-card .title { font-size: .82rem; }

  .awf-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .awf-footer { padding: 28px 0 0; }
  .awf-archive-header { padding: 56px 0 20px; }
  .awf-archive-links { flex-direction: column; }
  .awf-archive-links a { justify-content: center; }

  .awf-posts { grid-template-columns: 1fr; gap: 16px; }
  .awf-post-single { padding: 56px 0 24px; }
  .awf-post-card .awf-post-thumb { min-height: 180px; }
  .awf-post-body { padding: 14px 16px 18px; }
  .awf-post-title { font-size: .95rem; }
  .awf-search-box { margin: 0 0 16px; }
  .awf-search-form { max-width: 100%; }
  .awf-search-btn { padding: 10px 14px; font-size: .78rem; }
  .awf-product-content { padding: 16px 16px 24px; }
  .awf-product-content table th { width: auto; white-space: normal; }
  .awf-product-content table th,
  .awf-product-content table td { padding: 8px 10px; font-size: .82rem; }
  .awf-product-content h2 { font-size: 1.1rem; margin: 24px 0 12px; }

  .awf-contact-grid { gap: 12px; }
  .awf-page { padding: 56px 0 28px; }
}

@media (max-width: 480px) {
  .awf-products { grid-template-columns: 1fr; }
  .awf-single { padding: 32px 0 12px; }
  .awf-single h1 { font-size: 1.15rem; }
  .awf-process-grid { grid-template-columns: 1fr; }
}
