/* Hero */
.hero { position: relative; height: 550px; overflow: hidden; background: #8a8a8a; }
.hero img, .hero video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.78); }
.hero__inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--on-dark); padding: 24px; }
.hero__eyebrow { font-size: 17px; letter-spacing: 3.7px; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(41px, 6.4vw, 82px); line-height: 1.2; letter-spacing: -1px; margin-block: 0; }
.hero__sub { font-size: 20px; letter-spacing: 0; margin-bottom: 26px; }
.hero__title--long { font-size: clamp(34px, 5vw, 64px); max-width: 16ch; margin-inline: auto; }
.hero__sub--lead { font-size: 18px; max-width: 52ch; margin-inline: auto; margin-top: 14px; }
.duo__title { margin-top: 16px; font-size: 20px; font-weight: 400; }
.hero__note { position: absolute; bottom: 18px; font-size: 12px; opacity: .9; }

/* Product cards */
.products { display: grid; gap: 22px; }
.products--3 { grid-template-columns: repeat(3, 1fr); }
.products--4 { grid-template-columns: repeat(4, 1fr); }
.card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.card__media:hover img { transform: scale(1.04); }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; }
.badge { background: rgba(250, 249, 247, .95); font-size: 13px; padding: 2px 6px; }
.badge--red { background: var(--red); color: var(--on-dark); }
.card__wish { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: grid; place-items: center; opacity: 0; transition: opacity var(--ease); }
.card__media:hover .card__wish, .card__wish.is-on { opacity: 1; }
.card__wish.is-on svg { fill: var(--red); stroke: var(--red); }
.card__brand { color: var(--muted); font-size: 14px; margin-top: 14px; }
.card__name { font-size: 16.5px; margin-top: 2px; }
.card__name a:hover { text-decoration: underline; }
.card__price { font-size: 16.5px; margin-top: 4px; }
.card__price.is-sale { color: var(--red); }
.card__price s { color: var(--muted); font-size: 13px; margin-inline-start: 6px; }
.swatches { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.swatches span { width: 20px; height: 20px; border: 1px solid var(--line); background: linear-gradient(var(--c), var(--c)) content-box; padding: 2px; }
.swatches em { font-style: normal; color: var(--muted); font-size: 13px; margin-inline-start: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 12.5px; padding: 2px 4px; letter-spacing: .1px; }
.tag--grey { background: #7d7b76; color: var(--on-dark); }
.tag--plain { color: var(--ink); background: var(--bg); }
.tag--olive { background: var(--olive-bg); color: var(--olive); }

/* Image tiles (categories, rooms, insta) */
.tiles { display: grid; gap: 22px; row-gap: 32px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tile__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.tile:hover img { transform: scale(1.04); }
.tile__label { display: block; font-size: 19px; padding: 12px 10px 0; }
.insta { display: flex; gap: 16px; padding-inline: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.insta::-webkit-scrollbar { display: none; }
.insta > * { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; }

/* Banner slideshow */
.banner { position: relative; height: 445px; margin-top: 90px; overflow: hidden; background: var(--photo-bg); }
.banner__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 800ms ease, visibility 800ms; }
.banner__slide.is-active { opacity: 1; visibility: visible; }
.banner__slide picture { display: block; height: 100%; }
.banner__slide img { width: 100%; height: 100%; object-fit: cover; }
.banner__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 60%); pointer-events: none; }
.banner__text { z-index: 1; }
.banner__text h2 { padding: 10px 28px; background-image: radial-gradient(closest-side, rgba(0,0,0,.32), rgba(0,0,0,0)); }
.banner__text { position: absolute; inset: 0 0 auto; top: 26%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.banner__text h2 { font-family: var(--display); color: var(--on-dark); font-size: clamp(42px, 6vw, 76px); letter-spacing: 2px; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.banner__dots { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.banner__dots button { width: 120px; height: 6px; background: rgba(255, 255, 255, .45); transition: background var(--ease); }
.banner__dots button.is-active { background: #fff; }

/* Styled by us */
.styled { position: relative; display: grid; grid-template-columns: 350px 1fr; gap: 40px; align-items: start; }
.styled__intro { padding-top: 120px; }
.styled__intro p { font-size: 14px; margin: 14px 0 20px; }
.styled__track { display: flex; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.styled__track::-webkit-scrollbar { display: none; }
.styled__card { position: relative; flex: 0 0 calc((100% - 7.5px) / 1.5); aspect-ratio: 4 / 5; scroll-snap-align: start; overflow: hidden; background: var(--sand); }
.styled__card img { width: 100%; height: 100%; object-fit: cover; }
.styled__nav { display: flex; gap: 8px; margin-top: 28px; }
.arrow { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background var(--ease), color var(--ease); }
.arrow:hover { background: var(--ink); color: var(--on-dark); }
.arrow svg { width: 18px; height: 18px; }
.styled__card span { position: absolute; left: 20px; bottom: 20px; background: #fff; color: #6b5d50; padding: 12px 20px; font-size: 15px; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.brand { position: relative; aspect-ratio: 390 / 243; overflow: hidden; display: grid; place-items: center; background: #3e342c; color: var(--on-dark); }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: transform 600ms ease; }
.brand:hover img { transform: scale(1.04); }
.brand__name { position: relative; color: var(--on-dark); text-shadow: 0 2px 14px rgba(0,0,0,.35); font-size: 34px; font-weight: 700; letter-spacing: .5px; text-align: center; display: flex; flex-direction: column; line-height: 1.1; }
.brand__name--condensed { font-weight: 400; letter-spacing: 3px; font-size: 32px; transform: scaleY(1.1); }
.brand__name small { font-size: 15px; letter-spacing: 1px; margin-top: 10px; }
.brand__name--script { font-family: "Brush Script MT", "Segoe Script", cursive; font-weight: 400; font-size: 50px; font-style: italic; }

/* USPs */
.usps { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding-top: 105px; padding-bottom: 30px; column-gap: 60px; }
.usp svg { width: 70px; height: 70px; stroke-width: 1.4; margin: 0 auto 10px; }
.usp p { font-size: 20px; line-height: 24px; }

/* Showroom + consult */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.duo__item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand); }
.duo__item h3 { margin-top: 16px; font-size: 20px; }
.duo__item p { font-size: 14px; line-height: 1.3; margin: 6px 0 14px; max-width: 590px; }

/* Reviews */
.reviews { display: flex; gap: 25px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px; margin: -6px; scrollbar-width: none; }
.review { flex: 0 0 calc((100% - 50px) / 3); scroll-snap-align: start; background: var(--paper); border-radius: 4px; box-shadow: 0 1px 6px rgba(0, 0, 0, .14); padding: 22px 20px 20px; display: flex; flex-direction: column; min-height: 192px; }
.review__top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.stars svg { width: 18px; height: 18px; fill: var(--dark); stroke: none; }
.review__text { font-size: 13.5px; line-height: 1.5; margin: 18px 0 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review__by { margin-top: auto; font-size: 11px; color: #555; display: flex; gap: 12px; }
.verified { display: inline-flex; gap: 4px; align-items: center; }
.verified svg { width: 13px; height: 13px; fill: var(--verified); stroke: #fff; stroke-width: 2.5; }


/* Tablet */
@media (max-width: 1000px) {
  .products--4, .tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .styled { grid-template-columns: 1fr; gap: 24px; }
  .styled__intro { padding-top: 0; }
  .styled__nav { display: none; }
  .review { flex-basis: calc((100% - 25px) / 2); }
}

/* Mobile: product rows and brands become swipeable rows like the original */
@media (max-width: 760px) {
  .hero { height: 500px; }
  .hero__note { font-size: 10px; padding-inline: 16px; }
  .products, .brands { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .products::-webkit-scrollbar, .brands::-webkit-scrollbar { display: none; }
  .products > * { flex: 0 0 37.7%; scroll-snap-align: start; }
  .brands > * { flex: 0 0 100%; scroll-snap-align: start; }
  .insta > * { flex: 0 0 calc((100% - 32px) / 3.05); }
  .card__brand { font-size: 13px; margin-top: 10px; }
  .card__name { font-size: 16px; line-height: 1.2; }
  .card__price { font-size: 14px; line-height: 20px; }
  .products { margin-bottom: 17px; }
  .card__badges { top: 6px; left: 6px; }
  .badge { font-size: 11px; padding: 1px 4px; }
  .swatches span { width: 16px; height: 16px; }
  .tag { font-size: 10.5px; }
  .tiles { gap: 16px; row-gap: 27px; margin-bottom: 27px; }
  .tiles--3, .tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .tile__label { font-size: 16px; line-height: 1.2; padding: 10px 0 0; }
  .banner { height: 400px; margin-top: 56px; }
  .banner__dots button { width: 70px; height: 4px; }
  .styled__card { flex-basis: 82.6%; }
  .styled { padding-bottom: 14px; }
  .styled__card span { left: 12px; bottom: 12px; padding: 8px 14px; font-size: 13px; }
  .brand__name { font-size: 28px; }
  .usps { grid-template-columns: 1fr; gap: 40px; padding-top: 70px; padding-bottom: 30px; }
  .usp svg { width: 60px; height: 60px; }
  .usp p { font-size: 19px; line-height: 23px; }
  .duo { grid-template-columns: 1fr; gap: 23px; }
  .review { flex-basis: 86%; }
}

/* Spacing to match the original page rhythm */
.hero + .section, .banner + .section { padding-top: 75px; }
.kk + .banner { margin-top: 75px; }
.duo + .section { padding-top: 78px; }
.section--brands { padding-bottom: 45px; }
.section--brands .section__head { margin-bottom: 69px; }
.section + .kk { margin-top: 105px; }
@media (max-width: 760px) { .hero + .section, .banner + .section { padding-top: 40px; } .section + .kk { margin-top: 26px; } .kk + .banner { margin-top: 40px; } .section--brands .section__head { margin-bottom: 54px; } }
@media (max-width: 760px) {
  main > section:nth-of-type(3) .products { margin-bottom: 0; }
  main > section:nth-of-type(5) .tiles { margin-bottom: 13px; }
  .banner + .section .products { margin-bottom: 9px; }
  .usps { padding-bottom: 21px; }
}
/* Phase 4: the secondary image shows on hover */
.card__media .card__img2 { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms ease, transform 600ms ease; }
.card__media:hover .card__img2, .card__media:focus-visible .card__img2 { opacity: 1; }
