.shop-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 224, 207, 0.8), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(255, 239, 198, 0.72), transparent 30rem),
    var(--color-bg);
  color: var(--color-text);
  padding-bottom: env(safe-area-inset-bottom);
}

.shop-site-header .site-header__inner,
.shop-main {
  width: min(1280px, calc(100% - clamp(56px, 10vw, 160px)));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.shop-site-header .site-header__inner {
  flex: 0 1 auto;
}

.shop-site-header {
  background: rgba(255, 255, 255, 0.58);
}

.shop-main {
  padding-top: 22px;
  padding-bottom: 54px;
}

.shop-product-list-main {
  padding-top: clamp(12px, 2vw, 24px);
}

.shop-product-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.shop-media-gallery {
  min-width: 0;
}

.shop-main-media {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(58, 43, 31, 0.08);
}

.shop-main-media img,
.shop-main-media video {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: min(620px, calc(100vh - 255px));
  object-fit: contain;
  object-position: center;
}

.shop-thumbnail-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}

.shop-thumbnail {
  position: relative;
  flex: 0 0 74px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.shop-thumbnail.is-active {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.shop-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shop-thumbnail-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.shop-thumbnail-play::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;
}

.shop-product-info {
  position: sticky;
  top: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(58, 43, 31, 0.08);
  padding: clamp(22px, 2.7vw, 32px);
  backdrop-filter: blur(14px);
}

.shop-brand-label {
  margin: 0 0 10px;
  color: #6b38ec;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-product-info h1 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-family-display);
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.shop-subtitle {
  margin: 14px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.shop-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.shop-sale-price {
  color: #d73d16;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.shop-compare-price {
  color: var(--color-text-faint);
  font-size: 16px;
  text-decoration: line-through;
}

.shop-badge {
  border-radius: 999px;
  background: rgba(215, 61, 22, 0.12);
  color: #d73d16;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.shop-options-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.shop-option-group {
  border: 0;
  margin: 0;
  padding: 0;
}

.shop-option-group legend {
  margin-bottom: 10px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
}

.shop-option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-option-pill,
.shop-floating-option-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  min-height: 42px;
  padding: 10px 18px;
}

.shop-option-pill:hover,
.shop-option-pill.is-selected,
.shop-floating-option-pill:hover,
.shop-floating-option-pill.is-selected {
  border-color: #000;
  background: rgba(0, 0, 0, 0.06);
}

.shop-option-pill.is-selected,
.shop-floating-option-pill.is-selected {
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.shop-shipping-note {
  margin: 24px 0 0;
  color: var(--color-text-faint);
  font-size: 14px;
}

.shop-buy-button,
.shop-floating-buy-button {
  border: 0;
  border-radius: 999px;
  background: #000;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.shop-buy-button {
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
}

.shop-buy-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.shop-secure-checkout {
  margin-top: 18px;
  color: #2d3148;
}

.shop-secure-checkout__headline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(31, 36, 52, 0.12);
  font-size: 15px;
  font-weight: 800;
}

.shop-secure-checkout__headline > span:not(.shop-secure-checkout__lock) {
  min-width: 0;
  white-space: nowrap;
}

.shop-secure-checkout__lock {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #2d3148;
}

.shop-secure-checkout__lock svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.shop-secure-checkout__stripe {
  width: 106px;
  height: auto;
  margin-left: auto;
  flex: 0 0 auto;
}

.shop-payment-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 18px;
}

.shop-payment-badge {
  display: block;
  width: 54px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(20, 25, 43, 0.04);
}

.shop-buy-button:hover:not(:disabled),
.shop-floating-buy-button:hover:not(:disabled) {
  background: #222;
}

.shop-buy-button:disabled,
.shop-floating-buy-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.shop-accordion-stack {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.shop-accordion {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-accordion summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 16px 0;
}

.shop-accordion summary::-webkit-details-marker {
  display: none;
}

.shop-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--color-text-faint);
  line-height: 1;
}

.shop-accordion-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shop-share-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-faint);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 0;
}

.shop-hot-products-section {
  margin-top: clamp(48px, 8vw, 92px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(30px, 4vw, 50px);
}

.shop-product-list-page .shop-hot-products-section {
  margin-top: 0;
}

.shop-hot-products-header {
  text-align: center;
}

.shop-hot-products-header h1,
.shop-hot-products-header h2 {
  margin: 0;
  color: #111;
  font-family: var(--font-family-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.shop-hot-products-header p {
  margin: 18px 0 0;
  color: #2e2e2e;
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: 0.04em;
}

.shop-hot-products-grid {
  display: grid;
  grid-template-columns: minmax(260px, 330px);
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

.shop-hot-product-card {
  display: grid;
  gap: 18px;
  color: #111;
  text-decoration: none;
}

.shop-hot-product-card:hover .shop-hot-product-media img {
  transform: translateY(-4px) scale(1.02);
}

.shop-hot-product-media {
  display: block;
  overflow: hidden;
  background: #fff;
}

.shop-hot-product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  transition: transform 180ms ease;
}

.shop-hot-product-title {
  display: block;
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.shop-hot-product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}

.shop-hot-product-compare {
  color: #555;
  font-size: 18px;
  text-decoration: line-through;
}

.shop-hot-product-price {
  color: #f00000;
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.shop-description-section {
  margin-top: clamp(34px, 6vw, 74px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 32px;
  background: #fff;
  padding: clamp(22px, 5vw, 56px);
}

.shop-description-blocks {
  display: grid;
  gap: 16px;
  color: var(--color-text);
}

.shop-description-blocks h2 {
  margin: 14px 0 2px;
  font-family: var(--font-family-display);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.035em;
}

.shop-description-blocks p,
.shop-description-blocks li {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.shop-description-blocks ul {
  margin: 0;
  padding-left: 22px;
}

.shop-policy-link {
  color: var(--color-text);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.shop-description-blocks img,
.shop-description-blocks video {
  width: 100%;
  border-radius: 24px;
  background: var(--color-surface);
}

.shop-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.08);
}

.shop-specs-grid div {
  display: grid;
  gap: 5px;
  background: #fff;
  padding: 16px;
}

.shop-specs-grid dt {
  color: var(--color-text-faint);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.shop-specs-grid dd {
  margin: 0;
  font-weight: 700;
}

.shop-state-card,
.shop-media-empty {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  background: #fff;
  color: var(--color-text-faint);
  padding: 42px;
  text-align: center;
}

.shop-state-card h1 {
  margin: 0 0 8px;
  color: var(--color-text);
}

.shop-state-card a {
  color: #6b38ec;
  font-weight: 700;
}

.shop-floating-buy {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.shop-floating-buy.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.shop-floating-buy-inner {
  width: min(860px, calc(100% - 28px));
  margin: 0 auto calc(14px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  padding: 10px;
  backdrop-filter: blur(18px);
}

.shop-floating-options {
  min-width: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.shop-floating-options::-webkit-scrollbar {
  display: none;
}

.shop-floating-option-pill {
  flex: 0 0 auto;
  min-height: 40px;
  font-size: 13px;
  padding: 8px 13px;
}

.shop-floating-buy-button {
  min-height: 48px;
  font-size: 15px;
}

.shop-site-footer {
  background: transparent;
}

@media (max-width: 900px) {
  .shop-product-shell {
    grid-template-columns: 1fr;
  }

  .shop-product-info {
    position: static;
  }
}

@media (max-width: 620px) {
  .shop-site-header .site-header__inner,
  .shop-main {
    width: min(100% - 24px, 1180px);
  }

  .shop-main {
    padding-top: 10px;
  }

  .shop-main-media {
    border-radius: 22px;
  }

  .shop-thumbnail {
    flex-basis: 70px;
    border-radius: 15px;
  }

  .shop-option-values {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .shop-option-pill {
    flex: 1 1 0;
    min-width: 0;
    min-height: 38px;
    font-size: 13px;
    line-height: 1;
    padding: 9px 7px;
    white-space: nowrap;
  }

  .shop-product-info,
  .shop-hot-products-section,
  .shop-description-section {
    border-radius: 24px;
    padding: 20px;
  }

  .shop-secure-checkout {
    margin-top: 14px;
  }

  .shop-buy-button {
    margin-top: 24px;
  }

  .shop-secure-checkout__headline {
    gap: 6px;
    padding-bottom: 14px;
    font-size: 13px;
    line-height: 1;
  }

  .shop-secure-checkout__lock {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .shop-secure-checkout__stripe {
    width: 88px;
  }

  .shop-payment-badges {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
    padding-top: 14px;
  }

  .shop-payment-badge {
    width: calc((100% - 36px) / 7);
    max-width: 46px;
  }

  .shop-hot-products-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 32px;
  }

  .shop-hot-products-header p {
    letter-spacing: 0.02em;
  }

  .shop-specs-grid {
    grid-template-columns: 1fr;
  }

  .shop-floating-buy-inner {
    grid-template-columns: 1fr;
    border-radius: 26px;
    padding: 12px;
  }

  .shop-floating-buy-button {
    width: 100%;
  }
}
