/* Shop interface redesign */

:root {
  --shop-sidebar: 280px;
  --shop-header: 82px;
  --shop-bg: #fff8fb;
  --shop-panel: rgba(255, 255, 255, 0.82);
  --shop-line: rgba(42, 18, 64, 0.1);
}

body.shop-interface {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 108, 168, 0.20), transparent 24rem),
    radial-gradient(circle at 12% 72%, rgba(143, 76, 255, 0.14), transparent 28rem),
    var(--shop-bg);
}

.shop-shell {
  min-height: 100vh;
}

.shop-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: var(--shop-sidebar);
  padding: 28px 22px;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(255, 108, 168, 0.34), transparent 20rem),
    linear-gradient(180deg, #251238, #100817);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
}

.shop-sidebar .brand {
  color: var(--white);
  margin-bottom: 34px;
}

.shop-sidebar .brand small,
.shop-sidebar p {
  color: rgba(255, 255, 255, 0.68);
}

.sidebar-title {
  margin: 20px 0 10px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-nav,
.sidebar-legal {
  display: grid;
  gap: 10px;
}

.sidebar-nav a,
.sidebar-legal a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  font-weight: 900;
}

.sidebar-nav a:hover,
.sidebar-legal a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.sidebar-nav a.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 34px rgba(143, 76, 255, 0.24);
}

.sidebar-dot {
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.86;
}

.sidebar-cta {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
}

.sidebar-cta strong {
  display: block;
}

.sidebar-cta span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.shop-main {
  margin-left: var(--shop-sidebar);
  min-height: 100vh;
}

.shop-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--shop-header);
  padding: 0 34px;
  background: rgba(255, 248, 251, 0.78);
  border-bottom: 1px solid var(--shop-line);
  backdrop-filter: blur(18px);
}

.mobile-brand {
  display: none;
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-actions a {
  padding: 10px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--shop-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
}

.account-actions a.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
}

.shop-content {
  padding: 34px;
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.hero-panel,
.slideshow-panel,
.shop-card,
.compact-footer {
  background: var(--shop-panel);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(42, 18, 64, 0.09);
  backdrop-filter: blur(18px);
}

.hero-panel {
  display: grid;
  align-content: center;
  padding: clamp(28px, 4vw, 54px);
}

.hero-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.slideshow-panel {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}

.shop-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 650ms ease, transform 900ms ease, visibility 650ms ease;
}

.shop-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.shop-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(16, 8, 23, 0.78));
}

.slide-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  color: var(--white);
}

.slide-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.06em;
}

.slide-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.slide-indicators {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.slide-indicators button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.slide-indicators button.is-active {
  width: 34px;
  background: var(--white);
  border-radius: 999px;
}

.shop-section {
  margin-top: 34px;
}

.shop-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.shop-section-heading h2 {
  margin: 0;
}

.shop-section-heading p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

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

.shop-card {
  display: grid;
  overflow: hidden;
}

.shop-card img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
}

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

.shop-card-body p {
  margin: 0;
  color: var(--muted);
}

.compact-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding: 18px 20px;
  color: var(--muted);
}

.compact-footer a {
  color: var(--text);
  font-weight: 900;
}

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

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

@media (max-width: 860px) {
  :root {
    --shop-sidebar: 0px;
  }

  .shop-sidebar {
    display: none;
  }

  .shop-main {
    margin-left: 0;
  }

  .mobile-brand {
    display: flex;
  }

  .shop-topbar {
    height: auto;
    min-height: 74px;
    padding: 14px 16px;
  }

  .account-actions a:not(.primary) {
    display: none;
  }

  .shop-content {
    padding: 18px;
  }

  .slideshow-panel {
    min-height: 470px;
  }

  .shop-grid-4,
  .shop-section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }
}
