:root {
  --storefront-ink: #193340;
  --storefront-accent: #006a71;
}

body { background: #fbfcfd; }

.storefront-hero {
  margin: 16px 0 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.storefront-hero .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 36px);
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid #d5ebec;
  border-radius: 22px;
  background: linear-gradient(115deg, #fff4e7, #e9f8f8 65%);
  text-align: start;
}

.storefront-hero .storefront-kicker {
  margin: 0 0 6px;
  color: var(--storefront-accent);
  font-size: .85rem;
  font-weight: 800;
}

.storefront-hero h1 {
  color: var(--storefront-ink);
  font-size: clamp(1.45rem, 3.2vw, 3rem);
  line-height: 1.2;
}

.storefront-hero .storefront-intro {
  margin: 8px 0 12px;
  color: #38505b;
  line-height: 1.6;
}

.storefront-art {
  display: flex;
  flex: 0 1 36%;
  justify-content: flex-end;
}

.storefront-art img {
  width: min(100%, 144px);
  aspect-ratio: 1;
  object-fit: contain;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 16px #19334018;
}

.storefront-button,
.more-products__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--storefront-accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.storefront-button:hover,
.more-products__btn:hover { background: #00565c; }

.storefront-button:focus-visible,
.more-products__btn:focus-visible {
  outline: 3px solid var(--storefront-accent);
  outline-offset: 3px;
}

main .head.head-divider {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  margin: 16px 0 10px;
  padding: 10px 12px;
  border: 1px solid #e8e0f4;
  border-radius: 16px;
  background: #f0eafa;
}

main .head.head-divider::before { display: none; }

main .head.head-divider h2 {
  margin: 0;
  padding: 0;
  background: none;
  color: var(--storefront-ink);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
}

.more-products {
  margin: 24px 0 36px;
  text-align: center;
}

@media (max-width: 500px) {
  .storefront-art { flex-basis: 30%; }
  .storefront-art img { width: 100%; }
}

@media (min-width: 1024px) {
  #arrivals {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.storefront-tabs { display: none; }

@media (max-width: 680px) {
  body:has(.storefront-tabs) {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  .storefront-hero { margin-top: 12px; }

  .storefront-hero .inner {
    border-radius: 24px;
    padding: 15px;
  }

  .storefront-hero .storefront-intro { font-size: .9rem; }

  #arrivals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    scroll-margin-top: 80px;
  }

  .storefront-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    z-index: 990;
    inset: auto 0 0;
    padding: 5px 12px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid #dce6ea;
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(18px);
  }

  .storefront-tabs a {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    min-height: 52px;
    color: #52616b;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
  }

  .storefront-tabs a[aria-current] { color: var(--storefront-accent); }

  .storefront-tabs svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* Home page palette and product shelf */
:root {
  --storefront-ink: #261c40;
  --storefront-accent: #5533a0;
}

body { background: #f8f6fc; }

.storefront-hero .inner {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #30204f;
  border: 0;
  border-radius: 28px;
}

.storefront-hero .inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 12% 28%, #6949a3 0, transparent 52%);
}

.storefront-hero h1 { color: #fff; }
.storefront-hero .storefront-kicker { color: #ffcc95; }
.storefront-hero .storefront-intro { color: #ede4ff; }
.storefront-hero .storefront-button { color: #30204f; background: #ffcf9e; }
.storefront-hero .storefront-button:hover { background: #ffe0be; }
.storefront-hero .storefront-button:focus-visible { outline-color: white; }

.storefront-art { justify-content: center; }
.storefront-art img {
  padding: 6px;
  border-radius: 28%;
  transform: rotate(-7deg);
  box-shadow: 0 10px 0 #ffffff29, 0 18px 36px #140a29a0;
}

.storefront-section-label {
  margin: 0 0 3px;
  color: var(--storefront-accent);
  font-size: .74rem;
  font-weight: 800;
}

:is(#arrivals, #page-products #grid) .card {
  min-width: 0;
  padding: 7px;
  border: 1px solid #e8e0f4;
  border-radius: 22px;
  background: white;
  box-shadow: 0 5px 15px #30204f0d;
}

:is(#arrivals, #page-products #grid) .card .card-media {
  aspect-ratio: 5 / 4;
  border: 0;
  border-radius: 16px;
  background: #f4f0fb;
}

:is(#arrivals, #page-products #grid) .card .card-media img {
  object-fit: contain;
  padding: 5px;
  mix-blend-mode: multiply;
}

:is(#arrivals, #page-products #grid) .card .card-body { padding: 9px 4px; }
:is(#arrivals, #page-products #grid) .card .card-title { color: var(--storefront-ink); }
:is(#arrivals, #page-products #grid) .card .price-now { color: var(--storefront-accent); }

:is(#arrivals, #page-products #grid) .card .btn.primary {
  min-height: 44px;
  border-color: #e9e0fc;
  border-radius: 13px;
  background: #eee7ff;
  color: #422584;
  box-shadow: none;
}

:is(#arrivals, #page-products #grid) .card .btn.primary:hover { background: #e1d4fb; }

.more-products__btn { background: var(--storefront-accent); }
.more-products__btn:hover { background: #432481; }

.footer {
  background: #eee9f8;
  border-color: #e3d9f0;
}

@media (max-width: 680px) {
  .storefront-hero .inner { padding: 18px; }
  .storefront-art { flex: 0 0 25%; }

  .storefront-tabs {
    border-color: #e8e0f4;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -5px 24px #30204f14;
  }

  .storefront-tabs a[aria-current] {
    border-radius: 16px;
    background: #f0e9fc;
  }

  :is(#arrivals, #page-products #grid) .card .card-title {
    font-size: .85rem;
    line-height: 1.45;
  }
}
