/* Eco Flashlight B2B template — lean CSS, no WP/Woo/Elementor */
:root {
  --green: #75aa0b;
  --green-light: #9ee56b;
  --green-dark: #5f8c09;
  --blue: #1e73be;
  --text: #474747;
  --text-muted: #7a7a7a;
  --border: #e5e5e5;
  --bg: #fff;
  --header-h: 110px;
  --container: 1170px;
  --font: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: #000;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; font-weight: 600; line-height: 1.3; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.site-main {
  background: var(--bg);
  min-height: calc(100vh - 220px);
}

.flash {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 14px;
}
.flash-success { background: #eef8e0; color: #3d6b00; border: 1px solid #cfe6a3; }
.flash-error { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c2; }

/* —— Top bar —— */
.topbar {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}

/* —— Header —— */
.site-header {
  background: #1a1a1a url("../images/header-bg.jpg") center / cover;
  position: relative;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.logo img {
  height: 72px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--green-light);
  color: var(--green-light);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  display: block;
  padding: 12px 16px;
  color: var(--green-light);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav .has-children:hover > a {
  color: #fff;
}

.main-nav .has-children { position: relative; }

.main-nav .has-children > a::after {
  content: " ▾";
  font-size: 10px;
}

.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #1f1f1f;
  border-top: 2px solid var(--green);
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

.main-nav .has-children:hover > .sub-menu { display: block; }

.main-nav .sub-menu a {
  padding: 10px 16px;
  border-bottom: 1px solid #333;
  font-size: 12px;
  color: #ddd;
}

.main-nav .sub-menu a:hover {
  background: var(--green);
  color: #fff;
}

/* —— Page title bar —— */
.page-banner {
  background: var(--green);
  color: #fff;
  padding: 22px 0;
}

.page-banner h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

/* —— Breadcrumb —— */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { margin: 0 6px; color: #ccc; }

/* —— Hero slider —— */
.hero {
  position: relative;
  background: #000;
  overflow: hidden;
}

.hero-track {
  display: flex;
  transition: transform .5s ease;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 380px;
  background: #0a0309 center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}

.hero-caption {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 40px 15px 40px 8%;
  color: #fff;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

.hero-sub {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  max-width: 36em;
}

.btn-hero {
  display: inline-block;
  background: var(--green);
  color: #fff !important;
  padding: 10px 22px;
  font-weight: 600;
  border: none;
}

.btn-hero:hover { background: var(--green-dark); }

.hero-slide--cta-only .hero-caption {
  max-width: none;
  padding-bottom: 48px;
}

.hero-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 3;
  line-height: 1;
}

.hero-btn:hover { background: var(--green); }
.hero-btn:focus-visible { outline-color: #fff; }
.hero-prev { left: 10px; }
.hero-next { right: 10px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active { background: var(--green); }

/* —— Section —— */
.section {
  padding: 50px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
  color: var(--green);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: var(--green);
}

/* —— Product grid —— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}

.product-grid.cols-6 {
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* homepage featured: up to 8 → 2×4 */
}

.product-card {
  text-align: center;
  min-width: 0;
}

.product-card .thumb {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.product-card:hover .thumb img { transform: scale(1.05); }

.product-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  line-height: 1.3;
}

.product-card h3 a { color: var(--green); }
.product-card h3 a:hover { color: var(--green-dark); }

.product-card .sku {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 8px;
  word-break: break-all;
}

.product-card .quote-mini {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.product-card .quote-mini:hover { color: var(--green-dark); }

.trust-list {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--green);
}

.about-excerpt {
  margin: 0 0 12px;
  color: var(--text);
}

.empty-state {
  padding: 28px 0 10px;
  color: var(--text-muted);
}

.empty-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}

.empty-cats a { font-weight: 600; }

.pagination .page-nav { min-width: auto; padding: 0 12px; }
.pagination .page-nav.disabled {
  opacity: .4;
  pointer-events: none;
}

/* —— About split —— */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.about-split .text,
.about-split .text p {
  color: var(--green);
  margin: 0 0 1em;
  font-size: 14px;
  line-height: 1.7;
}

.about-split .text p:last-child,
.about-split .text > *:last-child { margin-bottom: 0; }

/* —— Contact block —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: #f5f5f5;
  padding: 28px;
  border-radius: 2px;
  margin: 0;
  align-self: start;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text);
}

.form-group label .req { color: #c00; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  background: #fff;
  font: inherit;
  color: var(--text);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
  outline: 1px solid var(--green);
  border-color: var(--green);
}

.btn {
  display: inline-block;
  padding: 11px 28px;
  border: none;
  background: var(--green);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: .04em;
}

.btn:hover { background: var(--green-dark); color: #fff !important; }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: #155a96; }
.btn-outline {
  background: #fff;
  color: var(--green) !important;
  border: 1px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff !important; }
.btn-whatsapp { background: #25d366; }
.btn-whatsapp:hover { background: #1da851; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.inquiry-form { position: relative; }

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-info {
  color: var(--green);
  font-size: 14px;
  margin: 0;
  padding: 28px; /* match .contact-form */
  background: #f5f5f5; /* same card as form → tops read as one baseline */
  border-radius: 2px;
  align-self: start;
  box-sizing: border-box;
}

.contact-info .company {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.3;
}

.contact-info p { margin: 0 0 10px; }

.qr-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin-top: 20px;
  align-items: flex-start; /* top-align QR images (was flex-end → uneven with caption) */
}

.qr-row figure {
  margin: 0;
  width: 110px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-row img {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #fff;
}

.qr-row figcaption {
  display: block;
  width: 100%;
  min-height: 1.5em;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--green);
  font-weight: 600;
}

.sidebar-toggle {
  display: none;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: #f7f7f7;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

/* —— Catalog layout (sidebar + content) —— */
.catalog {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  grid-template-areas: "side main";
  gap: 30px;
  padding: 30px 0 50px;
  align-items: start;
}

/* Critical: never let the mobile toggle occupy the product column on desktop */
.catalog > .sidebar-toggle { grid-area: side; display: none; }
.catalog > .sidebar { grid-area: side; min-width: 0; }
.catalog > .catalog-main { grid-area: main; min-width: 0; }

.sidebar .widget {
  margin-bottom: 28px;
}

.sidebar .widget-title {
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.cat-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  color: var(--text);
  border-bottom: 1px dotted #eee;
  font-size: 13px;
}

.cat-list a:hover,
.cat-list a.active { color: var(--green-dark); font-weight: 600; }

.cat-list .cat-thumb {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: #fff;
}

.cat-list .count { color: var(--text-muted); margin-left: auto; }

.search-box {
  display: flex;
  gap: 0;
}

.search-box input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-right: none;
  font: inherit;
}

.search-box button {
  padding: 8px 14px;
  border: none;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
}

.pagination a:hover,
.pagination .current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* —— Product detail —— */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.product-gallery {
  background: #fff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pg-stage {
  position: relative;
  border: 1px solid var(--border);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.pg-main {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background: #fff;
}

.pg-main > img.pg-main-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  max-width: none;
  pointer-events: none;
}

.pg-main > img.pg-zoom {
  display: none !important;
  position: absolute;
  left: 0;
  top: 0;
  max-width: none !important;
  max-height: none !important;
  width: auto;
  height: auto;
  margin: 0;
  pointer-events: none;
  z-index: 2;
}

.pg-main.is-zooming > img.pg-zoom { display: block !important; }
.pg-main.is-zooming > img.pg-main-img { opacity: 0; }

.pg-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pg-thumb {
  flex: 1 1 0;
  min-width: 0;
  height: 90px;
  padding: 4px;
  margin: 0;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
}

.pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
  max-width: 100%;
}

.pg-thumb.active,
.pg-thumb:hover {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.product-copy {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 10px;
}

.product-copy .copy-heading {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--green);
  font-weight: 700;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox[hidden] { display: none !important; }

.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
}

.lightbox-close { top: 16px; right: 16px; font-size: 32px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--green); }

.related-products .section-title::before,
.related-products .section-title::after {
  display: none;
}

.rich-content { color: var(--text); line-height: 1.7; }
.rich-content p { margin: 0 0 .8em; }
.rich-content ul { list-style: disc; padding-left: 20px; margin: 0 0 .8em; }
.rich-content li { list-style: disc; }

.product-summary h1 {
  color: #222;
  font-size: 26px;
  margin: 0 0 10px;
  font-weight: 700;
}

.specs {
  margin: 0;
  border-top: 1px solid #eee;
}

.specs li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text);
  font-size: 14px;
  align-items: start;
}

.specs li:nth-child(even) {
  background: #fafafa;
}

.specs .label {
  font-weight: 600;
  color: #666;
}

.specs .value { color: #333; word-break: break-word; }

.specs li.spec-sku .label,
.specs li.spec-sku .value {
  font-weight: 700;
  color: #222;
}

.specs li.feature {
  grid-template-columns: 1fr;
  color: var(--text);
  font-weight: 600;
  background: transparent;
}

.product-meta {
  margin: 0 0 14px;
  padding: 0;
  background: none;
  font-size: 13px;
  color: var(--text-muted);
}

.product-meta a { font-weight: 600; }

.btn-whatsapp-outline {
  background: #fff !important;
  color: #1fa855 !important;
  border: 1px solid #25d366;
}

.btn-whatsapp-outline:hover {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366;
}

.packing-text {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.related-products { margin-top: 40px; }
.related-title {
  justify-content: center;
  margin-top: 0;
}

.product-tabs {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.product-tabs .tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 18px;
}

.product-tabs .tab-nav button {
  background: none;
  border: none;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.product-tabs .tab-nav button.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.product-tabs .tab-panel { display: none; }
.product-tabs .tab-panel.active { display: block; }

.product-tabs .tab-panel h2 {
  color: var(--green);
  font-size: 18px;
}

.product-tabs .tab-panel ul {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0;
}

.product-tabs .tab-panel li { list-style: disc; }

/* —— Factory gallery —— */
.factory-page { padding: 36px 0 50px; }
.factory-intro { margin-bottom: 22px; color: var(--green); }

.factory-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.factory-gallery[data-count="2"],
.factory-gallery[data-count="3"],
.factory-gallery[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
}

.factory-gallery[data-count="5"],
.factory-gallery[data-count="6"],
.factory-gallery[data-count="7"],
.factory-gallery[data-count="8"],
.factory-gallery[data-count="9"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

.factory-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.factory-item img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
  transition: opacity .2s ease;
}

.factory-item:hover img { opacity: .92; }

.factory-caption {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text);
  border-top: 1px solid var(--border);
}

.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.pg-lightbox.open { display: flex; }
.pg-lightbox img { max-width: 96vw; max-height: 90vh; object-fit: contain; margin: 0; }
.pg-lb-btn {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.15);
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 28px;
  cursor: pointer;
  line-height: 44px;
  text-align: center;
}
.pg-lb-close { top: 16px; right: 16px; }
.pg-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.pg-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.pg-lb-btn:hover { background: var(--green); }

.section-more {
  margin-top: 28px;
  text-align: center;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 52px;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.wa-float::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 3.5A11.8 11.8 0 0012.05 0C5.5 0 .2 5.3.2 11.85c0 2.1.55 4.1 1.6 5.9L0 24l6.4-1.7a11.8 11.8 0 005.65 1.45h.05c6.55 0 11.85-5.3 11.85-11.85 0-3.17-1.23-6.15-3.45-8.4zM12.05 21.6h-.04a9.7 9.7 0 01-4.95-1.35l-.35-.2-3.8 1 1.02-3.7-.22-.38a9.7 9.7 0 01-1.5-5.15c0-5.35 4.36-9.7 9.74-9.7a9.65 9.65 0 019.7 9.72c0 5.36-4.36 9.76-9.7 9.76zm5.34-7.27c-.29-.15-1.72-.85-1.99-.95-.27-.1-.46-.15-.66.15-.2.29-.76.95-.93 1.14-.17.2-.34.22-.63.07-.29-.15-1.22-.45-2.33-1.44-.86-.77-1.44-1.72-1.61-2.01-.17-.29-.02-.45.13-.6.13-.13.29-.34.43-.51.15-.17.2-.29.29-.49.1-.2.05-.37-.02-.52-.07-.15-.66-1.59-.9-2.18-.24-.57-.48-.49-.66-.5h-.56c-.2 0-.51.07-.78.37-.27.29-1.02 1-1.02 2.43s1.05 2.82 1.19 3.01c.15.2 2.07 3.16 5.01 4.43.7.3 1.25.48 1.68.62.7.22 1.34.19 1.85.12.56-.08 1.72-.7 1.97-1.38.24-.68.24-1.26.17-1.38-.07-.12-.26-.2-.55-.35z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 3.5A11.8 11.8 0 0012.05 0C5.5 0 .2 5.3.2 11.85c0 2.1.55 4.1 1.6 5.9L0 24l6.4-1.7a11.8 11.8 0 005.65 1.45h.05c6.55 0 11.85-5.3 11.85-11.85 0-3.17-1.23-6.15-3.45-8.4zM12.05 21.6h-.04a9.7 9.7 0 01-4.95-1.35l-.35-.2-3.8 1 1.02-3.7-.22-.38a9.7 9.7 0 01-1.5-5.15c0-5.35 4.36-9.7 9.74-9.7a9.65 9.65 0 019.7 9.72c0 5.36-4.36 9.76-9.7 9.76zm5.34-7.27c-.29-.15-1.72-.85-1.99-.95-.27-.1-.46-.15-.66.15-.2.29-.76.95-.93 1.14-.17.2-.34.22-.63.07-.29-.15-1.22-.45-2.33-1.44-.86-.77-1.44-1.72-1.61-2.01-.17-.29-.02-.45.13-.6.13-.13.29-.34.43-.51.15-.17.2-.29.29-.49.1-.2.05-.37-.02-.52-.07-.15-.66-1.59-.9-2.18-.24-.57-.48-.49-.66-.5h-.56c-.2 0-.51.07-.78.37-.27.29-1.02 1-1.02 2.43s1.05 2.82 1.19 3.01c.15.2 2.07 3.16 5.01 4.43.7.3 1.25.48 1.68.62.7.22 1.34.19 1.85.12.56-.08 1.72-.7 1.97-1.38.24-.68.24-1.26.17-1.38-.07-.12-.26-.2-.55-.35z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wa-float:hover { background: #1da851; color: #fff !important; }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  position: sticky;
  top: 12px;
  z-index: 5;
  background: #fff;
  padding: 8px 0 12px;
  border-bottom: 1px solid #f0f0f0;
}

/* —— About page —— */
.about-page {
  padding: 40px 0 50px;
}

/* —— Footer —— */
.site-footer {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 16px 0;
  font-size: 13px;
}

.site-footer p { margin: 0; }

.site-bottom {
  height: 24px;
  background: #000;
}

.main-nav .sub-all a {
  color: var(--green-light) !important;
  font-weight: 700;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .logo img { height: 56px; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    z-index: 100;
  }

  .main-nav.open { display: block; }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
  }

  .main-nav .has-children.open > .sub-menu { display: block; }

  .main-nav .has-children.open > a {
    color: #fff;
  }

  .pg-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    min-width: 72px;
  }

  .specs li {
    grid-template-columns: 110px 1fr;
    padding-left: 8px;
    padding-right: 8px;
  }

  .pg-nav { opacity: 0.7; }

  .hero-slide { min-height: 240px; }
  .hero-caption { padding: 28px 15px 48px; max-width: 100%; }
  .form-row-2 { grid-template-columns: 1fr; }

  .product-grid,
  .product-grid.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-split,
  .contact-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .catalog {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "toggle"
      "side"
      "main";
    gap: 16px;
  }

  .catalog > .sidebar-toggle {
    display: block;
    grid-area: toggle;
  }

  .catalog > .sidebar {
    display: none;
    grid-area: side;
    margin: 0;
  }

  .catalog > .sidebar.open { display: block; }
  .catalog > .catalog-main { grid-area: main; }

  .factory-gallery,
  .factory-gallery[data-count="2"],
  .factory-gallery[data-count="3"],
  .factory-gallery[data-count="4"],
  .factory-gallery[data-count="5"],
  .factory-gallery[data-count="6"] {
    grid-template-columns: 1fr;
  }

  .section-title::before,
  .section-title::after { max-width: 60px; }

  .page-banner h1 { font-size: 22px; }
}

@media (max-width: 480px) {
  .product-grid,
  .product-grid.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
}
