:root {
  --brand: #db3f87;
  --brand-dark: #9f2359;
  --ink: #15111a;
  --muted: #62576a;
  --line: #ead2dc;
  --soft: #fff6f9;
  --soft-purple: #f7edf6;
  --paper: #ffffff;
  --shadow: 0 18px 46px rgba(126, 34, 92, 0.1);
  --accent: #b8792f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(219, 63, 135, 0.1), transparent 32rem),
    linear-gradient(180deg, #fffafc 0%, #ffffff 52%, #fff7fb 100%);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(243, 195, 219, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.top-strip,
.header-main,
.hero,
.feature-row,
.section-band,
.promo-panel,
.best-sellers,
.plain-page,
.product-detail,
.trust-proof,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 34px;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.basket-link {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  color: var(--brand-dark);
  box-shadow: 0 10px 28px rgba(126, 34, 92, 0.1);
}

.basket-link img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 8px 14px rgba(244, 114, 182, 0.2));
}

.basket-link span {
  position: absolute;
  right: -4px;
  top: -5px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 247, 237, 0.72);
  background: var(--brand);
  color: #fff7ed;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
}

.header-main {
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr) minmax(170px, 260px) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #a855f7);
  color: white;
  font-weight: 900;
}

.brand-logo {
  width: 58px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(244, 114, 182, 0.24));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.16rem;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  justify-self: center;
  max-width: 100%;
  border: 1px solid rgba(243, 195, 219, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  padding: 5px;
  color: #3f3348;
  font-size: 0.82rem;
  font-weight: 850;
}

.main-nav a {
  display: grid;
  min-width: 54px;
  min-height: 42px;
  place-items: center;
  border-radius: 999px;
  padding: 7px 9px;
  text-align: center;
  line-height: 1.04;
  white-space: normal;
}

.main-nav a:hover {
  background: rgba(236, 72, 153, 0.1);
  color: var(--brand-dark);
}

.site-search {
  display: flex;
  align-items: center;
  justify-self: end;
  width: 100%;
  min-width: 0;
}

.site-search label {
  display: block;
  width: 100%;
}

.site-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 9px 46px 9px 16px;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(126, 34, 92, 0.06);
}

.site-search button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  margin-left: -40px;
  background: var(--brand);
  color: white;
  cursor: pointer;
  font-size: 0;
}

.site-search button::before {
  content: "Go";
  font-size: 0.72rem;
  font-weight: 900;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 10px 16px;
  color: var(--brand-dark);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
  padding: 52px 0 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.plain-page h1,
.product-detail h1 {
  margin: 0;
  color: #130d18;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  line-height: 1.03;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  line-height: 1.04;
}

.hero p,
.page-hero p,
.plain-page p,
.detail-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button,
.product-actions button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 900;
}

.primary,
.product-actions button {
  background: var(--brand);
  color: white;
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.24);
}

.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--brand-dark);
}

.wide {
  width: 100%;
}

.hero-media {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
  box-shadow: 0 14px 36px rgba(126, 34, 92, 0.1);
}

.hero-media img,
.detail-image img,
.product-image img {
  width: 100%;
  object-fit: cover;
}

.product-gallery {
  position: relative;
}

.product-gallery img {
  opacity: 0;
  transition: opacity 650ms ease;
}

.product-gallery img.is-active {
  opacity: 1;
}

.product-gallery img + img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-media img {
  aspect-ratio: 1.08;
  border-radius: 22px;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}

.category-tile {
  position: relative;
  display: grid;
  min-height: 185px;
  overflow: hidden;
  border: 1px solid rgba(243, 195, 219, 0.78);
  border-radius: 18px;
  background: var(--soft);
  isolation: isolate;
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 220ms ease;
}

.category-tile-transition {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  background: var(--soft);
  opacity: 1;
  pointer-events: none;
  transition: opacity 720ms ease;
}

.category-tile-transition.is-fading {
  opacity: 0;
}

.category-tile-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 22%, rgba(20, 10, 14, 0.16) 48%, rgba(20, 10, 14, 0.82) 100%);
}

.category-tile-transition img {
  position: absolute;
  inset: 0;
}

.category-tile-transition span {
  z-index: 2;
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 185px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 22%, rgba(20, 10, 14, 0.16) 48%, rgba(20, 10, 14, 0.82) 100%);
}

.category-tile span {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 2;
  display: grid;
  gap: 3px;
  color: white;
}

.category-tile small {
  color: #ffcf96;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-tile strong {
  color: #fff7ed;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.05;
}

.category-tile em {
  color: rgba(255, 247, 237, 0.84);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.category-tile:hover img {
  transform: scale(1.04);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

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

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

.shop-category-card {
  display: grid;
  grid-template-rows: 145px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(126, 34, 92, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.shop-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(126, 34, 92, 0.12);
}

.shop-category-image {
  display: block;
  background: var(--soft);
}

.shop-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.shop-category-copy {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12px;
}

.shop-category-copy small {
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-category-copy strong {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.05;
}

.shop-category-copy em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.45;
}

.subcategory-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  padding: 12px;
  box-shadow: 0 10px 30px rgba(126, 34, 92, 0.08);
}

.subcategory-image {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #f6eee8;
}

.subcategory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subcategory-copy {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 4px 4px 8px;
}

.subcategory-card small {
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subcategory-card h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
}

.subcategory-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-row {
  padding: 26px 0 42px;
}

.occasion-band {
  padding-bottom: 18px;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.occasion-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(126, 34, 92, 0.07);
}

.occasion-card img {
  width: 100%;
  height: 100%;
  background: var(--soft);
  object-fit: contain;
  padding: 4px;
  transition: transform 180ms ease;
}

.occasion-card span {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 14px;
  color: var(--ink);
}

.occasion-card strong {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.05;
}

.occasion-card small {
  color: var(--muted);
  line-height: 1.3;
}

.occasion-card em {
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.occasion-card:hover img {
  transform: scale(1.04);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.showcase-card {
  display: grid;
  grid-template-rows: 170px 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(126, 34, 92, 0.07);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  background: var(--soft);
  object-fit: contain;
  padding: 4px;
  transition: transform 200ms ease;
}

.showcase-card span {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 14px;
  color: var(--ink);
}

.showcase-card small {
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card strong {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.05;
}

.showcase-card em {
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 950;
}

.showcase-card:hover img {
  transform: scale(1.035);
}

.how-it-works,
.testimonial-band,
.maker-note {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 12px 0 34px;
}

.how-it-works div,
.testimonial-band blockquote,
.maker-note {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(126, 34, 92, 0.07);
}

.how-it-works div {
  padding: 18px;
}

.how-it-works span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 950;
}

.how-it-works strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.04rem;
}

.how-it-works p,
.testimonial-band p,
.maker-note p {
  color: var(--muted);
  line-height: 1.55;
}

.testimonial-band {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, 1fr);
  gap: 14px;
  padding: 10px 0 34px;
}

.testimonial-band > div,
.testimonial-band blockquote {
  margin: 0;
  padding: 20px;
}

.testimonial-band h2,
.maker-note h2,
.product-story-grid h2,
.product-long-copy h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
}

.testimonial-band cite {
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 900;
}

.maker-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block: 24px 58px;
  padding: 28px;
}

.maker-note div {
  max-width: 740px;
}

.trust-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 0 22px;
}

.trust-proof div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(126, 34, 92, 0.07);
}

.trust-proof strong,
.trust-proof span {
  display: block;
}

.trust-proof strong {
  color: var(--brand-dark);
  font-weight: 950;
}

.trust-proof span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.seo-content {
  display: grid;
  gap: 14px;
}

.seo-content p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.seo-content a {
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-row article,
.product-card,
.promo-panel,
.best-sellers,
.cart-summary,
.cart-line,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(126, 34, 92, 0.08);
}

.feature-row article {
  padding: 24px;
}

.feature-row h2,
.section-heading h2,
.promo-panel h2,
.best-sellers h2,
.product-card h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
}

.section-band {
  padding: 44px 0;
}

.category-hero + .section-band {
  padding-top: 24px;
}

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

.section-heading p {
  max-width: 520px;
  color: var(--muted);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(126, 34, 92, 0.06);
}

.shop-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 180px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-toolbar select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 8px 38px 8px 13px;
  color: var(--ink);
  font-weight: 800;
}

.shop-toolbar p {
  margin: 0 0 10px auto;
  color: var(--muted);
  font-weight: 800;
}

.product-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(126, 34, 92, 0.07);
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 1.5;
  background: var(--soft);
}

.product-image img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 2px;
}

.product-image span {
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--brand-dark);
  color: white;
  padding: 4px 8px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
}

.product-body {
  display: grid;
  grid-template-rows: auto minmax(66px, 1fr) auto auto;
  gap: 8px;
  padding: 14px;
}

.category-label {
  margin: 0;
  color: var(--brand-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-body h3 {
  font-size: 1.02rem;
  line-height: 1.14;
}

.product-body p:not(.category-label) {
  min-height: 62px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.product-actions {
  justify-content: space-between;
}

.product-card .product-actions {
  align-items: stretch;
  flex-direction: column;
  justify-content: end;
  gap: 10px;
  margin-top: 2px;
  text-align: center;
}

.product-card .product-actions .button,
.product-card .product-actions button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  padding-inline: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-actions strong,
.price {
  color: #120d16;
  font-size: 1.22rem;
  font-weight: 950;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  min-height: 24px;
}

.product-badges span {
  border: 1px solid rgba(219, 63, 135, 0.16);
  border-radius: 999px;
  background: #fff7fb;
  padding: 4px 7px;
  color: var(--brand-dark);
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
}

.promo-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block: 24px;
  padding: 32px;
  background: linear-gradient(135deg, #fff, #fff1f7 55%, #f3e8ff);
}

.best-sellers {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  margin-block: 36px 64px;
  padding: 30px;
}

.best-sellers ol {
  margin: 0;
  padding-left: 22px;
}

.best-sellers li {
  padding: 10px 0;
}

.best-sellers strong {
  float: right;
}

.page-hero {
  padding: 20px 0 16px;
}

.plain-page,
.product-detail {
  padding: 42px 0 56px;
}

.page-hero.compact {
  width: min(900px, calc(100% - 32px));
  margin-inline: auto;
  text-align: center;
}

.category-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 280px);
  align-items: center;
  gap: 8px;
  text-align: left;
  overflow: hidden;
  width: min(1180px, calc(100% - 32px));
  min-height: clamp(145px, 24vh, 220px);
  align-content: center;
  margin-top: 18px;
  padding: 20px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 22%, rgba(236, 72, 153, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 247, 0.84));
  box-shadow: 0 18px 46px rgba(126, 34, 92, 0.12);
}

.category-hero::before,
.category-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.category-hero::before {
  inset: 13px 20px auto auto;
  width: 132px;
  height: 58px;
  border-top: 2px solid rgba(236, 72, 153, 0.28);
  border-radius: 50%;
  transform: rotate(5deg);
}

.category-hero::after {
  inset: auto auto -42px -34px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(236, 72, 153, 0.16);
  border-radius: 50%;
}

.category-hero-copy {
  position: relative;
  z-index: 1;
}

.category-hero-image {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(236, 72, 153, 0.16);
  border-radius: 18px;
  background: white;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(126, 34, 92, 0.12);
}

.category-hero .eyebrow {
  margin-bottom: 8px;
}

.category-hero h1 {
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
  line-height: 1.05;
}

.category-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 7px 0 0;
  line-height: 1.45;
  font-size: 0.98rem;
}

.category-hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
}

.category-hero-meta span {
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 6px 11px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-branch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.category-branch-list span {
  border: 1px solid rgba(236, 72, 153, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 5px 9px;
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

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

.shop-hero .category-hero-meta {
  justify-content: center;
}

.shop-hero p:not(.eyebrow) {
  margin-inline: auto;
}

.category-hero-mark {
  position: absolute;
  inset: 18px auto auto 22px;
  width: 78px;
  height: 52px;
  opacity: 0.8;
}

.category-hero-mark span {
  position: absolute;
  display: block;
  background: currentColor;
  color: var(--brand);
  clip-path: polygon(50% 0, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%);
}

.category-hero-mark span:nth-child(1) {
  width: 24px;
  height: 24px;
  left: 0;
  top: 0;
}

.category-hero-mark span:nth-child(2) {
  width: 12px;
  height: 12px;
  left: 48px;
  top: 12px;
  color: var(--brand-dark);
}

.category-hero-mark span:nth-child(3) {
  width: 16px;
  height: 16px;
  left: 26px;
  top: 34px;
  color: var(--brand-dark);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 34px;
}

.detail-copy {
  display: grid;
  gap: 14px;
}

.detail-copy > p,
.detail-copy .lead,
.breadcrumb,
.price {
  margin: 0;
}

.detail-image {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--soft);
  padding: 12px;
}

.product-media-panel {
  position: sticky;
  top: 124px;
  align-self: start;
}

.product-detail h1 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  line-height: 1.04;
}

.product-detail .lead {
  max-width: 760px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.product-long-copy {
  max-width: 780px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  margin: 2px 0 0;
  padding: 18px;
  font-size: 0.98rem;
  line-height: 1.7;
  box-shadow: 0 10px 26px rgba(126, 34, 92, 0.06);
}

.product-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-story-grid section {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(126, 34, 92, 0.06);
}

.product-story-grid p:not(.eyebrow),
.product-long-copy p:not(.eyebrow) {
  margin-bottom: 0;
}

.breadcrumb {
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.product-detail .price {
  width: max-content;
  border-radius: 999px;
  background: #fff7fb;
  padding: 6px 13px;
  color: var(--brand-dark);
  font-size: 1.28rem;
}

.detail-image img {
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: contain;
}

.detail-image.product-gallery {
  aspect-ratio: 1;
  max-height: min(68vh, 640px);
}

.detail-image.product-gallery img {
  height: 100%;
}

.breadcrumb {
  color: var(--brand-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.lead {
  font-size: 1.1rem;
}

.field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 12px 14px;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #f6d9e8;
  padding-bottom: 10px;
}

.spec-list dt {
  color: var(--muted);
  font-weight: 800;
}

.plain-page {
  max-width: 860px;
  min-height: 48vh;
}

.checkout-page {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding: 42px 0 56px;
}

.checkout-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.checkout-heading h1 {
  margin: 0;
  color: #130d18;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.04;
}

.checkout-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(126, 34, 92, 0.08);
}

.compact-heading {
  margin-bottom: 16px;
}

.checkout-items {
  display: grid;
  gap: 12px;
}

.checkout-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}

.checkout-item img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #f6eee8;
  object-fit: cover;
}

.checkout-item h3,
.checkout-item p {
  margin: 0;
}

.checkout-item h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
}

.checkout-item p {
  color: var(--muted);
}

.customer-form {
  display: grid;
  gap: 14px;
}

.checkout-choice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border: 0;
  margin: 0;
  padding: 0;
}

.checkout-choice label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
}

.checkout-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.checkout-choice strong,
.checkout-choice small {
  display: block;
}

.checkout-choice small,
.form-note {
  color: var(--muted);
}

.address-fields {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.address-fields.is-required {
  border-top-color: rgba(255, 122, 184, 0.45);
}

.form-note,
.form-error,
.form-success {
  margin: 0;
  border-radius: 14px;
  padding: 12px 14px;
}

.form-note {
  background: rgba(255, 247, 237, 0.06);
}

.form-error {
  background: rgba(127, 29, 29, 0.55);
  color: #fecaca;
  font-weight: 800;
}

.form-success {
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form .field {
  margin: 0;
}

.basket-page {
  max-width: 980px;
}

.delivery-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-top: 22px;
  padding: 22px;
}

.discount-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  padding: 22px;
  box-shadow: 0 12px 30px rgba(126, 34, 92, 0.08);
}

.discount-panel h2,
.discount-panel p,
.discount-form .field {
  margin: 0;
}

.discount-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.discount-form [data-discount-status] {
  grid-column: 1 / -1;
}

@media (max-width: 620px) {
  .discount-panel,
  .discount-form {
    grid-template-columns: 1fr;
  }

  .discount-form [data-discount-status] {
    grid-column: auto;
  }
}

.delivery-panel h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  color: var(--ink);
}

.delivery-panel p {
  margin-bottom: 0;
}

.delivery-options {
  display: grid;
  gap: 12px;
}

.delivery-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
}

.delivery-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.delivery-options strong,
.delivery-options small {
  display: block;
}

.delivery-options small {
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 18px;
}

.cart-line-image {
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f6eee8;
  object-fit: cover;
}

.cart-line h2 {
  margin: 0;
  font-size: 1.05rem;
}

.cart-line-detail p {
  margin: 5px 0 0;
}

.cart-line-quantity {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.personalisation-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  margin: 22px 0;
  padding: 20px;
}

.personalisation-panel.has-errors {
  border-color: #dc2626;
  background: #fff7f7;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.field.is-invalid > span {
  color: #b91c1c;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #dc2626;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.purchase-box {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(219, 63, 135, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(126, 34, 92, 0.12);
}

.purchase-box .personalisation-panel {
  border-radius: 16px;
  margin: 12px 0;
  padding: 16px;
  box-shadow: none;
}

.purchase-box .personalisation-panel h2 {
  font-size: 1.12rem;
}

.personalisation-panel h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
}

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

.personalisation-summary {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.personalisation-summary li {
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  gap: 8px;
}

.personalisation-summary span {
  font-weight: 800;
}

.personalisation-summary strong {
  color: var(--ink);
  font-weight: 900;
}

.quantity-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.quantity-controls button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 8px 12px;
  cursor: pointer;
}

.cart-summary,
.checkout-total {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
}

.summary-lines {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 18px;
  width: 100%;
}

.summary-lines span {
  color: var(--muted);
  font-weight: 800;
}

.summary-lines strong:last-child {
  font-size: 1.65rem;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: white;
  padding: 22px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  color: var(--muted);
}

.site-footer h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.social-link,
.inline-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link img,
.inline-social-link img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.admin-entry-link {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 40;
  border: 1px solid rgba(219, 63, 135, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(126, 34, 92, 0.08);
  backdrop-filter: blur(10px);
}

.admin-entry-link:hover {
  color: var(--brand-dark);
  background: white;
}

code {
  border-radius: 8px;
  background: #f7e8f0;
  padding: 2px 6px;
}

.trust-panel,
.trust-strip {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(126, 34, 92, 0.08);
}

.trust-panel {
  margin: 18px 0;
  padding: 22px;
}

.trust-panel h2 {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
}

.trust-strip div {
  display: grid;
  align-content: start;
  gap: 7px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.trust-strip strong {
  color: var(--brand-dark);
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumbnails button {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: white;
  padding: 4px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(126, 34, 92, 0.09);
}

.gallery-thumbnails button.is-active {
  border-color: var(--brand);
}

.gallery-thumbnails img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
}

/* Catalogue cards need a neutral frame for square, wide and tall uploads. */
.product-card .product-image {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-card .product-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}
.category-product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.process-list,
.care-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cart-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(430px, calc(100% - 36px));
  border: 1px solid rgba(219, 63, 135, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px;
  box-shadow: 0 22px 60px rgba(126, 34, 92, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cart-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-toast img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--soft);
  object-fit: contain;
}

.cart-toast strong,
.cart-toast small {
  display: block;
}

.cart-toast strong {
  color: var(--ink);
}

.cart-toast small {
  color: var(--muted);
  line-height: 1.25;
}

.cart-toast a {
  border-radius: 999px;
  background: var(--brand);
  padding: 9px 12px;
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav {
    display: none;
    position: absolute;
    inset: 100% 16px auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    justify-self: stretch;
    gap: 4px;
    max-width: none;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .site-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .main-nav a {
    min-height: 0;
    justify-items: start;
    padding: 11px 12px;
    text-align: left;
  }

  .main-nav.is-open {
    display: flex;
  }

  .header-main {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .header-actions {
    justify-self: end;
  }

  .hero,
  .product-detail,
  .best-sellers,
  .delivery-panel,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .detail-image,
  .product-media-panel {
    position: static;
  }

  .feature-row,
  .product-grid,
  .subcategory-grid,
  .shop-category-grid,
  .occasion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid,
  .testimonial-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-story-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .how-it-works {
    grid-template-columns: repeat(2, 1fr);
  }

  .maker-note {
    align-items: stretch;
    flex-direction: column;
  }

.trust-proof {
  grid-template-columns: 1fr;
}

.purchase-box {
  position: static;
}

  .shop-toolbar p {
    width: 100%;
    margin: 0;
  }

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

  .section-heading,
  .promo-panel,
  .site-footer,
  .cart-line {
    align-items: stretch;
    grid-template-columns: 76px 1fr;
  }

  .cart-line .quantity-controls {
    grid-column: 1 / -1;
  }

  .checkout-choice {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .category-hero {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .top-strip {
    justify-content: center;
    min-height: 28px;
    font-size: 0.72rem;
  }

  .top-strip span + span {
    display: none;
  }

  .header-main {
    padding: 10px 0 12px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-logo {
    width: 50px;
    height: 48px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .basket-link {
    width: 40px;
    height: 40px;
  }

  .basket-link img {
    width: 30px;
    height: 30px;
  }

  .hero {
    padding-top: 42px;
  }

  .feature-row,
  .product-grid,
  .subcategory-grid,
  .shop-category-grid,
  .occasion-grid,
  .category-showcase,
  .personalisation-grid,
  .how-it-works {
    grid-template-columns: 1fr;
  }

  .shop-toolbar,
  .shop-toolbar label {
    display: grid;
    width: 100%;
    min-width: 0;
  }

  .occasion-card {
    min-height: 170px;
  }

  .showcase-grid,
  .testimonial-band,
  .product-story-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    min-height: 260px;
  }

  .cart-toast {
    grid-template-columns: 48px 1fr;
  }

  .cart-toast a {
    grid-column: 1 / -1;
    text-align: center;
  }

  .product-body {
    grid-template-rows: auto auto auto auto;
  }

  .category-tile,
  .category-tile img {
    min-height: 180px;
  }

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

  .category-hero-image {
    grid-row: auto;
    grid-column: 1;
    max-height: 220px;
  }

  .hero h1,
  .page-hero h1,
  .plain-page h1,
  .checkout-heading h1 {
    font-size: 1.95rem;
    line-height: 1.08;
  }

  .product-detail h1 {
    font-size: 1.75rem;
    line-height: 1.08;
  }

  .checkout-item {
    grid-template-columns: 64px 1fr;
  }

  .checkout-item > strong {
    grid-column: 1 / -1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Final catalogue sizing overrides (kept after responsive legacy rules). */
.product-card .product-image { width: 100%; min-height: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.product-card .product-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}
.category-product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) {
  .category-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Keep product media in the document flow on tablets and phones. */
  .product-media-panel {
    position: static;
    top: auto;
    align-self: stretch;
  }
}

/* Premium interaction and navigation pass */
.category-rail {
  min-width: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-rail::-webkit-scrollbar { display: none; }
.category-rail a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 13px;
  color: #54404e;
  font-size: .76rem;
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.category-rail a:hover { color: var(--brand-dark); background: var(--soft); transform: translateY(-1px); }
.category-rail span { color: var(--brand); font-size: .95rem; }

.button, .product-card, .showcase-card, .occasion-card, .category-tile { transition: transform 220ms ease, box-shadow 220ms ease; }
.button:hover { transform: translateY(-2px); }
.primary:hover { box-shadow: 0 17px 32px rgba(219, 63, 135, .3); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(126, 34, 92, .14); }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-card .product-image img { transition: transform 260ms ease, opacity 650ms ease; }
.section-heading h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), #f6a43b);
}

.gallery-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(28,15,23,.82);
  color: white;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 850;
  backdrop-filter: blur(10px);
}
.product-media-panel { position: sticky; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  border: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  background: rgba(20,10,17,.91);
  padding: clamp(16px, 4vw, 50px);
}
.image-lightbox[open] { display: grid; }
.image-lightbox::backdrop { background: transparent; }
.image-lightbox img { width: 100%; height: 100%; object-fit: contain; }
.image-lightbox button { position: fixed; top: 18px; right: 20px; border: 0; border-radius: 50%; width: 44px; height: 44px; background: white; color: var(--ink); cursor: pointer; font-size: 1.45rem; }

.recently-viewed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.recent-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 28px rgba(126,34,92,.08); }
.recent-card img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6px; background: var(--soft); }
.recent-card span { display: grid; gap: 6px; padding: 14px; }
.recent-card strong { font-family: "Fraunces", Georgia, serif; line-height: 1.12; }
.recent-card em { color: var(--brand-dark); font-style: normal; font-weight: 900; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .category-rail { justify-content: flex-start; padding-bottom: 2px; }
  .recently-viewed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .category-navigation { width: calc(100% - 20px); margin-bottom: 7px; }
  .category-rail a { padding: 7px 10px; font-size: .7rem; }
  .gallery-zoom span { display: none; }
  .gallery-zoom { width: 42px; height: 42px; justify-content: center; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal], .button, .product-card, .product-card .product-image img { transition: none; transform: none; }
}

/* Warm dark theme disabled
:root {
  --brand: #ff7ab8;
  --brand-dark: #ffb86b;
  --ink: #fff7ed;
  --muted: #e5caba;
  --line: rgba(255, 207, 150, 0.24);
  --soft: #25131a;
  --soft-purple: #2c1830;
  --paper: #180f13;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 122, 184, 0.24), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(255, 184, 107, 0.18), transparent 26rem),
    linear-gradient(180deg, #13090d 0%, #211117 46%, #10080b 100%);
}

.site-header {
  border-bottom-color: rgba(251, 191, 36, 0.16);
  background:
    linear-gradient(180deg, rgba(34, 18, 24, 0.94), rgba(18, 10, 14, 0.9));
}

.brand-mark {
  background: linear-gradient(135deg, #f472b6, #f59e0b);
  color: #160b10;
}

.brand small,
.top-strip,
.hero p,
.page-hero p,
.plain-page p,
.detail-copy p,
.section-heading p,
.product-body p:not(.category-label),
.site-footer,
.current-image {
  color: var(--muted);
}

.current-images {
  display: grid;
  gap: 10px;
  margin: 12px 0 20px;
}

.current-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
}

.current-image-grid img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f6eee8;
  object-fit: cover;
}

.main-nav {
  border-color: rgba(255, 207, 150, 0.18);
  background: rgba(255, 247, 237, 0.045);
  color: #f9d4c2;
}

.main-nav a:hover,
.basket-link,
.category-label,
.eyebrow,
.admin-header a {
  color: #ffcf96;
}

.main-nav a:hover {
  background: rgba(255, 122, 184, 0.11);
}

.basket-link {
  border-color: rgba(255, 207, 150, 0.2);
  background: rgba(255, 247, 237, 0.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.basket-link span {
  border-color: rgba(24, 12, 16, 0.9);
  background: linear-gradient(135deg, #ff7ab8, #ffb86b);
  color: #170c10;
}

.hero h1,
.page-hero h1,
.plain-page h1,
.product-detail h1,
.checkout-heading h1,
.section-heading h2,
.promo-panel h2,
.best-sellers h2,
.checkout-item h3,
.product-card h3,
.feature-row h2,
.site-footer h2,
.admin-title h1,
.login-panel h1 {
  color: #fff3df;
  text-shadow: 0 12px 44px rgba(255, 122, 184, 0.14);
}

.hero-media,
.feature-row article,
.product-card,
.promo-panel,
.best-sellers,
.cart-summary,
.cart-line,
.admin-panel,
.detail-image,
.delivery-panel,
.checkout-panel,
.checkout-item,
.personalisation-panel,
.subcategory-card {
  border-color: rgba(251, 191, 36, 0.18);
  background: linear-gradient(180deg, rgba(42, 24, 30, 0.94), rgba(24, 14, 18, 0.96));
  box-shadow: var(--shadow);
}

.category-hero {
  border-color: rgba(255, 207, 150, 0.24);
  background:
    radial-gradient(circle at 13% 16%, rgba(255, 122, 184, 0.2), transparent 15rem),
    radial-gradient(circle at 88% 24%, rgba(255, 184, 107, 0.14), transparent 16rem),
    linear-gradient(135deg, rgba(47, 25, 31, 0.96), rgba(22, 12, 16, 0.97));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
}

.category-hero::before {
  border-top-color: rgba(255, 207, 150, 0.28);
}

.category-hero::after {
  border-color: rgba(255, 122, 184, 0.14);
}

.category-hero-meta span {
  border-color: rgba(255, 207, 150, 0.22);
  background: rgba(255, 247, 237, 0.055);
  color: #ffcf96;
}

.delivery-options label,
.checkout-choice label {
  border-color: rgba(255, 207, 150, 0.22);
  background: rgba(255, 247, 237, 0.045);
}

.delivery-options label:has(input:checked),
.checkout-choice label:has(input:checked) {
  border-color: rgba(255, 122, 184, 0.58);
  background: linear-gradient(135deg, rgba(255, 122, 184, 0.14), rgba(255, 184, 107, 0.08));
}

.delivery-panel h2,
.delivery-options strong,
.checkout-choice strong,
.checkout-item h3,
.personalisation-panel h2,
.personalisation-summary strong,
.subcategory-card h3 {
  color: #fff3df;
}

.product-image,
.detail-image {
  background:
    linear-gradient(135deg, rgba(244, 114, 182, 0.16), rgba(251, 191, 36, 0.1)),
    #201016;
}

.product-image img,
.detail-image img {
  background: #f6eee8;
}

.promo-panel {
  background:
    linear-gradient(135deg, rgba(244, 114, 182, 0.18), rgba(251, 191, 36, 0.12)),
    #211218;
}

.primary,
.product-actions button {
  background: linear-gradient(135deg, #ff7ab8, #ffb86b);
  color: #170c10;
  box-shadow: 0 16px 36px rgba(255, 122, 184, 0.23);
}

.secondary,
.menu-toggle,
.quantity-controls button,
.field input,
.field textarea,
.field select {
  border-color: rgba(251, 191, 36, 0.24);
  background: #25131a;
  color: #fff7ed;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 247, 237, 0.52);
}

.field select option {
  background: #25131a;
  color: #fff7ed;
}

.product-actions strong,
.price,
.cart-summary strong,
.checkout-total strong {
  color: #ffcf96;
}

.spec-list div,
.site-footer,
.admin-table th,
.admin-table td,
.address-fields {
  border-color: rgba(251, 191, 36, 0.16);
}

.empty-state {
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(255, 247, 237, 0.05);
  color: var(--muted);
}

.admin-body,
.admin-login {
  background:
    radial-gradient(circle at top left, rgba(244, 114, 182, 0.18), transparent 28rem),
    #140b0f;
}

.admin-header {
  border-bottom-color: rgba(251, 191, 36, 0.18);
  background: #180e13;
}

.admin-error {
  background: rgba(127, 29, 29, 0.55);
  color: #fecaca;
}

@media (max-width: 900px) {
  .main-nav {
    border-color: rgba(251, 191, 36, 0.2);
    background: #1b1015;
  }
}

@media (max-width: 620px) {
  .category-hero {
    gap: 10px;
    margin-top: 18px;
    padding: 22px 18px;
    border-radius: 20px;
  }

  .category-hero h1 {
    font-size: 1.85rem;
  }

  .category-hero p:not(.eyebrow) {
    margin-top: 8px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .category-hero-mark {
    inset: 14px auto auto 14px;
    opacity: 0.42;
    transform: scale(0.78);
    transform-origin: top left;
  }

  .category-hero::before {
    width: 96px;
  }
}
*/

/* 2026 landing page refresh */
.hero {
  position: relative;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(28px, 4vw, 64px);
  min-height: 610px;
  padding-block: 38px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  left: -240px;
  top: 40px;
  border-radius: 50%;
  background: rgba(219, 63, 135, .1);
  filter: blur(8px);
}

.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3rem, 5vw, 5.35rem); letter-spacing: -.045em; line-height: .93; }
.hero h1 em { color: var(--brand); font-style: italic; }
.hero-copy > p:not(.eyebrow) { max-width: 540px; margin-block: 22px 26px; font-size: 1.13rem; }
.hero-actions .button { min-height: 54px; padding-inline: 24px; }
.hero-actions .primary span { margin-left: 10px; font-size: 1.2rem; }

.hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 25px;
  color: var(--muted);
  font-size: .78rem;
}
.hero-promises span::before { content: "✓"; margin-right: 6px; color: var(--brand); font-weight: 950; }
.hero-promises strong { color: var(--ink); }

.hero-media { border: 0; background: transparent; padding: 0; box-shadow: none; }
.category-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 230px); gap: 14px; }
.category-tile { min-height: 0; border: 0; border-radius: 26px; box-shadow: 0 18px 44px rgba(83, 28, 63, .15); }
.category-tile:nth-child(n+5) { display: none; }
.category-tile img { min-height: 0; }
.category-tile:first-child strong { font-size: 1.15rem; }
.category-tile span { inset: auto 18px 18px; }
.category-tile em { display: none; }

.wow-showcase { padding-top: 26px; }
.showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.showcase-card { grid-template-rows: 270px 1fr; border-radius: 22px; }
.showcase-card strong { font-size: 1.18rem; }

.occasion-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.occasion-card { grid-template-columns: 42% 1fr; grid-template-rows: 178px; border-radius: 20px; }
.occasion-card img { object-fit: cover; padding: 0; }
.occasion-card span { align-content: center; padding: 18px; }
.occasion-card strong { font-size: 1.2rem; }

.order-story {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 28px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background: #26131f;
  color: white;
  box-shadow: 0 22px 55px rgba(61, 18, 45, .18);
}
.order-story > div { padding: 26px; border-right: 1px solid rgba(255,255,255,.11); }
.order-story > div:last-child { border: 0; }
.order-story h2 { margin: 0; font: 800 2rem/1 "Fraunces", Georgia, serif; }
.order-story span { color: #ff94c4; font-size: .72rem; font-weight: 950; letter-spacing: .12em; }
.order-story strong { display: block; margin-top: 10px; font-size: 1rem; }
.order-story p { margin: 7px 0 0; color: rgba(255,255,255,.68); font-size: .86rem; line-height: 1.45; }
.order-story .eyebrow { color: #ff94c4; }

.section-band { padding-block: 34px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { border-radius: 20px; overflow: hidden; }
.product-image { min-height: 250px; }

/* Balance mixed portrait and landscape artwork on the homepage. */
.home-latest .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-latest .product-image { min-height: 0; aspect-ratio: 4 / 3; }
.home-latest .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

/* Product galleries: show the complete artwork at every source ratio. */
.product-detail { grid-template-columns: minmax(380px, 1fr) minmax(0, 1fr); }
.detail-image.product-gallery {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: none;
  overflow: hidden;
  padding: clamp(10px, 1.5vw, 18px);
}
.detail-image.product-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 16px;
  object-fit: contain;
  object-position: center;
}
.gallery-thumbnails img {
  height: 100%;
  background: var(--soft);
  object-fit: contain;
  padding: 3px;
}

.home-promo { margin-block: 28px; }
.home-maker-note { margin-block: 28px 42px; }
.seo-content { padding-bottom: 34px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .product-detail { grid-template-columns: 1fr; }
  .hero h1 { max-width: 720px; }
  .category-showcase { grid-template-rows: repeat(2, 210px); }
  .showcase-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-latest .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .occasion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-story { grid-template-columns: repeat(3, 1fr); }
  .order-story-intro { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hero { gap: 24px; padding-block: 28px 18px; }
  .detail-image.product-gallery { aspect-ratio: 1 / 1; padding: 8px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 3.6rem); }
  .hero-copy > p:not(.eyebrow) { margin-block: 16px 20px; font-size: 1rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-promises { gap: 8px; }
  .hero-promises span { width: 100%; }
  .category-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 155px); gap: 9px; }
  .category-tile { border-radius: 18px; }
  .category-tile span { inset: auto 12px 12px; }
  .category-tile strong, .category-tile:first-child strong { font-size: 1.05rem; }
  .category-tile small { font-size: .62rem; }
  .showcase-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 16px; }
  .showcase-card { min-width: 78vw; scroll-snap-align: start; grid-template-rows: 260px 1fr; }
  .occasion-grid { grid-template-columns: 1fr; }
  .occasion-card { grid-template-rows: 150px; }
  .order-story { grid-template-columns: 1fr; }
  .order-story-intro { grid-column: auto; }
  .order-story > div { padding: 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-image { min-height: 170px; }
  .home-latest .product-image { min-height: 0; }
  .section-heading { align-items: start; }
}

.product-card .product-image { width: 100%; min-height: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.product-card .product-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}
.category-product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) {
  .category-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Keep product media in the document flow on tablets and phones. */
  .product-media-panel {
    position: static;
    top: auto;
    align-self: stretch;
  }
}
/* Use one image frame for every gallery layer; keep controls out of the thumbnails. */
.detail-image.product-gallery {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.detail-image.product-gallery img {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}
.gallery-zoom {
  position: static;
  margin: 10px 0 0;
  min-height: 44px;
}
.gallery-thumbnails button { min-width: 44px; min-height: 44px; touch-action: manipulation; }
.gallery-thumbnails button:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 3px; }
.gallery-thumbnails img { border-radius: 0; background: transparent; padding: 0; }

/* Let copy and its surrounding panels grow at narrow widths and larger text sizes. */
.detail-copy { min-width: 0; grid-auto-rows: auto; }
.detail-copy > *, .product-story-grid > section, .trust-strip > div {
  min-width: 0;
  height: auto;
  max-height: none;
  overflow-wrap: anywhere;
}
.product-story-grid > section, .product-long-copy, .personalisation-panel, .trust-strip { overflow: visible; }
.product-story-grid { align-items: start; }
.product-long-copy p:not(.eyebrow), .product-detail .lead { white-space: pre-line; }
.care-list, .process-list { padding-left: 22px; }
.category-navigation {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(1180px, calc(100% - 32px));
  margin: -5px auto 10px;
}
.category-rail { flex: 1; overflow-x: auto; padding: 4px; }
.category-rail a { min-height: 44px; white-space: nowrap; }
.category-scroll {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}
.category-scroll[hidden] { display: none; }
.category-scroll:disabled { opacity: .35; cursor: default; }
.category-scroll:focus-visible, .category-rail:focus-visible, .category-rail a:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: -3px;
}
.admin-entry-link { position: static; display: block; width: max-content; margin: 0 16px 16px auto; }
.site-footer > * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 620px) { .site-footer { flex-direction: column; } }
@media (max-width: 1100px), (hover: none) and (pointer: coarse), (orientation: landscape) and (max-height: 600px) {
  .site-header { position: relative; top: auto; }
  .header-main { grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .header-actions { justify-self: end; }
  .site-search { grid-column: 1 / -1; grid-row: 2; }
  .main-nav { display: none; position: static; grid-column: 1 / -1; grid-row: 3; flex-direction: column; align-items: stretch; justify-self: stretch; max-width: none; border-radius: 18px; padding: 14px; background: white; }
  .main-nav.is-open { display: flex; }
  .main-nav a { justify-items: start; min-height: 44px; text-align: left; }
}

@media (max-width: 1100px), (hover: none) and (pointer: coarse), (orientation: landscape) and (max-height: 600px) {
  .site-header { position: relative; top: auto; }
  .product-detail { grid-template-columns: minmax(0, 1fr); }
  .product-media-panel { position: relative; top: auto; min-width: 0; }
  .detail-image.product-gallery { position: relative; width: min(100%, 680px); margin-inline: auto; }
  .main-nav.is-open { position: static; grid-column: 1 / -1; grid-row: 3; }
}
@media (min-width: 901px) {
  .product-media-panel { position: static; }
  .product-story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .category-navigation { width: calc(100% - 20px); margin-bottom: 7px; }
  .gallery-zoom { width: auto; height: auto; padding: 9px 14px; }
  .gallery-zoom span { display: inline; }
  .category-rail a { min-height: 44px; }
  .product-card h3 { overflow-wrap: anywhere; }
  .product-card .product-body { padding: 12px; }
  .product-card .product-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .product-gallery img { transition: none; }
}
