.shop-body { background: var(--paper); }
.shop-body.menu-open, .shop-body.cart-open { overflow: hidden; }

.cart-button {
  position: relative;
  z-index: 102;
  display: flex;
  justify-self: end;
  align-items: center;
  min-height: 2.65rem;
  padding: 0 .55rem 0 .9rem;
  gap: .55rem;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  cursor: pointer;
  text-transform: uppercase;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
}
.cart-button svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cart-button b {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  color: var(--white);
  border-radius: 50%;
  background: var(--ink);
  place-items: center;
  font-size: .65rem;
}
.cart-button:focus-visible, .reserve-button:focus-visible, .checkout-button:focus-visible, .cart-close:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.shop-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--ink);
}
.shop-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .38;
  background: url("../assets/hero-cosmos.webp") 30% center / cover no-repeat;
  filter: hue-rotate(10deg) saturate(.85);
}
.shop-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,11,20,.15), rgba(9,11,20,.78) 56%, #090b14 90%),
    linear-gradient(180deg, rgba(9,11,20,.12), #090b14 100%);
  content: "";
}
.shop-hero-gallery {
  position: absolute;
  left: clamp(1.5rem, 4vw, 5rem);
  top: 50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.65rem, 1.2vw, 1rem);
  width: min(42%, 37rem);
  transform: translateY(-47%) rotate(-2deg);
}
.shop-hero-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: clamp(.35rem, .6vw, .65rem) solid var(--paper);
  background: var(--paper);
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.42);
}
.shop-hero-gallery figure:nth-child(1) { transform: translateY(-1rem) rotate(-4deg); }
.shop-hero-gallery figure:nth-child(2) { transform: translateY(2.2rem) rotate(3deg); }
.shop-hero-gallery figure:nth-child(3) { transform: translateY(-.3rem) rotate(6deg); }
.shop-hero-gallery img {
  display: block;
  width: 100%;
  height: clamp(18rem, 31vw, 31rem);
  object-fit: cover;
}
.shop-hero-gallery figure:nth-child(2) img {
  object-position: center;
}
.shop-hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(42rem, calc(48% - 2rem));
  margin-left: 52%;
  padding: 7rem 0 5rem;
}
.shop-hero h1 {
  margin: 0;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: clamp(3rem, 6.2vw, 7rem);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: .82;
}
.shop-hero h1 em { color: var(--lime); font-style: normal; }
.shop-lead {
  max-width: 28rem;
  margin: 1.75rem 0;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
}
.shop-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .65rem; margin: 1rem 0 2.5rem; }
.shop-price span, .shop-price small { color: rgba(255,250,243,.62); text-transform: uppercase; font-size: .62rem; font-weight: 600; letter-spacing: .13em; }
.shop-price strong { color: var(--coral); font-family: var(--display); font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; }
.shop-scroll {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(255,255,255,.6);
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.shop-scroll span { color: var(--lime); font-size: 1.1rem; }
.shop-orbit {
  position: absolute;
  right: -5rem;
  bottom: -10rem;
  width: 38rem;
  height: 38rem;
  border: 1.8rem solid var(--violet);
  border-radius: 50%;
  opacity: .45;
}
.shop-orbit::after {
  position: absolute;
  top: -4rem;
  left: -13rem;
  width: 28rem;
  height: 10rem;
  border-top: 1.4rem solid var(--cyan);
  border-radius: 50%;
  transform: rotate(-12deg);
  content: "";
}

.catalog { color: var(--ink); background: var(--paper); }
.catalog-heading {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}
.catalog .section-number { color: #6751d4; }
.catalog h2, .buying-guide h2 {
  margin: 0;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8vw, 8rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .86;
}
.catalog h2 em, .buying-guide h2 em { color: var(--coral); font-style: normal; }
.catalog-note { display: flex; align-items: flex-start; gap: .8rem; max-width: 25rem; padding-bottom: .75rem; }
.catalog-note p { margin: 0; font-size: .86rem; line-height: 1.55; }
.status-dot { flex: 0 0 auto; width: .7rem; height: .7rem; margin-top: .28rem; border-radius: 50%; background: var(--violet); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(3rem, 5vw, 6rem) clamp(1.2rem, 3vw, 3rem); align-items: start; }
.product-card { min-width: 0; }
.product-offset { margin-top: 6rem; }
.product-art {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: clamp(23rem, 40vw, 39rem);
  padding: clamp(.65rem, 1.2vw, 1rem);
  border-radius: 12rem 12rem .35rem .35rem;
  background: #fff;
  place-items: center;
  isolation: isolate;
  box-shadow: 0 1.4rem 3rem rgba(9,11,20,.1);
}
.product-art img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
}
.product-art b {
  position: absolute;
  right: 1rem;
  bottom: .8rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  color: var(--white);
  border-radius: 50%;
  background: var(--ink);
  place-items: center;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
}
.product-art-landscape {
  min-height: clamp(18rem, 30vw, 29rem);
  border-radius: 9rem 9rem .35rem .35rem;
}
.product-art-landscape img { object-fit: contain; }
.product-info { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem .15rem .9rem; border-bottom: 1px solid rgba(9,11,20,.22); }
.product-info p { margin: 0 0 .25rem; color: rgba(9,11,20,.55); text-transform: uppercase; font-size: .58rem; font-weight: 600; letter-spacing: .11em; }
.product-info h3 { margin: 0; text-transform: uppercase; font-family: var(--display); font-size: 2rem; line-height: 1; }
.product-info strong { color: #6751d4; font-family: var(--display); font-size: 1.6rem; white-space: nowrap; }
.product-currencies {
  margin: .7rem .15rem 0;
  color: rgba(9,11,20,.58);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.reserve-button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: .95rem .15rem;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid rgba(9,11,20,.22);
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-transform: uppercase;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.reserve-button span { font-size: 1.1rem; line-height: .7; }
.reserve-button:hover { color: #6751d4; }
.reserve-button.is-added { color: var(--ink); cursor: default; }
.reserve-button.is-added span { color: #6751d4; transform: rotate(45deg); }

.buying-guide {
  display: grid;
  grid-template-columns: .75fr 1fr;
  gap: clamp(4rem, 10vw, 10rem);
  color: var(--white);
  background: linear-gradient(140deg, #7252fa, #39247d);
}
.buying-guide .section-number { color: var(--lime); }
.buying-guide h2 em { color: var(--lime); }
.guide-steps { margin: 0; padding: 0; list-style: none; }
.guide-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.25); }
.guide-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.guide-steps > li > span { color: var(--lime); font-size: .65rem; font-weight: 600; }
.guide-steps h3 { margin: 0; text-transform: uppercase; font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1; }
.guide-steps p { margin: .5rem 0 0; color: rgba(255,255,255,.75); line-height: 1.55; }

.shop-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 3rem clamp(1.4rem, 7vw, 7rem);
  color: var(--ink);
  background: var(--coral);
}
.shop-footer p, .shop-footer > a:not(.brand) { margin: 0; font-size: .75rem; line-height: 1.5; }
.shop-footer > a:not(.brand):hover { text-decoration: underline; }
.shop-footer p:last-child { text-align: right; }

.cart-backdrop { position: fixed; z-index: 198; inset: 0; background: rgba(5,7,14,.67); backdrop-filter: blur(5px); }
.cart-drawer {
  position: fixed;
  z-index: 199;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(31rem, 100%);
  height: 100%;
  color: var(--ink);
  background: var(--paper);
  box-shadow: -2rem 0 5rem rgba(0,0,0,.28);
  transform: translateX(105%);
  transition: transform .4s cubic-bezier(.2,.75,.2,1);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 2rem; border-bottom: 1px solid rgba(9,11,20,.18); }
.cart-header p { margin: 0 0 .25rem; color: #6751d4; text-transform: uppercase; font-size: .62rem; font-weight: 600; letter-spacing: .14em; }
.cart-header h2 { margin: 0; text-transform: uppercase; font-family: var(--display); font-size: 3.5rem; line-height: 1; }
.cart-close { width: 2.7rem; height: 2.7rem; padding: 0; color: var(--white); border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.cart-content { flex: 1; overflow-y: auto; padding: 1rem 2rem; }
.cart-empty { color: rgba(9,11,20,.58); line-height: 1.6; }
.cart-list { margin: 0; padding: 0; list-style: none; }
.cart-list li { display: grid; grid-template-columns: 2.7rem 1fr auto; gap: .8rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(9,11,20,.16); }
.cart-list li > span { display: grid; width: 2.7rem; height: 2.7rem; color: var(--white); border-radius: 50%; background: #6751d4; place-items: center; font-family: var(--display); }
.cart-list h3 { margin: 0 0 .15rem; text-transform: uppercase; font-family: var(--display); font-size: 1.25rem; }
.cart-list p { margin: 0; font-size: .72rem; }
.cart-list button { padding: .4rem; color: var(--ink); border: 0; background: transparent; cursor: pointer; text-decoration: underline; font-size: .68rem; }
.payment-section { padding: 1.5rem 0 1rem; }
.payment-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1rem;
}
.payment-heading h3 {
  margin: 0;
  text-transform: uppercase;
  font-family: var(--display);
  font-size: 1.55rem;
}
.payment-heading p {
  max-width: 13rem;
  margin: 0;
  color: rgba(9,11,20,.58);
  text-align: right;
  font-size: .68rem;
  line-height: 1.4;
}
.currency-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
  margin-bottom: 1rem;
}
.currency-picker button {
  min-height: 2.6rem;
  color: var(--ink);
  border: 1px solid rgba(9,11,20,.24);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
}
.currency-picker button.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}
.currency-picker button:focus-visible, .copy-payment:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
.payment-panel {
  padding: 1rem;
  border: 1px solid rgba(9,11,20,.18);
  border-radius: .65rem;
  background: rgba(255,255,255,.42);
}
.payment-panel > p:not(.payment-label) {
  margin: 0 0 1rem;
  font-size: .78rem;
  line-height: 1.55;
}
.payment-label {
  margin: 0 0 .8rem;
  color: #6751d4;
  text-transform: uppercase;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.payment-details { margin: 0; }
.payment-details > div {
  display: grid;
  grid-template-columns: 7.4rem 1fr;
  gap: .6rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(9,11,20,.1);
}
.payment-details dt { color: rgba(9,11,20,.56); font-size: .68rem; }
.payment-details dd { margin: 0; overflow-wrap: anywhere; font-size: .73rem; font-weight: 600; }
.copy-payment {
  width: 100%;
  margin-top: 1rem;
  padding: .75rem;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
}
.copy-payment:hover { color: var(--white); background: var(--ink); }
.cart-summary { padding: 1.5rem 2rem 2rem; border-top: 1px solid rgba(9,11,20,.18); }
.cart-summary > div { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; text-transform: uppercase; font-family: var(--display); font-size: 1.4rem; }
.cart-summary strong { color: #6751d4; font-size: 2rem; }
.checkout-button { display: flex; justify-content: space-between; width: 100%; padding: 1.1rem 1.2rem; color: var(--ink); border: 0; border-radius: 999px; background: var(--lime); cursor: pointer; text-transform: uppercase; font-size: .7rem; font-weight: 600; letter-spacing: .11em; }
.checkout-button:disabled { opacity: .42; cursor: not-allowed; }
.cart-summary > p { margin: .8rem 0 0; color: rgba(9,11,20,.58); font-size: .7rem; line-height: 1.45; }
.cart-summary > p.is-success { color: #2c6641; font-weight: 600; }

@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-offset { margin-top: 4rem; }
  .product-card:nth-child(3), .product-card:nth-child(5) { margin-top: -1rem; }
  .shop-footer { grid-template-columns: 1fr 1fr; }
  .shop-footer p:last-child { text-align: left; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .catalog-heading, .buying-guide { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .catalog h2, .buying-guide h2 { font-size: clamp(3.8rem, 7vw, 5.5rem); }
  .catalog-note, .guide-steps { min-width: 0; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); max-width: 32rem; }
  .product-offset, .product-card:nth-child(3), .product-card:nth-child(5) { margin-top: 0; }
}

@media (max-width: 760px) {
  .cart-button span { display: none; }
  .cart-button { min-width: 3.7rem; padding: 0 .35rem 0 .65rem; gap: .35rem; }
  .shop-hero { min-height: 49rem; align-items: end; }
  .shop-hero-art { background-position: 34% center; }
  .shop-hero::after { background: linear-gradient(180deg, rgba(9,11,20,.06), rgba(9,11,20,.85) 62%, #090b14 100%); }
  .shop-hero-gallery {
    top: 6.5rem;
    left: 1.2rem;
    width: calc(100% - 2.4rem);
    gap: .35rem;
    transform: none;
  }
  .shop-hero-gallery figure { border-width: .3rem; }
  .shop-hero-gallery figure:nth-child(1) { transform: translateY(.2rem) rotate(-4deg); }
  .shop-hero-gallery figure:nth-child(2) { transform: translateY(1rem) rotate(2deg); }
  .shop-hero-gallery figure:nth-child(3) { transform: translateY(0) rotate(4deg); }
  .shop-hero-gallery img { height: 13rem; }
  .shop-hero-content { width: 100%; margin: 0; padding: 21rem 1.4rem 5rem; }
  .shop-hero h1 { font-size: clamp(4.2rem, 19vw, 6.5rem); }
  .shop-orbit { right: -16rem; bottom: -15rem; opacity: .28; }
  .catalog-heading { grid-template-columns: 1fr; }
  .catalog h2, .buying-guide h2 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .product-grid { grid-template-columns: 1fr; gap: 4rem; }
  .product-offset, .product-card:nth-child(3), .product-card:nth-child(5) { margin-top: 0; }
  .product-art { min-height: min(126vw, 34rem); border-radius: 9rem 9rem .35rem .35rem; }
  .product-art-landscape { min-height: min(92vw, 24rem); }
  .buying-guide { grid-template-columns: 1fr; }
  .shop-footer { grid-template-columns: 1fr; }
  .cart-header, .cart-content, .cart-summary { padding-inline: 1.4rem; }
  .payment-heading { display: block; }
  .payment-heading p { margin-top: .3rem; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer { transition: none; }
}
