html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #1a0838;
  color: #fbf8f1;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.shop-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(26, 8, 56, 0.82), rgba(26, 8, 56, 1) 42%),
    linear-gradient(135deg, rgba(56, 21, 122, 0.9), rgba(18, 6, 38, 1));
}

.shop-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(243, 206, 117, 0.16);
  background: rgba(26, 8, 56, 0.94);
  backdrop-filter: blur(18px);
}

.shop-nav-inner {
  width: min(1180px, calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.shop-logo {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-light);
  text-decoration: none;
  white-space: nowrap;
}

.shop-logo .amp {
  color: var(--gold);
  font-style: italic;
}

.shop-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-links a {
  color: rgba(243, 206, 117, 0.72);
  text-decoration: none;
}

.shop-links a.active,
.shop-links a:hover {
  color: var(--gold);
}

.shop-head,
.shop-catalog,
.shop-detail,
.shop-state {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.shop-head {
  padding: 54px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 32px;
  align-items: end;
}

.shop-eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.shop-head h1,
.shop-detail-title {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.shop-head h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
}

.shop-head h1 em,
.shop-detail-title em {
  display: block;
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.shop-head p {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(251, 248, 241, 0.72);
  line-height: 1.7;
}

.shop-tools {
  display: grid;
  gap: 12px;
}

.shop-search {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid rgba(243, 206, 117, 0.22);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fbf8f1;
  padding: 0 14px;
  font: 600 14px/1 var(--font-body);
}

.shop-search::placeholder {
  color: rgba(243, 206, 117, 0.46);
}

.shop-count {
  color: rgba(243, 206, 117, 0.64);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shop-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.shop-filter {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(243, 206, 117, 0.24);
  border-radius: 999px;
  background: transparent;
  color: rgba(243, 206, 117, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.shop-filter.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #1a0838;
}

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

.shop-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(243, 206, 117, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.shop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 206, 117, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.shop-img {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #fbf8f1;
}

.shop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.shop-placeholder {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(243, 206, 117, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(243, 206, 117, 0.54);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.shop-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(243, 206, 117, 0.94);
  color: #1a0838;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-card-body {
  padding: 15px;
  display: grid;
  gap: 10px;
}

.shop-card h2 {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.08;
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: rgba(243, 206, 117, 0.66);
  font-size: 12px;
}

.shop-card-action,
.shop-wa {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.shop-card-action {
  margin-top: 2px;
  border: 1px solid rgba(243, 206, 117, 0.3);
  color: var(--gold);
}

.shop-state {
  padding: 44px 0 90px;
  color: rgba(243, 206, 117, 0.76);
}

.shop-state-card {
  padding: 30px;
  border: 1px solid rgba(243, 206, 117, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.shop-state-card h2 {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
}

.shop-state-card p {
  margin: 0;
  line-height: 1.7;
}

.shop-detail {
  padding: 46px 0 90px;
}

.shop-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(243, 206, 117, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: start;
}

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

.shop-main-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(243, 206, 117, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: #fbf8f1;
}

.shop-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.shop-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(243, 206, 117, 0.18);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.shop-thumb.is-active {
  border-color: var(--gold);
}

.shop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-detail-copy {
  padding-top: 8px;
}

.shop-detail-title {
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.96;
}

.shop-detail-meta {
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-pill {
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(243, 206, 117, 0.24);
  border-radius: 999px;
  color: rgba(243, 206, 117, 0.78);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.shop-story {
  color: rgba(251, 248, 241, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.shop-wa {
  width: 100%;
  margin-top: 28px;
  border: 0;
  background: linear-gradient(90deg, #cc9c56, #f3ce75, #cc9c56);
  color: #1a0838;
  text-decoration: none;
}

@media (max-width: 980px) {
  .shop-head,
  .shop-detail-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .shop-nav-inner,
  .shop-head,
  .shop-catalog,
  .shop-detail,
  .shop-state {
    width: min(100% - 28px, 1180px);
  }

  .shop-nav-inner {
    height: 64px;
    align-items: flex-start;
    padding-top: 18px;
  }

  .shop-links {
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 10px;
  }

  .shop-head {
    padding-top: 38px;
  }

  .shop-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .shop-filter {
    flex: 0 0 auto;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-bottom: 64px;
  }

  .shop-card-body {
    padding: 10px;
    gap: 8px;
  }

  .shop-card h2 {
    font-size: 18px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .shop-meta {
    gap: 5px 7px;
    font-size: 10px;
  }

  .shop-card-action {
    min-height: 34px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .shop-badge {
    top: 8px;
    right: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 6px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .shop-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
