/* Inner pages (v4): products, areas, gallery, contact */
body.inner {
  overflow-x: hidden;
}
.p-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.p-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font:
    400 13px/1.4 "JetBrains Mono",
    monospace;
  color: var(--mut);
  margin-bottom: 26px;
}
.p-crumb i {
  font-style: normal;
  opacity: 0.5;
}
.p-crumb a:hover {
  color: var(--acc);
}
.p-hero {
  padding: 150px 0 32px;
  background: radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 55%);
}
.p-hero h1 {
  font-size: var(--fs-h1-page);
  line-height: var(--lh-h1);
  margin: 12px 0 16px;
  max-width: 28ch;
  letter-spacing: -0.02em;
}
.p-hero--list h1 {
  max-width: 28ch;
}
.p-hero--short {
  padding-bottom: 28px;
}
.p-lead {
  font-size: clamp(17px, 2vw, 21px);
  max-width: 60ch;
  margin-bottom: 24px;
}
.p-hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.p-hero-im {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surf);
  box-shadow: 0 30px 60px -30px rgba(74, 65, 55, 0.35);
}
.p-hero-im img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
/* hero video + sound button (all screen sizes; the photo is the fallback in the HTML) */
.p-hero-im {
  position: relative;
}
.p-hero-im img {
  display: none;
}
.p-hero-vid {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.p-hero-snd {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 27, 22, 0.72);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.p-hero-snd svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p-hero-snd .snd-on,
.p-hero-snd[aria-pressed="true"] .snd-off {
  display: none;
}
.p-hero-snd[aria-pressed="true"] .snd-on {
  display: block;
}
/* badges with ticks: 2 per row on phones */
.p-chips {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 28px;
}
.p-chips li {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: var(--surf);
  border-radius: 99px;
  padding: 9px 14px;
  font-size: 13.5px;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 500;
}
.p-chips li:before {
  content: "";
  flex: none;
  width: 6px;
  height: 11px;
  border: solid var(--acc);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -2px);
}
.p-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* SECTION GAP (product, products-list, areas, gallery and contact pages)
   Space above AND below each section; the real gap between two sections is 2 x this number.
   Phone 28px | Tablet 36px (the 561px line below) | Desktop 48px (the 900px block, ".p-sec{padding:48px 0}"). */
.p-sec {
  padding: 28px 0;
}
@media (min-width: 561px) {
  .p-sec {
    padding: 36px 0;
  }
}
.p-alt {
  background: color-mix(in srgb, var(--mint) 18%, var(--bg));
}
.p-sec h2 {
  font-size: var(--fs-h2-page);
  line-height: var(--lh-h2);
  margin: 10px 0 16px;
}
.p-sec p {
  max-width: 62ch;
  margin-bottom: 16px;
}
.p-two {
  display: grid;
  gap: 14px;
}
.p-narrow {
  max-width: 900px;
}
.p-note {
  font-size: 14px;
  opacity: 0.8;
}
.p-notfit {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--acc);
  background: var(--surf);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  opacity: 1;
}

/* gallery with thumbnails (product pages) */
/* photo gallery section: small top space, so the photos sit close to the title block above */
.p-sec--gal {
  padding: 8px 0 28px;
}
.p-pgal {
  max-width: 920px;
  margin: 0 auto;
}
.p-pgal-main {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.p-pgal-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.p-ptag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(32, 27, 22, 0.74);
  color: #fff;
  font:
    500 13px/1 "Plus Jakarta Sans",
    sans-serif;
  padding: 7px 14px;
  border-radius: 99px;
  letter-spacing: 0.01em;
}
.p-ptag:empty {
  display: none;
}
.p-ptag.sm {
  left: 6px;
  top: 6px;
  font-size: 10.5px;
  padding: 4px 8px;
}
.p-pgal-th {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.p-pgal-th button {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.p-pgal-th button.on {
  border-color: var(--acc);
}
.p-pgal-th button:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
.p-pgal-th img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* spec table */
.p-spec {
  width: 100%;
  max-width: 920px;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.p-spec thead th {
  font:
    500 11px "JetBrains Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--acc);
  text-align: left;
  padding: 11px 18px;
  background: color-mix(in srgb, var(--acc) 8%, var(--surf));
}
/* SPEC TABLE TEXT SIZE: 14px on phone, 15px on tablet and desktop. Row height = padding (11px) above and below the text. */
.p-spec tbody th,
.p-spec td {
  text-align: left;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}
@media (min-width: 561px) {
  .p-spec tbody th,
  .p-spec td {
    font-size: 15px;
  }
}
.p-spec tbody th {
  width: 36%;
  font-weight: 600;
  color: var(--ink);
}
.p-spec td {
  color: var(--ink);
}
.p-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.p-cmp {
  min-width: 560px;
}
.p-cmp thead th {
  text-align: left;
}

.p-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.p-list li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--acc);
  border-bottom: 2px solid var(--acc);
  transform: rotate(-45deg);
}
.p-two--lists h2 {
  margin-top: 0;
}
.p-sw {
  list-style: none;
  padding: 0;
  margin: 18px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.p-sw li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--surf);
  border-radius: 99px;
  padding: 8px 18px 8px 8px;
  color: var(--ink);
  font-weight: 500;
}
.p-sw i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

/* type selector (door types, shoe-rack models) */
.p-types {
  max-width: 920px;
  margin-top: 20px;
}
.p-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.p-type-tabs button {
  border: 1px solid var(--line);
  background: var(--surf);
  color: var(--ink);
  border-radius: 99px;
  padding: 10px 20px;
  font:
    500 15px "Plus Jakarta Sans",
    sans-serif;
  cursor: pointer;
}
.p-type-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.p-type-tabs button:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px;
}
.p-type-panel[hidden] {
  display: none;
}
.p-type-im {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.p-type-im img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.p-type-t {
  padding-top: 18px;
}
.p-type-t h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  margin-bottom: 8px;
}
.p-type-t p {
  margin: 0;
}

/* steps (light) */
.p-steps {
  list-style: none;
  counter-reset: s;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 16px;
}
.p-steps li {
  counter-increment: s;
  position: relative;
  padding: 20px 20px 20px 72px;
  border: 1px solid var(--line);
  background: var(--surf);
  border-radius: 16px;
}
.p-steps li:before {
  content: counter(s);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 17px Syne;
}
.p-steps b {
  display: block;
  color: var(--ink);
  font: 600 19px Syne;
  margin-bottom: 4px;
}
.p-steps span {
  color: var(--mut);
  font-size: 15.5px;
}

/* reviews */
.p-revs {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.p-rev {
  border: 1px solid var(--line);
  background: var(--surf);
  border-radius: 18px;
  padding: 22px;
}
.p-stars {
  color: var(--acc);
  letter-spacing: 3px;
  font-size: 17px;
  margin-bottom: 10px;
}
.p-rev p {
  margin: 0 0 16px;
  color: var(--ink);
}
.p-who b {
  display: block;
  color: var(--ink);
}
.p-who small {
  color: var(--mut);
  font-size: 14px;
}

.p-faq .q button {
  padding: 24px 0;
  font-size: var(--fs-q);
}
.p-faq .q button i {
  width: 44px;
  height: 44px;
  font-size: 24px;
}
.p-faq .q p {
  padding-bottom: 24px;
}
.p-band {
  background: var(--ink);
  color: #d9d2c6;
  text-align: center;
}
.p-band h2 {
  color: #fff;
  margin-top: 0;
}
.p-band p {
  margin-inline: auto;
}
.p-band .p-cta {
  justify-content: center;
  margin-top: 20px;
}
.p-band .btn:not(.p) {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

/* switch to another type */
.p-switch {
  border: 1px solid var(--line);
  background: var(--surf);
  border-radius: 20px;
  padding: 26px;
}
.p-switch h2 {
  margin-top: 0;
}
.p-sw-g {
  display: grid;
  gap: 12px;
}
.p-sw-l {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  transition: 0.2s;
}
.p-sw-l:hover {
  border-color: var(--acc);
}
.p-sw-l b {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 3px;
}
.p-sw-l span {
  color: var(--mut);
  font-size: 15px;
}
.p-guide {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.p-guide li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.p-guide a {
  color: var(--acc);
  font-weight: 600;
}

/* cards */
.p-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.p-pcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surf);
  padding-top: 20px;
}
.p-badge {
  align-self: flex-start;
  margin: 0 20px 8px;
  font:
    500 12px "JetBrains Mono",
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
  border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent);
  border-radius: 99px;
  padding: 4px 12px;
}
.p-pcard h3 {
  margin: 0 20px 14px;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}
.p-pcard-im {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--line);
}
.p-pcard-im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-pcard p {
  margin: 16px 20px 10px;
  color: var(--mut);
  font-size: 15.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}
.p-more {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.p-pcard .p-more {
  margin: 0 6px 22px;
  padding: 10px 14px;
  display: inline-block;
  align-self: flex-start;
  border-radius: 99px;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.2s,
    color 0.2s;
}
.p-pcard .p-more:hover {
  background: color-mix(in srgb, var(--acc) 14%, transparent);
  color: var(--acc);
}

/* "more from us": small horizontal cards */
.p-minis {
  display: grid;
  gap: 14px;
}
.p-mini {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surf);
  padding: 12px;
  transition: 0.2s;
}
.p-mini:hover {
  border-color: var(--acc);
}
.p-mini-im {
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}
.p-mini-im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-mini-t h3 {
  font-size: var(--fs-h3-sm);
  line-height: var(--lh-h3);
  margin: 0 0 4px;
}
.p-mini-t p {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: var(--mut);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* small rounded area pills */
.p-pills-box {
  margin-top: 30px;
}
.p-pills-box h3 {
  font-size: var(--fs-h3-sm);
  margin-bottom: 12px;
}
.p-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-pills a {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--surf);
  border-radius: 99px;
  padding: 6px 13px;
  font-size: 13.5px;
  color: var(--ink);
  transition: 0.2s;
}
.p-pills a:hover {
  border-color: var(--acc);
  color: var(--acc);
}
.p-pills .all a {
  border-color: transparent;
  background: transparent;
  color: var(--acc);
  font-weight: 600;
}

/* areas index */
.p-sec--zones {
  padding-top: 12px;
}
.p-zone {
  margin-bottom: 34px;
}
.p-zone h2 {
  font-size: var(--fs-h3-lg);
  margin: 0 0 14px;
}
.p-pills--lg {
  gap: 10px;
}
.p-pills--lg a {
  padding: 9px 18px;
  font-size: 15.5px;
}
.p-pills--lg .office {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: var(--acc);
}
.p-pills--lg .office svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--acc);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p-pills--lg .office small {
  font-size: 12px;
  color: var(--acc);
}
.p-missing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.p-missing span {
  color: var(--mut);
}

/* gallery page */
.p-chiprow {
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px 20px;
  padding: 0 16px;
}
.p-chiprow::-webkit-scrollbar {
  display: none;
}
.p-chiprow .chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
  margin: 0;
}
.p-chiprow .chip {
  white-space: nowrap;
}
.p-gal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.p-gal .gi {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--line);
}
.p-gal .gi[hidden] {
  display: none;
}
.p-gal .gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-gal .p-ptag {
  z-index: 2;
  left: 8px;
  top: 8px;
  font-size: 11px;
  padding: 5px 10px;
}
.p-gl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(20, 16, 12, 0.7));
}
.p-loadmore {
  text-align: center;
  margin-top: 26px;
}
.p-loadmore[hidden],
.p-loadmore button[hidden] {
  display: none;
}

/* contact */
.p-quick {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.p-quick .btn {
  flex: 1;
  justify-content: center;
}
.p-mail {
  overflow-wrap: anywhere;
  font-size: 15px;
}
body.inner .sp {
  display: grid;
  gap: 30px;
}
body.inner .talk a {
  color: inherit;
}
body.inner form select {
  width: 100%;
}

@media (min-width: 560px) {
  .p-chips {
    display: flex;
    flex-wrap: wrap;
  }
  .p-gal {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-revs {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-sw-g {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 640px) {
  .p-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-chiprow {
    margin: 0 0 20px;
    padding: 0;
  }
}
@media (min-width: 900px) {
  .p-hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
  .p-two {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
  .p-revs.n4,
  .p-revs.n2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-revs.n1 {
    grid-template-columns: minmax(0, 560px);
  }
  .p-two--lists {
    grid-template-columns: 1fr 1fr;
  }
  .p-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .p-minis {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-revs {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-gal {
    grid-template-columns: repeat(4, 1fr);
  }
  body.inner .sp {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .p-sec {
    padding: 48px 0;
  }
  .p-quick {
    display: none;
  }
  .p-sw-g {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }
}
@media (min-width: 900px) {
  .p-grid > :last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}
@media (max-width: 899px) {
  .p-hero {
    padding-top: 128px;
  }
  .nav {
    height: 84px;
  }
}
@media (max-width: 420px) {
  .p-mini {
    grid-template-columns: 88px 1fr;
    gap: 12px;
  }
  .p-chips li {
    padding: 9px 12px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-pcard,
  .p-mini,
  .p-sw-l,
  .p-pills a {
    transition: none;
  }
}

/* ===== call button in the top bar (mobile only) ===== */
.nr {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ncall {
  display: none;
}
@media (max-width: 899px) {
  .ncall {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid #d9dfeb;
    background: #fff;
    color: var(--acc);
  }
  .ncall svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .nr .bg {
    border-radius: 14px;
    border-color: #d9dfeb;
    background: #fff;
  }
  .nr .bg i {
    background: var(--acc);
  }
}
