/*
Theme Name: StyleReturn
Theme URI: https://stylereturn.com
Author: StyleReturn
Author URI: https://stylereturn.com
Description: A clean, editorial WordPress theme built for fashion return policy websites. Includes homepage, single post template, category pages, and full SEO-ready structure.
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: stylereturn
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================
   StyleReturn Theme — Core Styles
   ========================================= */

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

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream:     #FAF8F4;
  --cream2:    #F2EFE9;
  --cream3:    #EAE6DE;
  --white:     #FFFFFF;
  --ink:       #1A1714;
  --ink2:      #3D3A36;
  --muted:     #8A8580;
  --border:    #E4E0D8;
  --border2:   #D4CFC6;
  --accent:    #C8471A;
  --accent-bg: #FDF0EB;
  --accent-lt: #F0C4B4;
  --green:     #1A6B3C;
  --green-bg:  #EAF4EF;
  --amber:     #B45309;
  --amber-bg:  #FEF3C7;
  --red:       #B91C1C;
  --red-bg:    #FEE2E2;

  --fs: 'Playfair Display', Georgia, serif;
  --ss: 'Outfit', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.10);

  --max-w: 1140px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ss);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
p { margin-bottom: 1em; }

/* ─── LAYOUT HELPERS ─────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section    { padding: 68px 0; }
.section-sm { padding: 44px 0; }

/* ─── TYPOGRAPHY ─────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--fs); font-weight: 700; line-height: 1.1; letter-spacing: -.5px; color: var(--ink); }
h1 { font-size: clamp(32px,4vw,52px); letter-spacing:-1.5px; }
h2 { font-size: clamp(24px,3vw,38px); letter-spacing:-.8px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

.section-label {
  font-family: var(--ss);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.section-title { font-family: var(--fs); }
.section-title em { font-style: italic; color: var(--accent); }

/* ─── BUTTONS ────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-family: var(--ss); font-size: 13px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .88; color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-bg); color: var(--accent);
  border: 1px solid var(--accent-lt);
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: var(--ss); font-size: 13px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: all .15s;
}
.btn-outline:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── BADGES / PILLS ─────────────────── */
.badge { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; }
.badge-easy   { background: var(--green-bg); color: var(--green); }
.badge-medium { background: var(--amber-bg); color: var(--amber); }
.badge-hard   { background: var(--red-bg);   color: var(--red); }
.badge-accent { background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-lt); }

/* ─── SITE HEADER / NAV ──────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo {
  font-family: var(--fs); font-size: 20px; font-weight: 700;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 9px;
}
.site-logo .logo-icon {
  width: 30px; height: 30px; background: var(--accent); color: #fff;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.site-logo svg { width: 16px; height: 16px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink2); text-decoration: none;
  font-size: 13px; font-weight: 400;
  padding: 7px 12px; border-radius: 6px;
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--cream2); color: var(--ink); }
.header-cta { flex-shrink: 0; }
/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 4px;
}

/* ─── SEARCH BAR ─────────────────────── */
.search-bar {
  display: flex; align-items: center; gap: 9px;
  background: var(--white); border: 1.5px solid var(--border2);
  border-radius: var(--radius-md);
  padding: 6px 6px 6px 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,71,26,.1);
}
.search-bar svg { color: var(--muted); flex-shrink: 0; width: 15px; height: 15px; }
.search-bar input {
  flex: 1; border: none; outline: none;
  font-size: 14px; font-family: var(--ss); color: var(--ink);
  background: transparent; min-width: 0;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar button {
  background: var(--accent); color: #fff; border: none;
  padding: 9px 18px; border-radius: 7px;
  font-size: 13px; font-weight: 600; font-family: var(--ss);
  cursor: pointer; transition: opacity .15s; white-space: nowrap;
}
.search-bar button:hover { opacity: .88; }
.search-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.search-tags .label { font-size: 12px; color: var(--muted); }
.search-tags a {
  font-size: 12px; color: var(--ink2); text-decoration: none;
  background: var(--cream2); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 20px; transition: all .15s;
}
.search-tags a:hover { background: var(--accent-bg); border-color: var(--accent-lt); color: var(--accent); }

/* ─── HERO SECTION ───────────────────── */
.hero-section {
  padding: 68px 0 56px;
  background: var(--cream);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 500; color: var(--accent);
  background: var(--accent-bg); border: 1px solid var(--accent-lt);
  padding: 5px 12px; border-radius: 20px; margin-bottom: 20px;
  letter-spacing: .04em;
}
.hero-tag-dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }
.hero-title { font-family: var(--fs); margin-bottom: 16px; }
.hero-desc {
  font-size: 16px; color: var(--muted); font-weight: 300;
  max-width: 420px; margin-bottom: 28px; line-height: 1.7;
}

/* Hero floating cards */
.hero-cards { position: relative; height: 340px; }
.policy-card {
  position: absolute; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px 18px; width: 242px; box-shadow: var(--shadow-md);
}
.policy-card:nth-child(1) { top: 0; left: 28px; z-index: 3; animation: float1 5s ease-in-out infinite; }
.policy-card:nth-child(2) { top: 74px; left: 118px; z-index: 2; animation: float2 5s ease-in-out infinite .8s; }
.policy-card:nth-child(3) { top: 178px; left: 40px; z-index: 1; opacity: .82; animation: float3 5s ease-in-out infinite 1.5s; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.card-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--border);
}
.card-avatar {
  width: 32px; height: 32px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; flex-shrink: 0;
}
.card-brand-name { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.card-category   { font-size: 10px; color: var(--muted); margin-top: 1px; }
.card-row { display: flex; justify-content: space-between; padding: 4px 0; }
.card-row:not(:last-child) { border-bottom: 1px solid var(--cream2); }
.card-label { font-size: 10px; color: var(--muted); }
.card-value { font-size: 11px; font-weight: 500; color: var(--ink); }
.card-value.green { color: var(--green); }

/* ─── STATS STRIP ────────────────────── */
.stats-strip {
  background: var(--ink); padding: 22px 0;
}
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 6px 40px; }
.stat-item strong {
  font-family: var(--fs); font-size: 28px; font-weight: 700;
  color: #fff; letter-spacing: -.5px; line-height: 1.1;
}
.stat-item span { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; font-weight: 300; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.12); }

/* ─── CATEGORY GRID ──────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.cat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  text-decoration: none; display: flex; flex-direction: column; gap: 8px;
  transition: all .2s; position: relative; overflow: hidden;
}
.cat-card::after {
  content: '→'; position: absolute; top: 16px; right: 16px;
  font-size: 13px; color: var(--muted); opacity: 0;
  transform: translateX(-4px); transition: all .2s;
}
.cat-card:hover { border-color: var(--border2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cat-card:hover::after { opacity: 1; transform: translateX(0); }
.cat-card.featured { background: var(--accent); border-color: var(--accent); }
.cat-card.featured .cat-name  { color: #fff; }
.cat-card.featured .cat-brands { color: rgba(255,255,255,.65); }
.cat-card.featured .cat-count  { color: rgba(255,255,255,.55); }
.cat-card.featured .cat-vol    { background: rgba(255,255,255,.2); color: #fff; }
.cat-card.featured::after      { color: rgba(255,255,255,.6); }
.cat-emoji  { font-size: 24px; line-height: 1; }
.cat-name   { font-size: 13px; font-weight: 600; color: var(--ink); font-family: var(--ss); }
.cat-brands { font-size: 11px; color: var(--muted); line-height: 1.5; }
.cat-meta   { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.cat-count  { font-size: 10px; color: var(--muted); }
.cat-vol    { font-size: 10px; font-weight: 600; color: var(--accent); background: var(--accent-bg); padding: 2px 7px; border-radius: 9px; }

/* ─── BRANDS TABLE ───────────────────── */
.brands-table { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.bt-head {
  display: grid; grid-template-columns: 2fr 1.3fr 1fr 1.2fr .8fr 1fr;
  padding: 11px 20px; background: var(--cream2); border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); gap: 10px;
}
.bt-row {
  display: grid; grid-template-columns: 2fr 1.3fr 1fr 1.2fr .8fr 1fr;
  padding: 13px 20px; border-bottom: 1px solid var(--border);
  align-items: center; font-size: 12px; color: var(--ink2);
  text-decoration: none; transition: background .15s; gap: 10px; cursor: pointer;
}
.bt-row:last-child { border-bottom: none; }
.bt-row:hover { background: var(--cream); }
.bt-brand { display: flex; align-items: center; gap: 9px; font-weight: 500; color: var(--ink); font-size: 13px; }
.bt-avatar { width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.bt-category { font-size: 11px; color: var(--muted); }
.text-green { color: var(--green); font-weight: 500; }
.vol-number { font-family: var(--fs); font-size: 13px; font-weight: 500; }

/* ─── HOW IT WORKS ───────────────────── */
.how-section { background: var(--ink); }
.how-section .section-label { color: rgba(255,255,255,.35); }
.how-section .section-title { color: #fff; }
.steps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: center; margin-top: 40px;
}
.step-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.step-number { font-family: var(--fs); font-size: 40px; font-weight: 700; color: var(--accent); line-height: 1; opacity: .8; }
.step-card h3 { font-family: var(--fs); font-size: 17px; color: #fff; margin: 12px 0 9px; letter-spacing: -.2px; }
.step-card p  { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.65; font-weight: 300; }
.step-arrow   { font-size: 18px; color: rgba(255,255,255,.18); padding: 0 14px; text-align: center; }

/* ─── SINGLE POST / ARTICLE ──────────── */
.article-header {
  background: var(--cream2); border-bottom: 1px solid var(--border);
  padding: 52px 0 40px;
}
.article-breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap;
}
.article-breadcrumb a { color: var(--accent); text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-breadcrumb span { color: var(--border2); }
.article-title { font-family: var(--fs); font-size: clamp(28px,4vw,46px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 16px; }
.article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.article-meta-item { display: flex; align-items: center; gap: 5px; }
.updated-date { background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-lt); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; }

/* Policy summary box */
.policy-summary-box {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin: 32px 0;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.policy-summary-box .summary-item { text-align: center; }
.summary-icon { font-size: 22px; margin-bottom: 7px; }
.summary-value { font-family: var(--fs); font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.summary-label { font-size: 11px; color: var(--muted); margin-top: 3px; font-weight: 400; }

/* Article body */
.article-body { max-width: 740px; }
.article-body h2 { font-family: var(--fs); font-size: 24px; font-weight: 700; letter-spacing: -.5px; margin: 36px 0 14px; padding-top: 8px; border-top: 2px solid var(--cream3); }
.article-body h3 { font-family: var(--fs); font-size: 18px; font-weight: 600; margin: 24px 0 10px; }
.article-body p  { font-size: 15px; color: var(--ink2); line-height: 1.75; margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body li { font-size: 15px; color: var(--ink2); line-height: 1.7; margin-bottom: 7px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--accent); }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article-body table th { background: var(--cream2); padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); }
.article-body table td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--ink2); }
.article-body table tr:hover td { background: var(--cream); }

/* Info callout box */
.callout-box {
  background: var(--accent-bg); border: 1px solid var(--accent-lt);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 18px; margin: 24px 0;
}
.callout-box p { font-size: 14px; color: var(--ink2); margin: 0; }

/* FAQ in article */
.faq-block { margin: 32px 0; }
.faq-block h2 { margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 0; background: none; border: none; cursor: pointer;
  font-family: var(--ss); font-size: 14px; font-weight: 500; color: var(--ink); text-align: left;
  transition: color .15s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon { font-size: 18px; color: var(--muted); flex-shrink: 0; transition: transform .25s, color .15s; line-height: 1; }
.faq-item.open .faq-question { color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer { font-size: 14px; color: var(--muted); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; font-weight: 300; }
.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 16px; }

/* Article sidebar */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.sidebar-widget h4 { font-family: var(--fs); font-size: 16px; font-weight: 700; margin-bottom: 14px; letter-spacing: -.2px; }
.sidebar-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--ink2); font-size: 13px; transition: color .15s; }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--accent); }
.sidebar-link-meta { font-size: 10px; color: var(--muted); margin-top: 1px; }
.toc-list { list-style: none; padding: 0; }
.toc-list li { padding: 5px 0; border-bottom: 1px solid var(--cream2); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a { font-size: 13px; color: var(--accent); text-decoration: none; }
.toc-list a:hover { text-decoration: underline; }

/* ─── CATEGORY / ARCHIVE PAGE ────────── */
.archive-header { padding: 48px 0 36px; background: var(--cream2); border-bottom: 1px solid var(--border); }
.archive-title  { font-family: var(--fs); font-size: 38px; font-weight: 700; letter-spacing: -1px; margin-bottom: 10px; }
.archive-desc   { font-size: 15px; color: var(--muted); max-width: 540px; font-weight: 300; line-height: 1.7; }
.posts-grid     { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.post-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column;
  transition: all .2s;
}
.post-card:hover { border-color: var(--border2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card-img { width: 100%; height: 160px; object-fit: cover; background: var(--cream2); }
.post-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.post-card-cat  { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.post-card-title { font-family: var(--fs); font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.2px; }
.post-card-meta  { font-size: 11px; color: var(--muted); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--cream2); display: flex; align-items: center; justify-content: space-between; }
.post-card-window { font-size: 11px; font-weight: 500; color: var(--green); background: var(--green-bg); padding: 2px 8px; border-radius: 8px; }

/* ─── CTA SECTION ────────────────────── */
.cta-section { background: var(--cream2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 68px 0; text-align: center; }
.cta-title { font-family: var(--fs); font-size: 34px; font-weight: 700; letter-spacing: -.8px; margin-bottom: 12px; }
.cta-desc  { font-size: 15px; color: var(--muted); margin-bottom: 28px; font-weight: 300; }
.cta-search { display: flex; gap: 8px; background: var(--white); border: 1.5px solid var(--border2); border-radius: var(--radius-md); padding: 5px 5px 5px 16px; max-width: 540px; margin: 0 auto; box-shadow: var(--shadow-sm); }
.cta-search input { flex: 1; border: none; outline: none; font-size: 14px; font-family: var(--ss); color: var(--ink); background: transparent; }
.cta-search input::placeholder { color: var(--muted); }
.cta-search button { background: var(--accent); color: #fff; border: none; padding: 10px 20px; border-radius: 7px; font-size: 13px; font-weight: 600; font-family: var(--ss); cursor: pointer; transition: opacity .15s; white-space: nowrap; }
.cta-search button:hover { opacity: .88; }

/* ─── FOOTER ─────────────────────────── */
.site-footer { background: var(--ink); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-logo { font-family: var(--fs); font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-logo .logo-icon { background: var(--accent); width: 26px; height: 26px; border-radius: 6px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.38); line-height: 1.65; font-weight: 300; max-width: 210px; }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; font-family: var(--ss); }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: 9px; transition: color .15s; font-weight: 300; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; color: rgba(255,255,255,.28); flex-wrap: wrap; gap: 10px; }

/* ─── RESPONSIVE ─────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .step-arrow { transform: rotate(90deg); text-align: left; padding: 6px 0; font-size: 14px; }
  .article-layout { grid-template-columns: 1fr; }
  .bt-head, .bt-row { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .bt-head > *:nth-child(5), .bt-head > *:nth-child(6),
  .bt-row  > *:nth-child(5), .bt-row  > *:nth-child(6) { display: none; }
}
@media (max-width: 768px) {
  :root { --max-w: 100%; }
  .container { padding: 0 18px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .posts-grid { grid-template-columns: 1fr; }
  .policy-summary-box { grid-template-columns: repeat(2,1fr); }
  .stat-divider { display: none; }
  .stat-item { padding: 8px 16px; }
  .stats-inner { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-desc { max-width: 100%; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .policy-summary-box { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 30px; letter-spacing: -1px; }
}

/* ─── ARTICLE CONTENT TEMPLATE HELPERS ── */
/* Callout / tip box */
.callout-box {
  background: var(--accent-bg);
  border: 1px solid var(--accent-lt);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 22px 0;
}
.callout-box p { font-size: 14px; color: var(--ink2); margin: 0; line-height: 1.65; }

/* Numbered steps list */
.steps-list { list-style: none; padding: 0; margin: 0 0 20px; counter-reset: steps; }
.steps-list li {
  counter-increment: steps;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--cream3);
  font-size: 14px; color: var(--ink2); line-height: 1.65;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(steps);
  min-width: 26px; height: 26px;
  background: var(--accent); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}

/* Warning box */
.warning-box {
  background: var(--amber-bg);
  border: 1px solid #FDE68A;
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px; margin: 22px 0;
}
.warning-box p { font-size: 14px; color: var(--ink2); margin: 0; }

/* Success box */
.success-box {
  background: var(--green-bg);
  border: 1px solid #A7F3D0;
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px; margin: 22px 0;
}
.success-box p { font-size: 14px; color: var(--ink2); margin: 0; }

/* Author bio box */
.author-box {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--cream2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; margin: 32px 0 16px;
}
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fs); font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.author-name { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.author-desc { font-size: 12px; color: var(--muted); line-height: 1.6; font-weight: 300; }

/* Disclaimer */
.disclaimer-box {
  background: var(--cream2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border2);
  padding: 13px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 28px;
}
.disclaimer-box strong { color: var(--ink2); }

/* Trust widget */
.trust-widget { background: var(--green-bg) !important; border-color: #A7F3D0 !important; }
.trust-item { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12px; color: var(--ink2); }
.trust-icon { color: var(--green); font-weight: 700; flex-shrink: 0; }

/* Post tags */
.post-tags {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px; color: var(--muted);
}
.post-tags a {
  background: var(--cream2); border: 1px solid var(--border);
  color: var(--ink2); padding: 3px 10px; border-radius: 20px;
  text-decoration: none; font-size: 11px; transition: all .15s;
}
.post-tags a:hover { background: var(--accent-bg); border-color: var(--accent-lt); color: var(--accent); }

/* Sidebar widget rows */
.sw-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--cream2); font-size: 12px; }
.sw-row:last-of-type { border-bottom: none; }
.sw-lbl { color: var(--muted); }
.sw-val { font-weight: 500; color: var(--ink); }
.sw-val.sw-green { color: var(--green); }
.sw-cta-btn { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; background: var(--accent); color: #fff; border: none; padding: 10px; border-radius: 7px; font-size: 12px; font-weight: 600; margin-top: 14px; text-decoration: none; transition: opacity .15s; }
.sw-cta-btn:hover { opacity: .88; color: #fff; }

/* ─── ARTICLE CONTENT TEMPLATE ────────── */
/* This is the structure every article should follow */
/*
  Use these Gutenberg blocks / HTML structure:
  
  1. Paragraph (intro)
  2. policy-summary-box (auto from theme)
  3. rr-info-table (auto from theme)
  4. Heading H2 id="overview"
  5. Paragraphs
  6. callout-box div
  7. Heading H2 id="how-to-return"
  8. steps-list ol
  9. Heading H2 id="refund"
  10. Paragraphs + bullet list
  11. Heading H2 id="exchange"
  12. Paragraphs
  13. Heading H2 id="exceptions"
  14. Bullet list
  15. Heading H2 id="tips"
  16. Bullet list / callout boxes
  17. Heading H2 id="faq"
  18. FAQ items (use Rank Math FAQ block)
*/

/* ─── LEGAL / STATIC PAGES ────────────── */
.legal-header {
  background: var(--cream2);
  border-bottom: 1px solid var(--border);
  padding: 44px 0 32px;
}
.legal-title {
  font-family: var(--fs);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 10px;
}
.legal-meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}
.legal-wrap { padding: 48px 0 72px; }
.legal-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.legal-body h2 {
  font-family: var(--fs);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin: 36px 0 12px;
  padding-top: 10px;
  border-top: 1.5px solid var(--cream3);
  color: var(--ink);
}
.legal-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 {
  font-family: var(--fs);
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 9px;
  color: var(--ink);
}
.legal-body p { font-size: 15px; color: var(--ink2); line-height: 1.75; margin-bottom: 14px; }
.legal-body ul, .legal-body ol { padding-left: 20px; margin-bottom: 16px; }
.legal-body li { font-size: 15px; color: var(--ink2); line-height: 1.7; margin-bottom: 7px; }
.legal-body a { color: var(--accent); }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-intro {
  background: var(--accent-bg);
  border: 1px solid var(--accent-lt);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 32px;
}
.legal-intro p { font-size: 14px; color: var(--ink2); margin: 0; line-height: 1.7; }
.legal-sidebar {}
.legal-table-wrap { overflow-x: auto; margin: 16px 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.legal-table th {
  background: var(--cream2); padding: 10px 14px;
  text-align: left; font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
.legal-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: var(--ink2); }
.legal-table tr:nth-child(even) td { background: var(--cream); }
@media(max-width:900px) { .legal-layout { grid-template-columns: 1fr; } .legal-sidebar { display: none; } }
