/*
Theme Name: Network Editorial
Author: Kortex
Description: Theme editorial leger pour un reseau de blogs WordPress.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: network-editorial
*/

:root {
  --accent: #e23d4f;
  --accent-dark: #aa1f32;
  --accent-soft: #fff0f2;
  --ink: #172033;
  --muted: #667085;
  --surface: #ffffff;
  --surface-alt: #f5f7fb;
  --line: #e4e8f0;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.09);
  --container: 1180px;
}

.variant-garage {
  --accent: #f0642b;
  --accent-dark: #b63810;
  --accent-soft: #fff3ed;
  --ink: #17202d;
}

.variant-plombier {
  --accent: #0788c8;
  --accent-dark: #075f8b;
  --accent-soft: #eaf8ff;
  --ink: #123044;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 10000; padding: 12px 18px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(228, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(145deg, var(--accent), var(--accent-dark)); font-weight: 900; box-shadow: 0 9px 20px color-mix(in srgb, var(--accent) 26%, transparent); }
.brand-name { font-size: 1.08rem; font-weight: 850; letter-spacing: -0.02em; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: 0.91rem; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--accent-dark); background: var(--accent-soft); }
.header-search { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--surface-alt); text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 12px; background: var(--surface-alt); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 76px 0 66px; background: linear-gradient(145deg, var(--ink), color-mix(in srgb, var(--ink) 82%, var(--accent))); color: #fff; }
.hero::before, .hero::after { position: absolute; content: ""; border-radius: 50%; background: var(--accent); filter: blur(1px); opacity: 0.2; }
.hero::before { width: 390px; height: 390px; right: -140px; top: -220px; }
.hero::after { width: 220px; height: 220px; left: 34%; bottom: -170px; }
.hero-grid { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: color-mix(in srgb, var(--accent) 58%, white); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -0.052em; }
.hero-copy { max-width: 720px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.76); font-size: clamp(1.04rem, 2vw, 1.23rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; padding: 12px 19px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; font-weight: 850; line-height: 1.2; text-decoration: none; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { color: #fff; background: var(--accent-dark); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.button-ghost:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.14); }

.main-section { padding: 70px 0 82px; background: var(--surface-alt); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2, .archive-header h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.035em; }
.section-head p { margin: 7px 0 0; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 26px rgba(23,32,51,.045); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card.featured { grid-column: span 2; grid-row: span 2; }
.card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--accent-soft), color-mix(in srgb, var(--accent) 28%, white)); }
.featured .card-media { aspect-ratio: 16 / 8.3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .card-media img { transform: scale(1.025); }
.card-content { padding: 22px; }
.featured .card-content { padding: 28px; }
.category-label { display: inline-flex; margin-bottom: 11px; color: var(--accent-dark); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.post-card h2 { min-height: calc(1.28em * 2); margin: 0; overflow: hidden; font-size: 1.2rem; line-height: 1.28; letter-spacing: -.02em; overflow-wrap: anywhere; }
.featured h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.post-card h2 a { display: -webkit-box; overflow: hidden; color: var(--ink); text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.featured h2 a { -webkit-line-clamp: 4; }
.post-card h2 a:hover { color: var(--accent-dark); }
.card-excerpt { margin: 13px 0 0; color: var(--muted); font-size: .93rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; align-items: center; margin-top: 19px; color: var(--muted); font-size: .78rem; }
.read-more { display: inline-flex; min-height: 44px; margin: -8px -8px -8px auto; padding: 10px 12px; align-items: center; border-radius: 10px; color: var(--accent-dark); background: var(--accent-soft); font-weight: 800; text-decoration: none; }

.archive-main { min-height: 60vh; padding: 58px 0 80px; background: var(--surface-alt); }
.archive-header { margin-bottom: 30px; }
.archive-header p { max-width: 720px; margin: 12px 0 0; color: var(--muted); }
.pagination { margin-top: 38px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; text-align: center; text-decoration: none; }
.pagination .current, .pagination a:hover { color: #fff; border-color: var(--accent); background: var(--accent); }

.article-shell { padding: 56px 0 86px; background: var(--surface-alt); }
.article-layout { max-width: 940px; }
.article { min-width: 0; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { color: var(--muted); }
.entry-header h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.55rem); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--muted); font-size: .86rem; }
.entry-image { overflow: hidden; margin: 30px 0; border-radius: 18px; }
.entry-image img { width: 100%; }
.entry-content { color: #2f3a4b; font-size: 1.04rem; overflow-wrap: anywhere; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.025em; scroll-margin-top: 100px; }
.entry-content h2 { margin: 2.2em 0 .7em; font-size: 1.75rem; }
.entry-content h3 { margin: 1.8em 0 .6em; font-size: 1.35rem; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1.25em; }
.entry-content blockquote { margin: 2em 0; padding: 20px 24px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); }
.entry-content iframe { max-width: 100%; }
.legacy-amazon-offer { display: grid; gap: 12px; margin: 2.4rem 0 0; padding: 24px; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); border-radius: 16px; background: var(--accent-soft); }
.legacy-amazon-offer strong { color: var(--ink); font-size: 1.08rem; }
.legacy-amazon-offer p { margin: 0; color: var(--muted); font-size: .9rem; }
.legacy-amazon-offer a { display: inline-flex; width: fit-content; min-height: 48px; padding: 12px 18px; align-items: center; border-radius: 11px; color: #17120a; background: #ffb000; font-weight: 900; text-decoration: none; }
.legacy-amazon-offer a:hover { color: #000; background: #ffc13d; }
.related { margin-top: 30px; }
.related h2 { font-size: 1.35rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-item { padding: 15px; border: 1px solid var(--line); border-radius: 13px; }
.related-item a { color: var(--ink); font-size: .88rem; font-weight: 800; line-height: 1.35; text-decoration: none; }

.search-form { display: flex; gap: 8px; }
.search-field { min-width: 0; width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.search-submit { padding: 11px 15px; border: 0; border-radius: 10px; color: #fff; background: var(--accent); font-weight: 800; cursor: pointer; }
.empty-state { grid-column: 1 / -1; padding: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; }

.shop-hero { position: relative; overflow: hidden; padding: 72px 0; color: #fff; background: linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--ink) 72%, var(--accent))); }
.shop-hero::after { position: absolute; width: 520px; height: 520px; right: -240px; bottom: -360px; border-radius: 50%; background: var(--accent); content: ""; opacity: .27; }
.shop-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(36px, 7vw, 88px); align-items: center; }
.shop-hero h1 { max-width: 780px; margin: 0; font-size: clamp(2.35rem, 5vw, 4.35rem); line-height: 1.03; letter-spacing: -.052em; overflow-wrap: anywhere; }
.shop-hero-copy { max-width: 690px; margin: 22px 0 28px; color: rgba(255,255,255,.78); font-size: clamp(1.02rem, 2vw, 1.2rem); }
.button-shop { color: #17120a; background: #ffb000; box-shadow: 0 14px 32px rgba(0,0,0,.2); }
.button-shop:hover { color: #000; background: #ffc13d; transform: translateY(-2px); }
.shop-promise { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: 0 20px 60px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.shop-promise div { display: grid; gap: 3px; padding: 18px 20px; background: rgba(255,255,255,.04); }
.shop-promise strong { color: #fff; font-size: .95rem; }
.shop-promise span { color: rgba(255,255,255,.68); font-size: .82rem; line-height: 1.45; }
.shop-section { min-height: 52vh; padding: 68px 0 86px; background: var(--surface-alt); }
.shop-section-head { display: grid; grid-template-columns: 1fr minmax(280px, 480px); gap: 28px; align-items: end; margin-bottom: 30px; }
.shop-section-head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: -.035em; }
.shop-section-head > p { margin: 0; color: var(--muted); font-size: .83rem; text-align: right; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shop-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(23,32,51,.055); transition: transform .2s ease, box-shadow .2s ease; }
.shop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.shop-card-visual { position: relative; display: grid; min-height: 210px; place-items: center; overflow: hidden; color: var(--accent-dark); background: radial-gradient(circle at 65% 30%, #fff 0, var(--accent-soft) 48%, color-mix(in srgb, var(--accent) 22%, white) 100%); }
.shop-card-visual > span:not(.shop-badge) { font-size: 4.8rem; line-height: 1; filter: drop-shadow(0 16px 20px color-mix(in srgb, var(--accent) 24%, transparent)); }
.shop-card-visual img { width: 100%; height: 210px; object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.shop-badge { position: absolute; top: 15px; left: 15px; padding: 7px 10px; border-radius: 999px; color: var(--accent-dark); background: rgba(255,255,255,.9); box-shadow: 0 5px 16px rgba(23,32,51,.08); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.shop-card-content { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.shop-card-content h2 { display: -webkit-box; min-height: calc(1.28em * 3); margin: 0; overflow: hidden; color: var(--ink); font-size: 1.17rem; line-height: 1.28; letter-spacing: -.022em; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.shop-card-content > p { display: -webkit-box; min-height: calc(1.55em * 3); margin: 12px 0 0; overflow: hidden; color: var(--muted); font-size: .87rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.shop-card-actions { display: grid; gap: 9px; margin-top: auto; padding-top: 20px; }
.shop-review-link, .shop-amazon-link { display: flex; min-height: 45px; align-items: center; justify-content: center; border-radius: 10px; font-size: .87rem; font-weight: 850; text-align: center; text-decoration: none; }
.shop-review-link { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.shop-review-link:hover { color: var(--accent-dark); border-color: var(--accent); background: var(--accent-soft); }
.shop-amazon-link { gap: 8px; color: #17120a; background: #ffb000; }
.shop-amazon-link:hover { color: #000; background: #ffc13d; }
.shop-section .page-numbers { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 38px 0 0; padding: 0; list-style: none; }
.shop-section .page-numbers a, .shop-section .page-numbers .current { display: grid; min-width: 42px; min-height: 42px; padding: 8px 12px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; text-decoration: none; }
.shop-section .page-numbers .current, .shop-section .page-numbers a:hover { color: #fff; border-color: var(--accent); background: var(--accent); }
.shop-empty { display: grid; max-width: 760px; gap: 13px; margin-inline: auto; padding: clamp(36px, 7vw, 68px); justify-items: center; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.shop-empty > span { color: var(--accent); font-size: 4rem; line-height: 1; }
.shop-empty h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.shop-empty p { max-width: 560px; margin: 0 0 8px; color: var(--muted); }

.product-page { min-height: 62vh; padding: 38px 0 82px; background: var(--surface-alt); }
.product-breadcrumb { display: flex; gap: 8px; margin-bottom: 22px; align-items: center; overflow: hidden; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.product-breadcrumb a { color: var(--muted); }
.product-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.product-detail { display: grid; grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 66px); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.product-gallery-shell { min-width: 0; align-self: start; }
.product-gallery { position: relative; display: grid; min-height: 440px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; color: var(--accent-dark); background: radial-gradient(circle at 64% 28%, #fff 0, var(--accent-soft) 52%, color-mix(in srgb, var(--accent) 20%, white) 100%); }
.product-gallery-zoom { position: relative; display: grid; width: 100%; min-height: 440px; place-items: center; color: var(--ink); }
.product-gallery-zoom img { width: 100%; max-height: 470px; padding: 28px; object-fit: contain; mix-blend-mode: multiply; }
.product-gallery-zoom > span { position: absolute; right: 14px; bottom: 14px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 6px 18px rgba(23,32,51,.08); font-size: .72rem; font-weight: 800; }
.product-gallery > span { font-size: 7rem; filter: drop-shadow(0 20px 28px color-mix(in srgb, var(--accent) 25%, transparent)); }
.product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.product-thumbnail { display: grid; min-width: 0; aspect-ratio: 1; padding: 6px; place-items: center; overflow: hidden; border: 2px solid transparent; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.product-thumbnail:hover, .product-thumbnail.is-active { border-color: var(--accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 16%, transparent); }
.product-thumbnail img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-summary { align-self: center; min-width: 0; }
.product-summary-topline { display: flex; gap: 12px; margin-bottom: 10px; align-items: center; justify-content: space-between; }
.product-kicker { margin: 0; color: var(--accent-dark); font-size: .73rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product-asin { flex: 0 0 auto; color: var(--muted); font-size: .67rem; font-weight: 750; letter-spacing: .04em; }
.product-summary h1 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.product-brand { margin: 13px 0 0; color: var(--muted); font-size: .88rem; }
.product-divider { height: 1px; margin: 22px 0; background: var(--line); }
.product-price { display: grid; gap: 2px; margin: 0; }
.product-price span { color: var(--muted); font-size: .8rem; }
.product-price strong { color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.15; }
.product-stock { margin: 8px 0 0; color: var(--muted); font-size: .85rem; font-weight: 750; }
.product-stock.is-available { color: #087a45; }
.product-intro { margin: 18px 0 0; color: var(--muted); font-size: .96rem; line-height: 1.65; overflow-wrap: anywhere; }
.product-buy-button { display: flex; width: 100%; min-height: 54px; gap: 10px; margin-top: 24px; padding: 14px 20px; align-items: center; justify-content: center; border-radius: 12px; color: #17120a; background: #ffb000; box-shadow: 0 12px 28px rgba(255,176,0,.24); font-weight: 900; text-align: center; text-decoration: none; }
.product-buy-button:hover { color: #000; background: #ffc13d; transform: translateY(-2px); }
.product-trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 15px; }
.product-trust-grid > div { display: grid; min-width: 0; gap: 3px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-alt); }
.product-trust-grid strong { color: var(--ink); font-size: .79rem; }
.product-trust-grid span { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.product-timestamp { margin: 12px 0 0; color: var(--muted); font-size: .72rem; }
.product-features { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; margin-top: 28px; padding: clamp(26px, 5vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.product-features h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.12; letter-spacing: -.035em; }
.product-features header > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.product-features ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.product-features li { display: grid; grid-template-columns: 26px 1fr; gap: 9px; color: #354153; }
.product-features li span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: .72rem; font-weight: 900; }
.product-disclosure { max-width: 900px; margin: 24px auto 0; color: var(--muted); font-size: .76rem; text-align: center; }

.site-footer { padding: 54px 0 24px; color: rgba(255,255,255,.73); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 54px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { max-width: 460px; margin: 18px 0 0; }
.footer-title { margin: 0 0 15px; color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { color: rgba(255,255,255,.76); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; gap: 20px; justify-content: space-between; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

@media (max-width: 980px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card.featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-hero-grid { grid-template-columns: 1fr; }
  .shop-promise { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-search { display: none; }
  .primary-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 1px); display: none; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: #fff; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav a { padding: 11px 12px; }
  .hero { padding: 55px 0 48px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(2.15rem, 12vw, 3.15rem); }
  .hero-actions .button { width: 100%; }
  .main-section, .archive-main { padding: 50px 0 62px; }
  .section-head { align-items: start; flex-direction: column; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card.featured { grid-column: auto; grid-row: auto; }
  .featured .card-media { aspect-ratio: 16 / 9; }
  .article-shell { padding: 24px 0 58px; }
  .article { padding: 24px 20px; border-radius: 18px; }
  .entry-header h1 { font-size: clamp(1.9rem, 10vw, 2.7rem); }
  .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .shop-hero { padding: 54px 0; }
  .shop-hero h1 { font-size: clamp(2.05rem, 11vw, 3.1rem); }
  .shop-promise, .shop-section-head, .shop-grid { grid-template-columns: 1fr; }
  .shop-section-head > p { text-align: left; }
  .shop-section { padding: 50px 0 64px; }
  .shop-card-visual { min-height: 190px; }
  .product-page { padding: 24px 0 58px; }
  .product-detail, .product-features { grid-template-columns: 1fr; }
  .product-detail { gap: 26px; padding: 20px; border-radius: 18px; }
  .product-gallery, .product-gallery-zoom { min-height: 300px; }
  .product-gallery-zoom img { max-height: 340px; padding: 18px; }
  .product-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-trust-grid { grid-template-columns: 1fr; }
  .product-summary-topline { align-items: flex-start; flex-direction: column; }
  .product-summary h1 { font-size: clamp(1.85rem, 9vw, 2.6rem); }
  .product-features { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
