/*
Theme Name: PedalPro Wholesale
Theme URI: https://example.com/pedalpro-wholesale
Author: Codex
Description: A clean WooCommerce theme for cross-border wholesale cycling products.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: pedalpro-wholesale
*/

:root {
  --cw-ink: #12161c;
  --cw-muted: #5d6675;
  --cw-line: #e3e7ed;
  --cw-panel: #f6f8fa;
  --cw-white: #ffffff;
  --cw-blue: #175a8a;
  --cw-teal: #1d8a7a;
  --cw-lime: #c9df56;
  --cw-orange: #e66a2c;
  --cw-shadow: 0 16px 45px rgba(18, 22, 28, 0.1);
  --cw-radius: 8px;
  --cw-max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--cw-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--cw-white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--cw-blue);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cw-container {
  width: min(100% - 32px, var(--cw-max));
  margin: 0 auto;
}

.cw-button,
.button,
.wp-block-button__link,
.added_to_cart,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--cw-ink);
  border-radius: 6px;
  color: var(--cw-white);
  background: var(--cw-ink);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.cw-button:hover,
.button:hover,
.wp-block-button__link:hover,
.added_to_cart:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  color: var(--cw-white);
  background: var(--cw-blue);
  border-color: var(--cw-blue);
  transform: translateY(-1px);
}

.cw-button.is-secondary {
  color: var(--cw-ink);
  background: var(--cw-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.cw-section {
  padding: 76px 0;
}

.cw-section.is-muted {
  background: var(--cw-panel);
}

.cw-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.cw-kicker {
  margin: 0 0 8px;
  color: var(--cw-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cw-section h1,
.cw-section h2,
.cw-page-title,
.product_title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.cw-section h2,
.cw-page-title {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
}

.cw-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(227, 231, 237, 0.84);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.cw-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 74px;
  gap: 24px;
}

.cw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.cw-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--cw-white);
  background: var(--cw-ink);
  font-size: 0.85rem;
}

.cw-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--cw-muted);
  font-weight: 700;
}

.cw-nav a:hover,
.cw-nav .current-menu-item > a {
  color: var(--cw-ink);
  background: var(--cw-panel);
}

.cw-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cw-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  font-weight: 800;
}

.cw-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  background: var(--cw-white);
}

.cw-menu-toggle span,
.cw-menu-toggle::before,
.cw-menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cw-ink);
  content: "";
}

.cw-menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.cw-hero {
  min-height: calc(100vh - 74px);
  padding: 96px 0 54px;
  color: var(--cw-white);
  background:
    linear-gradient(90deg, rgba(18, 22, 28, 0.9) 0%, rgba(18, 22, 28, 0.68) 48%, rgba(18, 22, 28, 0.28) 100%),
    url("assets/images/hero-cycling-workshop.png") center / cover no-repeat;
}

.cw-hero-grid {
  display: grid;
  min-height: calc(100vh - 224px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: 52px;
}

.cw-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.cw-hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.cw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.cw-hero-metrics {
  display: grid;
  gap: 12px;
}

.cw-metric {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--cw-radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.cw-metric strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.cw-metric span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.cw-category-grid,
.cw-feature-grid,
.cw-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cw-category-card,
.cw-feature-card,
.cw-post-card,
.cw-product-card {
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
  overflow: hidden;
}

.cw-category-card {
  min-height: 210px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.98)),
    var(--cw-category-image, url("assets/images/category-components.png")) center / cover no-repeat;
}

.cw-category-card h3,
.cw-feature-card h3,
.cw-post-card h3,
.cw-product-card h2,
.woocommerce-loop-product__title {
  margin: 0 0 8px;
  font-size: 1.14rem;
  line-height: 1.25;
}

.cw-category-card p,
.cw-feature-card p,
.cw-post-card p {
  margin: 0;
  color: var(--cw-muted);
}

.cw-feature-card {
  padding: 26px;
}

.cw-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--cw-ink);
  background: var(--cw-lime);
  font-weight: 900;
}

.cw-product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
  margin: 0;
  float: none;
}

.cw-product-card,
.woocommerce ul.products li.product {
  position: relative;
  min-width: 0;
  background: var(--cw-white);
}

.cw-product-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--cw-panel);
  overflow: hidden;
}

.cw-product-thumb img,
.woocommerce ul.products li.product img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
  transition: transform 220ms ease;
}

.cw-product-card:hover img,
.woocommerce ul.products li.product:hover img {
  transform: scale(1.035);
}

.cw-product-body {
  display: grid;
  min-height: 172px;
  padding: 16px;
  gap: 10px;
}

.cw-product-meta {
  color: var(--cw-muted);
  font-size: 0.9rem;
}

.price {
  color: var(--cw-blue);
  font-weight: 900;
}

.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.cart,
.single_add_to_cart_button,
.add_to_cart_button {
  display: none !important;
}

.cw-product-terms,
.cw-text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  color: var(--cw-blue);
  font-weight: 900;
}

.cw-text-link::after {
  margin-left: 8px;
  content: "->";
}

.cw-badge,
.onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--cw-ink);
  background: var(--cw-lime);
  font-size: 0.78rem;
  font-weight: 900;
}

.cw-page-hero {
  padding: 62px 0;
  color: var(--cw-white);
  background:
    linear-gradient(90deg, rgba(18, 22, 28, 0.92), rgba(23, 90, 138, 0.76)),
    url("assets/images/category-components.png") center / cover no-repeat;
}

.cw-page-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.cw-shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  padding: 58px 0 76px;
}

.cw-shop-sidebar {
  align-self: start;
  padding: 22px;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
}

.cw-shop-sidebar h2,
.cw-shop-sidebar h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.cw-shop-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-shop-sidebar li + li {
  margin-top: 10px;
}

.cw-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.woocommerce-result-count,
.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  background: var(--cw-white);
}

.cw-catalog-hero {
  padding: 70px 0 46px;
  background:
    linear-gradient(90deg, rgba(18, 22, 28, 0.92), rgba(0, 119, 132, 0.72)),
    url("assets/images/hero-cycling-workshop.png") center / cover no-repeat;
}

.cw-catalog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  gap: 34px;
  align-items: end;
}

.cw-catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cw-catalog-stats div {
  display: grid;
  gap: 4px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.cw-catalog-stats strong {
  color: var(--cw-white);
  font-size: 1.55rem;
  line-height: 1;
}

.cw-catalog-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.cw-catalog-shell {
  padding: 30px 0 82px;
}

.cw-catalog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.cw-catalog-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  color: var(--cw-ink);
  background: var(--cw-white);
  font-weight: 800;
}

.cw-catalog-chips a:hover,
.cw-catalog-chips a.is-active {
  color: var(--cw-white);
  background: var(--cw-ink);
  border-color: var(--cw-ink);
}

.cw-catalog-chips span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 4px;
  color: var(--cw-ink);
  background: var(--cw-lime);
  font-size: 0.76rem;
}

.cw-catalog-shell .cw-shop-main {
  min-width: 0;
}

.cw-catalog-shell .cw-shop-toolbar {
  align-items: end;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  background: var(--cw-white);
}

.cw-catalog-shell .cw-shop-toolbar h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

.cw-product-grid,
.woocommerce ul.products {
  gap: 22px;
}

.cw-product-card,
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  background: var(--cw-white);
  box-shadow: 0 14px 36px rgba(18, 22, 28, 0.06);
  overflow: hidden;
}

.cw-product-card:hover,
.woocommerce ul.products li.product:hover {
  border-color: rgba(0, 119, 132, 0.32);
  box-shadow: 0 18px 42px rgba(18, 22, 28, 0.1);
}

.cw-product-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef3f6 100%);
}

.cw-product-thumb img,
.woocommerce ul.products li.product img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  padding: 16px;
  mix-blend-mode: multiply;
}

.cw-card-category {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 4px;
  color: var(--cw-white);
  background: rgba(18, 22, 28, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
}

.cw-product-body {
  flex: 1;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 14px;
  min-height: 236px;
  padding: 18px;
}

.cw-product-body .cw-kicker {
  margin-bottom: 8px;
  color: var(--cw-teal);
}

.cw-product-card h2,
.woocommerce-loop-product__title {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.cw-product-meta {
  display: -webkit-box;
  min-height: 60px;
  margin: 0;
  color: var(--cw-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cw-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-self: end;
}

.cw-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--cw-line);
  border-radius: 4px;
  color: var(--cw-muted);
  background: var(--cw-panel);
  font-size: 0.72rem;
  font-weight: 800;
}

.cw-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cw-line);
}

.cw-mini-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  color: var(--cw-white);
  background: var(--cw-teal);
  font-size: 0.78rem;
  font-weight: 900;
}

.cw-mini-quote:hover {
  color: var(--cw-white);
  background: var(--cw-blue);
}

.cw-product-hero-panel {
  padding: 30px 0 38px;
  background:
    linear-gradient(180deg, #f6f8fa 0%, #ffffff 68%),
    #ffffff;
}

.cw-single-product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.78fr);
  gap: 28px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
  box-shadow: var(--cw-shadow);
}

.cw-single-product-shell .summary {
  align-self: start;
  min-width: 0;
  padding: 4px 0 0;
}

.woocommerce div.product.cw-single-product-shell div.summary,
.woocommerce-page div.product.cw-single-product-shell div.summary {
  width: 100%;
  float: none;
  clear: none;
}

.product_title {
  margin-bottom: 12px;
  font-size: clamp(2rem, 2.9vw, 3.2rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.woocommerce-product-gallery,
.cw-single-product-shell .woocommerce-product-gallery {
  width: 100%;
  float: none;
}

.woocommerce-product-gallery__wrapper {
  margin: 0;
}

.woocommerce-product-gallery__image img {
  width: 100%;
  border-radius: var(--cw-radius);
  background: var(--cw-panel);
}

.cw-single-gallery {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.cw-gallery-main {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background:
    linear-gradient(135deg, rgba(23, 90, 138, 0.08), rgba(29, 138, 122, 0.08)),
    #eef3f5;
  overflow: hidden;
}

.cw-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cw-gallery-thumb {
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  background: #f3f6f8;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.cw-gallery-thumb:hover,
.cw-gallery-thumb:focus {
  border-color: var(--cw-teal);
  box-shadow: 0 8px 20px rgba(18, 22, 28, 0.1);
  transform: translateY(-1px);
}

.cw-gallery-thumb.is-active {
  border-color: var(--cw-blue);
  box-shadow: 0 0 0 2px rgba(23, 90, 138, 0.14);
}

.cw-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-gallery-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cw-gallery-proof-grid div {
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: #ffffff;
}

.cw-gallery-proof-grid span,
.cw-gallery-proof-grid strong {
  display: block;
}

.cw-gallery-proof-grid span {
  margin-bottom: 6px;
  color: var(--cw-teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cw-gallery-proof-grid strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.cw-product-intro {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--cw-muted);
  font-size: 1rem;
}

.cw-product-intro p {
  margin: 0;
}

.cw-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cw-product-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--cw-ink);
  background: rgba(201, 223, 86, 0.42);
  font-size: 0.82rem;
  font-weight: 900;
}

.cw-product-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.cw-product-metrics div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: #ffffff;
}

.cw-product-metrics strong,
.cw-product-metrics span {
  display: block;
}

.cw-product-metrics strong {
  color: var(--cw-blue);
  font-size: 1.55rem;
  line-height: 1;
}

.cw-product-metrics span {
  margin-top: 8px;
  color: var(--cw-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.cw-inquiry-panel {
  display: grid;
  gap: 16px;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(23, 90, 138, 0.16);
  border-radius: var(--cw-radius);
  background:
    linear-gradient(135deg, rgba(23, 90, 138, 0.1), rgba(29, 138, 122, 0.08)),
    var(--cw-panel);
}

.cw-inquiry-panel strong,
.cw-inquiry-panel span {
  display: block;
}

.cw-inquiry-panel span {
  margin-top: 4px;
  color: var(--cw-muted);
  font-size: 0.92rem;
}

.cw-inquiry-panel .cw-button {
  width: fit-content;
  white-space: nowrap;
}

.cw-product-specs {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--cw-line);
}

.cw-product-specs div {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--cw-line);
}

.cw-product-specs dt,
.cw-product-specs dd {
  margin: 0;
}

.cw-product-specs dt {
  color: var(--cw-muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.cw-product-specs dd {
  font-weight: 800;
  line-height: 1.45;
}

.quantity .qty {
  width: 72px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
}

.single_add_to_cart_button {
  margin-left: 8px;
}

.product_meta {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--cw-line);
  color: var(--cw-muted);
}

.cw-product-logistics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 24px;
}

.cw-logistic-card {
  min-height: 130px;
  padding: 20px;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
}

.cw-logistic-card strong {
  display: block;
  margin-bottom: 6px;
}

.cw-logistic-card span {
  color: var(--cw-muted);
  font-size: 0.92rem;
}

.cw-product-overview {
  padding-top: 46px;
}

.cw-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cw-overview-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
}

.cw-overview-card strong,
.cw-overview-card span {
  display: block;
}

.cw-overview-card strong {
  font-size: 1.12rem;
}

.cw-overview-card span {
  margin-top: 10px;
  color: var(--cw-muted);
}

.cw-spec-band {
  padding-top: 66px;
}

.cw-spec-layout,
.cw-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: start;
}

.cw-spec-layout h2,
.cw-faq-layout h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

.cw-spec-layout p:not(.cw-kicker) {
  margin: 16px 0 0;
  color: var(--cw-muted);
}

.cw-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
  overflow: hidden;
}

.cw-spec-table th,
.cw-spec-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--cw-line);
  text-align: left;
  vertical-align: top;
}

.cw-spec-table tr:last-child th,
.cw-spec-table tr:last-child td {
  border-bottom: 0;
}

.cw-spec-table th {
  width: 34%;
  color: var(--cw-muted);
  font-weight: 900;
}

.cw-spec-table td {
  font-weight: 700;
}

.cw-product-detail-band {
  margin-top: 0;
  padding-top: 68px;
}

.cw-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.cw-detail-grid h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.cw-detail-grid p:not(.cw-kicker) {
  margin: 18px 0 0;
  color: var(--cw-muted);
}

.cw-capability-list {
  display: grid;
  gap: 12px;
}

.cw-capability-list div {
  padding: 20px;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
}

.cw-capability-list strong,
.cw-capability-list span {
  display: block;
}

.cw-capability-list span {
  margin-top: 6px;
  color: var(--cw-muted);
}

.cw-process-band {
  padding-top: 68px;
}

.cw-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cw-process-steps div {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
}

.cw-process-steps span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--cw-white);
  background: var(--cw-ink);
  font-weight: 900;
}

.cw-process-steps strong,
.cw-process-steps p {
  display: block;
  margin: 0;
}

.cw-process-steps p {
  margin-top: 10px;
  color: var(--cw-muted);
  font-size: 0.95rem;
}

.cw-faq-band {
  padding-top: 68px;
}

.cw-faq-list {
  display: grid;
  gap: 10px;
}

.cw-faq-list details {
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-white);
}

.cw-faq-list summary {
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}

.cw-faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--cw-muted);
}

.woocommerce-tabs {
  width: min(100% - 32px, var(--cw-max));
  margin: 0 auto 72px;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--cw-line);
}

.woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  font-weight: 800;
}

.cw-post-card {
  display: grid;
}

.cw-post-thumb {
  aspect-ratio: 16 / 10;
  background: var(--cw-panel);
  overflow: hidden;
}

.cw-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-post-body {
  padding: 18px;
}

.cw-post-date {
  display: block;
  margin-bottom: 8px;
  color: var(--cw-teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cw-content {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
  padding: 62px 0 82px;
}

.cw-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.cw-content p {
  color: var(--cw-muted);
  font-size: 1.04rem;
}

.cw-pagination,
.woocommerce-pagination {
  margin-top: 34px;
}

.cw-pagination .page-numbers,
.woocommerce-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-pagination a,
.cw-pagination span,
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
}

.cw-pagination .current,
.woocommerce-pagination .current {
  color: var(--cw-white);
  background: var(--cw-ink);
  border-color: var(--cw-ink);
}

.cw-site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--cw-ink);
}

.cw-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.6fr));
  gap: 28px;
  padding: 58px 0;
}

.cw-site-footer h2,
.cw-site-footer h3 {
  margin: 0 0 12px;
  color: var(--cw-white);
}

.cw-site-footer p,
.cw-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-site-footer li + li {
  margin-top: 8px;
}

.cw-live-service {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.cw-live-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: center;
}

.cw-live-service h2 {
  max-width: 620px;
  margin: 0 0 10px;
  color: var(--cw-white);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cw-live-service p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.74);
}

.cw-live-service-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.16);
}

.cw-live-service-card strong {
  color: var(--cw-white);
}

.cw-live-service-card span {
  color: rgba(255, 255, 255, 0.74);
}

.cw-live-service-card .cw-button {
  width: fit-content;
  margin-top: 8px;
}

.cw-live-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--cw-white);
  background: var(--cw-teal);
  box-shadow: 0 12px 28px rgba(18, 22, 28, 0.2);
  font-size: 0.86rem;
  font-weight: 800;
}

.cw-live-launcher:hover {
  color: var(--cw-white);
  background: var(--cw-blue);
}

.cw-live-launcher-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b8f2d0;
  box-shadow: 0 0 0 4px rgba(184, 242, 208, 0.16);
}

.cw-empty-catalog {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--cw-line);
  border-radius: 6px;
  background: var(--cw-white);
}

.cw-empty-catalog span {
  color: var(--cw-muted);
}

.cw-footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.woocommerce-notices-wrapper {
  width: min(100% - 32px, var(--cw-max));
  margin: 18px auto 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 14px 16px;
  border-left: 4px solid var(--cw-teal);
  border-radius: 6px;
  background: var(--cw-panel);
}

.woocommerce-error {
  border-left-color: var(--cw-orange);
}

@media (max-width: 980px) {
  .cw-menu-toggle {
    display: inline-flex;
  }

  .cw-header-inner {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .cw-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .cw-site-header.is-open .cw-nav {
    display: block;
  }

  .cw-nav ul {
    display: grid;
    justify-content: stretch;
    padding: 0 0 16px;
  }

  .cw-nav a {
    justify-content: center;
  }

  .cw-header-actions .cw-button {
    display: none;
  }

  .cw-hero-grid,
  .cw-catalog-hero-grid,
  .cw-shop-layout,
  .cw-single-product-shell,
  .cw-detail-grid,
  .cw-spec-layout,
  .cw-faq-layout,
  .cw-live-service-grid,
  .cw-footer-grid {
    grid-template-columns: 1fr;
  }

  .cw-hero-grid {
    min-height: auto;
    align-items: start;
  }

  .cw-hero {
    min-height: 760px;
  }

  .cw-catalog-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cw-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-category-grid,
  .cw-feature-grid,
  .cw-news-grid,
  .cw-product-logistics,
  .cw-overview-grid,
  .cw-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cw-container {
    width: min(100% - 24px, var(--cw-max));
  }

  .cw-section {
    padding: 52px 0;
  }

  .cw-section-head,
  .cw-shop-toolbar {
    display: grid;
    align-items: start;
  }

  .cw-hero {
    min-height: 680px;
    padding-top: 66px;
  }

  .cw-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .cw-category-grid,
  .cw-feature-grid,
  .cw-news-grid,
  .cw-product-grid,
  .woocommerce ul.products,
  .cw-product-logistics {
    grid-template-columns: 1fr;
  }

  .cw-catalog-stats {
    grid-template-columns: 1fr;
  }

  .cw-catalog-shell .cw-shop-toolbar {
    padding: 18px;
  }

  .cw-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cw-card-actions .cw-text-link,
  .cw-mini-quote {
    width: 100%;
    justify-content: center;
  }

  .cw-single-product-shell {
    gap: 28px;
    padding: 18px;
  }

  .single_add_to_cart_button {
    width: 100%;
    margin: 12px 0 0;
  }

  .cw-inquiry-panel,
  .cw-product-specs div {
    grid-template-columns: 1fr;
  }

  .cw-gallery-thumbs {
    gap: 8px;
  }

  .cw-overview-grid,
  .cw-process-steps {
    grid-template-columns: 1fr;
  }

  .cw-live-launcher {
    right: 12px;
    bottom: 12px;
  }

  .cw-spec-table th,
  .cw-spec-table td {
    display: block;
    width: 100%;
  }

  .cw-spec-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .cw-spec-table td {
    padding-top: 4px;
  }
}
