/* Homepage — visual parity with app/ React HomePage sections */

:root {
  --home-green: #2caf4e;
  --home-green-dark: #239140;
  --home-black: #1a1a1a;
  --home-gray: #8a8a8a;
  --home-muted: #4a4a4a;
  --home-bg-soft: #f5f5f5;
  --home-accent-bg: #e8f5ec;
  --home-footer: #1a1a1a;
  --home-maxw: 80rem;
  --home-font: Inter, system-ui, -apple-system, sans-serif;
  --home-search-accent: #2caf4e;
  --home-search-accent-hover: #239140;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  padding: 0;
  margin: 0;
}

body.home-page {
  margin: 0;
  font-family: var(--home-font);
  background: #fff;
  color: var(--home-black);
  -webkit-font-smoothing: antialiased;
}

body.checkout-page {
  margin: 0;
  font-family: var(--home-font);
  background: #f9fafb;
  color: var(--home-black);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}



/* ----------- Hero ----------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  max-height: 700px;
  height: 500px;
  overflow: hidden;
}
.hero:hover .hero-btn {
  opacity: 1;
  visibility: visible;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 10;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgb(0 0 0 / 0.6),
    rgb(0 0 0 / 0.28) 48%,
    transparent
  );
}

.hero-inner {
  position: relative;
  z-index: 11;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--home-maxw);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding: 0 2rem;
  }
}

.hero-copy {
  max-width: 36rem;
  color: #fff;
}

.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  opacity: 0.92;
}

@media (min-width: 640px) {
  .hero-kicker {
    font-size: 0.8125rem;
  }
}

.hero-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 2rem;
  max-width: 32rem;
}

@media (min-width: 1024px) {
  .hero-desc {
    font-size: 1.0625rem;
  }
}

.btn-hero-cta {
  display: inline-block;
  background-color: var(--home-green);
  color: var(--home-bg-soft);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.btn-hero-cta:hover {
  background-color: var(--home-bg-soft);
  color: var(--home-green);
}

.hero-btn {
  display: flex;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: none;
  background: rgb(255 255 255 / 0.92);
  color: var(--home-black);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.12);
  transition: opacity 0.3s ease, visibility 0.3s, background 0.3s, color 0.3s, transform 0.3s;
}

.hero-btn:hover {
  background: var(--home-green);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 640px) {
  .hero-btn {
    position: absolute;
    bottom: 1.5rem;
    top: auto;
    width: 2.5rem;
    height: 2.5rem;
    opacity: 1;
    visibility: visible;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.10);
  }

  .hero-btn.prev {
    left: 0.5rem;
  }

  .hero-btn.next {
    right: 0.5rem;
  }
}

.hero-btn.prev {
  left: 1rem;
}

.hero-btn.next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  border: none;
  background: rgb(255 255 255 / 0.6);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.hero-dot.active {
  width: 1.5rem;
  background: var(--home-green);
}

/* ----------- Section shell ----------- */
.section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 2rem 0 4rem;
  }
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--home-black);
  margin: 0 0 0.75rem;
}

.section-sub {
  color: var(--home-gray);
  font-size: 1rem;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .section-sub {
    font-size: 1.125rem;
  }
}

.container {
  max-width: var(--home-maxw);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* About section */
.section-about {
  position: relative;
  background: linear-gradient(180deg, #f8faf8 0%, #f3f7f4 100%);
}

.section-about .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.about-layout {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about-main {
  display: grid;
  align-content: center;
}

.about-content {
  display: grid;
  gap: 0.75rem;
}

.about-text {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--home-muted, #4a4a4a);
  margin: 0;
  max-width: 42rem;
}

.about-text-strong {
  font-weight: 600;
  color: #222;
}

.about-rich-text {
  max-width: 42rem;
  color: var(--home-muted, #4a4a4a);
}

.about-rich-text p {
  margin: 0 0 0.75rem;
  font-size: 0.975rem;
  line-height: 1.65;
}

.about-rich-text p:last-child {
  margin-bottom: 0;
}

.about-cta {
  display: inline-flex;
  margin-top: 0.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(44 175 78 / 0.55);
  color: #222;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: fit-content;
  transition: all 0.2s ease;
}

.about-cta:hover {
  border-color: var(--home-green);
  color: #fff;
  background: var(--home-green);
}

.about-image-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 20rem;
  background: #e8ece9;
}

.about-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-point {
  padding: 1rem 1rem 0.75rem;
  border-radius: 0.8rem;
  background: rgb(255 255 255 / 0.72);
  border: 1px solid #e5ece7;
}

.about-point-num {
  display: inline-block;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--home-green);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.about-point-title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: #161616;
}

.about-point-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--home-muted, #4a4a4a);
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: stretch;
    gap: 2rem;
  }

  .about-content {
    gap: 0.85rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-image-wrap {
    min-height: 24rem;
  }

  .about-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-cta {
    transition: none;
  }
}

/* Products by category */
.section-products {
  background: #fff;
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .cat-tabs {
    gap: 0.75rem;
  }
}

.cat-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--home-muted);
  cursor: pointer;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .cat-tab {
    padding: 0.625rem 1.5rem;
  }
}

.cat-tab:hover {
  border-color: var(--home-green);
  color: var(--home-green);
}

.cat-tab.active {
  background: var(--home-green);
  border-color: var(--home-green);
  color: #fff;
}

.product-panels > .panel {
  display: none;
}

.product-panels > .panel.active {
  display: block;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .grid-products {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.1);
  transform: translateY(-4px);
}

.product-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f9fafb;
}

.product-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-thumb img {
  transform: scale(1.05);
}

/* Product card actions (wishlist, quick view, add to cart) */
.product-card-icon-btn {
  position: absolute;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: none;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a4a4a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.product-card-icon-btn:hover {
  background: #fff;
  color: #1a1a1a;
}

.product-card-icon-btn--wishlist {
  top: 0.75rem;
  right: 0.75rem;
}

.product-card-icon-btn--preview {
  position: absolute;
  right: 0.25rem;
  z-index: 2;
}

.product-card-icon-btn--wishlist.is-active {
  color: #ef4444;
}

.product-card-icon-btn--wishlist.is-active svg {
  fill: #ef4444;
  stroke: #ef4444;
}

.product-card-cart-slide {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.product-card-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.product-card-actions > * {
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-card-cart-slide {
    transform: translateY(0);
  }
}

@media (hover: none), (pointer: coarse) {
  .product-card-cart-slide {
    transform: translateY(0);
    padding: 0.5rem;
    pointer-events: auto;
  }
}

.product-card-add-cart {
  width: 74%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--home-green-dark);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.12);
  transition: background 0.2s;
}

@media (max-width: 380px) {
  .product-card-add-cart {
    font-size: 11px;
  }
  .product-cat-pill {
    display: none !important;
  }
  .product-card-icon-btn {
    top: -3px;
    right: -3px;
  }
  .product-price {
    font-size: 14px !important;
  }
  .product-name {
    font-size: 14px !important;
  }
  .product-body {
    padding: 0.6rem !important;
  }
}

.product-card-add-cart:hover {
  background: var(--home-green);
}

.product-card-add-cart.is-added {
  background: var(--home-green);
}

.pc-preview-dialog {
  border: none;
  border-radius: 0.75rem;
  padding: 0;
  width: min(960px, 96vw);
  max-height: 92vh;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.2);
  overflow: hidden;
}

.pc-preview-dialog::backdrop {
  background: rgb(0 0 0 / 0.45);
}

.pc-preview-dialog__wrap {
  position: relative;
  max-height: 92vh;
  overflow: auto;
}

.pc-preview-dialog__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 2rem;
}

/* [hidden] alone loses to display:flex above (equal specificity, author wins); force hide when toggled in JS */
.pc-preview-dialog__loading[hidden] {
  display: none !important;
}

.pc-preview-dialog__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e8f5ec;
  border-top-color: var(--home-green, #2caf4e);
  border-radius: 50%;
  animation: pc-qv-spin 0.75s linear infinite;
}

@keyframes pc-qv-spin {
  to {
    transform: rotate(360deg);
  }
}

.pc-preview-dialog__content {
  padding: 0;
}

.pc-preview-dialog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .pc-preview-dialog__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: start;
  }
}

.pc-preview-dialog__col--visual {
  background: #f9fafb;
  position: sticky;
  top: 0;
}

@media (min-width: 768px) {
  .pc-preview-dialog__col--visual {
    position: static;
  }
}

.pc-preview-dialog__main-fig {
  margin: 0;
  padding: 0;
}

.pc-preview-dialog__main-fig img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pc-preview-dialog__thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem;
  background: #fff;
  border-top: 1px solid #eee;
}

.pc-preview-dialog__thumbs-wrap[hidden] {
  display: none !important;
}

.pc-preview-dialog__thumb-nav {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.35rem;
  background: #f3f4f6;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.pc-preview-dialog__thumb-nav:hover {
  background: #e5e7eb;
}

.pc-preview-dialog__thumbs {
  flex: 1;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.125rem 0;
}

.pc-preview-dialog__thumb {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  overflow: hidden;
  cursor: pointer;
  background: #f9fafb;
}

.pc-preview-dialog__thumb.is-active {
  border-color: var(--home-green, #2caf4e);
}

.pc-preview-dialog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-preview-dialog__col--info {
  padding: 1.25rem 1.5rem 1.5rem;
  background: #fff;
}

.pc-preview-dialog__cat {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--home-green, #2caf4e);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pc-preview-dialog__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.pc-preview-dialog__ref {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.pc-preview-dialog__ref-lbl {
  font-weight: 500;
  color: #4b5563;
}

.pc-preview-dialog__price {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--home-green, #2caf4e);
}

.pc-preview-dialog__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #374151;
}

.pc-preview-dialog__specs-block {
  margin-bottom: 1.25rem;
}

.pc-preview-dialog__specs-h {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
}

.pc-preview-dialog__specs-grid {
  display: grid;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
}

.pc-preview-dialog__spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.pc-preview-dialog__spec-k {
  color: #6b7280;
  font-weight: 500;
}

.pc-preview-dialog__spec-v {
  color: #1a1a1a;
  text-align: right;
}

.pc-preview-dialog__ship--qv {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.pc-preview-dialog__ship-ico {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--home-green, #2caf4e);
}

.pc-preview-dialog__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pc-preview-dialog__qty.pd-qty {
  margin: 0;
}

.pc-preview-dialog__add.pd-cart-btn {
  flex: 1 1 12rem;
  min-height: 2.75rem;
}

.pc-preview-dialog__full {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-green, #2caf4e);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pc-preview-dialog__full:hover {
  color: #239140;
}

.pc-preview-dialog__share {
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.pc-preview-dialog__share-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.pc-preview-dialog__share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pc-preview-dialog__share-ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.pc-preview-dialog__share-ico:hover {
  opacity: 0.9;
  color: #fff;
}

.pc-preview-dialog__share-ico--facebook {
  background: #1877f2;
}

.pc-preview-dialog__share-ico--twitter {
  background: #000;
}

.pc-preview-dialog__share-ico--linkedin {
  background: #0a66c2;
}

.pc-preview-dialog__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.95);
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  font-size: 1.25rem;
  line-height: 1;
}

.pc-preview-dialog__close:hover {
  background: #fff;
}

.pc-preview-dialog__error {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: #b91c1c;
  font-size: 0.9375rem;
}

.product-body {
  padding: 1rem;
}

.product-cat-pill {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  background: var(--home-accent-bg);
  color: var(--home-green);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-black);
  line-height: 1.35;
  margin: 0 0 0.75rem;
  display: block;
}

.product-name:hover {
  color: var(--home-green);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--home-black);
}

.btn-outline {
  display: inline-block;
  margin-top: 2.5rem;
  text-align: center;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid var(--home-green);
  color: var(--home-green);
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: var(--home-green);
  color: #fff;
}

.more-wrap {
  text-align: center;
}

.section-stats {
  position: relative;
  isolation: isolate;
  padding: 5rem 0;
  overflow: hidden;
  background: #fff;
}

/* Very subtle texture — almost white-on-white */
.section-stats::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23f0f0f0' fill-opacity='1' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,208C1248,192,1344,192,1392,192L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
  z-index: 0;
  pointer-events: none;
}

/* Thin green accent line at top */
.section-stats::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--home-green);
  z-index: 1;
}

.section-stats .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.stat-item {
  text-align: center;
  padding: 0 0.5rem;
}

.stat-value {
  font-family: var(--home-font);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--home-black);
  margin-bottom: 0.75rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Only the numbers that actually need + get it via CSS */
.stat-item:nth-child(2) .stat-value::after,
.stat-item:nth-child(4) .stat-value::after {
  content: '+';
  font-size: 0.5em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 0.08em;
  color: var(--home-green);
}

.stat-label {
  font-family: var(--home-font);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--home-gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

/* Callback */
.section-callback {
  background: #f0f0f0;
}

.callback-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .callback-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.callback-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.callback-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.check-ico {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--home-green);
  flex-shrink: 0;
  position: relative;
}

.check-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 0.35rem;
  height: 0.2rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.callback-form-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 10px 40px rgb(0 0 0 / 0.08);
}

@media (min-width: 640px) {
  .callback-form-card {
    padding: 2rem;
  }
}

.form-grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.8125rem;
  color: var(--home-muted);
  margin-bottom: 0.35rem;
}

.field input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.field input:focus {
  outline: none;
  border-color: var(--home-green);
  box-shadow: 0 0 0 3px rgb(44 175 78 / 0.2);
}

.btn-primary-block {
  width: 100%;
  height: 3rem;
  margin-top: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--home-green);
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary-block:hover {
  background: var(--home-green-dark);
}

.form-hint-small {
  font-size: 0.6875rem;
  text-align: center;
  color: var(--home-gray);
  margin-top: 0.75rem;
}

/* Features */
.section-features .feat-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .section-features .feat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.feat-item {
  text-align: center;
}

.feat-icon-wrap {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background: var(--home-accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feat-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.feat-desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--home-gray);
  line-height: 1.65;
}

/* Brands */
.section-brands {
  background: var(--home-bg-soft);
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .section-brands {
    padding: 2rem 0;
  }
}

.grid-brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .grid-brands {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }
}

.brand-cell {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  /* filter: grayscale(1); */
  transition: filter 0.3s, border-color 0.3s, box-shadow 0.3s;
}

@media (min-width: 640px) {
  .brand-cell {
    height: 8rem;
    width: 8rem;
  }
}

.brand-cell:hover {
  /* filter: grayscale(0); */
  border-color: var(--home-green);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.06);
  transform: scale(1.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.brand-cell img {
  max-height: 2.5rem;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: 0.5rem;
}

@media (min-width: 640px) {
  .brand-cell img {
    max-height: 8rem;
  }
}

@media (max-width: 640px) {
  .brand-cell {
    filter: grayscale(0);
    border-color: var(--home-green);
    box-shadow: 0 6px 20px rgb(0 0 0 / 0.06);
  }
}

/* Portfolio teaser */
.works-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: #6e6e6e;
  background: linear-gradient(180deg, rgb(110 110 110 / 48%) 0%, rgb(28 28 28) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  transform: translateY(100%);
}

.work-card .work-cap {
  opacity: 1;
  transform: translateY(0);
}

.work-cap small {
  display: block;
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 0.8);
}

.work-cap strong {
  color: #fff;
  font-size: 1.0625rem;
}

/* ----------- Footer ----------- */
.site-footer {
  background: var(--home-footer);
  color: #fff;
}

.footer-inner {
  padding: 2rem 1rem;
}

@media (min-width: 1024px) {
  .footer-inner {
    padding: 2rem 1rem;
  }
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 2fr minmax(0, 260px);
  }
}

.footer-desc {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
  max-width: 22rem;
  line-height: 1.65;
}

.footer-sub {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.25);
  color: #fff;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.footer-social-link:hover {
  color: #fff;
  border-color: var(--home-green);
  background: var(--home-green);
}

.footer-social-link svg {
  display: block;
}

.footer-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
}

.footer-links a:hover {
  color: var(--home-green);
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
  margin-bottom: 0.5rem;
}

.map-frame {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
}

.footer-bar {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 1rem;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer .site-logo-text {
  display: block;
  color: #fff;
}

/* ----------- Catalog (products / categories) — parity with app listing & detail ----------- */

body.catalog-page {
  margin: 0;
  font-family: var(--home-font);
  background: #fff;
  color: var(--home-black);
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.catalog-inner {
  padding-bottom: 4rem;
}

/* Breadcrumb — parity with app/src/components/ui/breadcrumb.tsx */

.breadcrumb {
  margin: 1.5rem 0;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--home-gray);
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .breadcrumb-list {
    gap: 0.625rem;
  }
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb-link {
  color: inherit;
  transition: color 0.15s ease;
}

.breadcrumb-link:hover {
  color: var(--home-black);
}

.breadcrumb-page {
  color: var(--home-black);
  font-weight: 400;
}

.breadcrumb-separator {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-separator svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: var(--home-gray);
  opacity: 0.9;
}

.catalog-page-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--home-black);
  margin: 0 0 0.5rem;
}

.catalog-page-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}

.catalog-page-title-row--search {
  align-items: center;
}

.catalog-search-form {
  margin: 0 0 1.5rem;
}

.catalog-search-form .catalog-sort-label {
  display: block;
  margin-bottom: 0.5rem;
}

.catalog-search-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  max-width: 42rem;
}

/* Unified bar: white field + coral icon button, single rounded shell */
.catalog-search-combo {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: stretch;
  border-radius: 0.625rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 2px 6px rgb(0 0 0 / 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.catalog-search-combo:focus-within {
  border-color: var(--home-green);
  box-shadow:
    0 0 0 3px rgb(34 197 94 / 0.15),
    0 1px 2px rgb(0 0 0 / 0.06);
}

.catalog-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 3rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-black);
  font-size: 1rem;
  padding: 0 1rem;
  outline: none;
}

.catalog-search-input::placeholder {
  color: #9ca3af;
}

/* Remove inner decorations from Safari/search-cancel */
.catalog-search-input::-webkit-search-decoration,
.catalog-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.catalog-search-submit {
  flex: 0 0 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--home-search-accent);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.catalog-search-submit:hover {
  background: var(--home-search-accent-hover);
}

.catalog-search-submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
  z-index: 1;
}

.catalog-search-submit-icon {
  display: block;
  flex-shrink: 0;
}

.catalog-search-hint {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--home-gray);
}

.catalog-search-hint--warn {
  color: #239140;
}

.catalog-search-results-meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--home-gray);
}

.catalog-search-query {
  font-weight: 600;
  color: var(--home-black);
}

.catalog-sort-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.catalog-sort-label {
  font-size: 0.875rem;
  color: var(--home-gray);
}

.catalog-sort-select {
  min-width: 12rem;
  height: 2.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--home-black);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0 0.75rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.catalog-sort-select:focus {
  border-color: var(--home-green);
  box-shadow: 0 0 0 3px rgb(34 197 94 / 0.15);
}

@media (max-width: 767px) {
  .catalog-page-title-row {
    align-items: stretch;
  }

  .catalog-page-title-row--search {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-search-row {
    max-width: none;
  }

  .catalog-sort-form {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-sort-select {
    min-width: 0;
    width: 100%;
  }
}

.catalog-page-sub {
  margin-top: 0;
  margin-bottom: 2rem;
}

.catalog-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--home-black);
}

.catalog-section-title--sm {
  font-size: 1.0625rem;
  margin-top: 0;
}

.catalog-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--home-gray);
}

.catalog-empty--tight {
  padding: 2rem 1rem;
}

.catalog-empty p {
  font-size: 1.0625rem;
  margin: 0 0 1rem;
}

.catalog-empty-link {
  font-weight: 600;
  color: var(--home-green);
}

.catalog-empty-link:hover {
  text-decoration: underline;
}

.catalog-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .catalog-category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .catalog-category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.catalog-category-grid--compact {
  margin-bottom: 2rem;
}

.catalog-category-card {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}

.catalog-category-card:hover {
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.1);
  transform: translateY(-4px);
}

.catalog-category-visual {
  aspect-ratio: 4 / 3;
  background: var(--home-bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-category-visual--sm {
  aspect-ratio: 1;
}

.catalog-category-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-category-fallback {
  font-size: 2rem;
  font-weight: 700;
  color: var(--home-green);
}

.catalog-category-name {
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--home-black);
  text-align: center;
}

.catalog-subcats {
  margin-bottom: 0.5rem;
}

.catalog-products-section {
  margin-top: 0.5rem;
}

.catalog-products-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Product detail page — structure mirrors app/src/pages/ProductDetailPage.tsx */

.pd-detail-wrap {
  padding-bottom: 4rem;
}

.pd-detail-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .pd-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.pd-gallery {
  background: transparent;
}

.pd-gallery [data-pd-gallery-main] {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
  background: #f9fafb;
}

.pd-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
}

.pd-gallery-thumb {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.pd-gallery-thumb:hover,
.pd-gallery-thumb.is-active {
  border-color: var(--home-green);
  box-shadow: 0 0 0 2px rgba(59, 130, 92, 0.15);
}

.pd-gallery-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.pd-info {
  min-width: 0;
}

.pd-cat-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  background: #e8f5ec;
  color: var(--home-green);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.pd-title {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--home-black);
}

.pd-sku-line {
  font-size: 0.875rem;
  color: var(--home-gray);
  margin: 0 0 1rem;
}

.pd-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pd-price {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--home-green);
}

.pd-desc {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.625;
  color: var(--home-muted);
}

.pd-desc iframe,
.pd-desc video {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 12rem;
  border: 0;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
}

/* Product variant / options picker */
.pd-options-wrap {
  margin-bottom: 1.5rem;
}

.pd-options-wrap .product-options {
  margin: 0;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
}

.pd-options-wrap .options-title {
  display: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-black);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.pd-options-wrap .product-option {
  margin-bottom: 1rem;
}

.pd-options-wrap .product-option:last-child {
  margin-bottom: 0;
}

.pd-options-wrap .option-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-black);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pd-options-wrap .option-label .required {
  color: #dc2626;
  font-weight: 600;
}

.pd-options-wrap .option-select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0 2.5rem 0 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-black);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pd-options-wrap .option-select:hover {
  border-color: #d1d5db;
}

.pd-options-wrap .option-select:focus {
  outline: none;
  border-color: var(--home-green);
  box-shadow: 0 0 0 3px rgba(44, 175, 78, 0.15);
}

.pd-options-wrap .option-text-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pd-options-wrap .option-text-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pd-options-wrap .option-text-item:hover {
  border-color: #d1d5db;
  background: #fff;
}

.pd-options-wrap .option-text-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pd-options-wrap .option-text-item:has(input:checked) {
  border-color: var(--home-green);
  background: var(--home-accent-bg);
  box-shadow: 0 0 0 2px rgba(44, 175, 78, 0.12);
}

.pd-options-wrap .option-text-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-black);
}

.pd-options-wrap .option-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.625rem;
}

.pd-options-wrap .option-image-item {
  position: relative;
  cursor: pointer;
}

.pd-options-wrap .option-image-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pd-options-wrap .image-wrapper {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pd-options-wrap .image-wrapper img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}

.pd-options-wrap .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--home-gray);
  text-align: center;
}

.pd-options-wrap .option-image-item:hover .image-wrapper {
  border-color: #d1d5db;
}

.pd-options-wrap .option-image-item:has(input:checked) .image-wrapper {
  border-color: var(--home-green);
  box-shadow: 0 0 0 2px rgba(44, 175, 78, 0.15);
}

.pd-options-wrap .price-badge {
  position: absolute;
  bottom: 0.375rem;
  right: 0.375rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background: rgba(26, 26, 26, 0.78);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
}

.pd-options-wrap .product-option.option-error .option-label {
  color: #dc2626;
}

.pd-options-wrap .product-option.option-error .option-select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.pd-options-wrap .product-option.option-error .option-text-item,
.pd-options-wrap .product-option.option-error .image-wrapper {
  border-color: #ef4444;
}

@media (max-width: 639px) {
  .pd-options-wrap .product-options {
    padding: 1rem;
  }

  .pd-options-wrap .option-text-list {
    flex-direction: column;
    align-items: stretch;
  }

  .pd-options-wrap .option-text-item {
    width: 100%;
  }
}

.pd-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pd-qty {
  display: flex;
  align-items: stretch;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.pd-qty-btn {
  width: 2.5rem;
  min-height: 2.5rem;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1;
  color: var(--home-black);
  transition: background 0.15s;
}

.pd-qty-btn:hover:not(:disabled) {
  background: #f9fafb;
}

.pd-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pd-qty-val {
  width: 3rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  background: #fff;
}

.pd-cart-btn {
  flex: 1;
  min-width: 8rem;
  height: 2.75rem;
  padding: 0 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--home-green);
  color: #fff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.pd-cart-btn:hover:not(.is-added) {
  background: var(--home-green-dark);
}

.pd-cart-btn.is-added {
  background: #e8f5ec;
  color: var(--home-green);
}

.pd-wish-btn {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pd-wish-btn:hover {
  border-color: #fecaca;
  color: #ef4444;
}

.pd-wish-btn.is-active {
  border-color: #fecaca;
  background: #fef2f2;
  color: #ef4444;
}

.pd-wish-btn.is-active svg path {
  fill: currentColor;
  stroke: currentColor;
}

.pd-ship-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--home-muted);
}

.pd-ship-ico {
  flex-shrink: 0;
  color: var(--home-green);
}

.pd-specs {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.pd-specs-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-black);
  margin: 0 0 1rem;
}

.pd-specs-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pd-specs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pd-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f9fafb;
  font-size: 0.875rem;
}

.pd-spec-k {
  color: var(--home-gray);
  flex-shrink: 0;
}

.pd-spec-v {
  font-weight: 500;
  color: var(--home-black);
  text-align: right;
}

.pd-related {
  padding-top: 0;
}

.pd-related-title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--home-black);
  margin: 0 0 1.5rem;
}

.pd-related-grid {
  gap: 1rem;
}

@media (min-width: 640px) {
  .pd-related-grid {
    gap: 1.5rem;
  }
}

/* Product / portfolio image zoom lightbox (products.php, works.php) */

.pd-gallery [data-pd-zoom-trigger] {
  cursor: zoom-in;
}

.image-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0.2s ease, opacity 0.2s ease;
}

.image-zoom-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.image-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.image-zoom-container {
  position: relative;
  z-index: 1;
  width: min(100%, 56rem);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.image-zoom-modal.active .image-zoom-container {
  pointer-events: auto;
}

.image-zoom-close,
.image-zoom-nav,
.image-zoom-controls .zoom-btn {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.image-zoom-close,
.image-zoom-nav {
  position: absolute;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.image-zoom-close:hover,
.image-zoom-nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.image-zoom-close {
  top: 0;
  right: 0;
}

.image-zoom-nav {
  top: 50%;
  transform: translateY(-50%);
}

.image-zoom-prev {
  left: 0;
}

.image-zoom-next {
  right: 0;
}

.image-zoom-nav[hidden] {
  display: none;
}

.image-zoom-wrapper {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 12rem;
  max-height: min(72vh, 40rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  margin-top: 2.5rem;
}

.image-zoom-img {
  max-width: 100%;
  max-height: min(72vh, 40rem);
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.image-zoom-controls {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.image-zoom-controls .zoom-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--home-black);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.image-zoom-controls .zoom-btn:hover:not(:disabled) {
  background: #fff;
}

.image-zoom-controls .zoom-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.image-zoom-thumbnails {
  width: 100%;
  max-width: 100%;
  padding: 0 2.75rem;
}

.image-zoom-thumbnails[hidden] {
  display: none !important;
}

.zoom-thumbnails-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: center;
  overflow-x: auto;
  padding: 0.25rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.zoom-thumbnail {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.zoom-thumbnail:hover {
  opacity: 0.9;
}

.zoom-thumbnail.active {
  border-color: var(--home-green);
  opacity: 1;
}

.image-zoom-counter {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

@media (min-width: 640px) {
  .image-zoom-modal {
    padding: 1.5rem 2rem;
  }

  .image-zoom-prev {
    left: -0.5rem;
  }

  .image-zoom-next {
    right: -0.5rem;
  }

  .zoom-thumbnail {
    width: 4rem;
    height: 4rem;
  }
}

@media (min-width: 1024px) {
  .image-zoom-prev {
    left: -2.75rem;
  }

  .image-zoom-next {
    right: -2.75rem;
  }
}

/* —— Cart / checkout / wishlist */
.cart-page-shell {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .cart-page-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cart-page-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.cart-page-inner,
.checkout-inner,
.wishlist-inner {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  body.cart-page .cart-page-inner {
    padding-top: 2rem;
  }
}

.cart-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #8a8a8a;
  margin-bottom: 1.5rem;
}

.cart-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.cart-breadcrumb a:hover {
  color: var(--home-green, #2caf4e);
}

.cart-breadcrumb__chev {
  display: inline-flex;
  color: #8a8a8a;
  flex-shrink: 0;
}

.cart-breadcrumb__sep {
  opacity: 0.6;
}

.cart-breadcrumb__current {
  color: #1a1a1a;
}

.cart-page-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 2rem;
}

.cart-page-empty {
  text-align: center;
  padding: 3rem 1rem;
}

.cart-page-empty__icon {
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.cart-page-empty__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}

.cart-page-empty__desc {
  color: #8a8a8a;
  margin: 0 0 1.5rem;
}

.btn-cart-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  background: var(--home-green, #2caf4e);
  color: #fff;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-cart-primary:hover {
  background: #239140;
  color: #fff;
}

.btn-cart-primary--block {
  display: flex;
  width: 100%;
  margin-top: 1rem;
  min-height: 2.75rem;
}

.cart-page-grid {
  display: grid;
  gap: 2rem;
}

/* `hidden` must win over display:grid (native [hidden] loses to this class otherwise). */
.cart-page-grid[hidden] {
  display: none !important;
}

@media (min-width: 1024px) {
  .cart-page-grid {
    grid-template-columns: minmax(0, 2fr) minmax(17.5rem, 1fr);
    align-items: start;
  }
}

.cart-page-lines-col {
  min-width: 0;
}

.cart-page-lines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Cart line cards — aligned with app CartPage.tsx */
.cart-page-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  padding: 1rem;
}

.cart-page-line__media {
  width: 5rem;
  height: 5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #f9fafb;
}

@media (min-width: 640px) {
  .cart-page-line__media {
    width: 6rem;
    height: 6rem;
  }
}

.cart-page-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-page-line__body {
  flex: 1;
  min-width: 0;
}

.cart-page-line__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-page-line__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.35;
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-page-line__title:hover {
  color: var(--home-green, #2caf4e);
}

.cart-page-line__remove {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
  padding: 0.125rem;
  line-height: 0;
  border-radius: 0.25rem;
}

.cart-page-line__remove:hover {
  color: #ef4444;
}

.cart-page-line__meta {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: #8a8a8a;
}

.cart-page-line__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cart-page-line__price {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--home-green, #2caf4e);
  white-space: nowrap;
}

/* QuantitySelector-style control (CartPage) */
.cart-page-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-page-qty__btn {
  width: 2.5rem;
  min-height: 2.5rem;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: background 0.15s;
}

.cart-page-qty__btn:hover:not(:disabled) {
  background: #f9fafb;
}

.cart-page-qty__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cart-page-qty__val {
  min-width: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  background: #fff;
}

.cart-page-summary {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .cart-page-summary {
    position: sticky;
    top: 6rem;
  }
}

.cart-page-summary__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.cart-page-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.cart-page-summary__row {
  display: flex;
  justify-content: space-between;
  color: #4a4a4a;
}

.cart-page-summary__row--total {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a1a;
}

.btn-cart-checkout-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  min-height: 3rem;
  padding: 0 1rem;
  background: var(--home-green, #2caf4e);
  color: #fff;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-cart-checkout-full:hover {
  background: #239140;
  color: #fff;
}

.card-li {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.card-li__inner {
  padding: 1.5rem;
}

.card-li__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.cart-continue-link {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--home-green, #2caf4e);
  text-decoration: none;
}

.cart-continue-link:hover {
  text-decoration: underline;
}

.checkout-intro {
  color: #4a4a4a;
  margin: 0 0 1rem;
}

.btn-cart-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
}

.btn-cart-outline:hover {
  border-color: var(--home-green, #2caf4e);
  color: var(--home-green, #2caf4e);
}

.wishlist-login-hint {
  font-size: 0.875rem;
  color: #8a8a8a;
  margin: -1rem 0 1.5rem;
}

.wishlist-product-grid {
  margin-top: 0.5rem;
}

/* Checkout page — parity with app/src/pages/CheckoutPage.tsx (Tailwind equivalents) */

body.checkout-page .checkout-page-shell {
  background: transparent;
}

body.checkout-page .checkout-max {
  box-sizing: border-box;
  max-width: min(80rem, 100%);
  margin: 0 auto;
  padding: 1.25rem 1rem 4rem;
}

@media (min-width: 640px) {
  body.checkout-page .checkout-max {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  body.checkout-page .checkout-max {
    padding-top: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.checkout-heading {
  font-family: var(--home-font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
  margin: 0 0 2rem;
}

@media (min-width: 640px) {
  .checkout-heading {
    font-size: 1.875rem;
  }
}

.checkout-empty-reset {
  padding-top: 0.5rem;
}

.checkout-breadcrumbs {
  margin-bottom: 1.5rem !important;
}

.checkout-stack > * + * {
  margin-top: 1.5rem;
}

.checkout-stack .stack-gap-md > * + * {
  margin-top: 1rem;
}

.checkout-panel {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow:
    0 1px 2px rgb(0 0 0 / 0.04),
    0 1px 3px rgb(0 0 0 / 0.06);
}

.checkout-panel--summary {
  margin: 0;
}

.checkout-panel__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
  color: #1a1a1a;
}

.checkout-field-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .checkout-field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.checkout-field label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #4a4a4a;
  margin-bottom: 0.375rem;
}

.checkout-input,
.checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0 1rem;
  min-height: 2.75rem;
  font-family: var(--home-font);
  font-size: 0.875rem;
  color: #1a1a1a;
  background: #fff;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.checkout-textarea {
  padding: 0.75rem 1rem;
  min-height: auto;
  resize: none;
}

.checkout-input:focus-visible,
.checkout-textarea:focus-visible {
  outline: none;
  border-color: var(--home-green, #2caf4e);
  box-shadow: 0 0 0 2px rgb(44 175 78 / 0.2);
}

.checkout-pay-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-pay-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  background: #fff;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.checkout-pay-card:hover {
  border-color: #d1d5db;
}

.checkout-pay-card--selected {
  border-color: var(--home-green, #2caf4e);
  background: #e8f5ec;
}

.checkout-pay-card--selected span {
  font-weight: 600;
  color: #1a1a1a;
}

.checkout-pay-card:not(.checkout-pay-card--selected) span {
  color: #4a4a4a;
}

.checkout-pay-input {
  accent-color: var(--home-green, #2caf4e);
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.checkout-pay-card span {
  font-size: 0.875rem;
}

.checkout-promo-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.checkout-promo-inline .checkout-input--promo {
  flex: 1;
  min-width: 11rem;
}

.checkout-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border-radius: 0.5rem;
  font-family: var(--home-font);
  font-size: 0.875rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #1a1a1a;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.checkout-promo-btn:hover {
  border-color: var(--home-green, #2caf4e);
  color: var(--home-green, #2caf4e);
}

.checkout-terms-plain {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
}

.checkout-checkbox {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  accent-color: var(--home-green, #2caf4e);
}

.checkout-terms-label {
  line-height: 1.45;
  color: #4a4a4a;
}

.checkout-terms-inline-link {
  color: var(--home-green, #2caf4e);
  font-weight: 600;
}

.checkout-terms-inline-link:hover {
  text-decoration: underline;
}

.checkout-submit-btn {
  width: 100%;
  box-sizing: border-box;
  min-height: 3rem;
  border: none;
  border-radius: 0.5rem;
  padding: 0 1rem;
  font-family: var(--home-font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--home-green, #2caf4e);
  color: #fff;
  transition: background 0.15s ease;
}

.checkout-submit-btn:hover {
  background: #239140;
}

.checkout-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  max-height: 16rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.checkout-sum-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.checkout-sum-thumb {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f9fafb;
}

.checkout-sum-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-sum-item-body {
  flex: 1;
  min-width: 0;
}

.checkout-sum-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-sum-qty {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: #8a8a8a;
}

.checkout-sum-price {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
}

.checkout-sum-rows {
  border-top: 1px solid #f3f4f6;
  padding-top: 0.75rem;
}

.checkout-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.checkout-sum-row + .checkout-sum-row {
  margin-top: 0.45rem;
}

.checkout-sum-row--total {
  margin-top: 0.65rem !important;
  padding-top: 0.65rem;
  border-top: 1px solid #f3f4f6;
  font-weight: 700;
  color: #1a1a1a;
}

body.checkout-page .checkout-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  body.checkout-page .checkout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.checkout-page .checkout-main-col {
    grid-column: span 2;
  }

  body.checkout-page .checkout-sidebar {
    grid-column: span 1;
    position: sticky;
    top: calc(var(--hdr-h, 72px) + 1.5rem);
    align-self: start;
  }
}

.checkout-page-lead {
  color: #4a4a4a;
  font-size: 0.9375rem;
  margin: -0.75rem 0 1.5rem;
  max-width: 56rem;
  line-height: 1.55;
}

.checkout-page-shell {
  min-height: 0;
}

.checkout-api-alert {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
}

.checkout-api-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.checkout-success-inner {
  text-align: center;
  padding: 3rem 1rem 4rem;
  max-width: 28rem;
  margin: 0 auto;
}

.checkout-success-icon {
  margin: 0 auto 1.25rem;
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: #e8f5ec;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-success-title {
  font-family: var(--home-font);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #1a1a1a;
}

.checkout-success-desc {
  color: #4a4a4a;
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
}

.checkout-success-ref {
  font-size: 0.875rem;
  color: #8a8a8a;
  margin-bottom: 1.5rem;
}

/* ----- Contact page (parity with app ContactPage layout) ----- */
.contact-main {
  padding-bottom: 4rem;
}

.contact-main .breadcrumb {
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .contact-main .breadcrumb {
    margin-bottom: 2rem;
  }
}

.contact-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-page-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--home-black, #1a1a1a);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .contact-page-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
  }
}

@media (min-width: 1024px) {
  .contact-page-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #e8f5ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--home-green, #2caf4e);
}

.contact-info-icon svg {
  stroke: currentColor;
}

.contact-info-label {
  font-weight: 500;
  color: var(--home-black, #1a1a1a);
  margin: 0;
}

.contact-info-text {
  font-size: 0.875rem;
  color: var(--home-gray, #4a4a4a);
  margin: 0.25rem 0 0;
  line-height: 1.5;
}

.contact-form-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 2rem;
  }
}

.contact-form-alert {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  color: #991b1b;
  font-size: 0.875rem;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-page .btn-primary-block {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-success {
  text-align: center;
  padding: 2.5rem 0;
}

.contact-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: #e8f5ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--home-green, #2caf4e);
}

.contact-success-icon svg {
  stroke: currentColor;
}

.contact-success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--home-black, #1a1a1a);
  margin: 0;
}

.contact-success-desc {
  color: var(--home-gray, #4a4a4a);
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

.contact-map-wrap {
  margin-top: 3rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

.contact-map-wrap iframe {
  display: block;
  border: 0;
}

.contact-page .field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: inherit;
  resize: none;
  line-height: 1.5;
}

.contact-page .field textarea:focus {
  outline: none;
  border-color: var(--home-green);
  box-shadow: 0 0 0 3px rgb(44 175 78 / 0.2);
}

@media (hover: hover) and (pointer: fine) {
  .hero-btn {
    opacity: 0;
    visibility: hidden;
  }

  .hero:hover .hero-btn {
    opacity: 1;
    visibility: visible;
  }
}

/* ----------- Floors page ----------- */
body.floors-page {
  margin: 0;
  font-family: var(--home-font);
  background: #fff;
  color: var(--home-black);
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.floors-hero {
  position: relative;
  background: linear-gradient(145deg, #141414 0%, #1f2421 42%, #1a1a1a 100%);
  color: #fff;
  overflow: hidden;
  padding: 2.5rem 0 0;
}

@media (min-width: 1024px) {
  .floors-hero {
    padding: 3.5rem 0 0;
  }
}

.floors-hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-bottom: 4.5rem;
}

@media (min-width: 1024px) {
  .floors-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
    padding-bottom: 5.5rem;
  }
}

.floors-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.92);
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 9999px;
}

.floors-hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--home-green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgb(44 175 78 / 0.35);
}

.floors-hero-title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #fff;
}

.floors-hero-accent {
  color: var(--home-green);
}

.floors-hero-desc {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 0.78);
  max-width: 34rem;
}

@media (min-width: 1024px) {
  .floors-hero-desc {
    font-size: 1.0625rem;
  }
}

.floors-hero-feats,
.floors-list-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floors-hero-feats li,
.floors-list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.floors-hero-feats li {
  color: rgb(255 255 255 / 0.9);
}

.floors-list-check li {
  color: var(--home-muted);
}

.floors-check {
  width: 1.2rem;
  height: 0.1rem;
  background: var(--home-green);
  margin-top: 0.7rem;
}

.floors-check::after {
  display: none;
}

.floors-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.floors-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.625rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.floors-btn--primary {
  background: var(--home-green);
  color: #fff;
}

.floors-btn--primary:hover {
  background: var(--home-green-dark);
  color: #fff;
}

.floors-btn--ghost {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.22);
}

.floors-btn--ghost:hover {
  background: rgb(255 255 255 / 0.16);
  color: #fff;
}

.floors-btn--inline {
  margin-top: 1.25rem;
  border-radius: 9999px;
  padding-inline: 1.5rem;
}

.floors-hero-visual {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .floors-hero-visual {
    margin: 0 0 0 auto;
    max-width: none;
  }
}

.floors-hero-img-wrap {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.35);
}

.floors-hero-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.floors-hero-float {
  position: absolute;
  z-index: 3;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--home-black);
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.18);
  max-width: 10rem;
}

.floors-hero-float--tl {
  top: 8%;
  left: -4%;
}

.floors-hero-float--br {
  bottom: 10%;
  right: -4%;
}

@media (max-width: 1023px) {
  .floors-hero-float--tl {
    left: 0;
  }

  .floors-hero-float--br {
    right: 0;
  }
}

.floors-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
}

.floors-wave svg {
  display: block;
  width: 100%;
  height: clamp(3rem, 8vw, 5rem);
}

/* Intro */
.floors-intro {
  padding-top: 3rem;
}

.floors-intro-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .floors-intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem 4rem;
    align-items: start;
  }
}

.floors-intro-title {
  text-align: left;
}

.floors-intro-lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--home-muted);
}

.floors-subheading {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--home-black);
}

.floors-text {
  margin: 0 0 1.25rem;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--home-muted);
}

/* Trust */
.floors-trust {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, #f8faf8 0%, #fff 100%);
}

.floors-trust-inner {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.floors-trust .section-title {
  margin-bottom: 0.75rem;
}

.floors-trust-sub {
  margin: 0;
  color: var(--home-gray);
  font-size: 1rem;
  line-height: 1.65;
}

@media (min-width: 1024px) {
  .floors-trust-sub {
    font-size: 1.0625rem;
  }
}

/* Service blocks (Z-layout) */
.floors-service {
  padding: 3.5rem 0;
}

.floors-service--alt {
  background: var(--home-bg-soft);
}

.floors-service-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .floors-service-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem 4rem;
  }

  .floors-service--reverse .floors-service-grid {
    direction: rtl;
  }

  .floors-service--reverse .floors-service-grid > * {
    direction: ltr;
  }
}

.floors-service-title {
  text-align: left;
  margin-bottom: 0.75rem;
}

.floors-service-copy .floors-list-check {
  margin-top: 1rem;
}

/* Overlapping image stack */
.floors-stack {
  --floors-stack-w: clamp(36px, 36vw, 480px);
  --floors-stack-h: calc(var(--floors-stack-w) * 3 / 4);
  --floors-stack-offset: clamp(2.5rem, 8vw, 4rem);
  position: relative;
  width: calc(var(--floors-stack-w) + var(--floors-stack-offset));
  height: calc(var(--floors-stack-h) + var(--floors-stack-offset));
  max-width: 100%;
  margin: 0 auto;
}

.floors-stack-img {
  position: absolute;
  display: block;
  width: var(--floors-stack-w);
  height: var(--floors-stack-h);
  border-radius: 1rem;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.14);
}

.floors-stack-img:first-child {
  top: 0;
  right: 0;
  z-index: 1;
}

.floors-stack-img:last-child {
  bottom: 0;
  left: 0;
  z-index: 2;
}

.floors-stack-img:hover {
  z-index: 10;
}

/* Callback on floors page */
body.floors-page .section-callback {
  background: var(--home-bg-soft);
}