/*
Theme Name: JC Native
Theme URI: https://example.com/jc-native
Author: JC
Description: 一套轻量、响应式、无第三方主题依赖的企业展示型 WordPress 原生主题。
Version: 1.4.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jc-native
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns
*/

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --jc-primary: #d89b3c;
  --jc-primary-dark: #b8781f;
  --jc-ink: #171717;
  --jc-muted: #6b7280;
  --jc-surface: #f7f6f2;
  --jc-border: #e7e2d8;
  --jc-white: #fff;
  --jc-radius: 18px;
  --jc-shadow: 0 18px 45px rgba(22, 22, 22, .08);
  --jc-container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--jc-ink);
  background: var(--jc-white);
  font-family: "Montserrat", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--jc-primary-dark); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--jc-ink); }
button, input, textarea, select { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--jc-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;
}
.screen-reader-text:focus {
  z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px;
  clip: auto !important; background: var(--jc-white); color: var(--jc-ink); box-shadow: var(--jc-shadow);
}

/* SHEHDS reference header */
.sheds-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  color: #fff;
  font-family: "Montserrat", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
.sheds-promo {
  display: grid;
  height: 46px;
  place-items: center;
  background: #202022;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1px;
}
.sheds-promo a { color: #ff6a00; text-decoration: none; }
.sheds-nav-shell { position: relative; height: 83px; background: #030303; }
.sheds-nav-inner {
  width: calc(100% - 48px);
  width: min(calc(100% - 48px), 1660px);
  height: 83px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 215px minmax(780px, 1fr) auto;
  align-items: center;
  gap: 22px;
}
.sheds-brand { display: flex; align-items: center; }
.sheds-brand .custom-logo-link { display: block; }
.sheds-brand .custom-logo { width: 160px; max-width: 100%; max-height: 54px; object-fit: contain; }
.sheds-logo-fallback { display: inline-grid; color: #fff; text-decoration: none; line-height: 1; transform: skew(-7deg); }
.sheds-logo-fallback strong { font-size: 28px; font-weight: 950; letter-spacing: -2.4px; }
.sheds-logo-fallback strong::first-letter { text-decoration: underline 3px #f6b300; }
.sheds-logo-fallback small { margin-top: 5px; font-size: 5.8px; font-weight: 700; letter-spacing: 2px; transform: skew(7deg); }
.sheds-navigation, .sheds-navigation ul { height: 100%; }
.sheds-menu { display: flex; align-items: stretch; justify-content: center; gap: clamp(19px, 1.75vw, 38px); margin: 0; padding: 0; list-style: none; }
.sheds-menu > li { position: static; display: flex; align-items: center; white-space: nowrap; }
.sheds-menu > li > a, .sheds-actions a {
  color: #f7f7f7;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color .16s ease;
}
.sheds-menu > li:hover > a, .sheds-menu > li:focus-within > a { color: #ffbd00; }
.nav-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s;
}
.has-mega-menu:hover > a .nav-chevron, .has-mega-menu:focus-within > a .nav-chevron { transform: translateY(3px) rotate(225deg); }
.mega-panel {
  position: absolute;
  top: 83px;
  left: 50%;
  z-index: 20;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 7px);
  background: #414141;
  color: #fff;
  white-space: normal;
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-mega-menu:hover > .mega-panel, .has-mega-menu:focus-within > .mega-panel, .has-mega-menu.mega-open > .mega-panel {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
.solution-panel { width: 256px; margin-left: -128px; background: #222; }
.solution-links { padding: 10px 0; }
.solution-links a { display: block; padding: 10px 24px; color: #eee; font-size: 15px; text-decoration: none; }
.solution-links a:hover { background: #303030; color: #ffbd00; }
.category-panel, .support-panel { width: 100vw; max-width: none; }
.category-layout, .support-layout { display: grid; width: min(100%, 1900px); min-height: 455px; margin: auto; }
.category-layout { grid-template-columns: 41.2% 58.8%; }
.category-tabs, .support-links { position: relative; padding: 34px max(38px, calc((100vw - 1680px) / 2 + 62px)); background: #1e1e1e; }
.category-tabs {
  max-height: 455px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ffbd00 #555;
  overscroll-behavior: contain;
}
.category-tabs::-webkit-scrollbar { width: 5px; }
.category-tabs::-webkit-scrollbar-track { background: #555; }
.category-tabs::-webkit-scrollbar-thumb { background: #ffbd00; }
.category-tabs::after, .support-links::after {
  content: "";
  position: absolute;
  top: 35px;
  right: 34px;
  bottom: 20px;
  width: 4px;
  background: #555;
}
.category-tabs a, .support-links a {
  display: block;
  padding: 16px 0 16px;
  border-bottom: 1px solid #565656;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.category-tabs a.is-active { color: #ffbd00; border-bottom-color: #ffbd00; }
.category-tabs::before { content: ""; position: absolute; top: 35px; right: 34px; z-index: 1; width: 4px; height: 165px; background: #ffbd00; }
.category-products, .support-story { padding: 28px 40px 30px 30px; background: #414141; }
.category-products::after { content: ""; position: absolute; top: 29px; right: 112px; width: 5px; height: 111px; background: #ffbd00; }
.mega-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.product-set { display: none; }
.product-set.is-active { display: block; animation: product-set-in .18s ease-out; }
@keyframes product-set-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.mega-title-row strong { font-size: 18px; }
.mega-title-row a { color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.mega-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px 55px; }
.mega-product { display: grid; grid-template-columns: minmax(190px, 1fr) 150px; align-items: center; gap: 20px; color: #fff; font-size: 16px; line-height: 1.4; text-decoration: none; }
.mega-product:hover { color: #ffbd00; }
.product-placeholder { position: relative; display: block; width: 105px; height: 105px; margin: auto; filter: drop-shadow(0 10px 5px rgba(0,0,0,.25)); }
.product-placeholder::before { content: ""; position: absolute; inset: 15px; border: 8px solid #151515; border-radius: 50%; background: radial-gradient(circle, #ff8735 0 7%, #1a1a1a 8% 18%, #e05f22 19% 23%, #1c1c1c 24% 100%); box-shadow: 0 0 0 9px #292929; }
.product-placeholder::after { content: ""; position: absolute; left: 23px; right: 23px; bottom: 0; height: 16px; border: 6px solid #181818; border-top: 0; transform: skew(-14deg); }
.product-variant-1 { transform: rotate(-7deg); }
.product-variant-2::before { background: radial-gradient(circle, #51ff78 0 12%, #1a1a1a 13% 24%, #242424 25% 100%); }
.product-variant-3::before { inset: 9px 26px 8px; border-radius: 5px; background: linear-gradient(#15264a 0 13%, #28a4d7 14% 18%, #111 19% 100%); }
.product-variant-3::after { display: none; }
.product-variant-4 { transform: scale(.78) rotate(-12deg); }
.support-layout { grid-template-columns: 41.5% 58.5%; }
.support-links { padding-top: 39px; padding-right: max(75px, calc((100vw - 1680px) / 2 + 95px)); }
.support-links a { padding: 14px 0 15px; }
.support-story { padding: 25px 8% 45px 30px; }
.support-story .mega-title-row { margin-bottom: 30px; }
.support-story-body { display: grid; grid-template-columns: 278px 1fr; gap: 28px; align-items: start; }
.factory-placeholder { min-height: 290px; background: linear-gradient(180deg, #b5afb6 0 12%, #6f523a 13% 47%, #202321 48% 100%); border: 1px solid #777; }
.factory-placeholder::after { content: ""; display: block; height: 90px; margin-top: 135px; background: repeating-linear-gradient(90deg, #0bbd5a 0 12px, #101010 13px 38px); filter: brightness(.8); }
.support-story p { margin: 25px 0 0; color: #fff; font-size: 17px; line-height: 1.75; }
.sheds-actions { display: flex; align-items: center; justify-content: flex-end; height: 100%; gap: 9px; white-space: nowrap; }
.sheds-actions .language-link { margin-right: 1px; font-size: 15px; }
.header-search { width: 129px; height: 45px; display: flex; align-items: center; gap: 7px; padding: 0 11px; border-radius: 25px; background: #202020; }
.header-search svg { flex: 0 0 22px; width: 22px; fill: none; stroke: #fff; stroke-width: 1.7; }
.header-search input { width: 80px; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; }
.header-search input::placeholder { color: #929292; }
.action-icon { display: grid; width: 27px; height: 35px; place-items: center; }
.action-icon svg { width: 26px; fill: none; stroke: #fff; stroke-width: 1.45; }
.currency-link { display: flex; align-items: center; gap: 3px; font-size: 14px !important; }
.us-flag { font-size: 25px; line-height: 1; }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; color: #fff; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 25px; height: 2px; margin: 5px 0; background: currentColor; transition: .2s; }
.mobile-search-toggle, .mobile-navigation { display: none; }
.mobile-search-toggle { width: 34px; height: 40px; padding: 5px; border: 0; background: transparent; color: #fff; }
.mobile-search-toggle svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* Front page */
.hero { position: relative; overflow: hidden; padding: clamp(90px, 13vw, 170px) 0; background: #121212; color: var(--jc-white); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 35%, rgba(216, 155, 60, .28), transparent 33%), linear-gradient(120deg, #101010 20%, #28231c 100%);
}
.hero::after { content: ""; position: absolute; right: -12vw; bottom: -35%; width: 55vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #efc47e; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(2.7rem, 7vw, 5.7rem); line-height: 1.02; letter-spacing: -.055em; }
.hero p { max-width: 650px; margin: 0 0 36px; color: rgba(255,255,255,.72); font-size: clamp(1rem, 2vw, 1.22rem); }
.button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px;
  border: 1px solid var(--jc-primary); border-radius: 999px; background: var(--jc-primary); color: #18130d;
  font-weight: 750; text-decoration: none; transition: transform .2s, background .2s, color .2s;
}
.button:hover, .wp-block-button__link:hover { transform: translateY(-2px); background: #e9b45e; color: #18130d; }
.button-outline { margin-left: 10px; border-color: rgba(255,255,255,.35); background: transparent; color: var(--jc-white); }
.button-outline:hover { background: var(--jc-white); color: var(--jc-ink); }
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-muted { background: var(--jc-surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-head h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -.04em; }
.section-head p { max-width: 520px; margin: 0; color: var(--jc-muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 34px; border: 1px solid var(--jc-border); border-radius: var(--jc-radius); background: var(--jc-white); transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--jc-shadow); }
.feature-number { margin-bottom: 40px; color: var(--jc-primary-dark); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
.feature-card p { margin: 0; color: var(--jc-muted); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(35px, 6vw, 70px); border-radius: calc(var(--jc-radius) * 1.5); background: var(--jc-ink); color: var(--jc-white); }
.cta-panel h2 { max-width: 700px; margin: 0; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -.04em; }

/* Content and cards */
.site-main { min-height: 55vh; }
.page-header { padding: 70px 0 45px; background: var(--jc-surface); }
.page-header h1 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.3rem); line-height: 1.08; letter-spacing: -.045em; }
.page-description { max-width: 720px; margin-top: 14px; color: var(--jc-muted); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; padding: 70px 0 100px; }
.content-layout.no-sidebar { display: block; max-width: 820px; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.post-card { overflow: hidden; border: 1px solid var(--jc-border); border-radius: var(--jc-radius); background: var(--jc-white); }
.post-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--jc-surface); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-card-content { padding: 26px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 12px; color: var(--jc-muted); font-size: .82rem; }
.entry-meta a { color: inherit; text-decoration: none; }
.entry-title { margin: 0 0 12px; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.25; }
.entry-title a { color: var(--jc-ink); text-decoration: none; }
.entry-title a:hover { color: var(--jc-primary-dark); }
.entry-summary { color: var(--jc-muted); }
.entry-summary p { margin: 0; }
.single-article { max-width: 820px; }
.single-header { margin-bottom: 40px; }
.single-title { margin: 8px 0 16px; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.05em; }
.single-thumbnail { margin: 0 0 42px; overflow: hidden; border-radius: var(--jc-radius); }
.entry-content { font-size: 1.075rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.7em 0 .6em; line-height: 1.25; letter-spacing: -.025em; }
.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.entry-content blockquote { margin: 2em 0; padding: 5px 0 5px 25px; border-left: 4px solid var(--jc-primary); color: #3c3c3c; font-size: 1.2rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--jc-border); text-align: left; }
.entry-content pre { overflow: auto; padding: 20px; border-radius: 10px; background: #202020; color: #fff; }
.entry-footer { margin-top: 35px; padding-top: 22px; border-top: 1px solid var(--jc-border); color: var(--jc-muted); }
.pagination { margin-top: 50px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; min-width: 42px; min-height: 42px; place-items: center; padding: 7px; border: 1px solid var(--jc-border); border-radius: 50%; text-decoration: none; }
.page-numbers.current, a.page-numbers:hover { border-color: var(--jc-primary); background: var(--jc-primary); color: var(--jc-ink); }

/* Sidebar, forms, comments */
.widget { margin-bottom: 38px; }
.widget-title { margin: 0 0 16px; font-size: 1.1rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--jc-border); }
.widget a { color: var(--jc-ink); text-decoration: none; }
.widget a:hover { color: var(--jc-primary-dark); }
.search-form { display: flex; gap: 8px; }
.search-field, input[type="text"], input[type="email"], input[type="url"], textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid #d5d1c9; border-radius: 9px; background: var(--jc-white); color: var(--jc-ink);
}
.search-submit, input[type="submit"] { padding: 11px 18px; border: 0; border-radius: 9px; background: var(--jc-primary); color: var(--jc-ink); font-weight: 700; }
.comments-area { max-width: 820px; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--jc-border); }
.comment-list { margin: 30px 0; padding: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { margin-bottom: 24px; padding: 24px; border: 1px solid var(--jc-border); border-radius: 14px; }
.comment-meta { font-size: .88rem; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author .avatar { border-radius: 50%; }
.comment-form label { display: block; margin: 12px 0 5px; font-weight: 650; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: start; }
.comment-form-cookies-consent input { margin-top: 7px; }

/* Full-width SHEHDS reference footer */
.sheds-footer {
  width: 100%;
  color: #bdbdbd;
  background: #202020;
  font-family: "Montserrat", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
.sheds-footer-inner {
  width: calc(100% - 80px);
  width: min(calc(100% - 80px), 1640px);
  margin-left: auto;
  margin-right: auto;
}
.sheds-footer-main { min-height: 305px; padding: 37px 0 34px; background: #202020; }
.sheds-footer-columns {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr 1.18fr;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) minmax(280px, 1.18fr);
  gap: clamp(35px, 5vw, 100px);
}
.sheds-footer-column h2 { margin: 0 0 19px; color: #f5f5f5; font-size: 19px; font-weight: 800; line-height: 1.2; }
.footer-accordion-toggle { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: inherit; text-align: left; cursor: default; }
.footer-accordion-toggle span { display: none; }
.sheds-footer-column ul { margin: 0; padding: 0; list-style: none; }
.sheds-footer-column li { margin: 0 0 11px; line-height: 1.45; }
.sheds-footer-column li a { color: #bdbdbd; font-size: 15px; text-decoration: none; transition: color .18s ease; }
.sheds-footer-column li a:hover, .sheds-footer-column li a:focus { color: #ffb600; }
.sheds-updates { position: relative; }
.footer-subscribe { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; max-width: 320px; height: 38px; border-bottom: 1px solid #5a5a5a; }
.footer-subscribe input {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  box-shadow: none;
}
.footer-subscribe input:focus { outline: 1px dotted #aaa; outline-offset: 3px; }
.footer-subscribe input::placeholder { color: #777; opacity: 1; }
.footer-subscribe button {
  -webkit-appearance: none;
  appearance: none;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  border-radius: 0;
}
.shop-follow {
  position: absolute;
  top: 47px;
  left: 164px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 37px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #5a32f4;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.shop-follow span { font-size: 24px; font-weight: 400; line-height: .7; }
.privacy-note { max-width: 310px; margin: 13px 0 11px; color: #d1d1d1; font-size: 13px; line-height: 1.25; }
.sheds-footer-column .follow-title { margin: 0 0 25px; }
.social-links { display: -webkit-box; display: -ms-flexbox; display: flex; align-items: center; gap: 30px; }
.social-links a { display: grid; width: 27px; height: 27px; place-items: center; color: #d3d3d3; }
.social-links svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.25; }
.sheds-footer-bottom { min-height: 174px; padding: 48px 0 35px; background: linear-gradient(105deg, #202020 0%, #444647 100%); }
.footer-bottom-layout { display: grid; grid-template-columns: minmax(500px, 1fr) auto; align-items: center; gap: 80px; }
.footer-purpose { text-align: center; }
.footer-purpose h2 { margin: 0 0 13px; color: #fff; font-size: 20px; line-height: 1.2; }
.footer-purpose p { margin: 0; color: #ddd; font-size: 15px; line-height: 1.4; letter-spacing: .2px; }
.payment-methods { display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; min-width: 290px; }
.pay-badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 39px;
  height: 24px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
  color: #222;
  font-size: 7px;
  font-weight: 900;
  font-style: italic;
  line-height: .85;
  text-align: center;
}
.pay-badge.mastercard i { width: 13px; height: 13px; margin-right: -4px; border-radius: 50%; background: #eb001b; }
.pay-badge.mastercard i:last-child { margin: 0; background: #f79e1b; opacity: .88; }
.pay-badge.paypal { color: #1c5ba0; }
.pay-badge.jcb { color: #138a55; }
.pay-badge.amex { background: #39a4cf; color: #fff; font-size: 5px; }
.pay-badge.discover { color: #555; }
.pay-badge.visa { color: #172b84; font-size: 10px; }
.sheds-floating-actions { position: fixed; z-index: 900; left: 18px; bottom: 20px; display: grid; justify-items: center; gap: 20px; }
.float-action, .chat-action { display: grid; place-items: center; color: #fff; text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,.18); }
.back-to-top { width: 31px; height: 31px; border-radius: 3px; background: #ffb400; font-size: 19px; line-height: 1; }
.reward-action { width: 51px; height: 51px; border: 3px solid #fff; border-radius: 50%; background: #ffb400; font-size: 24px; }
.chat-action { position: fixed; z-index: 900; right: 18px; bottom: 78px; width: 47px; height: 47px; border-radius: 16px; background: #d1d2d3; color: #222; }
.chat-action svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* Utility and responsive */
.alignwide { width: min(1120px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption, .gallery-caption { color: var(--jc-muted); font-size: .85rem; }
.sticky { box-shadow: inset 4px 0 var(--jc-primary); }
.bypostauthor { outline: 1px solid var(--jc-primary); }
.not-found { padding: 80px 0 120px; text-align: center; }
.not-found h1 { margin: 0; color: var(--jc-primary); font-size: clamp(6rem, 18vw, 13rem); line-height: 1; }

@media (max-width: 1450px) {
  .sheds-nav-inner { grid-template-columns: 170px minmax(690px, 1fr) auto; gap: 12px; }
  .sheds-menu { gap: 18px; }
  .sheds-menu > li > a, .sheds-actions a { font-size: 14px; }
  .header-search { width: 105px; }
  .header-search input { width: 53px; }
  .currency-link span:last-child { display: none; }
}

@media (max-width: 1180px) {
  body.mobile-menu-open { overflow: hidden; }
  .sheds-nav-inner { position: relative; display: flex; align-items: center; }
  .sheds-navigation { display: none; }
  .menu-toggle { display: block; order: 1; }
  .mobile-search-toggle { display: block; order: 2; }
  .sheds-brand { position: absolute; left: 50%; z-index: 2; transform: translateX(-50%); }
  .sheds-actions { order: 3; margin-left: auto; }
  .sheds-actions .language-link, .sheds-actions .header-search { display: none; }
  .menu-toggle.is-open > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open > span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-navigation {
    position: fixed;
    top: 129px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    background: #f4f5f6;
    color: #252525;
    -webkit-overflow-scrolling: touch;
    transition: transform .25s ease, opacity .2s ease, visibility .25s;
  }
  .mobile-navigation.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
  .mobile-menu-inner { width: min(calc(100% - 32px), 720px); margin: 0 auto; padding: 20px 0 50px; }
  .mobile-primary-link, .mobile-menu-section > button {
    display: block;
    width: 100%;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid #cfd1d3;
    background: transparent;
    color: #252525;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
  }
  .mobile-menu-section > button { position: relative; }
  .mobile-menu-section > button::after { content: "+"; position: absolute; right: 4px; font-size: 20px; font-weight: 400; }
  .mobile-menu-section.is-open > button::after { content: "−"; }
  .mobile-menu-list { display: none; padding-left: 32px; }
  .mobile-menu-section.is-open .mobile-menu-list { display: block; }
  .mobile-menu-list a {
    position: relative;
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #cfd1d3;
    color: #555;
    font-size: 14px;
    text-decoration: none;
  }
  .mobile-menu-list a::before { content: "•"; position: absolute; left: -17px; }
  .mobile-search-open .header-search {
    position: absolute;
    top: 75px;
    left: 16px;
    z-index: 120;
    display: flex;
    width: calc(100% - 32px);
    background: #242424;
  }
  .mobile-search-open .header-search input { width: 100%; }
  .sheds-footer-columns { grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 38px 55px; }
  .sheds-updates { grid-column: span 2; max-width: 390px; }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { padding-top: 40px; border-top: 1px solid var(--jc-border); }
  .sheds-footer-inner { width: calc(100% - 48px); }
  .sheds-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheds-updates { grid-column: span 2; }
  .footer-bottom-layout { grid-template-columns: 1fr; gap: 30px; }
  .payment-methods { justify-content: center; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--jc-container)); }
  .sheds-promo { height: 38px; padding: 0 12px; text-align: center; font-size: 10px; }
  .sheds-nav-shell, .sheds-nav-inner { height: 70px; }
  .sheds-nav-inner { width: calc(100% - 18px); }
  .sheds-brand .custom-logo { width: 105px; max-height: 40px; }
  .sheds-logo-fallback strong { font-size: 21px; }
  .mobile-navigation { top: 108px; }
  .sheds-actions .language-link, .header-search { display: none; }
  .sheds-actions { gap: 1px; }
  .sheds-actions .currency-link { display: flex; }
  .currency-link span:last-child { display: inline; }
  .us-flag { font-size: 22px; }
  .action-icon { width: 25px; }
  .menu-toggle { padding-left: 2px; padding-right: 4px; }
  .mobile-search-toggle { padding-left: 2px; padding-right: 6px; }
  .mobile-menu-inner { width: calc(100% - 30px); padding-top: 18px; }
  .mobile-menu-section > button::after { display: none; }
  .mobile-search-open .header-search { top: 62px; display: flex; }
  .mega-product-grid { grid-template-columns: 1fr; gap: 25px; }
  .mega-product { grid-template-columns: 1fr 100px; font-size: 14px; }
  .support-story-body { grid-template-columns: 1fr; }
  .sheds-footer-inner { width: calc(100% - 32px); }
  .sheds-footer-main { padding: 0; background: #050505; }
  .sheds-footer-columns { grid-template-columns: 1fr; gap: 0; }
  .sheds-footer-column { padding: 12px 2px; border-bottom: 1px solid #999; }
  .sheds-footer-column h2 { margin: 0; font-size: 16px; }
  .footer-accordion-toggle { position: relative; padding: 0 0 2px; cursor: pointer; }
  .footer-accordion-toggle span { position: absolute; top: 0; right: 2px; display: block; width: 16px; height: 16px; }
  .footer-accordion-toggle span::before, .footer-accordion-toggle span::after { content: ""; position: absolute; top: 8px; left: 1px; width: 14px; height: 2px; background: #fff; }
  .footer-accordion-toggle span::after { transform: rotate(90deg); }
  .sheds-footer-column.is-open .footer-accordion-toggle span::after { display: none; }
  .sheds-footer-column:not(.is-open) ul { display: none; }
  .sheds-footer-column.is-open ul { padding-top: 17px; }
  .sheds-footer-column li { margin-bottom: 11px; }
  .sheds-updates { grid-column: auto; width: 100%; }
  .sheds-updates { padding-top: 34px; padding-bottom: 32px; border-bottom: 0; text-align: center; }
  .sheds-updates > h2:first-child { margin-bottom: 18px; text-align: left; }
  .footer-subscribe { max-width: none; }
  .shop-follow { position: static; margin-top: 28px; }
  .privacy-note { max-width: none; margin-top: 11px; font-size: 10px; text-align: left; }
  .sheds-footer-column .follow-title { margin: 8px 0 20px; text-align: center; }
  .social-links { justify-content: center; }
  .sheds-footer-bottom { padding: 16px 0 78px; background: linear-gradient(110deg, #171717, #4b4e50); }
  .footer-bottom-layout { min-width: 0; }
  .footer-purpose p br { display: none; }
  .payment-methods { min-width: 0; }
  .chat-action { right: 12px; bottom: 15px; }
  .sheds-floating-actions { left: 12px; bottom: 15px; }
  .hero { padding: 85px 0; }
  .hero-actions { display: grid; gap: 10px; }
  .button-outline { margin-left: 0; }
  .section-head, .cta-panel, .site-info { display: block; }
  .section-head p { margin-top: 15px; }
  .cta-panel .button { margin-top: 28px; }
  .post-grid { grid-template-columns: 1fr; }
  .site-info > * { display: block; margin-top: 8px; }
}

@media (max-width: 360px) {
  .sheds-brand .custom-logo { width: 90px; }
  .sheds-logo-fallback strong { font-size: 18px; }
  .currency-link span:last-child { display: none; }
  .social-links { gap: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@supports (width: 100dvw) {
  .category-panel, .support-panel { width: 100dvw; }
}
