/* ════════════════════════════════
   HERO SECTION
════════════════════════════════ */
#hero {
 /* margin-top: var(--nav-height);*/
  background: #f5f4ef;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
}

.hero-slider {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-height));
  width: 95%;
  max-width: 1680px;
  margin: 0 auto;
}

.hero-body {
  position: relative;
  flex: 1;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(20px, 3vw, 40px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  opacity: 0;
  transform: translateX(26px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.hero-arrow {
  position: absolute;
  top: 56%;
  transform: translateY(-50%);
  width: clamp(38px, 2.8vw, 48px);
  height: clamp(38px, 2.8vw, 48px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
}

.hero-arrow-prev {
  left: clamp(8px, 1vw, 16px);
  border: 1px solid #ddd9d0;
  color: #6e6a63;
  background: #fff;
}

.hero-arrow-next {
  right: clamp(8px, 1vw, 16px);
  border: 1px solid #1a1a1a;
  color: #fff;
  background: #1a1a1a;
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.hero-arrow-prev:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

.hero-arrow-next:hover {
  background: #2b2b2b;
  border-color: #2b2b2b;
}

.hero-left {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(26px, 6vh, 60px) clamp(14px, 2vw, 30px) clamp(26px, 6vh, 60px) 0;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #aaa;
  display: block;
  margin-bottom: 14px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.hero-left p{
  font-size: 13px;
  color: #777;
  line-height: 1.9;
  margin-bottom: 34px;
  max-width: 300px;
}

.btn-view-all {
  display: inline-block;
  padding: 13px 32px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid #1a1a1a;
  transition: background 0.22s, color 0.22s;
  align-self: flex-start;
}

.btn-view-all:hover {
  background: transparent;
  color: #1a1a1a;
}

.hero-center {
  flex: 0 1 42%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-center img {
  width: min(100%, 640px);
  max-height: min(76vh, 760px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.10));
}

.hero-right {
  flex: 0 1 28%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 6vh, 60px) 0 clamp(24px, 6vh, 60px) clamp(12px, 2vw, 28px);
}

.related-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  display: block;
  margin-bottom: 14px;
}

.related-thumbs {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
  margin-bottom: 26px;
}

.rt-thumb {
  width: clamp(52px, 4.2vw, 70px);
  height: clamp(52px, 4.2vw, 70px);
  border-radius: 50%;
  background: #e5e3dc;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.rt-thumb.active { border-color: #1a1a1a; }
.rt-thumb:hover  { border-color: #999; }

.rt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-thumb-1 { background: #dbd8d0; }
.rt-thumb-2 { background: #d2cfc5; }
.rt-thumb-3 { background: #ccc9be; }

.featured-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #2f3338;
  line-height: 1.05;
  margin: clamp(18px, 4vw, 74px) 0 12px;
}

.featured-card {
  background: #ececec;
  border-radius: 0;
  padding: 16px 0 12px 18px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  min-height: 122px;
  height: auto;
  width: 100%;
  transition: background 0.2s;
}

.featured-card:hover {
  background: #e8e8e8;
}

.featured-copy {
  flex: 1;
  min-width: 0;
}

.featured-card-img {
  width: 46%;
  min-width: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.featured-card-img img {
  width: 100%;
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
  object-position: center bottom;
  padding: 0;
}

.feat-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #31353b;
  margin-bottom: 6px;
  line-height: 1.15;
}

.feat-desc {
  font-size: 10px;
  color: #8d8d8d;
  line-height: 1.4;
  margin-bottom: 7px;
  max-width: 180px;
}

.feat-price {
  font-size: 24px;
  font-weight: 700;
  color: #ff3f61;
  line-height: 1;
  letter-spacing: -0.4px;
}

.hero-bar {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  bottom: clamp(18px, 4vh, 36px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 4;
}

.cat-tabs {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 36px);
  margin-bottom: clamp(14px, 3vh, 36px);
}

.cat-tab {
  width: clamp(40px, 3.2vw, 48px);
  height: clamp(40px, 3.2vw, 48px);
  border-radius: 50%;
  border: 1px solid #e1ddd5;
  background: #efeeeb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 1.1vw, 18px);
  color: #9b9890;
  outline: none;
  transition: all 0.2s;
}

@media (min-width: 1025px) and (max-width: 1366px) {
  .hero-body { min-height: clamp(560px, calc(100vh - var(--nav-height)), 700px); }
  .hero-left { flex-basis: 32%; }
  .hero-center { flex-basis: 38%; }
  .hero-right { flex-basis: 30%; }
  .hero-center img { max-height: min(68vh, 620px); }
  .featured-title { margin-top: clamp(16px, 2vw, 28px); }
}

@media (min-width: 1025px) and (max-height: 820px) {
  .hero-body { min-height: 560px; }
  .featured-title { margin-top: 16px; }
  .hero-bar { bottom: 14px; }
}

.cat-tab.active {
  background: #e84c6b;
  border-color: #e84c6b;
  color: #fff;
}

.cat-tab:hover:not(.active) {
  border-color: #777;
  color: #555;
}

@media (max-width: 1024px) {
  .hero-arrow { display: none; }
  .hero-body { min-height: 630px; }
  .hero-slide {
    position: static;
    opacity: 0;
    height: 0;
    transform: none;
  }
  .hero-slide.active {
    opacity: 1;
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .hero-left  { flex: 0 0 100%; padding: 40px 0 10px; order: 1; min-width: 0; }
  .hero-center { flex: 0 0 55%; order: 2; }
  .hero-right  { flex: 0 0 45%; min-width: 0; padding: 20px 0 20px 16px; order: 3; }
  .hero-title  { font-size: clamp(28px, 4vw, 52px); }
  .featured-title {
    font-size: 38px;
    margin-top: 38px;
  }
  .feat-price { font-size: 40px; }
  .hero-bar { gap: 28px; }
}

.hero-right-related {
    display: flex;
  flex-direction: row;
  gap: 14px;
  }

/* ── Tablet Portrait (481px – 768px) ── */
@media (max-width: 768px) {
  .hero-body { min-height: 760px; padding: 0 28px; }
  .hero-slide.active {
    flex-wrap: wrap;
    align-content: start;
  }
  .hero-center { flex: 0 0 100%; order: 2;/* max-height: 320px; */ }
  .hero-right  { flex: 0 0 100%; padding: 16px 0; order: 3; }
  .hero-title  { font-size: clamp(26px, 5vw, 42px); }
  .featured-title { font-size: 22px; margin-top: 20px; }
  .feat-price { font-size: 26px; }
  .feat-title { font-size: 14px; }
  .feat-desc  { font-size: 11px; }
  .rt-thumb   { width: 56px; height: 56px; }
  .hero-bar   { left: 28px; }
}

@media (max-width: 640px) {
  .hero-body {
    min-height: 840px;
    padding: 0 24px;
  }
  .hero-slide.active {
    flex-wrap: wrap;
    align-content: start;
  }
  .hero-center, .hero-right {
    flex: 0 0 100%;
    padding-left: 0;
  }
   .hero-center{
    order: 1 !important;
  }
  .hero-left{
    order: 2 !important;
  }
  .featured-title {
    font-size: 36px;
    margin-top: 14px;
  }
  .featured-card {
    min-height: 116px;
    padding: 14px 0 10px 14px;
  }
  .feat-title { font-size: 18px; }
  .feat-desc {
    font-size: 12px;
    max-width: 160px;
  }
  .feat-price { font-size: clamp(20px, 5vw, 34px); }
  .hero-title { font-size: clamp(24px, 7vw, 34px); }
  .featured-card-img {
    min-width: 120px;
  }
  .featured-card-img img {
    max-width: 148px;
    max-height: 116px;
  }
  .hero-text { max-width: 100%; }
  .hero-bar {
    position: static;
    margin-top: 12px;
    justify-content: flex-start;
  }
  .cat-tabs { gap: 16px; margin-bottom: 20px; }
  .cat-tab  { width: 40px; height: 40px; font-size: 16px; }
  .rt-thumb { width: 48px; height: 48px; }
}
