.hero {
  background: #f7f4ed;
  padding: clamp(14px, 3.2vw, 48px) clamp(12px, 3.2vw, 48px);
}

.hero-inner {
  max-width: 1240px;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  min-height: 0;
  overflow: hidden;
  border: 1px solid #deded2;
  border-radius: clamp(18px, 2.4vw, 32px);
  background: #fdfbf6;
  box-shadow: 0 14px 40px #102e4c0b;
}

.hero-copy { padding: clamp(26px, 4.2vw, 64px); }
.hero .eyebrow { color: #286866; margin-bottom: 14px; }
.hero h1 { font-weight: 700; font-size: clamp(36px, 4.4vw, 68px); }
.hero-copy > p:not([class]) { max-width: 32ch; line-height: 1.65; }
.hero .hero-experience { color: #286866; font-size: 14px; font-weight: 700; }

.hero .home-start-actions { gap: 10px 16px; }
.hero .home-start-actions .btn { margin: 0; }
.hero .home-start-actions a,
.hero .home-start-actions button { min-height: 44px; }
.hero :is(a, button):focus-visible,
.category-nav a:focus-visible {
  outline: 3px solid #087f83;
  outline-offset: 3px;
}

.hero-visual {
  height: auto;
  min-height: 0;
  justify-content: flex-end;
}

.hero-visual > .catalog-photo-frame { flex: none; }
.hero-visual > img,
.hero-visual > .catalog-photo-frame > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.hero-visual figcaption {
  background: #fdfbf6;
  border-top: 1px solid #deded2;
}

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 24px 20px; }
  .hero h1 { font-size: clamp(34px, 8vw, 52px); }
}

.category-nav a {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: #17394b;
  background: #f3f7fa;
  border-color: #a9bdce;
}

.category-nav a:nth-child(even) {
  background: #f0f8f6;
  border-color: #91c1b9;
}

.category-nav a:hover {
  border-color: #087f83;
  background: #e4f2ee;
}

@media (max-width: 760px) {
  .hero-visual { grid-row: 1; }

  .hero-visual > img,
  .hero-visual > .catalog-photo-frame > img {
    max-height: 230px;
  }

  .hero-visual figcaption { padding: 6px 14px; }
  .hero-copy { padding: 16px 18px 20px; }
  .hero .eyebrow { margin: 0 0 7px; }
  .hero h1 { margin-top: 0; }
}

.upholstered-product-photo {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 832;
  overflow: hidden;
}
#upholstered-class-card .upholstered-product-photo img {
  position: absolute;
  inset-inline-start: 0;
  top: -43.9%;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}

.upholstered-product-photo .upholstered-poster-crop {
  position: absolute;
  inset-inline-start: 0;
  top: -43.9%;
  width: 100%;
  height: auto;
}
#upholstered-class-card .upholstered-product-photo .upholstered-gray-photo {
  inset: 0;
  height: 100%;
  object-fit: cover;
}
#class-photo img[hidden] { display: none; }
#class-purchase { display: grid; gap: 8px; }
.class-colors { display: flex; gap: 10px; padding: 10px; border: 1px solid #9dcac9; border-radius: 10px; }
.class-colors label { cursor: pointer; padding: 7px 10px; border-radius: 8px; background: #e9f6f5; }
.class-colors label:has(:checked) { background: #082744; color: white; }
.class-colors input { accent-color: #008890; }
header .head .brand img {
  width: clamp(135px, 15vw, 205px);
  max-height: none;
  height: auto;
  display: block;
}
.site-blessing { font-size: 1.15em; color: #b8fffb; }

.category-nav[aria-label="קטגוריות הרהיטים"] {
  max-width: 1200px;
  gap: 10px;
  padding-block: 16px;
  background: transparent;
}
.category-nav[aria-label="קטגוריות הרהיטים"] a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid #168b96;
  border-radius: 9px;
  background: #f8fcfc;
  color: #092742;
  text-align: center;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 650;
  line-height: 1.35;
}
.category-nav[aria-label="קטגוריות הרהיטים"] a:nth-child(even) {
  border-color: #244b63;
  background: #f7f9fc;
}
.category-nav[aria-label="קטגוריות הרהיטים"] a:is(:hover, :focus-visible) {
  border-color: #087f83;
  background: #e9f5f5;
}

.category-nav[aria-label="קטגוריות הרהיטים"] a:is(:hover, :focus-visible) {
  box-shadow: inset 0 -2px #168b96, 0 5px 12px #0a526617;
}
@media (prefers-reduced-motion: no-preference) {
  .category-nav[aria-label="קטגוריות הרהיטים"] a {
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }
  .category-nav[aria-label="קטגוריות הרהיטים"] a:is(:hover, :focus-visible) {
    transform: translateY(-2px);
  }
}

.home-opening {
  padding: clamp(17px, 3vw, 34px) 15px 12px;
  background: #faf7f0;
  color: #15364d;
  text-align: center;
}

.home-opening-slogan {
  margin: 0;
  color: #176d69;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700;
}

.home-opening h1 {
  margin: 8px 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
}

.home-opening-experience { margin: 0 0 13px; }
.home-opening figure { max-width: 520px; margin: 0 auto; }
.home-opening figure a { display: block; border-radius: 11px; }
.home-opening figure a:focus-visible { outline: 3px solid #087f83; outline-offset: 3px; }
.home-opening figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-radius: inherit;
}

.home-opening figcaption { margin-top: 7px; color: #496268; font-size: 12px; }
.home-category-title { margin: 0; padding: 8px 12px 0; text-align: center; font-size: 18px; }

@media (max-width: 600px) {
  .home-opening h1 span { display: block; }
}

@media (min-width: 900px) {
  .home-opening {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    max-width: 1200px;
    margin: 20px auto 0;
    width: calc(100% - 44px);
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid #168b96;
    border-radius: 22px;
    background: linear-gradient(135deg, #102e4c, #17475a);
    color: #fff;
    text-align: start;
  }

  .home-opening-copy { border-inline-start: 4px solid #56d0ca; padding-inline-start: 20px; }
  .home-opening-slogan { color: #a2f4f1; }
  .home-opening h1 { font-size: clamp(36px, 4.4vw, 64px); }
  .home-opening h1 span { display: block; }
  .home-opening-experience { margin-bottom: 0; color: #e0efee; }
  .home-opening figure { width: 100%; max-width: none; }
  .home-opening figure img { border: 1px solid #65c8c5; }
  .home-opening figcaption { color: #e0efee; text-align: center; }
  .home-category-title { padding-top: 18px; color: #15364d; }

  .category-nav[aria-label="קטגוריות הרהיטים"] {
    width: calc(100% - 44px);
    padding-inline: 0;
  }

  .category-nav[aria-label="קטגוריות הרהיטים"] a { background: #e8f6f3; }
  .category-nav[aria-label="קטגוריות הרהיטים"] a:nth-child(even) { background: #edf3f8; }
}
