/*
Theme Name: DURUHANAI Landing
Theme URI: https://durunamai.seorocket.lt/
Author: Codex
Description: Responsive landing page theme with ACF Flexible Content fields.
Version: 1.0.0
Text Domain: durunamai
*/

:root {
  --text: #2f2a25;
  --muted: #756d65;
  --line: #eadfd4;
  --soft: #faf7f2;
  --accent: #f5a400;
  --accent-dark: #d88900;
  --taupe: #817365;
  --footer: #211d19;
  --shadow: 0 16px 36px rgba(45, 35, 27, .09);
  --wrap: 1620px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eee9e2;
  color: var(--text);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.main-nav,
.btn,
.text-link,
.eyebrow,
.top-inner nav,
.product-card strong,
.catalog-card strong,
.footer h4 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

img,
svg {
  display: block;
}

.site-shell {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin: 0 auto;
}

.top-strip {
  min-height: 42px;
  background: linear-gradient(90deg, #f4eee6, #fff);
  border-bottom: 1px solid rgba(234, 223, 212, .75);
  color: #413931;
  font-size: 13px;
}

.top-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-dark);
  fill: none;
  stroke-width: 1.8;
}

.top-inner nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 700;
}

.top-inner a {
  opacity: .9;
}

.lang {
  position: relative;
  padding-right: 15px;
}

.lang::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
}

.site-header {
  height: 76px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #eee7df;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 174px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: clamp(18px, 2vw, 42px);
  margin-left: 44px;
  text-transform: uppercase;
  font-weight: 850;
  font-size: 13px;
  white-space: nowrap;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search {
  width: min(265px, 20vw);
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: #9d948c;
  background: #fff;
}

.search svg,
.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.search input {
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--text);
  background: transparent;
  font-size: 14px;
}

.icon-button,
.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #3b332d;
  display: grid;
  place-items: center;
  position: relative;
  cursor: pointer;
}

.icon-button.cart b {
  position: absolute;
  right: -6px;
  top: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.nav-toggle {
  display: none;
  margin-left: auto;
}

.nav-toggle span {
  width: 19px;
  height: 2px;
  background: currentColor;
}

.hero {
  height: min(690px, calc(100vh - 168px));
  min-height: 530px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #f3eee7;
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.76), rgba(255,255,255,.18) 47%, rgba(255,255,255,0) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 24px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy span {
  display: block;
  max-width: 520px;
  color: #4f4740;
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.5;
  margin-bottom: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(246, 166, 0, .24);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.btn i,
.text-link span,
.category-card i {
  font-style: normal;
}

.hero-arrows {
  position: absolute;
  right: max(32px, calc((100vw - var(--wrap)) / 2));
  bottom: 28px;
  width: 108px;
  height: 58px;
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-arrows button {
  width: 50%;
  border: 0;
  background: transparent;
  color: #7a7169;
  font-size: 30px;
  cursor: pointer;
}

.hero-arrows button + button {
  border-left: 1px solid #eee8df;
}

.products-section,
.categories-section,
.gallery-section,
.blog-section {
  background: #fff;
}

.products-section {
  padding: 56px 0 38px;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head .eyebrow {
  margin-bottom: 8px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  min-height: 330px;
  border: 1px solid #eee8df;
  border-radius: 8px;
  background: #fff;
  padding: 22px 20px 18px;
  box-shadow: var(--shadow);
  position: relative;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(45, 35, 27, .12);
}

.product-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  margin-bottom: 14px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-card h3 {
  margin: 2px 90px 0 0;
  font-size: 17px;
  line-height: 1.15;
}

.product-card strong {
  position: absolute;
  right: 20px;
  bottom: 22px;
  color: var(--accent-dark);
  font-size: 17px;
}

.benefit-strip {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #fff;
  box-shadow: 0 10px 26px rgba(35, 29, 23, .04);
}

.benefit-strip div {
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: center;
  min-height: 96px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.benefit-strip div:last-child {
  border-right: 0;
}

.benefit-strip span {
  grid-row: 1 / 3;
  align-self: center;
}

.benefit-strip svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.benefit-strip b {
  align-self: end;
  font-size: 15px;
}

.benefit-strip small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.categories-section,
.gallery-section {
  padding: 18px 0 34px;
}

.section-head.compact {
  margin-bottom: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  min-height: 170px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  padding: 30px 28px;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(52, 43, 37, .96) 0, rgba(52, 43, 37, .88) 42%, rgba(52, 43, 37, .16) 68%), var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px rgba(33, 27, 22, .12);
  transition: transform .18s ease;
}

.category-card:hover {
  transform: translateY(-2px);
}

.category-card span {
  display: block;
  margin-bottom: 7px;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 900;
}

.category-card small {
  font-size: 15px;
  line-height: 1.35;
}

.category-card i {
  position: absolute;
  left: 28px;
  bottom: 25px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / .82;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(34, 28, 23, .08);
}

.about-section {
  margin-top: 14px;
  min-height: 390px;
  background: linear-gradient(90deg, #817365 0, #817365 51%, #f7f0e8 51%, #f7f0e8 100%);
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 780px);
  align-items: stretch;
  min-height: 390px;
}

.about-copy {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 46px 52px 0;
}

.about-copy .eyebrow {
  color: var(--accent);
}

.about-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(31px, 2.6vw, 48px);
  line-height: 1.15;
}

.about-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 28px;
  color: #fff;
  opacity: .94;
  font-size: 17px;
}

.about-inner > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 0 0 30px;
}

.stats span {
  display: grid;
  gap: 2px;
}

.stats b {
  font-size: 24px;
}

.stats small {
  color: #fff;
  opacity: .88;
  font-size: 14px;
}

.blog-section {
  padding: 46px 0 52px;
}

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

.blog-grid article {
  min-height: 172px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  border-radius: 8px;
}

.blog-grid img {
  width: 180px;
  height: 172px;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 6px;
}

.blog-grid time {
  display: block;
  color: #8f847a;
  font-size: 13px;
  margin-bottom: 8px;
}

.blog-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.18;
}

.blog-grid p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.blog-grid a {
  color: var(--accent-dark);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.footer {
  background: linear-gradient(90deg, #24201c, #1e1a17);
  color: #e9e1d8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.2fr 1.15fr 1.45fr;
  gap: 44px;
  padding: 44px 0 36px;
}

.footer h4 {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 7px;
  color: #c9bfb5;
  font-size: 14px;
  line-height: 1.36;
}

.footer-brand img {
  width: 150px;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}

.social {
  display: flex;
  gap: 17px;
  margin-top: 18px;
}

.social a {
  color: #fff;
  font-size: 20px;
}

.newsletter {
  display: flex;
  width: min(100%, 250px);
  height: 42px;
  margin-top: 16px;
}

.newsletter input {
  min-width: 0;
  border: 0;
  padding: 0 14px;
  flex: 1;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.newsletter button {
  width: 48px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.footer-bottom {
  min-height: 46px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #a99d91;
  font-size: 13px;
}

.product-page {
  background: #fff;
}

.product-hero {
  padding: 34px 0 58px;
  background: linear-gradient(180deg, #fbf8f3 0, #fff 58%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.breadcrumbs a:hover {
  color: var(--accent-dark);
}

.breadcrumbs strong {
  color: var(--text);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(42px, 5vw, 86px);
  align-items: start;
}

.product-media {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
}

.product-thumbs {
  display: grid;
  gap: 14px;
  align-content: start;
}

.product-thumbs button {
  width: 96px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.product-thumbs button.is-active,
.product-thumbs button:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(246, 166, 0, .12);
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.product-main-image {
  min-height: 620px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-main-image img {
  width: min(72%, 480px);
  max-height: 560px;
  object-fit: contain;
}

.product-summary {
  position: sticky;
  top: 110px;
}

.product-summary h1 {
  margin: 0 0 14px;
  font-size: clamp(42px, 3.6vw, 64px);
  line-height: 1.05;
}

.product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.product-rating span {
  color: var(--accent);
  letter-spacing: 0;
}

.product-rating a {
  font-weight: 800;
  color: var(--text);
}

.product-rating small {
  color: var(--muted);
}

.product-lead {
  max-width: 650px;
  margin: 0 0 28px;
  color: #4f4740;
  font-size: 18px;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 30px;
}

.product-price strong {
  color: var(--accent-dark);
  font-size: 34px;
}

.product-price del {
  color: #a89d92;
  font-size: 20px;
}

.product-price span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef8ed;
  color: #3a7d34;
  font-size: 13px;
  font-weight: 900;
}

.product-option {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.option-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.option-head b {
  font-size: 16px;
}

.option-head small {
  color: var(--muted);
}

.swatches,
.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatches button,
.size-grid button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 16px;
  cursor: pointer;
  color: var(--text);
  font-weight: 750;
}

.swatches button.is-active,
.size-grid button.is-active,
.swatches button:hover,
.size-grid button:hover {
  border-color: var(--accent);
  background: #fff8eb;
}

.buy-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  margin: 28px 0 20px;
}

.qty-control {
  height: 50px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.qty-control button {
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}

.qty-control input {
  min-width: 0;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 900;
}

.product-add {
  width: 100%;
  min-height: 50px;
  border: 0;
  cursor: pointer;
}

.product-promises {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.product-promises div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

.product-promises svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  flex: 0 0 auto;
}

.product-info {
  padding: 54px 0;
  background: var(--soft);
}

.technical-section {
  padding: 54px 0;
  background: #fff;
}

.product-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.technical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 12px 30px rgba(45, 35, 27, .05);
}

.info-panel h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.info-panel .eyebrow {
  margin-bottom: 8px;
}

.info-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.info-panel p:last-child {
  margin-bottom: 0;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list div:first-child {
  padding-top: 0;
}

.spec-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-list dt {
  color: var(--text);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
}

.technical-panel,
.kit-panel,
.accessories-panel,
.product-contact-panel {
  height: 100%;
}

.finish-spec-list div {
  grid-template-columns: minmax(190px, .9fr) 1fr;
}

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

.kit-list div {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffaf2;
}

.kit-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(45, 35, 27, .06);
}

.kit-list b {
  font-size: 16px;
}

.kit-list small {
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

.accessory-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.accessory-list div {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.accessory-list dt {
  font-weight: 900;
}

.accessory-list dd {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 900;
  white-space: nowrap;
}

.product-contact-panel {
  background: linear-gradient(180deg, #fff, #fff8ec);
}

.form-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #eef8ed;
  color: #357b30;
  font-weight: 900;
}

.product-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.product-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 850;
}

.product-contact-form label:nth-of-type(3),
.product-contact-form label:nth-of-type(4) {
  grid-column: 1 / -1;
}

.product-contact-form span {
  font-size: 13px;
}

.product-contact-form input,
.product-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  padding: 12px 13px;
  outline: 0;
}

.product-contact-form textarea {
  resize: vertical;
}

.product-contact-form input:focus,
.product-contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 164, 0, .12);
}

.product-contact-form .btn {
  grid-column: 1 / -1;
  border: 0;
  cursor: pointer;
}

.woocommerce-product-page .dn-product-quick-info {
  margin: 22px 0;
}

.woocommerce-product-page .dn-product-quick-info dd ul {
  margin: 0;
  padding-left: 18px;
}

.dn-cart-form {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.dn-cart-form .quantity {
  height: 50px;
}

.dn-cart-form .qty {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font: 700 16px/1 "Montserrat", sans-serif;
}

.technical-content {
  overflow-x: auto;
}

.technical-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.technical-content td,
.technical-content th {
  border: 1px solid var(--line);
  padding: 10px;
}

.related-products {
  padding: 54px 0 62px;
  background: #fff;
}

.product-grid-related {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-page {
  background: #fff;
}

.category-intro {
  padding: 38px 0 28px;
  background: linear-gradient(180deg, #fbf8f3 0, #fff 70%);
}

.category-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.category-title-row h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 4vw, 64px);
  line-height: 1.05;
}

.category-title-row p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.category-subcats {
  display: grid;
  grid-template-columns: 1.05fr repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.category-subcat {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(45, 35, 27, .04);
  font-weight: 900;
  transition: border-color .18s ease, transform .18s ease;
}

.category-subcat:hover,
.category-subcat.is-active {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-2px);
}

.category-subcat img {
  width: 44px;
  height: 78px;
  object-fit: contain;
}

.category-subcat.is-active {
  flex-direction: column;
}

.gridicon {
  display: grid;
  grid-template-columns: repeat(2, 15px);
  gap: 6px;
}

.gridicon i {
  display: block;
  width: 15px;
  height: 15px;
  border: 3px solid var(--accent);
  border-radius: 3px;
}

.catalog-section {
  border-top: 1px solid var(--line);
  padding: 28px 0 54px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 190px 1fr 260px;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}

.catalog-count {
  color: var(--text);
  font-weight: 750;
}

.catalog-count b {
  color: var(--accent-dark);
}

.catalog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-chips span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 6px;
  background: #fff4e8;
  color: #9a5a0f;
  font-size: 13px;
  font-weight: 800;
}

.catalog-chips button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.catalog-sort {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.catalog-sort select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 13px;
  color: var(--text);
  font-weight: 850;
}

.catalog-sort form {
  margin: 0;
}

.catalog-sort .orderby {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0 13px;
  color: var(--text);
  font-weight: 850;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.catalog-filters {
  position: sticky;
  top: 102px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.filter-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 900;
}

.filter-active {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-weight: 900;
}

.filter-active::before {
  content: "";
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.filter-group {
  border-top: 1px solid var(--line);
  padding: 18px 0 12px;
}

.filter-group h3 {
  margin: 0 0 14px;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.price-row {
  display: flex;
  gap: 10px;
}

.price-row input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  font-weight: 850;
}

.range-line {
  height: 20px;
  position: relative;
  margin: 12px 0;
}

.range-line::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 9px;
  height: 3px;
  background: var(--accent);
}

.range-line::after {
  content: "";
  position: absolute;
  inset: 3px 0 auto;
  height: 14px;
  background:
    radial-gradient(circle at 7px 7px, #fff 0 4px, var(--accent) 4px 7px, transparent 7px),
    radial-gradient(circle at calc(100% - 7px) 7px, #fff 0 4px, var(--accent) 4px 7px, transparent 7px);
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  color: var(--muted);
}

.filter-list li,
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.filter-list em,
.filter-group em {
  margin-left: auto;
  color: #8a8178;
  font-style: normal;
}

.filter-group label + label {
  margin-top: 9px;
}

.filter-group input[type="checkbox"] {
  accent-color: var(--accent);
}

.filter-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
}

.filter-swatches i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ded6cd;
  background: #fff;
}

.filter-swatches i:nth-child(2) { background: #eadccb; }
.filter-swatches i:nth-child(3) { background: #e4e1dd; }
.filter-swatches i:nth-child(4) { background: #202020; }
.filter-swatches i:nth-child(5) { background: #6b4828; }
.filter-swatches i:nth-child(6) { background: #a77b46; }
.filter-swatches i:nth-child(7) { background: #c7a06f; }

.more-link {
  color: var(--accent-dark);
  font-weight: 850;
}

.clear-filters {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: #fff;
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.catalog-card {
  min-height: 330px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px 20px 18px;
  box-shadow: 0 10px 24px rgba(45, 35, 27, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(45, 35, 27, .1);
}

.catalog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-badge.is-dark {
  background: #241d17;
}

.catalog-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #544b43;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.catalog-pic {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.catalog-pic img {
  width: auto;
  height: 210px;
  max-width: 90%;
  object-fit: contain;
}

.catalog-card h2 {
  margin: 0 64px 7px 0;
  font-size: 16px;
  line-height: 1.2;
}

.catalog-card strong {
  color: var(--accent-dark);
  font-size: 17px;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 34px 0 0;
}

.catalog-pagination button,
.catalog-pagination span {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 850;
}

.catalog-pagination .is-current {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.catalog-pagination .woocommerce-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

.catalog-pagination .woocommerce-pagination li {
  border: 0;
}

.catalog-pagination .woocommerce-pagination a,
.catalog-pagination .woocommerce-pagination span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-weight: 850;
}

.catalog-pagination .woocommerce-pagination .current {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.category-guide {
  padding: 44px 0 48px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-guide h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(28px, 2.4vw, 38px);
}

.category-guide .guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.category-guide article {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  align-items: start;
}

.category-guide svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  grid-row: 1 / 3;
}

.category-guide h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.category-guide p {
  margin: 0;
  color: var(--muted);
}

.category-consult {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(260px, 420px) minmax(0, 1fr);
  align-items: stretch;
  background: #f5eee5;
}

.category-consult-photo img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.category-consult-copy {
  padding: 42px 42px 40px;
}

.category-consult-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.1;
}

.category-consult-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.category-consult-copy li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent-dark);
  font-weight: 900;
}

.category-consult-form {
  align-self: center;
  padding: 42px max(32px, calc((100vw - var(--wrap)) / 2)) 42px 0;
  display: grid;
  gap: 14px;
}

.category-consult-form div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-consult-form input,
.category-consult-form textarea {
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  outline: 0;
}

.category-consult-form textarea {
  min-height: 86px;
  resize: vertical;
}

.category-consult-form input:focus,
.category-consult-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(245, 164, 0, .18);
}

.category-consult-form label {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.category-consult-form .btn {
  justify-self: end;
  border: 0;
  cursor: pointer;
  min-width: 230px;
}

@media (max-width: 1280px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 42px));
  }

  .main-nav {
    margin-left: 12px;
    gap: 18px;
    font-size: 12px;
  }

  .search {
    width: 190px;
  }

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

  .benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-strip div {
    border-bottom: 1px solid var(--line);
  }

  .benefit-strip div:nth-child(2n) {
    border-right: 0;
  }

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

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

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-summary {
    position: static;
  }

  .product-main-image {
    min-height: 520px;
  }

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

  .category-subcats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }

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

  .category-consult {
    grid-template-columns: 320px 1fr;
  }

  .category-consult-form {
    grid-column: 1 / -1;
    padding: 0 42px 42px;
  }
}

@media (max-width: 920px) {
  .top-inner nav,
  .search,
  .icon-button:not(.cart) {
    display: none;
  }

  .site-header,
  .header-inner {
    height: 68px;
  }

  .brand img {
    width: 148px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 14px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 34px rgba(35, 29, 23, .08);
    transform: translateY(-125%);
    transition: transform .22s ease;
  }

  .nav-open .main-nav {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    height: min(560px, calc(100vh - 124px));
    min-height: 500px;
  }

  .hero-bg {
    background-position: 70% center;
    background-size: auto 100%;
  }

  .hero-bg::after {
    background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,255,255,.3) 72%, rgba(255,255,255,.04));
  }

  .hero-arrows {
    display: none;
  }

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

  .about-section {
    background: #817365;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding-right: 0;
  }

  .about-inner > img {
    min-height: 300px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-media {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    order: 2;
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-thumbs button {
    flex: 0 0 82px;
    width: 82px;
  }

  .product-info-grid {
    grid-template-columns: 1fr;
  }

  .technical-grid {
    grid-template-columns: 1fr;
  }

  .category-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .catalog-filters {
    position: static;
  }

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

  .category-guide .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-consult {
    grid-template-columns: 1fr;
  }

  .category-consult-photo {
    display: none;
  }

  .category-consult-form,
  .category-consult-copy {
    padding: 30px 24px;
  }

  .category-consult-form {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .top-strip {
    font-size: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .cart {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 515px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy span {
    font-size: 16px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .product-grid,
  .category-grid,
  .gallery-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .product-card img {
    height: 210px;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  .benefit-strip div,
  .benefit-strip div:nth-child(2n) {
    border-right: 0;
  }

  .category-card {
    min-height: 155px;
  }

  .gallery-grid img {
    aspect-ratio: 1.25 / 1;
  }

  .stats {
    gap: 22px;
  }

  .blog-grid article {
    grid-template-columns: 1fr;
  }

  .blog-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.7 / 1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .product-hero {
    padding: 24px 0 42px;
  }

  .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 18px;
  }

  .product-detail {
    gap: 28px;
  }

  .product-main-image {
    min-height: 360px;
  }

  .product-main-image img {
    width: 76%;
    max-height: 320px;
  }

  .product-summary h1 {
    font-size: 40px;
  }

  .product-lead {
    font-size: 16px;
  }

  .buy-row {
    grid-template-columns: 1fr;
  }

  .info-panel {
    padding: 24px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .finish-spec-list div {
    grid-template-columns: 1fr;
  }

  .kit-list div {
    grid-template-columns: 38px 1fr;
  }

  .kit-list small {
    grid-column: 2;
  }

  .product-contact-form {
    grid-template-columns: 1fr;
  }

  .product-grid-related {
    grid-template-columns: 1fr;
  }

  .category-intro {
    padding-top: 26px;
  }

  .category-title-row h1 {
    font-size: 40px;
  }

  .category-subcats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-subcat {
    min-height: 98px;
  }

  .catalog-section {
    padding-top: 20px;
  }

  .catalog-chips,
  .catalog-toolbar {
    gap: 10px;
  }

  .catalog-filters {
    padding: 18px;
  }

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

  .catalog-card {
    min-height: auto;
  }

  .catalog-pic {
    height: 210px;
  }

  .category-guide .guide-grid {
    grid-template-columns: 1fr;
  }

  .category-consult-form div {
    grid-template-columns: 1fr;
  }

  .category-consult-form .btn {
    width: 100%;
    justify-self: stretch;
  }
}
