:root{
  --bg: #faf7ff;
  --bg2: #fff;
  --text: #171717;
  --muted: rgba(23,23,23,.7);
  --muted2: rgba(23,23,23,.55);
  --card: rgba(255,255,255,.72);
  --border: rgba(23,23,23,.12);
  --shadow: 0 18px 50px rgba(18, 10, 6, .12);
  --shadow2: 0 10px 26px rgba(18, 10, 6, .10);
  --radius: 18px;
  --radius2: 26px;
  --accent: #6747b7;
  --accent2: #f0578f;
  --accent3: #5a6cff;
  --focus: rgba(90,108,255,.35);
  --max: 1120px;
}


*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.4;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.container{
  width: min(var(--max), calc(100% - 2*20px));
  margin: 0 auto;
}

.srOnly{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip{
  position: absolute;
  left: 14px;
  top: 12px;
  transform: translateY(-200%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow2);
  z-index: 1000;
}
.skip:focus{ transform: translateY(0); outline: none; box-shadow: 0 0 0 4px var(--focus), var(--shadow2); }

.muted{ color: var(--muted); }
.small{ font-size: 13px; }

h1,h2,h3{
  font-family: "Fraunces", ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.02em;
  margin: 0;
}
h1{ font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; }
h2{ font-size: clamp(26px, 3vw, 38px); line-height: 1.05; }
h3{ font-size: 20px; line-height: 1.12; }
.lead{ font-size: 16px; max-width: 56ch; color: var(--muted); margin: 14px 0 0; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.eyebrow::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 22px rgba(103,71,183,.22);
}

.gradient{
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 45%, var(--accent3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dot{
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(23,23,23,.34);
  display: inline-block;
  vertical-align: middle;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.header{
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
}
.header.is-scrolled .nav{
  border-bottom-color: rgba(23,23,23,.16);
  box-shadow: 0 14px 40px rgba(18,10,6,.10);
}

.topbar{
  border-bottom: 1px solid rgba(23,23,23,.10);
  background: #634C9F;
  color: rgba(255,255,255,.92);
}
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  font-size: 13px;
}
.topbar__left, .topbar__right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar__link{
  color: rgba(255,255,255,.9);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.28);
  text-underline-offset: 3px;
}
.topbar__link:hover{ color: #fff; }
.topbar .muted{ color: rgba(255,255,255,.76); }

.nav{
  background: rgba(255,255,255,.44);
  border-bottom: 1px solid rgba(23,23,23,.10);
}
.nav__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand__mark{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 12px 22px rgba(18,10,6,.10);
}
.brand__mark svg{ width: 22px; height: 22px; }
.brand__text{
  font-family: "Fraunces", ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.01em;
  font-size: 20px;
}
.brand--footer .brand__mark{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  box-shadow: none;
}

.iconbtn{
  appearance: none;
  border: 1px solid rgba(23,23,23,.12);
  background: rgba(255,255,255,.65);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(18,10,6,.08);
}
.iconbtn:hover{ transform: translateY(-1px); }
.iconbtn:active{ transform: translateY(0); }
.iconbtn:focus{ outline: none; box-shadow: 0 0 0 4px var(--focus), 0 10px 18px rgba(18,10,6,.08); }

.hamburger{
  width: 18px;
  height: 12px;
  display: inline-block;
  position: relative;
}
.hamburger::before, .hamburger::after, .hamburger span{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(23,23,23,.85);
}
.hamburger::before{ top: 0; }
.hamburger::after{ bottom: 0; }
.hamburger span{ top: 5px; opacity: .85; }

.nav__toggle{ display: none; }
.nav__menu{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__link{
  font-size: 14px;
  color: rgba(23,23,23,.78);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav__link:hover{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(23,23,23,.08);
  padding: 9px 9px;
}
.nav__actions{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(23,23,23,.12);
  background: rgba(255,255,255,.65);
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(18,10,6,.08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn:focus{ outline: none; box-shadow: 0 0 0 4px var(--focus), 0 10px 18px rgba(18,10,6,.08); }
.btn--primary{
  color: #161616;
  border: 0;
  background: linear-gradient(135deg, rgba(103,71,183,.98), rgba(240,87,143,.98));
  box-shadow: 0 18px 36px rgba(103,71,183,.22);
}
.btn--ghost{
  background: rgba(255,255,255,.55);
}
.btn--sm{
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.hero{
  padding: clamp(32px, 4.2vw, 56px) 0 8px;
}
.hero__inner{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
}
.hero__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero__note{ margin-top: 18px; }

.note{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: var(--shadow2);
}
.note__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(23,23,23,.10);
}
.note__text{ color: rgba(23,23,23,.82); font-size: 14px; }
.note__text strong{ font-weight: 800; }

.trust{
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.trust__item{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 12px 22px rgba(18,10,6,.08);
}
.trust__item strong{
  font-size: 18px;
  display: block;
}

.hero__visual{
  position: relative;
  min-height: 420px;
}
.mock{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius2);
  background:
    radial-gradient(900px 400px at 40% 10%, rgba(255,255,255,.75), rgba(255,255,255,.2)),
    linear-gradient(135deg, rgba(255,255,255,.38), rgba(255,255,255,.18));
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock__blob{
  position: absolute;
  inset: auto auto -120px -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 30% 30%, rgba(103,71,183,.55), transparent 55%),
              radial-gradient(circle at 70% 30%, rgba(240,87,143,.55), transparent 55%),
              radial-gradient(circle at 40% 70%, rgba(90,108,255,.45), transparent 55%);
  filter: blur(10px);
  border-radius: 50%;
  opacity: .85;
}
.mock__ring{
  position: absolute;
  right: -120px;
  top: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(23,23,23,.20);
  transform: rotate(22deg);
}
.mock__card{
  position: absolute;
  width: min(280px, 72%);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 24px 70px rgba(18,10,6,.14);
  overflow: hidden;
}
.mock__card--a{ left: 18px; top: 42px; transform: rotate(-3deg); }
.mock__card--b{ right: 18px; bottom: 44px; transform: rotate(4deg); }
.mock__badge{
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23,23,23,.88);
  color: #fff;
}
.mock__art{
  height: 170px;
  background:
    radial-gradient(120px 120px at 30% 40%, rgba(103,71,183,.55), transparent 60%),
    radial-gradient(120px 120px at 70% 30%, rgba(240,87,143,.60), transparent 60%),
    radial-gradient(160px 160px at 60% 80%, rgba(90,108,255,.50), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.0), rgba(255,255,255,.6));
}
.mock__meta{ padding: 14px; }
.mock__line{
  height: 10px;
  border-radius: 999px;
  background: rgba(23,23,23,.12);
  margin-bottom: 10px;
}
.mock__line--short{ width: 60%; margin-bottom: 4px; }

.section{
  padding: clamp(34px, 5vw, 70px) 0;
}
.section--end{
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, rgba(240, 87, 143, 0.20) 100%);
}

/* Product detail page */
.pd{
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 18px;
  align-items: start;
  margin-top: 12px;
}
.pd__crumbs{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}
.pd__head{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}
.pd__title{ margin-top: 6px; }
.pd__priceCard{
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 14px 40px rgba(18,10,6,.10);
  padding: 14px 14px;
}
.pd__priceRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pd__prices{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.pd__prices strong{ font-size: 18px; }
.pd__was{ font-size: 13px; }
.pd__mini{ margin-top: 10px; font-size: 13px; }

.pd__grid{
  display: grid;
  gap: 12px;
}
.pdCard{
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 14px 40px rgba(18,10,6,.10);
  padding: 16px 14px;
}
.pdCard__titleRow{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pdCard__title{ font-size: 20px; }
.pdCard__hint{ font-size: 13px; }

.formGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field{ display: grid; gap: 6px; }
.field label{ font-weight: 800; font-size: 13px; }
.req{ color: var(--accent); }
.field input, .field textarea, .field select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(23,23,23,.12);
  background: rgba(255,255,255,.65);
  box-shadow: 0 10px 18px rgba(18,10,6,.06);
  font-family: inherit;
}
.field textarea{ resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus{
  outline: none;
  box-shadow: 0 0 0 4px var(--focus), 0 10px 18px rgba(18,10,6,.06);
}
.field--full{ grid-column: 1 / -1; }
.field--ai .field__labelRow{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.field--ai .field__labelRow button{
  white-space: nowrap;
}
.file-control{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.file-control .file-name{
  color: var(--muted2);
  font-size: 13px;
  min-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.field--file input[type="file"]{ display: none; }
.pdAcc__body{ background: radial-gradient(circle at top left, rgba(103,71,183,.08), rgba(90,108,255,.04)); }
.pdAcc__icon{ background: rgba(255,255,255,.82); }
.field--file label,
.field--ai label{ margin-bottom: 6px; }
.help{ margin: 0; font-size: 13px; }
.toggleRow{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(23,23,23,.12);
  background: rgba(255,255,255,.55);
  box-shadow: 0 10px 18px rgba(18,10,6,.06);
}

.pdAcc{
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 14px 40px rgba(18,10,6,.10);
  overflow: hidden;
}
.pdAcc__sum{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
}
.pdAcc__sum::-webkit-details-marker{ display:none; }
.pdAcc__left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.pdAcc__icon{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(23,23,23,.10);
}
.pdAcc__sub{ display: block; font-size: 13px; margin-top: 2px; }
.pdAcc__badge{
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23,23,23,.88);
  color: #fff;
  white-space: nowrap;
}
.pdAcc__body{
  padding: 0 14px 14px;
}

.addonGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.addon{
  border-radius: 18px;
  border: 1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.55);
  box-shadow: 0 12px 22px rgba(18,10,6,.08);
  padding: 12px 12px;
  display: grid;
  gap: 10px;
}
.addon__head{ display: grid; gap: 4px; }
.addon select{ padding: 12px 12px; }

.pd__buy{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 2px 0;
}

.pd__side{
  position: sticky;
  top: 96px;
}
.preview{
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 18px 50px rgba(18,10,6,.12);
  padding: 14px 14px;
}
.preview__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.preview__total{
  text-align: right;
  display: grid;
  gap: 2px;
}

.pcard{
  margin-top: 10px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.7);
  box-shadow: 0 14px 40px rgba(18,10,6,.10);
}
.pcard__cover{
  position: relative;
  height: 176px;
  background:
    radial-gradient(160px 120px at 22% 34%, rgba(103,71,183,.28), transparent 62%),
    radial-gradient(200px 160px at 72% 40%, rgba(90,108,255,.24), transparent 62%),
    radial-gradient(220px 180px at 54% 92%, rgba(240,87,143,.24), transparent 66%),
    linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.7));
}
.pcard__fallback{
  position: absolute;
  inset: 18px 18px auto auto;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(23,23,23,.12);
  background: rgba(255,255,255,.55);
  box-shadow: 0 10px 18px rgba(18,10,6,.06);
}
.pcard__img{
  position: absolute;
  inset: 14px 14px 14px 14px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .18s ease, transform .18s ease;
}
.pcard__img.is-on{
  opacity: 1;
  transform: scale(1);
}
.pcard__badge{
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23,23,23,.88);
  color: #fff;
}
.pcard__coverText{
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(23,23,23,.12);
  box-shadow: 0 10px 18px rgba(18,10,6,.08);
  font-weight: 900;
  text-align: center;
}
.pcard__ribbon{
  position: absolute;
  right: 12px;
  top: 12px;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  border: 1px solid rgba(23,23,23,.12);
  box-shadow: 0 10px 18px rgba(18,10,6,.08);
  background: linear-gradient(135deg, rgba(103,71,183,.95), rgba(240,87,143,.95));
}
.pcard__ribbon[data-color="blue"]{ background: linear-gradient(135deg, rgba(90,108,255,.95), rgba(123,97,255,.95)); }
.pcard__ribbon[data-color="purple"]{ background: linear-gradient(135deg, rgba(123,97,255,.98), rgba(103,71,183,.75)); }
.pcard__ribbon[data-color="green"]{ background: linear-gradient(135deg, rgba(30,170,120,.92), rgba(111,210,160,.75)); }
.pcard__ribbon[data-color="gold"]{ background: linear-gradient(135deg, rgba(255,206,84,.96), rgba(245,177,54,.86)); }
.pcard__inside{
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
}
.pcard__line{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.pcard__msg{
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.55);
  color: rgba(23,23,23,.82);
}
.pcard__wishes{
  font-family: "Fraunces", ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: -0.01em;
}
.pcard__line--end{ padding-top: 2px; }

.preview__summary{
  margin-top: 12px;
  border-top: 1px solid rgba(23,23,23,.10);
  padding-top: 12px;
  display: grid;
  gap: 8px;
}
.sumRow{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.pdFacts{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.pdFact{
  border-radius: 18px;
  border: 1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.55);
  box-shadow: 0 12px 22px rgba(18,10,6,.08);
  padding: 14px 14px;
  display: grid;
  gap: 6px;
}

@media (max-width: 980px){
  .pd{ grid-template-columns: 1fr; }
  .pd__head{ grid-template-columns: 1fr; }
  .pd__side{ position: static; top: auto; }
}
@media (max-width: 640px){
  .formGrid{ grid-template-columns: 1fr; }
  .addonGrid{ grid-template-columns: 1fr; }
  .pdFacts{ grid-template-columns: 1fr; }
}
.section--alt{
  background: #ffffff;
  border-top: 1px solid rgba(23,23,23,.08);
  border-bottom: 1px solid rgba(23,23,23,.08);
}

.section__head{
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.section__head--row{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.grid{
  display: grid;
  gap: 14px;
}
.grid--cats{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cat{
  border-radius: var(--radius);
  border: 1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.55);
  box-shadow: 0 12px 22px rgba(18,10,6,.08);
  padding: 16px 16px;
  display: grid;
  gap: 6px;
  min-height: 92px;
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat::after{
  content:"";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(103,71,183,.25), transparent 65%);
}
.cat:hover{ transform: translateY(-2px); box-shadow: 0 18px 40px rgba(18,10,6,.12); }
.cat__icon{ font-size: 22px; }
.cat__name{ font-weight: 800; }
.cat__count{ color: var(--muted2); font-size: 13px; }

.chips{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chip{
  appearance: none;
  border: 1px solid rgba(23,23,23,.14);
  background: rgba(255,255,255,.55);
  color: rgba(23,23,23,.78);
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.chip.is-active{
  border-color: transparent;
  background: linear-gradient(135deg, rgba(103,71,183,.92), rgba(240,87,143,.92));
  color: rgba(23,23,23,.92);
  box-shadow: 0 16px 32px rgba(103,71,183,.18);
}
.chip:focus{ outline: none; box-shadow: 0 0 0 4px var(--focus); }

.grid--products{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.greeting__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}
.greeting__nav{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(23,23,23,.12);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(18,10,6,.08);
}
.greeting__nav h3{ margin: 0 0 10px; }
.greeting__nav ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.greeting__nav a{ display: inline-block; color: rgba(23,23,23,.86); padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; }
.greeting__nav a:hover{ background: rgba(103,71,183,.12); color: #1e1e1e; border-color: rgba(103,71,183,.3); }
.greeting__nav a.is-active{ background: rgba(103,71,183,.12); color: #1e1e1e; border-color: rgba(103,71,183,.3); font-weight: 800; }
.greeting__nav a:focus{ outline: none; box-shadow: 0 0 0 4px var(--focus); }
.greeting__content{ background: rgba(255,255,255,.8); border-radius: 18px; padding: 20px; box-shadow: 0 10px 24px rgba(18,10,6,.08); }
.greeting__subnav{
  margin-top: 16px;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.6);
  box-shadow: 0 12px 22px rgba(18,10,6,.06);
}
.greeting__subnavHead{
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.greeting__subnavHead strong{
  font-size: 16px;
}

.greeting__subnav .chips{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  gap: 10px;
  align-items: stretch;
}

.chip--subcat{
  min-height: 44px;
  justify-content: center;
  text-align: center;
  padding: 10px 16px;
  background: rgba(255,255,255,.7);
  border-color: rgba(23,23,23,.12);
  box-shadow: 0 10px 20px rgba(18,10,6,.05);
}

.chip--subcat.is-active{
  background: linear-gradient(135deg, rgba(103,71,183,.95), rgba(240,87,143,.95));
  color: #1f1b18;
  box-shadow: 0 16px 30px rgba(103,71,183,.18);
}
.emptyState{
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.55);
  box-shadow: 0 12px 22px rgba(18,10,6,.08);
  padding: 16px;
}
.emptyState--ai{padding:28px;background:linear-gradient(145deg,#fff7fa,#fff);border-color:rgba(236,79,135,.24)}
.emptyState--ai>strong{display:block;max-width:650px;font-family:"Fraunces",Georgia,serif;font-size:clamp(1.35rem,2.2vw,1.9rem);line-height:1.2;color:#411232}
.emptyState--ai>.muted{max-width:720px;line-height:1.6}
.emptyState__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.emptyState__actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;font-weight:800}
.emptyState__actions .btn--primary{background:#411232;color:#fff;border:1px solid #411232}
.emptyState__actions .btn--ghost{background:#fff;border:1px solid rgba(65,18,50,.18)}
.product{
  border-radius: 22px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 14px 40px rgba(18,10,6,.10);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.product__media{
  position: relative;
  height: auto;
  aspect-ratio: 148 / 210;
  background: #f8f5f0;
}
.product--postcard,
.product--postcard .product__media,
.product--postcard .art{
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.product--postcard .product__media{ aspect-ratio: 17 / 12; }

.product--postcard .product__media{
  position: relative;
  background: #eee8e3;
  padding: 0;
}
.product--postcard .art{
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eee8e3;
  filter: none;
}
.product--postcard-portrait .product__media{ aspect-ratio: 12 / 17; }
.product--postcard-portrait .art{
  width: 100%;
  max-width: none;
  margin-inline: auto;
  transform: none;
}
.product__orientation{
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #523d79;
  font-size: 10px;
  font-weight: 800;
  text-transform: capitalize;
  box-shadow: 0 7px 18px rgba(20,12,25,.14);
}

.postcardCollection{padding-top:42px}
.postcardCollection__hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:28px;align-items:end;margin-bottom:34px}
.postcardCollection__hero h1{max-width:680px;margin:.15em 0;font:700 clamp(2.7rem,5.4vw,5.5rem)/.96 "Fraunces",Georgia,serif;letter-spacing:-.045em}
.postcardCollection__hero>.muted,.postcardCollection__hero>div>.muted{max-width:630px;font-size:1.05rem}
.postcardCreateCard{display:grid;grid-template-columns:auto 1fr;gap:12px 14px;padding:22px;border-radius:24px;background:linear-gradient(145deg,#3c285f,#664899);color:#fff;box-shadow:0 24px 50px rgba(62,40,95,.24)}
.postcardCreateCard__spark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.14);font-size:1.25rem}
.postcardCreateCard strong{font:700 1.3rem "Fraunces",Georgia,serif}.postcardCreateCard p{margin:4px 0 0;color:rgba(255,255,255,.78);font-size:.86rem}
.postcardCreateCard__actions{grid-column:1/-1;display:flex;gap:9px;flex-wrap:wrap;margin-top:5px}.postcardCreateCard__actions .btn{box-shadow:none}.postcardCreateCard__actions .btn--primary{background:#ec4f87;color:#fff}.postcardCreateCard__actions .btn--ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);color:#fff}
.postcardCollection__content{padding:26px;border-radius:28px;background:rgba(255,255,255,.68);box-shadow:0 18px 50px rgba(30,18,25,.08)}
.postcardCollection__head{margin-bottom:20px}.postcardCollection__head h2{font-size:clamp(1.8rem,3vw,2.8rem)}
.postcardGrid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.postcardGrid .product{align-self:start;background:#fff}.postcardGrid .product__body{grid-template-columns:1fr auto;align-items:center}.postcardGrid .product__price{grid-column:1}.postcardGrid .btn{grid-column:2;grid-row:1/3}.postcardGrid .product--postcard-portrait{max-width:72%;justify-self:center;width:100%}
@media(max-width:900px){.postcardCollection__hero{grid-template-columns:1fr}.postcardGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.postcardGrid .product--postcard-portrait{max-width:100%}.postcardGrid .product--postcard-landscape{grid-column:1/-1}}
@media(max-width:560px){.postcardCollection{padding-top:24px}.postcardCollection__content{padding:14px}.postcardGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.postcardGrid .product--postcard-portrait{max-width:100%}.postcardGrid .product--postcard-landscape{grid-column:auto}.postcardGrid .product__body{display:grid;grid-template-columns:1fr;gap:8px;padding:10px}.postcardGrid .product__name{font-size:15px;line-height:1.25;overflow-wrap:anywhere}.postcardGrid .product__price{flex-wrap:wrap;gap:4px 8px}.postcardGrid .btn{grid-column:1;grid-row:auto;width:100%;min-height:42px;padding:8px;font-size:12px;line-height:1.2;white-space:normal}.postcardCreateCard__actions{display:grid}}
.tag{
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23,23,23,.88);
  color: #fff;
}
.art{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.art--1{ background-image: url("assets/cards/card-1.svg"); }
.art--2{ background-image: url("assets/cards/card-2.svg"); }
.art--3{ background-image: url("assets/cards/card-3.svg"); }
.art--4{ background-image: url("assets/cards/card-4.svg"); }
.art--5{ background-image: url("assets/cards/card-5.svg"); }
.art--6{ background-image: url("assets/cards/card-6.svg"); }

.product__body{
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
}
.product__body .btn{ margin-top: auto; }
.product__name{ font-size: 18px; }
.product__price{
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.price{ font-weight: 900; }
.price--was{
  color: var(--muted2);
  font-weight: 800;
  text-decoration: line-through;
}

.steps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.step{
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 12px 22px rgba(18,10,6,.08);
  padding: 18px 16px;
}
.step__num{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(103,71,183,.92), rgba(240,87,143,.92));
  box-shadow: 0 16px 30px rgba(103,71,183,.18);
  margin-bottom: 10px;
}
.step p{ margin: 10px 0 0; }

.ctaCard{
  margin-top: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(23,23,23,.10);
  background:
    radial-gradient(800px 360px at 20% 0%, rgba(103,71,183,.20), transparent 62%),
    radial-gradient(800px 360px at 80% 40%, rgba(90,108,255,.12), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.38));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
}
.ctaCard__copy{ padding: 20px 18px; }
.ctaCard__copy p{ margin: 10px 0 0; }
.ctaCard__actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.ctaCard__stats{
  padding: 20px 18px;
  border-left: 1px solid rgba(23,23,23,.10);
  display: grid;
  gap: 10px;
  align-content: center;
}
.stat{
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(23,23,23,.10);
}
.stat strong{ font-size: 18px; display: block; }

.grid--testimonials{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.quote{
  margin: 0;
  border-radius: 22px;
  padding: 18px 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(23,23,23,.10);
  box-shadow: 0 12px 22px rgba(18,10,6,.08);
  display: grid;
  gap: 14px;
}
.quote blockquote{
  margin: 0;
  color: rgba(23,23,23,.82);
  font-size: 15px;
}
.quote figcaption{
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar{
  width: 38px;
  height: 38px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(23,23,23,.88);
  color: #fff;
}
.quote figcaption span.muted{ display: block; font-size: 13px; }

.faq{
  display: grid;
  gap: 10px;
  max-width: 760px;
}
.faq__item{
  border-radius: 18px;
  border: 1px solid rgba(23,23,23,.10);
  background: rgba(255,255,255,.55);
  box-shadow: 0 12px 22px rgba(18,10,6,.08);
  padding: 14px 14px;
}
.faq__item summary{
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}
.faq__item summary::-webkit-details-marker{ display: none; }
.faq__item p{ margin: 10px 0 0; }

.footer{
  background: #634C9F;
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 46px 0 18px;
}
.footer a{ color: rgba(255,255,255,.88); }
.footer a:hover{ color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: start;
}
.footer__grid > div:first-child{
  display: grid;
  gap: 16px;
  align-content: start;
}
.footer__cols{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-content: start;
}
.footer p{ margin: 0; }
.footer__col h3{
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 8px 0 12px;
  color: rgba(255,255,255,.72);
}
.footer__col ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,.76);
}
.newsletter{
  padding: 16px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(103,71,183,.22), transparent 62%),
    radial-gradient(700px 220px at 70% 30%, rgba(240,87,143,.18), transparent 62%),
    rgba(255,255,255,.06);
}
.newsletter h3{
  font-family: "Fraunces", ui-serif;
  margin-bottom: 6px;
}
.newsletter__form{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.newsletter p{ margin: 0; }
.newsletter input{
  flex: 1 1 220px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
}
.newsletter input::placeholder{ color: rgba(255,255,255,.55); }
.newsletter input:focus{ outline: none; box-shadow: 0 0 0 4px rgba(240,87,143,.22); }

.footer__bottom{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__mini{ display: flex; align-items: center; gap: 10px; }

.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
}
.toast__inner{
  display: grid;
  gap: 2px;
  min-width: min(360px, calc(100vw - 36px));
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(23,23,23,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.toast__close{
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 8px;
  border-radius: 12px;
}

@media (max-width: 960px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__visual{ min-height: 360px; }
  .grid--cats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--products{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps{ grid-template-columns: 1fr; }
  .ctaCard{ grid-template-columns: 1fr; }
  .ctaCard__stats{ border-left: 0; border-top: 1px solid rgba(23,23,23,.10); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--testimonials{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .footer__cols{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .greeting__subnav .chips{
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .nav__toggle{ display: inline-flex; }
  .nav__menu{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    background: rgba(255,255,255,.84);
    border-bottom: 1px solid rgba(23,23,23,.14);
    border-top: 1px solid rgba(23,23,23,.08);
    padding: 14px 20px 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav__menu.is-open{ display: flex; }
  .nav__actions{ margin-left: 0; }
}

@media (max-width: 520px){
  .topbar__right{ display: none; }
  .grid--products{ grid-template-columns: 1fr; }
  .footer__cols{ grid-template-columns: 1fr; }
  .trust__item{ flex: 1 1 140px; }
  .greeting__subnav .chips{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.seasonalNotice{margin:0 0 24px;padding:18px 20px;border:1px solid rgba(236,79,135,.28);border-radius:18px;background:#fff0f5;color:#411232}
.seasonalNotice strong{display:block;margin-bottom:5px;font-family:"Fraunces",serif;font-size:1.2rem}
.seasonalNotice p{margin:0;color:#6f405c;line-height:1.55}
.product--belated .tag{background:#ec4f87;color:#fff}
.product__seasonalNote{margin:0 0 12px;color:#8a345d;font-size:.78rem;line-height:1.45}

/* Keep the ready-made postcard collection in two columns on phone browsers. */
@media(max-width:520px){
  [data-catalog-kind="postcard"] .postcardGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  [data-catalog-kind="postcard"] .postcardGrid .product--postcard-landscape{grid-column:auto}
}

/* Compact postcard creation panel on phone screens. */
@media(max-width:560px){
  body .postcardCollection .postcardCreateCard{padding:14px;gap:9px 10px}
  body .postcardCollection .postcardCreateCard__spark{width:34px;height:34px;border-radius:11px;font-size:1rem}
  body .postcardCollection .postcardCreateCard strong{font-size:1.08rem;line-height:1.15}
  body .postcardCollection .postcardCreateCard p{font-size:.76rem;line-height:1.35}
  body .postcardCollection .postcardCreateCard__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:2px}
  body .postcardCollection .postcardCreateCard__actions .btn{min-height:40px;padding:8px 6px;font-size:12px;line-height:1.2;white-space:normal}
}
/* BeamGreets current brand palette for the greeting-card catalog. */
:root {
--bg: #faf7ff;
  --bg2: #fffafd;
  --text: #22243a;
  --muted: rgba(34, 36, 58, .72);
  --muted2: rgba(34, 36, 58, .56);
  --border: rgba(34, 36, 58, .14);
  --accent: #6747b7;
  --accent2: #f0578f;
--accent3: #6747b7;
  --focus: rgba(103, 71, 183, .24);
}

.topbar, .footer { background: #4c3194; }
.btn--primary {
  color: #fff;
  background: #6747b7;
  box-shadow: 0 12px 24px rgba(103, 71, 183, .2);
}
.btn--primary:hover { background: #4c3194; }
.emptyState__actions .btn--primary { background: #6747b7; border-color: #6747b7; }
.emptyState__actions .btn--primary:hover { background: #4c3194; border-color: #4c3194; }
.chip.is-active, .chip--subcat.is-active {
  border-color: #6747b7;
  background: #6747b7;
  color: #fff;
  box-shadow: 0 6px 14px rgba(103, 71, 183, .2);
}
.greeting__nav a.is-active {
  border-color: rgba(103, 71, 183, .3);
  background: #f0eafa;
  color: #4c3194;
}
.greeting__nav a:hover {
  border-color: rgba(103, 71, 183, .24);
  background: #f7f3fb;
  color: #4c3194;
}

/* Installed PWA catalog: two greeting cards per row on phone screens. */
@media (max-width: 520px) {
  body.pwaStandalone .grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.pwaStandalone .grid--products .product {
    min-width: 0;
    border-radius: 16px;
  }

  body.pwaStandalone .grid--products .product__body {
    min-width: 0;
    padding: 10px;
    gap: 8px;
  }

  body.pwaStandalone .grid--products .product__name {
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  body.pwaStandalone .grid--products .product__price {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  body.pwaStandalone .grid--products .product__body .btn {
    width: 100%;
    min-height: 44px;
    padding: 8px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }
}

/* Compact greeting catalogue introduction and single-row category filters. */
[data-catalog-kind="greeting"] .section__head { margin-bottom: 14px; gap: 6px; }
[data-catalog-kind="greeting"] .section__head .muted { margin: 0; }
[data-catalog-kind="greeting"] .greeting__subnav--compact {
  display: flex; align-items: center; gap: 14px; margin: 0 0 14px;
  padding: 10px 0; border: 0; border-top: 1px solid rgba(23,23,23,.10);
  border-radius: 0; background: transparent; box-shadow: none;
}
[data-catalog-kind="greeting"] .greeting__subnav--compact[hidden] { display: none; }
[data-catalog-kind="greeting"] .greeting__subnav--compact .greeting__subnavHead {
  display: block; flex: 0 0 auto; margin: 0;
}
[data-catalog-kind="greeting"] .greeting__subnav--compact .greeting__subnavHead strong { font-size: 14px; }
[data-catalog-kind="greeting"] .greeting__subnav--compact [data-subcategory-copy] { display: none; }
[data-catalog-kind="greeting"] .greeting__subnav--compact .chips {
  display: flex; flex: 1 1 auto; flex-wrap: nowrap; gap: 8px; min-width: 0;
  overflow-x: auto; overflow-y: hidden; padding: 2px 2px 7px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
[data-catalog-kind="greeting"] .greeting__subnav--compact .chip--subcat {
  flex: 0 0 auto; min-height: 38px; white-space: nowrap; padding: 8px 14px;
  box-shadow: none;
}
@media (max-width: 700px) {
  [data-catalog-kind="greeting"] .greeting__subnav--compact { align-items: flex-start; flex-direction: column; gap: 7px; }
  [data-catalog-kind="greeting"] .greeting__subnav--compact .chips { width: 100%; }
}

/* Mobile greeting catalogue: put swipeable categories above a two-card grid. */
@media (max-width: 700px) {
  [data-catalog-kind="greeting"] .greeting__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  [data-catalog-kind="greeting"] .greeting__nav {
    min-width: 0;
    padding: 12px 14px;
  }

  [data-catalog-kind="greeting"] .greeting__nav h3 {
    margin-bottom: 8px;
  }

  [data-catalog-kind="greeting"] .greeting__nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  [data-catalog-kind="greeting"] .greeting__nav ul::-webkit-scrollbar { display: none; }

  [data-catalog-kind="greeting"] .greeting__nav li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  [data-catalog-kind="greeting"] .greeting__nav a {
    white-space: nowrap;
    padding: 8px 12px;
  }

  [data-catalog-kind="greeting"] .grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  [data-catalog-kind="greeting"] .grid--products .product {
    min-width: 0;
    border-radius: 16px;
  }

  [data-catalog-kind="greeting"] .grid--products .product__body {
    min-width: 0;
    gap: 8px;
    padding: 10px;
  }

  [data-catalog-kind="greeting"] .grid--products .product__name {
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  [data-catalog-kind="greeting"] .grid--products .product__price {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  [data-catalog-kind="greeting"] .grid--products .product__body .btn {
    width: 100%;
    min-height: 42px;
    padding: 8px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }
}

/* On phones, keep the postcard page focused on creating and browsing cards. */
@media (max-width: 560px) {
  body .postcardCollection .postcardCollection__hero > div:first-child { display: none; }
}

/* Keep the postcard creation panel compact on phone screens only. */
@media (max-width: 560px) {
  body .postcardCollection .postcardCreateCard {
    padding: 14px;
    gap: 9px 10px;
  }

  body .postcardCollection .postcardCreateCard__spark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 1rem;
  }

  body .postcardCollection .postcardCreateCard strong {
    font-size: 1.08rem;
    line-height: 1.15;
  }

  body .postcardCollection .postcardCreateCard p {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  body .postcardCollection .postcardCreateCard__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 2px;
  }

  body .postcardCollection .postcardCreateCard__actions .btn {
    min-height: 40px;
    padding: 8px 6px;
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
  }
}
