.shop-hero {
  width: min(1120px, calc(100% - 48px));
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 0.58fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin: 0 auto;
  padding: 104px 0 54px;
}

.product-gallery {
  position: sticky;
  top: 106px;
  width: 100%;
  max-width: 540px;
  min-width: 0;
  justify-self: end;
  overflow: visible;
}

.slider-container {
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

.slider-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.slider-image {
  width: 100%;
  min-width: 100%;
  height: clamp(390px, 38vw, 500px);
  object-fit: contain;
  object-position: center;
  padding: 0;
  border-radius: 8px;
  filter: drop-shadow(0 24px 42px rgba(31, 25, 17, 0.12));
  user-select: none;
}

.slider-arrow,
.inside-arrow {
  position: absolute;
  z-index: 5;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.82);
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(31, 25, 17, 0.12);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.slider-arrow {
  top: min(260px, 50%);
  transform: translateY(-50%);
}

.slider-arrow:hover,
.inside-arrow:hover {
  background: var(--gold);
  color: #151515;
}

.left-arrow {
  left: 18px;
}

.right-arrow {
  right: 18px;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: #ece6d9;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.64;
  box-shadow: 0 10px 26px rgba(31, 25, 17, 0.09);
  transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.thumb:hover,
.thumb.active-thumb {
  opacity: 1;
  transform: translateY(-2px);
}

.slider-image,
.inside-main {
  transition: transform 520ms ease, filter 520ms ease;
}

.slider-image:hover,
.inside-main:hover {
  filter: saturate(1.06);
  transform: scale(1.015);
}

.thumb.active-thumb {
  border-color: #b99254;
  box-shadow: inset 0 0 0 1px #b99254, 0 16px 34px rgba(31, 25, 17, 0.16);
}

.product-info {
  padding-top: 10px;
}

.product-info h1 {
  margin: 8px 0 12px;
  font-size: clamp(42px, 4.8vw, 58px);
  line-height: 0.94;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: #b99254;
  font-size: 20px;
  letter-spacing: 1px;
}

.rating span,
.tax-info {
  color: #6d6961;
  font-size: 14px;
  letter-spacing: 0;
}

.price {
  margin-bottom: 6px;
  font-size: 34px;
  font-weight: 900;
}

.tax-info {
  margin-bottom: 26px;
  line-height: 1.6;
}

.option-group {
  margin-bottom: 24px;
}

.option-group h2 {
  margin-bottom: 14px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.color-options {
  display: flex;
  gap: 14px;
}

.quantity-box {
  width: 150px;
  height: 48px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  overflow: hidden;
  border: 1px solid #e4dbce;
  border-radius: 8px;
  background: #fffdf8;
}

.quantity-box button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  transition: background 160ms ease, color 160ms ease;
}

.quantity-box button:hover {
  background: #151515;
  color: #fff;
}

.quantity-box button:active,
.slider-arrow:active,
.inside-arrow:active,
.thumb:active,
.color-btn:active {
  transform: scale(0.94);
}

.quantity-box span {
  display: grid;
  place-items: center;
  border-right: 1px solid #e4dbce;
  border-left: 1px solid #e4dbce;
  font-weight: 800;
}

.buy-btn {
  width: 100%;
  margin: 0 0 20px;
  border: 0;
}

.shipping-info {
  display: grid;
  gap: 10px;
  color: #4c493f;
  font-weight: 700;
}

.shop-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 clamp(20px, 6vw, 78px) 96px;
}

.inside-section {
  padding: 20px clamp(20px, 6vw, 78px) 88px;
  overflow: hidden;
  scroll-margin-top: 120px;
}

.inside-section .section-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.inside-gallery {
  position: relative;
  width: min(900px, 100%);
  margin: 0 auto;
}

.inside-stage {
  position: relative;
  height: clamp(540px, 58vw, 720px);
  overflow: hidden;
  border-radius: 8px;
  background: #f6f1e8;
  box-shadow: 0 24px 70px rgba(31, 25, 17, 0.12);
}

.inside-main {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  user-select: none;
}

.inside-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.inside-next {
  right: 18px;
}

.inside-prev {
  left: 18px;
}

.inside-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.inside-thumb {
  min-width: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(31, 25, 17, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: #151515;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 30px rgba(31, 25, 17, 0.06);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.inside-thumb img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.inside-thumb span {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.inside-thumb:hover,
.inside-thumb.active-inside-thumb {
  transform: translateY(-2px);
  border-color: #b99254;
  box-shadow: inset 0 0 0 1px #b99254, 0 18px 34px rgba(31, 25, 17, 0.12);
}

.planner-steps {
  padding: 20px clamp(20px, 6vw, 78px) 110px;
}

.planner-steps .section-heading {
  max-width: 820px;
}

.step-row {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin: 34px auto 0 0;
}

.step-row.reverse {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 0.9fr);
  margin-right: 0;
  margin-left: auto;
}

.step-row.reverse .step-copy {
  order: 2;
}

.step-row img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  justify-self: center;
  border-radius: 8px;
  object-fit: initial;
  background: transparent;
  box-shadow: 0 24px 70px rgba(31, 25, 17, 0.12);
}

.step-copy {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #e4dbce;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
}

.step-copy span {
  color: #b99254;
  font-weight: 900;
}

.step-copy h3 {
  margin: 16px 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.96;
}

.step-copy p {
  color: #6d6961;
  line-height: 1.8;
}

.shop-confidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 clamp(20px, 6vw, 78px) 110px;
}

@media (max-width: 980px) {
  .shop-hero {
    width: auto;
    grid-template-columns: 1fr;
    padding: 112px 20px 56px;
  }

  .product-gallery {
    position: relative;
    top: auto;
    overflow: hidden;
  }

  .shop-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-row,
  .step-row.reverse,
  .shop-confidence {
    grid-template-columns: 1fr;
  }

  .step-row.reverse .step-copy {
    order: 0;
  }
}

@media (max-width: 640px) {
  .shop-hero {
    gap: 34px;
    padding: 92px 16px 52px;
  }

  .slider-image {
    height: 318px;
    padding: 0;
  }

  .slider-arrow {
    top: 159px;
  }

  .left-arrow {
    left: 14px;
  }

  .right-arrow {
    right: 14px;
  }

  .slider-arrow,
  .inside-arrow {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .thumbnail-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .thumb {
    flex: 0 0 66px;
    min-width: 66px;
    height: 66px;
  }

  .product-info {
    padding-top: 0;
  }

  .product-info h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(38px, 10.8vw, 44px);
    line-height: 1;
    overflow-wrap: break-word;
  }

  .rating {
    margin-bottom: 16px;
    font-size: 17px;
  }

  .price {
    font-size: 32px;
  }

  .tax-info {
    margin-bottom: 24px;
  }

  .option-group {
    margin-bottom: 24px;
  }

  .shop-features,
  .inside-section {
    grid-template-columns: 1fr;
    padding-right: 16px;
    padding-left: 16px;
  }

  .shop-features {
    display: grid;
  }

  .inside-main {
    height: 100%;
  }

  .inside-stage {
    height: clamp(420px, 112vw, 620px);
  }

  .inside-thumbs {
    grid-template-columns: 1fr;
  }

  .inside-thumb {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .inside-thumb img {
    width: 64px;
    height: 64px;
  }

  .inside-prev {
    left: 8px;
  }

  .inside-next {
    right: 8px;
  }

  .planner-steps {
    padding: 20px 16px 70px;
  }

  .step-row {
    gap: 14px;
    margin-top: 22px;
  }

  .step-row img {
    max-height: 300px;
  }

  .step-copy {
    padding: 22px;
  }

  .step-copy h3 {
    font-size: 36px;
  }

  .shop-confidence {
    grid-template-columns: 1fr;
    padding: 0 16px 72px;
  }
}
