/* DoriSan Shop S1 - premium dark/gold layer */

.ds28c-shop-body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -8%, rgba(255, 207, 111, .28), transparent 28rem),
    radial-gradient(circle at 88% 7%, rgba(207, 103, 25, .18), transparent 25rem),
    radial-gradient(circle at 50% 54%, rgba(255, 184, 64, .10), transparent 34rem),
    radial-gradient(circle at 78% 92%, rgba(255, 219, 143, .08), transparent 30rem),
    linear-gradient(118deg, rgba(255, 223, 148, .04) 0 1px, transparent 1px 74px),
    linear-gradient(180deg, #030201 0%, #100a05 34%, #070504 67%, #020202 100%);
  background-attachment: fixed;
  background-color: #030201;
  color: #fff8e8;
}

.ds28c-shop-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 232, 178, .025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 232, 178, .018) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(242, 184, 80, .08), transparent 42%);
  background-size: 92px 92px, 92px 92px, 100% 100%;
  opacity: .74;
}

.ds28c-shop-nav,
.ds28c-shop-wrap {
  position: relative;
  z-index: 1;
}

.ds28c-shop-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(242, 184, 80, .42);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .30)),
    radial-gradient(circle at 12% 8%, rgba(242, 184, 80, .22), transparent 36%),
    radial-gradient(circle at 92% 18%, rgba(255, 144, 40, .18), transparent 28%),
    linear-gradient(135deg, rgba(56, 9, 9, .86), rgba(2, 2, 2, .96) 58%, rgba(31, 20, 5, .92));
  box-shadow:
    0 0 0 1px rgba(255, 227, 166, .08) inset,
    0 26px 82px rgba(0, 0, 0, .56),
    0 0 42px rgba(242, 184, 80, .12);
}

.ds28c-shop-hero h1 {
  color: #fff8e8;
  text-shadow: 0 0 28px rgba(242, 184, 80, .18);
}

.ds28c-shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 230, 175, .06) 37% 39%, transparent 40% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 58px);
  opacity: .65;
  pointer-events: none;
}

.ds28c-shop-hero > * {
  position: relative;
  z-index: 1;
}

.ds-shop-s2-intro {
  max-width: 920px;
  margin-top: 18px;
  border: 1px solid rgba(255, 216, 142, .30);
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 24px);
  color: rgba(255, 248, 232, .88);
  background:
    linear-gradient(135deg, rgba(255, 216, 142, .10), rgba(255, 255, 255, .035) 46%, rgba(0, 0, 0, .18)),
    rgba(6, 5, 4, .62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .035),
    0 18px 48px rgba(0, 0, 0, .22);
}

.ds28c-shop-kicker,
.ds-shop-s1-kicker {
  color: #f2b850;
  text-shadow: 0 0 18px rgba(242, 184, 80, .22);
}

.ds-shop-s1,
.ds-shop-s1-future,
.ds-shop-s1-special {
  border-color: rgba(242, 184, 80, .24);
  background:
    radial-gradient(circle at 0% 0%, rgba(242, 184, 80, .12), transparent 32%),
    radial-gradient(circle at 100% 18%, rgba(171, 88, 16, .10), transparent 28%),
    linear-gradient(180deg, rgba(14, 10, 8, .88), rgba(2, 2, 2, .94));
  box-shadow: 0 22px 64px rgba(0, 0, 0, .34);
}

.ds-shop-s1,
.ds-shop-s1-future,
.ds-shop-s1-special {
  margin-top: 28px;
  border: 1px solid rgba(242, 184, 80, .24);
  border-radius: 28px;
  padding: clamp(20px, 3vw, 34px);
}

.ds-shop-s1-head {
  max-width: 850px;
  margin-bottom: 22px;
}

.ds-shop-s1-kicker {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 1000;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.ds-shop-s1 h2,
.ds-shop-s1-future h2,
.ds-shop-s1-special h2 {
  margin: 0 0 12px;
  color: #fff8e8;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: .95;
}

.ds-shop-s1 p,
.ds-shop-s1-future p,
.ds-shop-s1-special p {
  color: rgba(255, 248, 232, .76);
  line-height: 1.62;
}

.ds-shop-s1-group {
  margin-top: 28px;
}

.ds-shop-s1-group + .ds-shop-s1-group {
  border-top: 1px solid rgba(242, 184, 80, .16);
  padding-top: 28px;
}

.ds-shop-s1-group-head {
  max-width: 900px;
  margin-bottom: 18px;
}

.ds-shop-s1-group-head h3 {
  margin: 0 0 10px;
  color: #fff8e8;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

.ds-shop-s1-group-head p {
  margin: 0;
}

.ds-shop-s1-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ds-shop-s1-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ds-shop-s1-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(242, 184, 80, .24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), transparent 42%),
    rgba(8, 7, 6, .92);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .32),
    inset 0 0 0 1px rgba(255, 255, 255, .035);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ds-shop-s1-card:hover,
.ds-shop-s1-card:focus-visible {
  border-color: rgba(255, 216, 142, .38);
  outline: none;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, .40),
    0 0 28px rgba(242, 184, 80, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
  transform: translateY(-2px);
}

.ds-shop-s1-media,
.ds-shop-s1-icon {
  min-height: 170px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(242, 184, 80, .22), transparent 46%),
    linear-gradient(135deg, rgba(82, 11, 14, .82), rgba(0, 0, 0, .88));
}

.ds-shop-s1-media-gold {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 215, 128, .25), transparent 45%),
    linear-gradient(135deg, rgba(58, 37, 8, .86), rgba(0, 0, 0, .9));
}

.ds-shop-s1-media-amber {
  background:
    radial-gradient(circle at 50% 35%, rgba(234, 102, 30, .24), transparent 44%),
    linear-gradient(135deg, rgba(50, 12, 8, .88), rgba(0, 0, 0, .9));
}

.ds-shop-s1-media-stage {
  background:
    radial-gradient(circle at 50% 25%, rgba(242, 184, 80, .18), transparent 40%),
    linear-gradient(135deg, rgba(9, 8, 7, .72), rgba(0, 0, 0, .94));
}

.ds-shop-s1-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 0;
}

.ds-shop-s1-card-merch .ds-shop-s1-media img {
  object-fit: contain;
  padding: 12px;
}

.ds-shop-s1-icon {
  color: #ffd980;
  font-size: 3.6rem;
}

.ds-shop-s1-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.ds-shop-s1-tag {
  align-self: flex-start;
  border: 1px solid rgba(242, 184, 80, .26);
  border-radius: 999px;
  padding: 6px 9px;
  color: #f2b850;
  background: rgba(242, 184, 80, .08);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ds-shop-s1-card h4 {
  margin: 0;
  color: #fff8e8;
  font-size: 1.2rem;
  line-height: 1.14;
}

.ds-shop-s1-card p {
  margin: 0;
  font-size: .95rem;
}

.ds-shop-s1-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid rgba(255, 220, 145, .42);
  border-radius: 999px;
  padding: 10px 14px;
  color: #120c04;
  background: linear-gradient(135deg, #ffe0a0, #f2b850 48%, #a96916);
  box-shadow: 0 10px 24px rgba(242, 184, 80, .18);
  font-weight: 1000;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font: inherit;
}

.ds-shop-s1-button:hover,
.ds-shop-s1-button:focus-visible {
  color: #000;
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.ds-shop-s1-button-secondary {
  margin-top: 8px;
}

.ds-shop-s1-future {
  scroll-margin-top: 112px;
}

.ds-shop-s1-future p,
.ds-shop-s1-special p {
  max-width: 860px;
}

.ds-shop-s1-special {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ds-shop-s2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.ds-shop-s2-actions .ds-shop-s1-button {
  margin-top: 0;
}

.ds-shop-modal-open {
  overflow: hidden;
}

.ds-shop-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 42px);
}

.ds-shop-modal.is-open {
  display: flex;
}

.ds-shop-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(242, 184, 80, .16), transparent 34%),
    rgba(0, 0, 0, .78);
  backdrop-filter: blur(10px);
}

.ds-shop-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(280px, .85fr);
  gap: clamp(20px, 3vw, 34px);
  width: min(1080px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  border: 1px solid rgba(255, 216, 142, .42);
  border-radius: 26px;
  padding: clamp(18px, 3vw, 32px);
  background:
    radial-gradient(circle at 0% 0%, rgba(242, 184, 80, .14), transparent 34%),
    linear-gradient(145deg, rgba(35, 18, 8, .98), rgba(3, 3, 3, .98) 58%, rgba(20, 12, 5, .98));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, .72),
    0 0 0 1px rgba(255, 255, 255, .05) inset,
    0 0 44px rgba(242, 184, 80, .12);
}

.ds-shop-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 216, 142, .36);
  border-radius: 50%;
  color: #fff8e8;
  background: rgba(0, 0, 0, .46);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.ds-shop-modal-close:hover,
.ds-shop-modal-close:focus-visible {
  outline: none;
  color: #160d04;
  background: #f2b850;
}

.ds-shop-modal-media {
  display: grid;
  min-height: clamp(280px, 52vh, 560px);
  place-items: center;
  border: 1px solid rgba(242, 184, 80, .22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 216, 142, .24), transparent 45%),
    linear-gradient(135deg, rgba(85, 15, 16, .62), rgba(0, 0, 0, .78));
}

.ds-shop-modal-media img {
  width: 100%;
  max-width: 620px;
  height: clamp(260px, 50vh, 520px);
  object-fit: contain;
  padding: clamp(10px, 2vw, 22px);
}

.ds-shop-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-right: 22px;
}

.ds-shop-modal-content h2 {
  margin: 0 0 16px;
  color: #fff8e8;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .95;
}

.ds-shop-modal-content p {
  margin: 0;
  color: rgba(255, 248, 232, .82);
  line-height: 1.65;
}

.ds-shop-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ds-shop-modal-actions .ds-shop-s1-button {
  margin-top: 0;
}

@media (max-width: 1020px) {
  .ds-shop-s1-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-shop-s1-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ds-shop-s1,
  .ds-shop-s1-future,
  .ds-shop-s1-special {
    border-radius: 22px;
    padding: 18px;
  }

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

  .ds-shop-s1-media,
  .ds-shop-s1-icon {
    min-height: 150px;
  }

  .ds-shop-s1-media img {
    height: 170px;
  }

  .ds-shop-s2-intro {
    border-radius: 16px;
    font-size: .96rem;
  }

  .ds-shop-s2-actions {
    flex-direction: column;
  }

  .ds-shop-s1-special {
    align-items: stretch;
    flex-direction: column;
  }

  .ds-shop-modal-panel {
    grid-template-columns: 1fr;
    max-height: 90vh;
    border-radius: 20px;
  }

  .ds-shop-modal-media {
    min-height: 260px;
  }

  .ds-shop-modal-media img {
    height: 260px;
  }

  .ds-shop-modal-content {
    padding-right: 0;
  }

  .ds-shop-modal-actions {
    flex-direction: column;
  }
}
