.shop-page {
  background: var(--bg);
  color: var(--text);
}

.shop-main {
  min-height: calc(100vh - var(--header-h));
  padding: calc(var(--header-h) + 1.2rem) clamp(2rem, 8vw, 9.5rem) 3.5rem;
}

.shop-local-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
  margin-right: 0;
}

.shop-local-nav a {
  text-decoration: none;
  font-size: clamp(0.79rem, 0.56vw, 0.92rem);
  letter-spacing: 0;
  text-transform: lowercase;
  color: rgba(230, 228, 225, 0.78);
  position: relative;
  padding-bottom: 0;
}

.shop-local-nav a .nav-label {
  position: relative;
  display: inline-block;
  padding-bottom: 0.08rem;
}

.shop-local-nav a .nav-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08rem;
  height: 1px;
  background: rgba(230, 228, 225, 0.95);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.shop-local-nav a.is-active {
  color: var(--text);
}

.shop-local-nav a.is-active .nav-label::after {
  transform: scaleX(1);
}

.shop-cart-link {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text);
  margin-right: 0.7rem;
}

.shop-cart-link [data-cart-count] {
  color: #9a9a9a;
  margin-left: 0.22rem;
}

.shop-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #adadad;
  text-transform: uppercase;
}

.shop-intro {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0.9rem 0 1.8rem;
}

.forms-section {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 3.2rem;
  scroll-margin-top: calc(var(--header-h) + 0.95rem);
}

.forms-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
  width: 100%;
  margin: 0 auto 0.8rem;
}

.forms-hero-title {
  --hero-track: 0.38em;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 6.1rem);
  font-weight: 600;
  letter-spacing: var(--hero-track);
  line-height: 0.95;
  width: fit-content;
  max-width: 100%;
  text-align: center;
  margin-inline: auto;
  padding-inline: calc(var(--hero-track) / 2);
  position: static;
  left: auto;
  transform: none;
}

.forms-hero-subtitle {
  --hero-track: 0.34em;
  margin: 0.9rem 0 0;
  font-size: clamp(0.76rem, 1.3vw, 1.08rem);
  letter-spacing: var(--hero-track);
  text-transform: uppercase;
  color: var(--muted);
  width: fit-content;
  max-width: 100%;
  text-align: center;
  margin-inline: auto;
  padding-inline: calc(var(--hero-track) / 2);
  position: static;
  left: auto;
  transform: none;
}

.forms-hero-byline {
  --hero-track: 0.24em;
  margin: 0.58rem 0 0;
  font-size: clamp(0.6rem, 0.8vw, 0.82rem);
  letter-spacing: var(--hero-track);
  text-transform: uppercase;
  color: var(--muted);
  width: fit-content;
  max-width: 100%;
  text-align: center;
  margin-inline: auto;
  padding-inline: calc(var(--hero-track) / 2);
  position: static;
  left: auto;
  transform: none;
}

.forms-header-image {
  margin: 0 auto 1rem;
  width: min(100%, 980px);
  background: transparent;
}

.forms-header-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.forms-intro-copy {
  max-width: 840px;
}

.forms-top-composition {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 980px;
  margin: 0 auto;
}

.forms-panel {
  margin: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.forms-panel-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.56;
  text-align: left;
  padding: 0;
}

.forms-panel-main {
  min-height: auto;
}

.forms-panel-secondary {
  min-height: auto;
}

.forms-visual {
  margin: 0;
  background: #050505;
  overflow: hidden;
}

.forms-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}

.forms-visual-a {
  aspect-ratio: 5 / 3;
}

.forms-visual-b {
  aspect-ratio: 16 / 9;
}

.forms-promo {
  margin: 1rem auto 0;
  width: min(78vw, 1020px);
  background: #050505;
  overflow: hidden;
}

.forms-promo video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.forms-footer-copy {
  max-width: 780px;
  margin: 0.72rem auto 0;
  text-align: center;
}

.forms-footer-copy p {
  margin: 0 0 0.74rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.forms-footer-copy p:last-child {
  margin-bottom: 0;
}

.shop-catalog-section {
  max-width: 1540px;
  margin: 0 auto;
  padding-top: 1.8rem;
}

.shop-catalog-section .shop-intro {
  padding-top: 0.1rem;
}

.shop-intro h1 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.shop-intro-copy {
  margin: 1rem auto 0;
  max-width: 620px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #cecece;
}

.shop-break-title {
  margin-bottom: 0;
  font-size: clamp(0.92rem, 1.7vw, 1.2rem);
  letter-spacing: 0.16em;
  color: var(--text);
}

.shop-grid-section {
  max-width: 1540px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2.1rem 1.2rem;
}

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-media {
  position: relative;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 4 / 5;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1), filter 620ms ease;
  filter: brightness(0.86);
}

.product-card:hover img,
.product-card:focus-visible img {
  transform: scale(1.015);
  filter: brightness(1);
}

.product-card-copy {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.58rem auto 0;
  width: 72%;
  padding-inline: 0;
  font-size: 0.74rem;
  color: #f0f0f0;
}

.product-card-copy span:last-child {
  color: #bcbcbc;
}

.shop-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 720ms ease var(--reveal-delay, 0ms),
    transform 760ms cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0ms);
}

.shop-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-detail-main {
  max-width: 1500px;
  margin: 0 auto;
}

.shop-back-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  color: #bfbfbf;
}

.shop-back-link:hover,
.shop-back-link:focus-visible {
  color: var(--text);
}

.shop-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

.shop-gallery {
  display: grid;
  grid-template-columns: 100%;
  gap: 0.6rem;
}

.shop-gallery-main {
  background: #080808;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.shop-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-gallery-thumbs {
  display: flex;
  gap: 0.45rem;
}

.shop-thumb {
  border: 1px solid transparent;
  background: #090909;
  width: 58px;
  height: 58px;
  padding: 0;
  cursor: pointer;
}

.shop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-thumb.is-active {
  border-color: rgba(255, 255, 255, 0.5);
}

.shop-pdp {
  max-width: 520px;
}

.shop-pdp h1 {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.shop-pdp-description {
  margin: 0.95rem 0 1.2rem;
  font-size: 0.8rem;
  color: #cfcfcf;
  line-height: 1.6;
}

.shop-price {
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.shop-field {
  margin-bottom: 0.95rem;
}

.shop-field label {
  display: block;
  margin-bottom: 0.38rem;
  font-size: 0.7rem;
  color: #b8b8b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-field select,
.cart-summary input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--bg);
  color: var(--text);
  padding: 0.55rem 0.62rem;
  font: inherit;
  font-size: 0.8rem;
}

.shop-option-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.shop-check {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  font-size: 0.78rem;
  color: #dedede;
}

.shop-check input {
  width: 14px;
  height: 14px;
}

.shop-actions {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.shop-primary-btn,
.shop-secondary-btn,
.cart-qty-btn,
.cart-remove-btn {
  border: 0;
  background: var(--text);
  color: var(--bg);
  min-height: 40px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-secondary-btn,
.cart-remove-btn {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.shop-primary-btn:disabled,
.shop-secondary-btn:disabled,
.cart-qty-btn:disabled,
.cart-remove-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.shop-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.55rem 0;
}

.shop-accordion summary {
  cursor: pointer;
  font-size: 0.76rem;
  color: #e6e6e6;
}

.shop-accordion p {
  margin: 0.56rem 0 0.2rem;
  font-size: 0.75rem;
  color: #c6c6c6;
  line-height: 1.55;
}

.shop-status {
  min-height: 1.2rem;
  margin: 0.3rem 0 0;
  font-size: 0.75rem;
  color: #bcbcbc;
}

.shop-status.success {
  color: #9ee5ad;
}

.shop-status.error {
  color: #f2a9a9;
}

.cart-main {
  max-width: 1380px;
  margin: 0 auto;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.3rem;
}

.cart-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 400;
}

.cart-list {
  display: grid;
  gap: 0.9rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.8rem;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-line img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cart-line h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 400;
}

.cart-line p {
  margin: 0.28rem 0;
  font-size: 0.74rem;
  color: #c7c7c7;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.cart-qty-btn {
  min-height: 30px;
  min-width: 30px;
  padding: 0;
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.cart-remove-btn {
  min-height: 30px;
  padding: 0.35rem 0.55rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.72rem;
}

.cart-summary {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  align-self: start;
}

.cart-summary-label {
  margin: 0;
  font-size: 0.7rem;
  color: #9b9b9b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-total {
  margin: 0.45rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 400;
}

.cart-summary label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  color: #b8b8b8;
}

.cart-empty {
  color: #bcbcbc;
  font-size: 0.8rem;
}

.placeholder-main {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  align-items: center;
}

.placeholder-card {
  margin: 8vh auto 0;
  width: min(620px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050505;
  padding: 1.3rem;
  text-align: center;
}

.placeholder-card h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
}

.placeholder-card p {
  margin: 0.8rem 0 0;
  color: #cecece;
  font-size: 0.82rem;
  line-height: 1.6;
}

.placeholder-order {
  color: var(--text);
  letter-spacing: 0.06em;
}

.placeholder-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.shop-secondary-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  font-size: 0.74rem;
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

@media (min-width: 760px) {
  .shop-local-nav {
    display: inline-flex;
  }

  .forms-top-composition {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .forms-panel-main {
    grid-column: 1;
    grid-row: 1;
  }

  .forms-visual-a {
    grid-column: 2;
    grid-row: 1;
  }

  .forms-visual-b {
    grid-column: 1;
    grid-row: 2;
  }

  .forms-panel-secondary {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 1.5rem;
  }

  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
  }
}

@media (min-width: 1060px) {
  .forms-top-composition {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .forms-promo {
    width: min(70vw, 980px);
    margin-top: 0.85rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-detail-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.3rem;
    align-items: start;
  }

  .shop-pdp {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

@media (max-width: 899px) {
  .shop-local-nav {
    display: none;
  }

  .shop-cart-link {
    margin-right: 0;
    font-size: 0.66rem;
  }

  .forms-panel-copy,
  .forms-footer-copy p {
    font-size: 0.8rem;
  }

  .forms-promo {
    width: min(94vw, 760px);
  }

  .forms-hero-subtitle {
    --hero-track: 0.34em;
    letter-spacing: var(--hero-track);
  }

  .forms-hero-byline {
    --hero-track: 0.26em;
    letter-spacing: var(--hero-track);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-reveal,
  .product-card-media img {
    transition: none;
    transform: none;
  }

  .shop-reveal {
    opacity: 1;
  }
}
