:root {
  color-scheme: light;
  --cream-50: #fffaf1;
  --cream-100: #f8eddc;
  --cream-200: #ead7bf;
  --linen: #fffdf8;
  --wine: #5b1022;
  --wine-700: #761a2d;
  --wine-600: #8d2539;
  --rose: #c98b91;
  --gold: #b8893f;
  --gold-soft: #ead2a4;
  --chocolate: #42271f;
  --taupe: #8d7568;
  --sage: #65735d;
  --ink: #261812;
  --muted: #6e5b52;
  --line: rgba(91, 16, 34, 0.16);
  --line-strong: rgba(91, 16, 34, 0.28);
  --surface: rgba(255, 253, 248, 0.92);
  --surface-solid: #fffdf8;
  --shadow-soft: 0 14px 34px rgba(68, 39, 31, 0.09);
  --shadow-lift: 0 18px 42px rgba(68, 39, 31, 0.13);
  --radius: 8px;
  --focus: 0 0 0 3px rgba(184, 137, 63, 0.34);
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.94), rgba(248, 237, 220, 0.96)),
    radial-gradient(circle at 12% 18%, rgba(201, 139, 145, 0.1), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(184, 137, 63, 0.09), transparent 30%);
  color: var(--ink);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
a,
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

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

img,
canvas,
svg {
  display: block;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(91, 16, 34, 0.12);
  background: rgba(255, 250, 241, 0.82);
  backdrop-filter: blur(18px) saturate(142%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(91, 16, 34, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.9), rgba(234, 210, 164, 0.72)),
    var(--surface-solid);
  color: var(--wine);
  box-shadow: 0 10px 24px rgba(68, 39, 31, 0.1);
}

.brand-title {
  display: grid;
  gap: 1px;
}

.brand-title strong {
  color: var(--wine);
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1;
}

.brand-title span {
  color: var(--taupe);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 6px;
}

.nav-link,
.admin-nav-link {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--chocolate);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 12px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-link:hover,
.nav-link.active,
.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(91, 16, 34, 0.08);
  border-color: rgba(91, 16, 34, 0.14);
  color: var(--wine);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions .btn-secondary {
  background: rgba(255, 253, 248, 0.44);
  box-shadow: none;
}

.icon-btn,
.plain-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(91, 16, 34, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  color: var(--wine);
  position: relative;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.icon-btn:hover,
.plain-icon-btn:hover {
  border-color: rgba(91, 16, 34, 0.28);
  background: rgba(255, 253, 248, 0.96);
  transform: translateY(-1px);
}

.plain-icon-btn {
  width: 34px;
  height: 34px;
  background: transparent;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border: 2px solid var(--cream-50);
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--wine), var(--wine-700));
  color: #fff;
  box-shadow: 0 16px 30px rgba(91, 16, 34, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--wine-700), var(--wine-600));
  box-shadow: 0 18px 34px rgba(91, 16, 34, 0.28);
}

.btn-secondary {
  border-color: rgba(91, 16, 34, 0.2);
  background: rgba(255, 253, 248, 0.78);
  color: var(--wine);
}

.btn-secondary:hover {
  border-color: rgba(91, 16, 34, 0.32);
  background: var(--surface-solid);
}

.btn-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--wine);
}

.btn-ghost:hover {
  background: rgba(91, 16, 34, 0.08);
}

.btn-danger {
  border-color: rgba(137, 30, 43, 0.22);
  background: rgba(137, 30, 43, 0.08);
  color: #7a1020;
}

.btn-small {
  min-height: 34px;
  padding: 8px 11px;
  font-size: 0.86rem;
}

.main {
  min-height: 68vh;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(720px, calc(100vh - 70px));
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(91, 16, 34, 0.1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.84) 50%, rgba(255, 250, 241, 0.68) 100%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.1), rgba(248, 237, 220, 0.85));
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 0.8fr);
  align-items: center;
  gap: 32px;
  padding: 52px 0 50px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(91, 16, 34, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
.section-title h2,
.page-title h1,
.admin-title h1 {
  margin: 0;
  color: var(--wine);
  font-family: "Palatino Linotype", Georgia, serif;
  line-height: 0.96;
}

.hero h1 {
  max-width: 720px;
  margin-top: 20px;
  font-size: clamp(2.9rem, 5.4vw, 5.6rem);
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--chocolate);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions,
.section-actions,
.form-actions,
.card-actions,
.toolbar,
.inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 260px;
  padding: 24px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 500px;
}

.proof-item {
  border: 1px solid rgba(91, 16, 34, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.64);
  padding: 12px;
  box-shadow: 0 10px 20px rgba(68, 39, 31, 0.06);
  backdrop-filter: blur(14px);
}

.proof-item strong {
  display: block;
  color: var(--wine);
  font-size: 1.32rem;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.66), rgba(255, 250, 241, 0.86)),
    linear-gradient(90deg, rgba(184, 137, 63, 0.1), rgba(201, 139, 145, 0.08));
  border-block: 1px solid rgba(91, 16, 34, 0.09);
}

.section-title,
.page-title,
.admin-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title h2,
.page-title h1,
.admin-title h1 {
  font-size: clamp(2.25rem, 4.8vw, 4.3rem);
}

.admin-title h1 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.section-title p,
.page-title p,
.admin-title p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.category-grid,
.product-grid,
.trust-grid,
.stats-grid,
.settings-grid {
  display: grid;
  gap: 16px;
}

.category-grid {
  grid-template-columns: repeat(7, minmax(130px, 1fr));
}

.category-card,
.product-card,
.trust-card,
.stat-card,
.admin-panel,
.cart-line,
.checkout-summary,
.calendar-day,
.customer-card,
.empty-state,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.category-card {
  display: grid;
  min-height: 132px;
  align-content: space-between;
  padding: 16px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.category-card:hover,
.product-card:hover {
  border-color: rgba(91, 16, 34, 0.28);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(91, 16, 34, 0.14);
  border-radius: var(--radius);
  color: var(--wine);
  background: linear-gradient(135deg, rgba(234, 210, 164, 0.42), rgba(255, 253, 248, 0.9));
}

.category-card h3,
.product-card h3,
.admin-panel h2,
.admin-panel h3,
.trust-card h3,
.contact-card h3 {
  margin: 0;
  color: var(--wine);
}

.category-card p,
.product-card p,
.trust-card p,
.contact-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.product-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 14px 36px rgba(68, 39, 31, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.35), rgba(234, 210, 164, 0.5)),
    var(--art-bg, #f7dfc7);
}

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

.image-media::before {
  z-index: 1;
  border-color: rgba(255, 253, 248, 0.52);
}

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

.image-mini::after {
  display: none;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 253, 248, 0.68);
  border-radius: var(--radius);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: auto -10% -28% 20%;
  height: 58%;
  transform: rotate(-8deg);
  background: rgba(255, 253, 248, 0.42);
  filter: blur(16px);
}

.pastry-art {
  position: relative;
  z-index: 1;
  width: min(58%, 150px);
  aspect-ratio: 1;
  transform: rotate(var(--art-tilt, -6deg));
  filter: drop-shadow(0 22px 18px rgba(68, 39, 31, 0.23));
}

.pastry-art span {
  position: absolute;
  display: block;
}

.art-muffin .cup {
  left: 17%;
  right: 17%;
  bottom: 8%;
  height: 42%;
  border-radius: 6px 6px 22px 22px;
  background: linear-gradient(135deg, #8d4d32, #c58055 55%, #69311f);
}

.art-muffin .top {
  left: 8%;
  right: 8%;
  top: 14%;
  height: 54%;
  border-radius: 48% 52% 44% 48%;
  background: radial-gradient(circle at 35% 30%, #f8d199 0 12%, transparent 13%),
    radial-gradient(circle at 66% 38%, #5f2b25 0 8%, transparent 9%),
    linear-gradient(135deg, #b86b3f, #f0ad69);
}

.art-cupcake .base {
  left: 24%;
  right: 24%;
  bottom: 8%;
  height: 36%;
  border-radius: 5px 5px 18px 18px;
  background: repeating-linear-gradient(90deg, #9a3546 0 10px, #f0c1b9 10px 18px);
}

.art-cupcake .frost {
  left: 12%;
  right: 12%;
  top: 13%;
  height: 58%;
  border-radius: 50% 50% 45% 45%;
  background: radial-gradient(circle at 42% 24%, #fff7e6 0 16%, transparent 17%),
    linear-gradient(135deg, #f7e4d5, #c98b91);
}

.art-cookie .cookie {
  inset: 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 38%, #5c2f26 0 7%, transparent 8%),
    radial-gradient(circle at 63% 31%, #6a3427 0 6%, transparent 7%),
    radial-gradient(circle at 56% 66%, #4d271f 0 8%, transparent 9%),
    linear-gradient(135deg, #d19458, #f2c37d);
}

.art-cake .plate {
  left: 9%;
  right: 9%;
  bottom: 15%;
  height: 15%;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.72);
}

.art-cake .slice {
  left: 18%;
  right: 18%;
  bottom: 25%;
  height: 48%;
  clip-path: polygon(0 0, 100% 18%, 78% 100%, 0 78%);
  background: linear-gradient(180deg, #fff2db 0 22%, #7c3040 22% 34%, #f2c98e 34% 58%, #7c3040 58% 70%, #e9b77f 70%);
}

.art-brownie .brownie {
  inset: 20% 12%;
  border-radius: 7px;
  transform: perspective(180px) rotateX(16deg) rotateZ(-5deg);
  background:
    radial-gradient(circle at 38% 35%, #f2d19a 0 5%, transparent 6%),
    radial-gradient(circle at 62% 62%, #e8c589 0 6%, transparent 7%),
    linear-gradient(135deg, #3d1f18, #754030);
}

.art-pastry .swirl {
  inset: 8%;
  border: 18px solid #c17742;
  border-right-color: #f2c98e;
  border-bottom-color: #f6d9a9;
  border-radius: 50%;
  transform: rotate(28deg);
}

.art-custom .box {
  left: 13%;
  right: 13%;
  bottom: 13%;
  height: 56%;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff3dc, #e7b78b);
}

.art-custom .ribbon-v {
  left: 45%;
  top: 15%;
  bottom: 12%;
  width: 12%;
  background: var(--wine-700);
}

.art-custom .ribbon-h {
  left: 13%;
  right: 13%;
  top: 43%;
  height: 12%;
  background: var(--wine-700);
}

.badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(91, 16, 34, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 9px;
  white-space: nowrap;
}

.badge-gold {
  border-color: rgba(184, 137, 63, 0.32);
  background: rgba(234, 210, 164, 0.82);
  color: #5d3b12;
}

.status-badge {
  text-transform: capitalize;
}

.status-PENDING,
.status-APPROVED {
  background: rgba(234, 210, 164, 0.45);
  color: #68420e;
}

.status-IN_PROGRESS {
  background: rgba(201, 139, 145, 0.26);
  color: #6a1828;
}

.status-READY {
  background: rgba(101, 115, 93, 0.2);
  color: #3f5138;
}

.status-OUT_FOR_DELIVERY {
  background: rgba(184, 137, 63, 0.24);
  color: #5d3b12;
}

.status-COMPLETED {
  background: rgba(101, 115, 93, 0.28);
  color: #304a2f;
}

.status-DECLINED,
.status-CANCELLED {
  background: rgba(137, 30, 43, 0.1);
  color: #7a1020;
}

.product-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.product-meta,
.line-meta,
.small-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--taupe);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  color: var(--wine);
  font-size: 1.18rem;
  font-weight: 900;
}

.availability {
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-unavailable {
  opacity: 0.76;
}

.product-unavailable .product-media {
  filter: saturate(0.65);
}

.product-unavailable .btn-primary {
  background: rgba(91, 16, 34, 0.16);
  color: var(--wine);
  box-shadow: none;
}

.availability.off {
  color: #8d2539;
}

.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.shop-menu {
  background: rgba(255, 253, 248, 0.44);
}

.menu-title .eyebrow,
.request-section .eyebrow {
  margin-bottom: 14px;
}

.menu-grid .product-card {
  box-shadow: 0 10px 26px rgba(68, 39, 31, 0.09);
}

.request-section {
  border-top: 1px solid rgba(91, 16, 34, 0.08);
}

.filter-btn {
  border: 1px solid rgba(91, 16, 34, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.58);
  color: var(--chocolate);
  font-weight: 800;
  padding: 9px 13px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: rgba(91, 16, 34, 0.26);
  background: var(--wine);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 22px;
  align-items: start;
}

.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.feature-copy h2 {
  margin: 0;
  color: var(--wine);
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: 1;
}

.feature-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.feature-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-row .category-icon {
  width: 38px;
  height: 38px;
}

.feature-row h3 {
  margin: 0;
  color: var(--chocolate);
}

.feature-row p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.trust-card {
  padding: 22px;
}

.page {
  padding: 44px 0 78px;
}

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

.cart-lines,
.admin-list,
.orders-list,
.calendar-list,
.customer-grid {
  display: grid;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  box-shadow: 0 10px 22px rgba(68, 39, 31, 0.06);
}

.mini-art {
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.22), rgba(234, 210, 164, 0.46)),
    var(--art-bg, #f3d5b1);
  position: relative;
  overflow: hidden;
}

.mini-art::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: rgba(91, 16, 34, 0.14);
  box-shadow: 12px 10px 0 rgba(255, 253, 248, 0.34);
}

.line-title {
  display: grid;
  gap: 5px;
}

.line-title strong {
  color: var(--wine);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-controls span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  color: var(--chocolate);
  font-weight: 900;
}

.summary-card,
.checkout-summary,
.admin-panel {
  padding: 20px;
}

.summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 250, 241, 0.9));
  box-shadow: var(--shadow-soft);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(91, 16, 34, 0.1);
  color: var(--muted);
}

.summary-row:last-child {
  border-bottom: 0;
}

.summary-row strong {
  color: var(--wine);
}

.total-row {
  color: var(--wine);
  font-size: 1.12rem;
  font-weight: 900;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.radio-group legend {
  color: var(--chocolate);
  font-size: 0.84rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(91, 16, 34, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  padding: 11px 12px;
}

.delivery-field[hidden] {
  display: none;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(91, 16, 34, 0.38);
}

.radio-group {
  display: grid;
  grid-column: 1 / -1;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.segmented label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(91, 16, 34, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  padding: 10px 12px;
  font-weight: 800;
}

.error-text,
.success-text,
.note-text {
  margin: 0;
  color: #7a1020;
  font-size: 0.86rem;
  font-weight: 800;
}

.success-text {
  color: #365436;
}

.note-text {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 28px;
  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  margin: 0;
  color: var(--wine);
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 2.2rem;
}

.empty-state p {
  max-width: 520px;
  margin: 9px auto 18px;
  color: var(--muted);
  line-height: 1.6;
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(38, 24, 18, 0.36);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100vw);
  height: 100vh;
  border-left: 1px solid rgba(91, 16, 34, 0.16);
  background: linear-gradient(180deg, var(--cream-50), #f7ead8);
  box-shadow: -18px 0 50px rgba(38, 24, 18, 0.16);
}

.drawer-head,
.drawer-foot {
  padding: 20px;
  border-bottom: 1px solid rgba(91, 16, 34, 0.12);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-head h2 {
  margin: 0;
  color: var(--wine);
}

.drawer-body {
  overflow: auto;
  padding: 18px;
}

.drawer-foot {
  border-top: 1px solid rgba(91, 16, 34, 0.12);
  border-bottom: 0;
}

.site-footer {
  border-top: 1px solid rgba(91, 16, 34, 0.1);
  background: linear-gradient(180deg, rgba(91, 16, 34, 0.95), #3b0c18);
  color: #fff8ed;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(140px, 1fr));
  gap: 28px;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-grid p,
.footer-grid a,
.footer-grid li {
  color: rgba(255, 248, 237, 0.78);
  line-height: 1.7;
}

.footer-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-shell {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(248, 237, 220, 0.82)),
    radial-gradient(circle at 90% 12%, rgba(184, 137, 63, 0.08), transparent 28%);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  border-right: 1px solid rgba(91, 16, 34, 0.14);
  background: rgba(255, 253, 248, 0.52);
  padding: 18px;
  backdrop-filter: blur(16px);
}

.admin-sidebar > .btn {
  align-self: end;
  justify-self: stretch;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  margin-top: 28px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding: 11px 10px;
}

.admin-main {
  padding: 34px 34px 48px;
}

.atelier-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  gap: 20px;
  align-items: start;
}

.overview-main,
.atelier-list,
.vault-list {
  display: grid;
  gap: 14px;
}

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

.atelier-panel,
.atelier-calendar-panel,
.vault-lock-panel {
  border: 1px solid rgba(91, 16, 34, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.62);
  box-shadow: 0 10px 28px rgba(68, 39, 31, 0.06);
  padding: 18px;
}

.atelier-calendar-panel {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 16px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-heading h2,
.atelier-panel h2,
.vault-lock-panel h2,
.recipe-viewer h2 {
  margin: 0;
  color: var(--wine);
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.panel-heading a,
.panel-heading span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.summary-chip-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.summary-chip {
  border-bottom: 1px solid rgba(91, 16, 34, 0.14);
  padding: 4px 0 12px;
}

.summary-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.summary-chip strong {
  display: block;
  margin-top: 6px;
  color: var(--wine);
  font-size: 1.15rem;
}

.mini-calendar-weekdays,
.mini-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.mini-calendar-weekdays {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
}

.mini-day {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--chocolate);
  font-weight: 800;
}

.mini-day span {
  line-height: 1;
}

.mini-day:hover,
.mini-day.selected {
  border-color: rgba(91, 16, 34, 0.26);
  background: rgba(91, 16, 34, 0.07);
  color: var(--wine);
}

.mini-day.today {
  border-color: rgba(184, 137, 63, 0.5);
  box-shadow: inset 0 0 0 1px rgba(184, 137, 63, 0.22);
}

.mini-day.selected {
  border-color: rgba(91, 16, 34, 0.58);
  background: rgba(91, 16, 34, 0.12);
}

.mini-day.muted {
  opacity: 0.46;
}

.mini-day em {
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.48rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mini-day b {
  position: absolute;
  top: 3px;
  right: 4px;
  display: grid;
  place-items: center;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--wine);
  color: var(--cream);
  font-size: 0.58rem;
  line-height: 1;
}

.mini-day i {
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.image-preview {
  display: grid;
  gap: 10px;
  border: 1px dashed rgba(91, 16, 34, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.58);
  padding: 10px;
}

.image-preview img {
  width: 100%;
  max-height: 220px;
  border-radius: 6px;
  object-fit: cover;
}

.empty-preview {
  min-height: 72px;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.vault-lock-panel {
  max-width: 560px;
}

.vault-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1fr);
  gap: 16px;
  align-items: start;
}

.recipe-viewer {
  grid-column: 1 / -1;
}

.vault-search {
  margin-bottom: 14px;
}

.recipe-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(91, 16, 34, 0.1);
}

.recipe-block h3 {
  margin: 0 0 6px;
  color: var(--chocolate);
}

.recipe-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.stat-card {
  padding: 18px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--wine);
  font-size: 1.8rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(91, 16, 34, 0.1);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--chocolate);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

td strong {
  color: var(--wine);
}

.admin-panel + .admin-panel {
  margin-top: 18px;
}

.orders-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
}

.order-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.order-card h3 {
  margin: 0;
  color: var(--wine);
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.detail-box {
  border: 1px solid rgba(91, 16, 34, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.64);
  padding: 10px;
}

.detail-box span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.detail-box strong {
  color: var(--chocolate);
  font-size: 0.9rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 10px;
}

.calendar-day {
  min-height: 150px;
  padding: 10px;
}

.calendar-day.muted {
  opacity: 0.55;
}

.day-number {
  color: var(--wine);
  font-weight: 900;
  margin-bottom: 8px;
}

.calendar-event {
  display: grid;
  gap: 3px;
  margin-top: 7px;
  border-left: 3px solid var(--wine);
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.86);
  padding: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.calendar-event strong {
  color: var(--wine);
}

.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.88);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.management-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px;
}

.admin-list-item h3 {
  margin: 0;
  color: var(--wine);
}

.admin-list-item p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toggle-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--chocolate);
  font-weight: 800;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(91, 16, 34, 0.88), rgba(66, 39, 31, 0.82)),
    linear-gradient(180deg, #fffaf1, #ead7bf);
}

.login-card {
  width: min(460px, 100%);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.95);
  padding: 28px;
  box-shadow: 0 28px 80px rgba(38, 24, 18, 0.32);
}

.login-card h1 {
  margin: 18px 0 8px;
  color: var(--wine);
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.login-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

.customer-card,
.contact-card {
  padding: 18px;
}

.confirmation {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.confirmation .category-icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
}

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

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

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

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

  .summary-chip-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .nav {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .feature-band,
  .split,
  .cart-layout,
  .checkout-layout,
  .admin-grid,
  .atelier-overview,
  .overview-two,
  .vault-layout,
  .management-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 190px;
    padding: 0 0 20px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }

  .admin-nav {
    display: flex;
    overflow-x: auto;
    margin-top: 14px;
    padding-bottom: 4px;
  }

  .admin-main {
    padding: 22px 16px 44px;
  }

  .atelier-calendar-panel {
    position: static;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 1180px);
  }

  .brand-title span,
  .admin-link-label {
    display: none;
  }

  .nav-actions .btn-secondary {
    padding-inline: 11px;
  }

  .hero-content {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .hero-proof,
  .category-grid,
  .product-grid,
  .trust-grid,
  .stats-grid,
  .summary-chip-row,
  .settings-grid,
  .customer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page {
    padding: 46px 0;
  }

  .section-title,
  .page-title,
  .admin-title {
    display: grid;
    align-items: start;
  }

  .cart-line {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .cart-line > .inline-actions {
    grid-column: 1 / -1;
  }

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

  .order-detail-grid,
  .calendar-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Dulce order-flow patch */
.admin-shell {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
}

.admin-sidebar {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 250, 241, 0.78));
}

.admin-sidebar > div:first-child {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.admin-nav {
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

.admin-sidebar > .btn {
  margin-top: 18px;
}

.order-view-tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 6px;
  border: 1px solid rgba(91, 16, 34, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.54);
}

.order-number {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(184, 137, 63, 0.28);
  border-radius: 999px;
  color: var(--chocolate);
  background: rgba(234, 210, 164, 0.28);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  vertical-align: middle;
}

.order-card-closed {
  background: rgba(255, 253, 248, 0.58);
}

.closed-order-note,
.closed-reason {
  margin-top: 12px;
  border: 1px solid rgba(91, 16, 34, 0.12);
  border-radius: var(--radius);
  background: rgba(248, 237, 220, 0.42);
  padding: 11px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.closed-reason strong {
  display: block;
  color: var(--wine);
  margin-bottom: 4px;
}

.closed-reason p {
  margin: 0;
  line-height: 1.55;
}

.order-admin-grid {
  grid-template-columns: 0.7fr 1fr;
}

.order-timeline,
.status-timeline {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(91, 16, 34, 0.1);
}

.order-timeline h4 {
  margin: 0 0 10px;
  color: var(--wine);
}

.timeline-entry {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
}

.timeline-entry.compact {
  padding: 5px 0;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  background: var(--wine);
  box-shadow: 0 0 0 4px rgba(91, 16, 34, 0.08);
}

.timeline-entry strong {
  color: var(--chocolate);
  text-transform: capitalize;
}

.timeline-entry p {
  margin: 2px 0;
  color: var(--muted);
  line-height: 1.45;
}

.timeline-entry small {
  color: var(--taupe);
  font-size: 0.76rem;
}

.tracking-result {
  align-self: start;
}

.track-copy {
  margin-top: 10px;
}

.admin-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(118, 26, 45, 0.18);
  border-radius: var(--radius);
  background: rgba(118, 26, 45, 0.06);
}

@media (max-width: 900px) {
  .admin-sidebar {
    max-height: none;
    overflow: visible;
  }

  .admin-nav {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .order-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* Patch: in-app dialogs, product previews, and pack options */
.media-preview-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}

.media-preview-button:focus-visible,
.pack-option:focus-visible,
.app-dialog button:focus-visible,
.product-preview-modal button:focus-visible {
  outline: 3px solid rgba(118, 26, 45, 0.22);
  outline-offset: 3px;
}

.modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(31, 24, 21, 0.48);
  backdrop-filter: blur(7px);
}

.product-preview-modal,
.app-dialog {
  position: fixed;
  z-index: 90;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 42px);
  overflow: auto;
  border: 1px solid rgba(91, 16, 34, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(250, 239, 222, 0.98));
  box-shadow: 0 28px 80px rgba(91, 16, 34, 0.22);
}

.app-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 24px;
}

.app-dialog h2 {
  margin: 0 0 8px;
  color: var(--wine);
  font-family: var(--display-font);
  font-size: clamp(1.6rem, 2vw, 2.25rem);
}

.preview-head {
  border-bottom: 1px solid rgba(91, 16, 34, 0.1);
  padding: 20px 22px;
}

.preview-head h2 {
  margin: 0;
  color: var(--wine);
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

.preview-head p {
  margin: 4px 0 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: 22px;
  padding: 22px;
}

.preview-grid .product-media {
  min-height: 390px;
  border-radius: 22px;
}

.preview-copy {
  display: grid;
  align-content: start;
  gap: 15px;
}

.preview-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.preview-copy h3 {
  margin: 8px 0 0;
  color: var(--wine);
  font-size: 1rem;
}

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

.pack-option {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(91, 16, 34, 0.14);
  border-radius: 18px;
  background: rgba(255, 251, 244, 0.82);
  color: var(--chocolate);
  cursor: pointer;
  text-align: left;
}

.pack-option.active {
  border-color: rgba(118, 26, 45, 0.45);
  background: rgba(118, 26, 45, 0.08);
  box-shadow: inset 0 0 0 1px rgba(118, 26, 45, 0.18);
}

.pack-option span {
  font-weight: 800;
}

.pack-option strong {
  color: var(--wine);
}

.preview-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(91, 16, 34, 0.1);
  border-bottom: 1px solid rgba(91, 16, 34, 0.1);
}

.app-notice {
  position: fixed;
  z-index: 110;
  right: 22px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(440px, calc(100vw - 44px));
  padding: 13px 15px;
  border: 1px solid rgba(91, 16, 34, 0.16);
  border-radius: 18px;
  background: rgba(255, 251, 244, 0.96);
  color: var(--chocolate);
  box-shadow: 0 18px 50px rgba(91, 16, 34, 0.18);
}

.app-notice.success {
  border-color: rgba(75, 115, 82, 0.28);
  background: rgba(247, 252, 245, 0.96);
}

.app-notice.error {
  border-color: rgba(118, 26, 45, 0.26);
  background: rgba(255, 246, 244, 0.96);
}

.pack-admin-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(91, 16, 34, 0.12);
  border-radius: 20px;
  background: rgba(250, 239, 222, 0.45);
}

.pack-admin-panel h3 {
  margin: 0 0 4px;
  color: var(--wine);
}

.pack-admin-grid {
  display: grid;
  gap: 12px;
}

.pack-admin-row {
  display: grid;
  grid-template-columns: 90px 1fr 90px 120px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(91, 16, 34, 0.1);
  border-radius: 16px;
  background: rgba(255, 251, 244, 0.76);
}

.pack-enable {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 12px;
  color: var(--chocolate);
  font-weight: 800;
}

@media (max-width: 760px) {
  .product-preview-modal,
  .app-dialog {
    width: min(100vw - 18px, 620px);
    border-radius: 22px;
  }

  .preview-grid,
  .pack-admin-row {
    grid-template-columns: 1fr;
  }

  .preview-grid .product-media {
    min-height: 260px;
  }

  .pack-option-grid {
    grid-template-columns: 1fr;
  }

  .app-notice {
    left: 12px;
    right: 12px;
    top: 12px;
    max-width: none;
  }
}

/* Dulce card image visibility fix
   Product card media sits inside a button after the product-preview patch.
   Give that button and media layer a real height so uploaded product images
   display on the card before opening the preview modal. */
.product-card > .media-preview-button {
  display: block;
  width: 100%;
  height: 260px;
  min-height: 260px;
  overflow: hidden;
}

.product-card > .media-preview-button .product-media {
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.product-card > .media-preview-button .image-media img {
  display: block;
}

@media (max-width: 760px) {
  .product-card > .media-preview-button,
  .product-card > .media-preview-button .product-media {
    height: 220px;
    min-height: 220px;
  }
}


/* Dulce admin flow polish patch
   - Remove the redundant home category card section if old markup is cached.
   - Keep admin product forms and pack controls inside their borders.
   - Make in-app dialogs sit above all admin/customer surfaces. */
@supports selector(:has(*)) {
  .section:has(.category-grid) {
    display: none;
  }
}

.admin-main,
.management-grid,
.form-panel,
.admin-list,
.admin-list-item,
.pack-admin-panel,
.pack-admin-row,
.order-card,
.product-card {
  min-width: 0;
}

.management-grid {
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.form-panel {
  max-width: 100%;
  overflow: hidden;
}

.form-panel .field,
.form-panel .field input,
.form-panel .field select,
.form-panel .field textarea,
.pack-admin-row input,
.pack-admin-row select,
.pack-admin-row textarea {
  min-width: 0;
  max-width: 100%;
}

.pack-admin-row {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.pack-enable {
  padding-bottom: 0;
}

.pack-admin-panel {
  overflow: hidden;
}

.admin-list-item p,
.order-card p,
.note-text,
.small-meta {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.modal-scrim {
  z-index: 9000;
}

.product-preview-modal,
.app-dialog,
.app-notice,
.cart-drawer {
  z-index: 9010;
}

.app-dialog {
  overscroll-behavior: contain;
}

@media (max-width: 1280px) {
  .management-grid {
    grid-template-columns: 1fr;
  }
}


/* Dulce burgundy hero luxury animation patch
   Replaces the pale microscopic-looking landing animation with a darker,
   premium burgundy hero and pastry-atelier motion. */
.hero {
  min-height: min(760px, calc(100vh - 70px));
  background:
    radial-gradient(circle at 78% 42%, rgba(247, 205, 139, 0.22), transparent 34%),
    radial-gradient(circle at 58% 76%, rgba(201, 139, 145, 0.18), transparent 35%),
    linear-gradient(135deg, #3b0714 0%, #5b1022 44%, #78162c 100%);
  color: #fff1d8;
  border-bottom: 1px solid rgba(247, 229, 196, 0.18);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(59, 7, 20, 0.96) 0%, rgba(91, 16, 34, 0.88) 45%, rgba(91, 16, 34, 0.48) 100%),
    radial-gradient(circle at 84% 30%, rgba(255, 232, 188, 0.24), transparent 32%),
    radial-gradient(circle at 70% 78%, rgba(32, 5, 12, 0.28), transparent 42%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 244, 222, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 244, 222, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.6), transparent 75%);
}

.hero-canvas {
  z-index: 0;
  opacity: 0.96;
  filter: saturate(1.08) contrast(1.02);
}

.hero-content {
  min-height: inherit;
  padding: 72px 0 68px;
}

.hero .eyebrow {
  border-color: rgba(247, 229, 196, 0.22);
  background: rgba(255, 244, 222, 0.08);
  color: #ffe8bf;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 16px 40px rgba(0,0,0,0.12);
}

.hero h1 {
  color: #fff1d8;
  text-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  color: rgba(255, 241, 216, 0.86);
}

.hero .btn-primary {
  border-color: rgba(255, 241, 216, 0.28);
  background: #fff1d8;
  color: #5b1022;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26);
}

.hero .btn-primary:hover {
  background: #ffe7bc;
}

.hero .btn-secondary {
  border-color: rgba(255, 241, 216, 0.28);
  background: rgba(255, 241, 216, 0.08);
  color: #fff1d8;
}

.hero .btn-secondary:hover {
  background: rgba(255, 241, 216, 0.14);
}

.hero-luxe-panel {
  position: relative;
  min-height: 430px;
  align-content: center;
}

.hero-showpiece {
  position: relative;
  height: 380px;
  width: min(100%, 520px);
  margin-left: auto;
  perspective: 900px;
  transform-style: preserve-3d;
}

.pastry-orbit {
  position: absolute;
  inset: 18% 6%;
  border: 1px solid rgba(255, 232, 188, 0.18);
  border-radius: 50%;
  transform: rotateX(60deg) rotateZ(-14deg);
  animation: pastry-orbit-spin 18s linear infinite;
}

.orbit-two {
  inset: 28% 16%;
  border-color: rgba(255, 232, 188, 0.12);
  animation-duration: 24s;
  animation-direction: reverse;
}

.pastry-float {
  position: absolute;
  display: block;
  filter: drop-shadow(0 28px 24px rgba(0, 0, 0, 0.32));
  transform-style: preserve-3d;
}

.pastry-float-cupcake {
  width: 160px;
  height: 172px;
  right: 17%;
  top: 13%;
  animation: pastry-float-main 6.8s ease-in-out infinite;
}

.cupcake-base,
.cupcake-frost,
.macaron-shell,
.macaron-cream,
.slice-top,
.slice-body,
.slice-cream {
  position: absolute;
  display: block;
}

.cupcake-base {
  left: 31%;
  right: 31%;
  bottom: 8%;
  height: 44%;
  border-radius: 7px 7px 24px 24px;
  background: repeating-linear-gradient(90deg, #7b1027 0 12px, #d59b9a 12px 22px);
}

.cupcake-frost {
  left: 8%;
  right: 8%;
  top: 0;
  height: 68%;
  border-radius: 52% 48% 45% 48%;
  background:
    radial-gradient(circle at 36% 22%, rgba(255,255,255,0.95) 0 9%, transparent 10%),
    radial-gradient(circle at 62% 40%, rgba(255,232,188,0.8) 0 8%, transparent 9%),
    linear-gradient(135deg, #fff4de 0%, #f1c7aa 45%, #c98b91 100%);
}

.pastry-float-macaron {
  width: 170px;
  height: 96px;
  right: 46%;
  top: 34%;
  transform: rotate(-10deg);
  animation: pastry-float-secondary 7.6s ease-in-out infinite;
}

.macaron-shell.top {
  left: 4%;
  right: 4%;
  top: 0;
  height: 42%;
  border-radius: 999px 999px 42px 42px;
  background: linear-gradient(135deg, #ffe5b8, #d08852);
}

.macaron-cream {
  left: 9%;
  right: 9%;
  top: 38%;
  height: 18%;
  border-radius: 999px;
  background: #fff3db;
}

.macaron-shell.bottom {
  left: 4%;
  right: 4%;
  bottom: 8%;
  height: 42%;
  border-radius: 42px 42px 999px 999px;
  background: linear-gradient(135deg, #bc6d46, #f5bd7c);
}

.pastry-float-slice {
  width: 188px;
  height: 132px;
  right: 10%;
  bottom: 14%;
  transform: rotate(8deg);
  animation: pastry-float-tertiary 8.4s ease-in-out infinite;
}

.slice-body {
  inset: 26% 7% 12% 4%;
  clip-path: polygon(0 5%, 100% 18%, 78% 100%, 0 80%);
  background: linear-gradient(180deg, #ffe8bd 0 22%, #6b1024 22% 35%, #f5c57f 35% 60%, #6b1024 60% 72%, #e1a867 72%);
  border-radius: 10px;
}

.slice-top {
  left: 3%;
  right: 6%;
  top: 16%;
  height: 24%;
  border-radius: 50% 45% 30% 25%;
  background: linear-gradient(135deg, #fff3dd, #f1b76b);
}

.slice-cream {
  left: 13%;
  right: 26%;
  top: 54%;
  height: 8%;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
}

.gold-ribbon {
  position: absolute;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 240, 194, 0), rgba(255, 214, 132, 0.72), rgba(255, 240, 194, 0));
  filter: blur(0.2px) drop-shadow(0 12px 18px rgba(0,0,0,0.22));
  opacity: 0.7;
}

.ribbon-a {
  width: 230px;
  right: 28%;
  top: 18%;
  transform: rotate(18deg);
  animation: ribbon-drift 7s ease-in-out infinite;
}

.ribbon-b {
  width: 190px;
  right: 4%;
  bottom: 28%;
  transform: rotate(-22deg);
  animation: ribbon-drift 8.5s ease-in-out infinite reverse;
}

.hero-proof-glass {
  position: relative;
  z-index: 3;
  margin-left: auto;
}

.hero .proof-item {
  border-color: rgba(255, 232, 188, 0.22);
  background: rgba(255, 244, 222, 0.09);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.10);
}

.hero .proof-item strong {
  color: #ffe8bf;
}

.hero .proof-item span {
  color: rgba(255, 241, 216, 0.76);
}

@keyframes pastry-orbit-spin {
  from { transform: rotateX(60deg) rotateZ(-14deg); }
  to { transform: rotateX(60deg) rotateZ(346deg); }
}

@keyframes pastry-float-main {
  0%, 100% { transform: translate3d(0, 0, 42px) rotate(-4deg); }
  50% { transform: translate3d(-12px, -18px, 70px) rotate(5deg); }
}

@keyframes pastry-float-secondary {
  0%, 100% { transform: translate3d(0, 0, 18px) rotate(-10deg); }
  50% { transform: translate3d(14px, -10px, 48px) rotate(-3deg); }
}

@keyframes pastry-float-tertiary {
  0%, 100% { transform: translate3d(0, 0, 24px) rotate(8deg); }
  50% { transform: translate3d(10px, 12px, 54px) rotate(2deg); }
}

@keyframes ribbon-drift {
  0%, 100% { opacity: 0.48; translate: 0 0; }
  50% { opacity: 0.88; translate: 14px -10px; }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(59,7,20,0.97), rgba(91,16,34,0.88));
  }
  .hero-showpiece {
    height: 270px;
    margin: 12px auto 0;
  }
  .hero-luxe-panel {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }
  .hero-showpiece {
    height: 230px;
    transform: scale(0.88);
    transform-origin: center;
  }
  .pastry-float-cupcake {
    right: 10%;
    width: 140px;
    height: 150px;
  }
  .pastry-float-macaron {
    right: 44%;
    width: 132px;
  }
  .pastry-float-slice {
    width: 140px;
    right: 6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pastry-orbit,
  .pastry-float,
  .gold-ribbon {
    animation: none !important;
  }
}


/* Dulce premium hero high-fidelity patch
   Desktop-first luxury hero recreation based on the approved concept.
   This intentionally overrides earlier burgundy/pastry icon animation rules. */
:root {
  --dulce-cream: #fff1d8;
  --dulce-cream-soft: #f9ddb3;
  --dulce-gold: #dba953;
  --dulce-gold-soft: #f3c77e;
  --dulce-wine-deep: #330611;
  --dulce-wine: #5b1022;
  --dulce-wine-glow: #8b2037;
}

.site-header {
  background:
    linear-gradient(180deg, rgba(55, 7, 18, 0.96), rgba(55, 7, 18, 0.86));
  border-bottom: 1px solid rgba(255, 232, 188, 0.14);
  box-shadow: 0 16px 44px rgba(17, 1, 6, 0.22);
}

.site-header .brand-title strong,
.site-header .nav-link,
.site-header .admin-nav-link {
  color: rgba(255, 241, 216, 0.94);
}

.site-header .brand-title span {
  color: rgba(247, 205, 139, 0.78);
}

.site-header .brand-mark,
.site-header .icon-btn,
.site-header .nav-actions .btn-secondary {
  background: rgba(255, 241, 216, 0.06);
  border-color: rgba(255, 232, 188, 0.22);
  color: var(--dulce-cream-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 28px rgba(0,0,0,0.14);
}

.site-header .nav-link:hover,
.site-header .nav-link.active,
.site-header .admin-nav-link:hover,
.site-header .admin-nav-link.active {
  background: rgba(255, 241, 216, 0.10);
  border-color: rgba(255, 232, 188, 0.26);
  color: var(--dulce-cream);
}

.site-header .cart-count {
  border-color: rgba(55,7,18,0.9);
  background: var(--dulce-cream-soft);
  color: var(--dulce-wine-deep);
}

.hero {
  min-height: min(820px, calc(100vh - 70px));
  background:
    radial-gradient(circle at 76% 34%, rgba(220, 163, 82, 0.26), transparent 24%),
    radial-gradient(circle at 82% 62%, rgba(141, 35, 57, 0.48), transparent 38%),
    radial-gradient(circle at 50% 87%, rgba(35, 3, 10, 0.42), transparent 46%),
    linear-gradient(112deg, #320511 0%, #4a0b1a 34%, #691329 68%, #85213a 100%);
  color: var(--dulce-cream);
  border-bottom: 1px solid rgba(255, 232, 188, 0.12);
  isolation: isolate;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(39, 4, 12, 0.88) 0%, rgba(60, 8, 20, 0.66) 44%, rgba(91, 16, 34, 0.10) 100%),
    radial-gradient(circle at 88% 16%, rgba(255, 232, 188, 0.18), transparent 28%),
    radial-gradient(circle at 38% 62%, rgba(223, 153, 84, 0.08), transparent 40%);
  z-index: 1;
}

.hero::after {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 241, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 241, 216, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 22% 52%, rgba(247, 205, 139, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 32%, rgba(247, 205, 139, 0.18) 0 1px, transparent 2px);
  background-size: 64px 64px, 64px 64px, 170px 150px, 210px 170px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.9), transparent 80%);
}

.hero-canvas {
  opacity: 0 !important;
  pointer-events: none;
}

.hero-content {
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1fr);
  gap: clamp(22px, 4vw, 64px);
  min-height: inherit;
  padding: clamp(58px, 7.5vw, 108px) 0 clamp(52px, 7vw, 96px);
}

.hero .eyebrow {
  background: rgba(255, 241, 216, 0.055);
  border-color: rgba(255, 232, 188, 0.24);
  color: var(--dulce-gold-soft);
  letter-spacing: 0.16em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 24px 70px rgba(0,0,0,0.18);
}

.hero h1 {
  max-width: 780px;
  margin-top: 30px;
  color: var(--dulce-cream);
  font-size: clamp(4.1rem, 7.0vw, 7.15rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.hero h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--dulce-gold), rgba(247, 205, 139, 0));
}

.hero-copy {
  max-width: 660px;
  margin-top: 20px;
  color: rgba(255, 241, 216, 0.86);
  font-size: clamp(1.07rem, 1.6vw, 1.32rem);
  line-height: 1.72;
}

.hero-actions {
  margin-top: 34px;
  gap: 14px;
}

.hero .btn {
  min-height: 54px;
  border-radius: 12px;
  padding: 14px 23px;
  font-size: 0.98rem;
}

.hero .btn-primary {
  background: linear-gradient(135deg, #fff4da 0%, #f5d391 100%);
  border-color: rgba(255, 241, 216, 0.38);
  color: var(--dulce-wine-deep);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.62);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, #fff8e9 0%, #f5cb7a 100%);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255,255,255,0.76);
}

.hero .btn-secondary {
  background: rgba(255, 241, 216, 0.055);
  border-color: rgba(255, 232, 188, 0.28);
  color: var(--dulce-cream);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero .btn-secondary:hover {
  background: rgba(255, 241, 216, 0.11);
  border-color: rgba(255, 232, 188, 0.40);
}

.hero-premium-panel {
  position: relative;
  min-height: 620px;
  padding: 0;
  align-content: end;
  overflow: visible;
}

.hero-luxe-stage {
  position: absolute;
  inset: -18px -54px 50px -70px;
  z-index: 1;
  transform-style: preserve-3d;
  perspective: 1200px;
  pointer-events: none;
}

.hero-cupcake-figure {
  position: absolute;
  right: -18px;
  bottom: 18px;
  width: min(760px, 112%);
  margin: 0;
  opacity: 0.98;
  filter: drop-shadow(0 38px 52px rgba(0,0,0,0.36)) saturate(1.05) contrast(1.02);
  animation: luxe-cupcake-float 8.5s ease-in-out infinite;
  transform-origin: 54% 58%;
}

.hero-cupcake-figure img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}

.luxe-glow,
.luxe-orbit,
.luxe-ribbon,
.luxe-sparkle {
  position: absolute;
  display: block;
  pointer-events: none;
}

.luxe-glow-one {
  width: 420px;
  height: 420px;
  right: 70px;
  top: 80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 219, 150, 0.22), transparent 66%);
  filter: blur(18px);
  animation: luxe-glow-breathe 7s ease-in-out infinite;
}

.luxe-glow-two {
  width: 520px;
  height: 300px;
  right: 210px;
  bottom: 24px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(115, 20, 38, 0.42), transparent 68%);
  filter: blur(20px);
}

.luxe-orbit {
  border: 1px solid rgba(255, 232, 188, 0.12);
  border-radius: 50%;
  transform: rotateX(62deg) rotateZ(-14deg);
  mix-blend-mode: screen;
}

.luxe-orbit-one {
  width: 680px;
  height: 330px;
  right: 4px;
  top: 94px;
  animation: luxe-orbit-drift 17s linear infinite;
}

.luxe-orbit-two {
  width: 520px;
  height: 250px;
  right: 94px;
  top: 172px;
  opacity: 0.72;
  animation: luxe-orbit-drift 24s linear infinite reverse;
}

.luxe-ribbon {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 241, 216, 0), rgba(246, 198, 111, 0.78), rgba(255, 241, 216, 0));
  filter: blur(0.2px) drop-shadow(0 18px 30px rgba(0,0,0,0.24));
  opacity: 0.72;
  mix-blend-mode: screen;
}

.luxe-ribbon-front {
  width: 360px;
  right: 138px;
  top: 224px;
  transform: rotate(-17deg);
  animation: luxe-ribbon-sweep 8s ease-in-out infinite;
}

.luxe-ribbon-back {
  width: 460px;
  right: -20px;
  bottom: 202px;
  transform: rotate(14deg);
  opacity: 0.45;
  animation: luxe-ribbon-sweep 10s ease-in-out infinite reverse;
}

.luxe-sparkle {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5c76e;
  box-shadow: 0 0 18px rgba(245, 199, 110, 0.84);
  animation: luxe-sparkle-drift 7s ease-in-out infinite;
}

.sparkle-one { right: 52%; top: 18%; animation-delay: -1s; }
.sparkle-two { right: 18%; top: 12%; width: 5px; height: 5px; animation-delay: -2.7s; }
.sparkle-three { right: 58%; bottom: 32%; width: 4px; height: 4px; animation-delay: -4s; }
.sparkle-four { right: 8%; bottom: 42%; width: 6px; height: 6px; animation-delay: -5.6s; }

.hero-proof-luxury {
  position: relative;
  z-index: 3;
  margin-left: auto;
  max-width: 480px;
  align-self: end;
}

.hero-proof-luxury .proof-item {
  min-height: 122px;
  padding: 18px;
  border-color: rgba(255, 232, 188, 0.18);
  background: linear-gradient(180deg, rgba(255, 241, 216, 0.08), rgba(255, 241, 216, 0.035));
  color: var(--dulce-cream);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(132%);
}

.hero-proof-luxury .proof-icon {
  display: inline-grid;
  place-items: center;
  color: var(--dulce-gold-soft);
  margin-bottom: 12px;
}

.hero-proof-luxury .proof-item strong {
  color: var(--dulce-cream);
  font-size: 1.68rem;
  line-height: 1.08;
}

.hero-proof-luxury .proof-item span:last-child {
  display: block;
  color: rgba(255, 241, 216, 0.76);
  margin-top: 4px;
  font-size: 0.84rem;
}

@keyframes luxe-cupcake-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, -16px, 28px) scale(1.018); }
}

@keyframes luxe-glow-breathe {
  0%, 100% { opacity: 0.56; transform: scale(0.98); }
  50% { opacity: 0.88; transform: scale(1.07); }
}

@keyframes luxe-orbit-drift {
  from { transform: rotateX(62deg) rotateZ(-14deg); }
  to { transform: rotateX(62deg) rotateZ(346deg); }
}

@keyframes luxe-ribbon-sweep {
  0%, 100% { opacity: 0.42; translate: 0 0; }
  50% { opacity: 0.85; translate: -18px 10px; }
}

@keyframes luxe-sparkle-drift {
  0%, 100% { opacity: 0.30; transform: translate3d(0, 0, 0) scale(0.86); }
  45% { opacity: 1; transform: translate3d(-12px, -24px, 0) scale(1.08); }
}

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-premium-panel {
    min-height: 500px;
  }
  .hero-luxe-stage {
    inset: -18px 0 72px 0;
  }
  .hero-cupcake-figure {
    right: 50%;
    translate: 50% 0;
    width: min(720px, 100%);
  }
  .hero-proof-luxury {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(55, 7, 18, 0.94);
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding: 42px 0 48px;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 15vw, 5rem);
    letter-spacing: -0.045em;
  }
  .hero-copy {
    font-size: 1.02rem;
  }
  .hero-premium-panel {
    min-height: 430px;
  }
  .hero-luxe-stage {
    inset: -10px -16px 86px -16px;
  }
  .hero-cupcake-figure {
    width: min(620px, 118%);
  }
  .hero-proof-luxury {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .hero-proof-luxury .proof-item {
    min-height: 96px;
    padding: 12px;
  }
  .hero-proof-luxury .proof-item strong {
    font-size: 1.3rem;
  }
  .hero-proof-luxury .proof-icon {
    margin-bottom: 6px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-proof-luxury {
    grid-template-columns: 1fr;
  }
  .hero-premium-panel {
    min-height: 470px;
  }
  .hero-cupcake-figure {
    width: 150%;
    right: 48%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cupcake-figure,
  .luxe-glow,
  .luxe-orbit,
  .luxe-ribbon,
  .luxe-sparkle {
    animation: none !important;
  }
}

/* DULCE HERO FIT + BLEND PATCH START */
/* Tightens the premium hero so it fits the first viewport and removes the visible rectangular haze around the hero artwork. */
.hero {
  overflow: hidden;
}

@media (min-width: 1101px) {
  .hero-content {
    width: min(1520px, calc(100vw - 96px));
    max-width: none;
    grid-template-columns: minmax(660px, 0.98fr) minmax(560px, 0.82fr);
    gap: clamp(18px, 2.8vw, 52px);
    align-items: center;
    padding-top: clamp(48px, 5.6vw, 82px);
    padding-bottom: clamp(38px, 5.2vw, 72px);
  }

  .hero h1 {
    max-width: 860px;
    font-size: clamp(4.55rem, 5.65vw, 6.2rem);
    line-height: 0.94;
    letter-spacing: -0.052em;
    margin-top: 28px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-premium-panel {
    min-height: clamp(520px, 60vh, 660px);
    overflow: visible;
  }

  .hero-luxe-stage {
    inset: -8px -52px 112px -64px;
    overflow: visible;
  }

  .hero-cupcake-figure {
    right: -40px;
    bottom: 42px;
    width: min(760px, 108%);
    opacity: 0.96;
    filter: drop-shadow(0 40px 60px rgba(0,0,0,0.32)) saturate(1.04) contrast(1.02);
    border-radius: 64px;
    overflow: hidden;
    background: transparent;
  }

  .hero-cupcake-figure img {
    width: 100%;
    max-width: none;
    transform: scale(1.025);
    transform-origin: 58% 56%;
    -webkit-mask-image: radial-gradient(ellipse at 58% 55%, #000 0%, #000 54%, rgba(0,0,0,0.78) 70%, rgba(0,0,0,0.28) 84%, transparent 96%);
    mask-image: radial-gradient(ellipse at 58% 55%, #000 0%, #000 54%, rgba(0,0,0,0.78) 70%, rgba(0,0,0,0.28) 84%, transparent 96%);
  }

  .hero-proof-luxury {
    max-width: 460px;
    transform: translateY(-6px);
  }
}

@media (min-width: 1400px) {
  .hero h1 {
    font-size: clamp(4.85rem, 5.45vw, 6.35rem);
  }
  .hero-cupcake-figure {
    right: -26px;
    width: min(800px, 112%);
  }
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: clamp(3.7rem, 10vw, 5.6rem);
  }
  .hero-cupcake-figure {
    border-radius: 42px;
    overflow: hidden;
  }
  .hero-cupcake-figure img {
    -webkit-mask-image: radial-gradient(ellipse at 56% 54%, #000 0%, #000 58%, rgba(0,0,0,0.62) 78%, transparent 96%);
    mask-image: radial-gradient(ellipse at 56% 54%, #000 0%, #000 58%, rgba(0,0,0,0.62) 78%, transparent 96%);
  }
}

@media (max-width: 760px) {
  .hero-content {
    padding-top: 38px;
  }
  .hero h1 {
    font-size: clamp(3.15rem, 14vw, 4.65rem);
    line-height: 0.96;
  }
  .hero-premium-panel {
    min-height: 390px;
  }
  .hero-luxe-stage {
    inset: -12px -32px 92px -32px;
  }
}
/* DULCE HERO FIT + BLEND PATCH END */

/* DULCE PHASE 2 CUSTOMER POLISH PATCH START */
/* Philosophy: less is more. This patch raises the customer-facing sections to the hero standard without turning the whole site burgundy. */

:root {
  --dulce-paper: #fffaf1;
  --dulce-porcelain: #fffdf8;
  --dulce-champagne: #f5dcae;
  --dulce-champagne-soft: #fbefd6;
  --dulce-fine-line: rgba(91, 16, 34, 0.13);
  --dulce-fine-line-soft: rgba(91, 16, 34, 0.08);
  --dulce-shadow-soft: 0 28px 80px rgba(91, 16, 34, 0.09);
  --dulce-shadow-card: 0 20px 50px rgba(91, 16, 34, 0.075);
}

/* Real logo integration */
.brand-with-logo {
  gap: 12px;
  min-width: 0;
}

.brand-logo-frame {
  position: relative;
  display: block;
  width: clamp(164px, 15vw, 228px);
  height: clamp(45px, 4.2vw, 58px);
  flex: 0 0 auto;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-logo-light { display: none; }
.brand-logo-burgundy { display: block; }
.site-header .brand-logo-burgundy { display: none; }
.site-header .brand-logo-light { display: block; }
.admin-shell .brand-logo-burgundy,
.admin-sidebar .brand-logo-burgundy { display: block; }
.admin-shell .brand-logo-light,
.admin-sidebar .brand-logo-light { display: none; }

.brand-title-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.admin-sidebar .brand-logo-frame {
  width: min(210px, 100%);
  height: 58px;
}

@media (max-width: 720px) {
  .brand-logo-frame {
    width: 154px;
    height: 43px;
  }
  .site-header .brand {
    max-width: 164px;
  }
}

/* Keep the hero as the statement piece. The rest of the page stays calm and airy. */
main:not(.admin-main) > .section,
.section.shop-menu,
.request-section,
.page {
  background:
    radial-gradient(circle at 8% 18%, rgba(245, 220, 174, 0.26), transparent 26%),
    linear-gradient(180deg, var(--dulce-paper), #fff7e9 100%);
}

.hero + .section,
.hero + .section.shop-menu {
  padding-top: clamp(64px, 7vw, 96px);
}

.section-title,
.menu-title,
.page-title {
  align-items: end;
  gap: 24px;
}

.section-title h2,
.page-title h1 {
  letter-spacing: -0.035em;
}

.section-title p,
.page-title p {
  max-width: 760px;
  line-height: 1.72;
}

/* Category/filter row: keep, but make it quieter and more premium. */
.menu-filters,
.filters {
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--dulce-fine-line-soft);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 18px 42px rgba(91, 16, 34, 0.055);
  width: fit-content;
  max-width: 100%;
}

.filter-btn {
  border-radius: 999px;
  border-color: transparent;
  background: transparent;
  color: rgba(62, 34, 26, 0.84);
  box-shadow: none;
  padding: 11px 17px;
}

.filter-btn:hover {
  background: rgba(118, 26, 45, 0.055);
  border-color: rgba(118, 26, 45, 0.06);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--wine), #5f0e23);
  border-color: rgba(255, 241, 216, 0.22);
  color: #fff5df;
  box-shadow: 0 14px 30px rgba(91, 16, 34, 0.18);
}

/* Product cards: editorial, restrained, image-led. */
.product-grid,
.menu-grid {
  gap: clamp(18px, 2.4vw, 30px);
}

.product-card {
  position: relative;
  border: 1px solid var(--dulce-fine-line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 236, 0.94));
  box-shadow: var(--dulce-shadow-card);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(118, 26, 45, 0.20);
  box-shadow: 0 30px 78px rgba(91, 16, 34, 0.12);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}

.media-preview-button {
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}

.product-card .product-media,
.media-preview-button .product-media {
  min-height: clamp(235px, 22vw, 325px);
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(245, 220, 174, 0.52), transparent 42%),
    linear-gradient(135deg, rgba(255, 246, 228, 0.88), rgba(231, 195, 139, 0.46));
}

.product-card .image-media img,
.product-media.image-media img {
  transition: transform 420ms ease, filter 420ms ease;
}

.product-card:hover .image-media img,
.product-card:hover .product-media.image-media img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.product-body {
  padding: 24px;
  gap: 22px;
}

.product-meta {
  color: rgba(91, 16, 34, 0.62);
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.product-body h3 {
  margin-top: 4px;
  color: var(--wine);
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
  letter-spacing: -0.018em;
}

.product-body p {
  color: rgba(62, 34, 26, 0.66);
  line-height: 1.64;
}

.price-row {
  align-items: end;
  padding-top: 4px;
}

.price {
  color: var(--wine);
  font-size: 1.24rem;
}

.availability {
  color: #65794f;
  font-size: 0.78rem;
}

.card-actions .btn-primary,
.product-card .btn-primary {
  background: linear-gradient(135deg, var(--wine), #5c0d21);
  border-color: rgba(255, 241, 216, 0.16);
  color: #fff4dd;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(91, 16, 34, 0.20);
}

.card-actions .btn-primary:hover,
.product-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(91, 16, 34, 0.25);
}

/* Preview modal: premium but still light, no full-site burgundy flood. */
.modal-scrim {
  background: rgba(32, 18, 14, 0.54);
  backdrop-filter: blur(10px) saturate(108%);
}

.product-preview-modal,
.app-dialog {
  border-color: rgba(91, 16, 34, 0.16);
  background:
    radial-gradient(circle at 78% 0%, rgba(245, 220, 174, 0.32), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(255, 246, 232, 0.98));
  box-shadow: 0 34px 100px rgba(31, 5, 12, 0.32);
}

.preview-head {
  padding: 26px 30px 20px;
}

.preview-head h2 {
  letter-spacing: -0.04em;
}

.preview-grid {
  padding: 26px 30px 30px;
  gap: 28px;
}

.preview-grid .product-media {
  min-height: min(470px, 56vh);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.62), 0 20px 52px rgba(91, 16, 34, 0.10);
}

.pack-option-grid {
  gap: 12px;
}

.pack-option {
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.70);
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.pack-option:hover {
  transform: translateY(-1px);
  border-color: rgba(118, 26, 45, 0.28);
}

.pack-option.active {
  background: linear-gradient(180deg, rgba(118, 26, 45, 0.10), rgba(245, 220, 174, 0.20));
  border-color: rgba(118, 26, 45, 0.38);
  box-shadow: inset 0 0 0 1px rgba(118, 26, 45, 0.12), 0 16px 32px rgba(91, 16, 34, 0.08);
}

.preview-quantity-row,
.preview-copy .summary-row {
  border-color: rgba(91, 16, 34, 0.10);
}

/* Request form: clearer customer journey with light refined panels. */
.request-section {
  position: relative;
}

.request-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 88% 18%, rgba(118, 26, 45, 0.06), transparent 32%);
}

.checkout-layout {
  position: relative;
  z-index: 1;
  align-items: start;
}

.form-panel,
.checkout-summary,
.summary-card,
.contact-card {
  border: 1px solid var(--dulce-fine-line);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--dulce-shadow-soft);
  backdrop-filter: blur(10px);
}

.form-panel {
  padding: clamp(22px, 3vw, 34px);
}

.checkout-summary {
  position: sticky;
  top: 104px;
}

.field input,
.field select,
.field textarea {
  border-radius: 15px;
  border-color: rgba(91, 16, 34, 0.15);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.70);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(118, 26, 45, 0.34);
  box-shadow: 0 0 0 4px rgba(118, 26, 45, 0.09);
}

/* Tracking page: customer-service feel rather than admin-like. */
.tracking-result,
.tracking-timeline,
.timeline-panel {
  border-radius: 24px;
}

.tracking-result {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 220, 174, 0.36), transparent 34%),
    rgba(255, 253, 248, 0.88);
}

.track-copy {
  color: rgba(62, 34, 26, 0.76);
  font-size: 1.02rem;
}

/* Footer/contact: polish the ending, but keep it quiet. */
.site-footer {
  background:
    linear-gradient(180deg, #fff7e9 0%, #f3e2c6 100%);
  border-top: 1px solid rgba(91, 16, 34, 0.10);
  color: rgba(62, 34, 26, 0.78);
}

.site-footer h3,
.site-footer h4 {
  color: var(--wine);
}

.site-footer a {
  color: var(--wine);
}

/* Mobile refinements. */
@media (max-width: 900px) {
  .filters,
  .menu-filters {
    border-radius: 22px;
    width: 100%;
  }
  .checkout-summary {
    position: relative;
    top: auto;
  }
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-title,
  .menu-title,
  .page-title {
    align-items: start;
  }
  .product-card .product-media,
  .media-preview-button .product-media {
    min-height: 235px;
  }
  .product-body {
    padding: 20px;
  }
  .product-preview-modal,
  .app-dialog {
    border-radius: 22px;
  }
  .preview-head,
  .preview-grid {
    padding-left: 18px;
    padding-right: 18px;
  }
}
/* DULCE PHASE 2 CUSTOMER POLISH PATCH END */

/* DULCE LOGO ALIGNMENT PATCH START */
/* Less is more: this only refines logo sizing/placement on admin/login surfaces. */

/* Keep actual logo artwork crisp and centered inside all logo frames. */
.brand-with-logo .brand-logo,
.brand-logo {
  object-fit: contain;
  object-position: center center;
}

/* Public header remains restrained; the hero should still be the main statement. */
.site-header .brand-with-logo,
.site-header .brand {
  align-items: center;
}

.site-header .brand-logo-frame {
  width: clamp(112px, 9.2vw, 156px);
  height: clamp(48px, 4.1vw, 68px);
}

/* Admin sidebar: center the brand and give it enough presence without crowding navigation. */
.admin-sidebar .brand,
.admin-sidebar .brand-with-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 22px;
  padding: 8px 4px 22px;
  border-bottom: 1px solid rgba(91, 16, 34, 0.08);
}

.admin-sidebar .brand-logo-frame {
  width: min(225px, 88%);
  height: 96px;
  margin: 0 auto;
}

.admin-sidebar .admin-nav {
  margin-top: 6px;
}

/* Login page: center the logo and make it feel intentional, not like a small corner badge. */
.login-card .brand,
.login-card .brand-with-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  padding: 0 0 12px;
}

.login-card .brand-logo-frame {
  width: min(270px, 72vw);
  height: 132px;
  margin: 0 auto;
}

.login-card h1 {
  margin-top: 8px;
}

/* Avoid letting logo whitespace push small screens awkwardly. */
@media (max-width: 760px) {
  .admin-sidebar .brand-logo-frame {
    width: min(200px, 82%);
    height: 82px;
  }

  .login-card .brand-logo-frame {
    width: min(235px, 76vw);
    height: 112px;
  }
}

@media (max-width: 540px) {
  .login-card {
    padding-top: 24px;
  }

  .login-card .brand-logo-frame {
    width: min(218px, 74vw);
    height: 100px;
  }
}

/* DULCE LOGO ALIGNMENT PATCH END */

/* DULCE CUSTOMER CONTINUITY POLISH PATCH START */
/* Less is more: carry the luxury hero language through the customer journey without turning the whole site burgundy. */

:root {
  --dulce-ink-soft: rgba(56, 31, 24, 0.76);
  --dulce-wine-soft: rgba(91, 16, 34, 0.72);
  --dulce-glass: rgba(255, 253, 248, 0.78);
  --dulce-line: rgba(91, 16, 34, 0.12);
  --dulce-line-strong: rgba(91, 16, 34, 0.20);
  --dulce-gold-line: rgba(221, 175, 73, 0.30);
  --dulce-surface-shadow: 0 26px 70px rgba(71, 18, 29, 0.075);
}

/* Smooth hero-to-shop transition: the page should exhale after the dramatic hero. */
.hero + .section,
.hero + .shop-menu,
.section.shop-menu {
  position: relative;
  margin-top: 0;
  padding-top: clamp(72px, 7vw, 112px);
}

.hero + .section::before,
.hero + .shop-menu::before,
.section.shop-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(91, 16, 34, 0.16), transparent);
  pointer-events: none;
}

/* Public section headings: more editorial, quieter supporting copy. */
.section-title,
.menu-title,
.page-title {
  margin-bottom: clamp(26px, 3.4vw, 44px);
}

.section-title h2,
.menu-title h2,
.page-title h1,
.page-title h2 {
  color: var(--wine);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-title p,
.menu-title p,
.page-title p {
  color: var(--dulce-ink-soft);
  max-width: 720px;
}

/* Category/filter chips: less boxed, more atelier-menu. */
.menu-filters,
.filters,
.category-filters {
  margin-bottom: clamp(24px, 3vw, 38px);
  background: rgba(255, 251, 242, 0.72);
  border: 1px solid rgba(91, 16, 34, 0.10);
  box-shadow: 0 16px 42px rgba(91, 16, 34, 0.045);
}

.filter-btn,
.category-chip {
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.filter-btn:hover,
.category-chip:hover {
  transform: translateY(-1px);
}

/* Product grid: premium menu cards with better rhythm. */
.product-grid,
.menu-grid {
  align-items: stretch;
}

.product-card {
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 0%, rgba(245, 220, 174, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 237, 0.96));
  border-color: var(--dulce-line);
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card .product-media,
.media-preview-button .product-media {
  aspect-ratio: 4 / 3;
  min-height: 260px;
  max-height: 365px;
  background:
    radial-gradient(circle at 50% 35%, rgba(245, 220, 174, 0.50), transparent 40%),
    linear-gradient(135deg, #fff3dc, #e5bd83);
}

.product-card .product-media.image-media img,
.media-preview-button .product-media.image-media img,
.product-media.image-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-body {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.product-body p {
  min-height: 3.15em;
}

.card-actions,
.product-card .card-actions {
  margin-top: auto;
}

.product-card .btn-primary,
.card-actions .btn-primary {
  min-height: 48px;
  padding-inline: 22px;
}

/* Product preview modal: more luxurious but not heavier. */
.product-preview-modal {
  max-width: min(1080px, calc(100vw - 36px));
}

.preview-head {
  border-bottom-color: rgba(91, 16, 34, 0.10);
}

.preview-head h2 {
  color: var(--wine);
  text-wrap: balance;
}

.preview-grid .product-media,
.preview-media .product-media {
  overflow: hidden;
}

.preview-grid .product-media img,
.preview-media img {
  object-fit: cover;
  object-position: center;
}

.pack-option {
  min-height: 92px;
}

.pack-option strong,
.pack-option b {
  color: var(--wine);
}

.preview-actions,
.dialog-actions {
  gap: 12px;
}

/* Cart drawer: cleaner action stack and no lingering blur feeling. */
.cart-drawer,
.drawer-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 220, 174, 0.24), transparent 28%),
    linear-gradient(180deg, #fffdf8, #fff6e8);
}

.cart-drawer .btn,
.cart-drawer button,
.drawer-panel .btn,
.drawer-panel button {
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.cart-drawer .btn:hover,
.cart-drawer button:hover,
.drawer-panel .btn:hover,
.drawer-panel button:hover {
  transform: translateY(-1px);
}

/* Request flow: calm, high-trust form panels. */
.request-section .section-title,
.request-section .page-title {
  max-width: 1120px;
  margin-inline: auto;
}

.checkout-layout {
  gap: clamp(22px, 3vw, 42px);
}

.form-panel,
.checkout-summary,
.summary-card {
  position: relative;
  overflow: hidden;
}

.form-panel::before,
.checkout-summary::before,
.summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(91, 16, 34, 0.65), rgba(221, 175, 73, 0.52), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.form-panel h3,
.checkout-summary h3,
.summary-card h3 {
  color: var(--wine);
  letter-spacing: -0.02em;
}

.field label,
.field .label,
label {
  color: rgba(56, 31, 24, 0.86);
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
}

.field textarea {
  min-height: 120px;
}

/* Track order: turn it into a customer-service moment. */
.track-section,
.tracking-section,
#track,
[data-section="track"] {
  background:
    radial-gradient(circle at 85% 15%, rgba(91, 16, 34, 0.055), transparent 34%),
    linear-gradient(180deg, #fff9ef, #fff3e0);
}

.tracking-result,
.track-card,
.tracking-card {
  border: 1px solid var(--dulce-line);
  box-shadow: var(--dulce-surface-shadow);
}

.tracking-timeline,
.timeline,
.timeline-panel {
  border-color: rgba(91, 16, 34, 0.10);
}

.timeline-item,
.status-timeline li {
  color: rgba(56, 31, 24, 0.76);
}

/* Contact/footer: small premium close, not a second hero. */
.contact-card,
.site-footer {
  border-color: rgba(91, 16, 34, 0.10);
}

.contact-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 220, 174, 0.28), transparent 34%),
    rgba(255, 253, 248, 0.86);
}

.site-footer {
  padding-block: clamp(38px, 5vw, 68px);
}

.site-footer .brand-logo-frame {
  width: clamp(150px, 13vw, 210px);
}

/* In-app alerts/dialogs should feel part of the brand, not browser-native. */
.toast,
.alert,
.inline-alert,
.app-alert,
.notice {
  border-radius: 18px;
  border-color: rgba(91, 16, 34, 0.14);
  background: rgba(255, 249, 237, 0.94);
  box-shadow: 0 18px 48px rgba(91, 16, 34, 0.10);
}

/* Responsive discipline. */
@media (max-width: 1100px) {
  .product-card .product-media,
  .media-preview-button .product-media {
    min-height: 235px;
  }
}

@media (max-width: 820px) {
  .product-body {
    min-height: auto;
  }
  .product-body p {
    min-height: auto;
  }
  .menu-filters,
  .filters,
  .category-filters {
    border-radius: 24px;
    padding: 8px;
  }
  .filter-btn,
  .category-chip {
    flex: 1 1 auto;
  }
}

@media (max-width: 560px) {
  .product-card .product-media,
  .media-preview-button .product-media {
    min-height: 220px;
    max-height: none;
  }
  .product-preview-modal {
    max-width: calc(100vw - 18px);
  }
  .pack-option-grid {
    grid-template-columns: 1fr;
  }
}
/* DULCE CUSTOMER CONTINUITY POLISH PATCH END */

/* DULCE ADMIN ATELIER POLISH PATCH START */
/* Admin Atelier Polish: keep the workspace light, calm, and premium. Burgundy is for hierarchy and actions only. */
:root {
  --admin-paper: rgba(255, 253, 248, 0.92);
  --admin-paper-soft: rgba(255, 249, 238, 0.78);
  --admin-panel-border: rgba(91, 16, 34, 0.115);
  --admin-panel-border-strong: rgba(91, 16, 34, 0.19);
  --admin-wine-soft: rgba(91, 16, 34, 0.075);
  --admin-gold-soft: rgba(222, 177, 83, 0.12);
  --admin-shadow: 0 22px 60px rgba(73, 31, 26, 0.075);
  --admin-shadow-small: 0 12px 30px rgba(73, 31, 26, 0.055);
}

.admin-shell {
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    radial-gradient(circle at 82% 0%, rgba(222, 177, 83, 0.105), transparent 28%),
    linear-gradient(180deg, #fffaf1 0%, #fbf1df 100%);
}

.admin-sidebar {
  padding: 22px 20px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 248, 236, 0.86));
  border-right: 1px solid rgba(91, 16, 34, 0.12);
  box-shadow: 14px 0 42px rgba(73, 31, 26, 0.045);
}

.admin-sidebar > div:first-child,
.admin-sidebar .brand,
.admin-sidebar .brand-mark,
.admin-sidebar .logo-wrap {
  justify-content: center;
}

.admin-nav {
  margin-top: 32px;
  gap: 10px;
}

.admin-nav-link {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: rgba(56, 31, 24, 0.92);
  font-weight: 850;
  letter-spacing: -0.012em;
  padding: 12px 14px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.admin-nav-link:hover {
  transform: translateX(2px);
  border-color: rgba(91, 16, 34, 0.12);
  background: rgba(91, 16, 34, 0.045);
}

.admin-nav-link.active {
  color: var(--wine);
  border-color: rgba(91, 16, 34, 0.17);
  background:
    linear-gradient(135deg, rgba(91, 16, 34, 0.105), rgba(222, 177, 83, 0.09));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.62), 0 12px 28px rgba(91, 16, 34, 0.055);
}

.admin-sidebar > .btn {
  min-height: 52px;
  border-radius: 15px;
  box-shadow: 0 16px 36px rgba(91, 16, 34, 0.065);
}

.admin-main {
  width: min(100%, 1500px);
  padding: clamp(28px, 3vw, 48px) clamp(28px, 4vw, 64px) 64px;
}

.admin-title {
  align-items: end;
  gap: 20px;
  margin-bottom: clamp(26px, 3vw, 42px);
}

.admin-title h1 {
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.admin-title p {
  max-width: 820px;
  color: rgba(56, 31, 24, 0.72);
  font-size: 1.02rem;
}

.admin-error,
.error-text.admin-error {
  border: 1px solid rgba(91, 16, 34, 0.14);
  border-radius: 14px;
  background: rgba(255, 244, 239, 0.72);
  padding: 12px 16px;
}

.atelier-panel,
.admin-panel,
.form-panel,
.vault-lock-panel,
.atelier-calendar-panel,
.customer-card,
.order-card,
.admin-list-item,
.empty-state {
  border-color: var(--admin-panel-border);
  background:
    radial-gradient(circle at 90% 0%, rgba(222, 177, 83, 0.08), transparent 28%),
    var(--admin-paper);
  box-shadow: var(--admin-shadow-small);
}

.atelier-panel,
.admin-panel,
.form-panel,
.vault-lock-panel,
.atelier-calendar-panel {
  border-radius: 24px;
}

.atelier-panel,
.admin-panel {
  padding: clamp(18px, 2vw, 26px);
}

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

.panel-heading h2,
.atelier-panel h2,
.admin-panel h2,
.form-panel h2,
.vault-lock-panel h2,
.recipe-viewer h2 {
  letter-spacing: -0.04em;
}

.summary-chip-row {
  gap: 0;
  border: 1px solid rgba(91, 16, 34, 0.09);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.54);
}

.summary-chip {
  padding: 16px 18px 18px;
  border-bottom: 0;
  border-right: 1px solid rgba(91, 16, 34, 0.105);
  background: linear-gradient(180deg, rgba(255,255,255,0.40), rgba(255,249,238,0.32));
}
.summary-chip:last-child { border-right: 0; }
.summary-chip span { color: rgba(56, 31, 24, 0.62); }
.summary-chip strong { font-size: clamp(1.28rem, 2vw, 1.72rem); }

.atelier-list {
  gap: 12px;
}

.order-mini,
.atelier-list article,
.summary-row {
  border-color: rgba(91, 16, 34, 0.10);
}

.summary-row {
  padding: 12px 0;
}
.summary-row span { color: rgba(56, 31, 24, 0.72); }
.summary-row strong { color: var(--wine); }

.atelier-calendar-panel {
  top: 24px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 248, 236, 0.86));
}

.mini-calendar-grid {
  gap: 8px;
}

.mini-day {
  min-height: 42px;
  border-radius: 13px;
  color: rgba(56, 31, 24, 0.82);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.mini-day:hover {
  transform: translateY(-1px);
  background: rgba(91, 16, 34, 0.055);
}

.mini-day.selected {
  background: var(--wine);
  color: #fff8e8;
  box-shadow: 0 12px 26px rgba(91, 16, 34, 0.22);
}

.mini-day.today:not(.selected) {
  border: 1px solid rgba(222, 177, 83, 0.44);
  background: rgba(222, 177, 83, 0.12);
}

.mini-day b {
  background: rgba(222, 177, 83, 0.95);
  color: var(--wine);
  border: 1px solid rgba(91, 16, 34, 0.14);
}

.order-view-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px;
  border: 1px solid rgba(91, 16, 34, 0.11);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--admin-shadow-small);
}

.orders-filter {
  margin-bottom: 20px;
}

.orders-filter .filter-btn,
.order-view-tabs .filter-btn {
  min-height: 44px;
  border-radius: 999px;
  padding-inline: 18px;
}

.order-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2vw, 26px);
  margin-bottom: 18px;
}

.order-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(222,177,83,0.8), rgba(91,16,34,0.82));
  opacity: 0.58;
}

.order-card-head {
  padding-left: 2px;
}

.order-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  letter-spacing: -0.035em;
}

.order-card .badge,
.status-badge,
.badge {
  border-color: rgba(91, 16, 34, 0.14);
  background: rgba(255, 248, 236, 0.82);
  color: var(--wine);
}

.order-detail-grid {
  gap: 12px;
}

.detail-box {
  border-radius: 16px;
  background: rgba(255, 250, 241, 0.72);
  padding: 13px 14px;
}

.detail-box span {
  letter-spacing: 0.02em;
}

.form-grid.order-admin-grid,
.order-admin-grid {
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
  gap: 14px;
  align-items: end;
}

.closed-order-note,
.order-timeline {
  border: 1px solid rgba(91, 16, 34, 0.10);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.72);
  padding: 14px 16px;
}

.closed-order-note {
  color: rgba(56, 31, 24, 0.72);
  font-weight: 850;
}

.order-timeline {
  margin-top: 14px;
}

.order-timeline h4 {
  margin: 0 0 12px;
  color: var(--wine);
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.14rem;
}

.timeline-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--wine);
  box-shadow: 0 0 0 5px rgba(91, 16, 34, 0.08);
}

.timeline-entry strong { color: var(--wine); }
.timeline-entry p { margin: 4px 0 0; color: rgba(56, 31, 24, 0.68); }
.timeline-entry small { color: rgba(56, 31, 24, 0.52); }

.management-grid {
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 22px;
}

.form-panel {
  padding: clamp(18px, 2vw, 26px);
}

.form-panel .field,
.field {
  min-width: 0;
}

.form-panel input,
.form-panel select,
.form-panel textarea,
.admin-panel input,
.admin-panel select,
.admin-panel textarea {
  background: rgba(255, 253, 248, 0.86);
  border-color: rgba(91, 16, 34, 0.15);
}

.form-panel textarea,
.admin-panel textarea {
  min-height: 118px;
  resize: vertical;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list-item {
  border-radius: 18px;
  padding: 15px 16px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.admin-list-item:hover {
  transform: translateY(-1px);
  border-color: var(--admin-panel-border-strong);
  box-shadow: var(--admin-shadow-small);
}

.inline-actions,
.form-actions,
.toggle-row {
  gap: 10px;
}

.plain-icon-btn {
  border-radius: 12px;
  border-color: rgba(91,16,34,0.14);
  background: rgba(255,253,248,0.80);
}

.pack-admin-panel {
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 249, 237, 0.82), rgba(255, 244, 228, 0.60));
}

.pack-admin-grid {
  gap: 10px;
}

.pack-admin-row {
  grid-template-columns: 92px minmax(120px, 1.4fr) minmax(76px, 0.7fr) minmax(105px, 0.8fr);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.78);
  align-items: end;
}

.pack-admin-row input {
  width: 100%;
}

.calendar-grid {
  gap: 12px;
}

.calendar-day {
  border-radius: 18px;
  min-height: 152px;
  background: rgba(255, 253, 248, 0.82);
}

.calendar-event {
  border-left-color: rgba(91,16,34,0.82);
  border-radius: 12px;
  background: rgba(255, 249, 237, 0.92);
}

.customer-grid {
  gap: 16px;
}

.customer-card {
  border-radius: 22px;
  padding: 18px;
}

.vault-layout {
  gap: 22px;
}

.vault-lock-panel {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
}

.vault-lock-panel .category-icon {
  margin-inline: auto;
}

.recipe-viewer,
.recipe-card,
.vault-list .admin-list-item {
  border-radius: 18px;
}

.settings-grid {
  gap: 18px;
}

/* Keep the admin calm on smaller screens. */
@media (max-width: 1180px) {
  .admin-shell {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .summary-chip-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .summary-chip:nth-child(3n) { border-right: 0; }
  .atelier-overview {
    grid-template-columns: 1fr;
  }
  .atelier-calendar-panel {
    position: static;
  }
}

@media (max-width: 920px) {
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    position: relative;
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto auto;
    border-right: 0;
    border-bottom: 1px solid rgba(91, 16, 34, 0.12);
  }
  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-sidebar > .btn {
    margin-top: 16px;
  }
  .admin-main {
    padding: 28px 18px 52px;
  }
  .admin-title {
    display: grid;
    align-items: start;
  }
  .management-grid,
  .form-grid.order-admin-grid,
  .order-admin-grid,
  .order-detail-grid,
  .overview-two {
    grid-template-columns: 1fr;
  }
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .admin-nav {
    grid-template-columns: 1fr;
  }
  .summary-chip-row {
    grid-template-columns: 1fr;
  }
  .summary-chip {
    border-right: 0;
    border-bottom: 1px solid rgba(91, 16, 34, 0.105);
  }
  .summary-chip:last-child { border-bottom: 0; }
  .order-view-tabs,
  .orders-filter {
    width: 100%;
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }
  .orders-filter .filter-btn,
  .order-view-tabs .filter-btn {
    flex: 0 0 auto;
  }
  .calendar-grid {
    grid-template-columns: 1fr;
  }
  .pack-admin-row {
    grid-template-columns: 1fr;
  }
}
/* DULCE ADMIN ATELIER POLISH PATCH END */

/* DULCE MOBILE ADMIN REVIEW PATCH START */
/* Mobile/admin usability pass: keep the atelier quiet, but make phone use feel intentional. */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

.admin-shell,
.admin-main,
.admin-panel,
.atelier-panel,
.form-panel,
.order-card,
.admin-list-item,
.customer-card,
.calendar-day,
.vault-lock-panel,
.recipe-viewer,
.product-preview-modal,
.app-dialog {
  box-sizing: border-box;
  min-width: 0;
}

.admin-main * {
  min-width: 0;
}

.admin-main input,
.admin-main select,
.admin-main textarea,
.admin-main button,
.admin-main .btn {
  max-width: 100%;
}

.admin-main p,
.admin-main strong,
.admin-main span,
.admin-main small,
.admin-main h1,
.admin-main h2,
.admin-main h3,
.order-card,
.detail-box,
.admin-list-item,
.timeline-entry,
.customer-card {
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  .admin-shell {
    display: block !important;
    min-height: 100vh;
    background: linear-gradient(180deg, #fffaf1 0%, #fbf1df 100%);
  }

  .admin-sidebar {
    position: sticky !important;
    top: 0;
    z-index: 70;
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 12px 10px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(91, 16, 34, 0.12) !important;
    background: rgba(255, 252, 246, 0.96) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 34px rgba(73, 31, 26, 0.08) !important;
  }

  .admin-sidebar .brand,
  .admin-sidebar > div:first-child {
    width: 100%;
    justify-content: center !important;
    margin-bottom: 10px;
  }

  .admin-sidebar .brand img,
  .login-card .brand img {
    max-width: min(118px, 34vw);
    height: auto;
  }

  .admin-nav {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    width: 100%;
    margin-top: 8px !important;
    padding: 2px 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .admin-nav-link {
    flex: 0 0 auto;
    min-height: 42px !important;
    padding: 10px 13px !important;
    border-radius: 999px !important;
    scroll-snap-align: start;
    white-space: nowrap;
    font-size: 0.9rem;
    box-shadow: none !important;
  }

  .admin-nav-link svg {
    width: 16px;
    height: 16px;
  }

  .admin-sidebar > .btn,
  .admin-sidebar button.btn {
    width: 100%;
    min-height: 42px !important;
    margin-top: 4px !important;
    border-radius: 999px !important;
  }

  .admin-main {
    width: 100% !important;
    padding: 20px 14px 46px !important;
  }

  .admin-title {
    display: grid !important;
    gap: 14px !important;
    margin-bottom: 20px !important;
  }

  .admin-title h1 {
    font-size: clamp(2.05rem, 11vw, 3.25rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.055em !important;
  }

  .admin-title p {
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }

  .admin-title .btn,
  .admin-title a.btn {
    width: 100%;
    justify-content: center;
  }

  .atelier-overview,
  .overview-two,
  .management-grid,
  .order-detail-grid,
  .form-grid,
  .form-grid.order-admin-grid,
  .order-admin-grid,
  .settings-grid,
  .vault-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .summary-chip-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .summary-chip {
    padding: 13px 14px !important;
  }

  .atelier-calendar-panel {
    position: static !important;
    top: auto !important;
  }

  .mini-calendar-grid {
    gap: 6px !important;
  }

  .mini-day {
    min-height: 38px !important;
    border-radius: 12px !important;
    font-size: 0.86rem;
  }

  .calendar-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .calendar-day {
    min-height: auto !important;
  }

  .order-view-tabs,
  .orders-filter {
    width: 100%;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 7px 2px 10px !important;
    -webkit-overflow-scrolling: touch;
  }

  .order-view-tabs .filter-btn,
  .orders-filter .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 40px !important;
    padding-inline: 14px !important;
  }

  .order-card,
  .admin-panel,
  .form-panel,
  .atelier-panel,
  .customer-card,
  .vault-lock-panel {
    border-radius: 20px !important;
    padding: 16px !important;
  }

  .order-card-head,
  .panel-heading,
  .form-actions,
  .inline-actions,
  .toggle-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .order-card-head > *,
  .form-actions > *,
  .inline-actions > * {
    min-width: 0;
  }

  .order-card .btn,
  .admin-list-item .btn,
  .form-actions .btn,
  .inline-actions .btn {
    flex: 1 1 150px;
    justify-content: center;
  }

  .detail-box {
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .pack-admin-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    align-items: stretch !important;
    padding: 12px !important;
  }

  .pack-enable {
    padding-bottom: 0 !important;
  }

  .product-preview-modal,
  .app-dialog {
    width: calc(100vw - 18px) !important;
    max-height: calc(100dvh - 18px) !important;
    border-radius: 22px !important;
  }

  .modal-scrim {
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 560px) {
  .admin-main {
    padding-inline: 10px !important;
  }

  .admin-sidebar {
    padding-inline: 10px !important;
  }

  .summary-chip-row {
    grid-template-columns: 1fr !important;
  }

  .summary-chip {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(91, 16, 34, 0.105) !important;
  }

  .summary-chip:last-child {
    border-bottom: 0 !important;
  }

  .admin-panel,
  .form-panel,
  .atelier-panel,
  .order-card,
  .customer-card,
  .vault-lock-panel {
    padding: 14px !important;
  }

  .admin-nav-link span {
    font-size: 0.86rem;
  }

  .admin-nav-link {
    padding-inline: 12px !important;
  }

  .app-notice {
    left: 10px !important;
    right: 10px !important;
    top: 10px !important;
    max-width: none !important;
  }
}
/* DULCE MOBILE ADMIN REVIEW PATCH END */

/* Dulce payment foundation */
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(111, 12, 38, 0.16);
  background: rgba(255, 248, 235, 0.78);
  color: #6f0c26;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  margin-left: 0.45rem;
}
.payment-PAID,
.payment-callout.success {
  border-color: rgba(66, 110, 75, 0.25);
  color: #426e4b;
  background: rgba(238, 249, 238, 0.84);
}
.payment-PENDING {
  border-color: rgba(194, 139, 42, 0.25);
  color: #8a5a10;
  background: rgba(255, 247, 224, 0.88);
}
.payment-FAILED,
.payment-CANCELLED,
.payment-EXPIRED {
  border-color: rgba(111, 12, 38, 0.2);
  background: rgba(111, 12, 38, 0.08);
}
.payment-callout {
  margin: 1.2rem auto 0;
  max-width: 720px;
  border: 1px solid rgba(231, 201, 154, 0.42);
  border-radius: 24px;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(251, 238, 217, 0.82));
  box-shadow: 0 24px 70px rgba(111, 12, 38, 0.12);
  text-align: center;
}
.payment-callout h2,
.payment-callout h3 {
  margin: 0 0 0.35rem;
  color: #6f0c26;
  font-family: var(--font-display, Georgia, serif);
}
.payment-callout p {
  margin: 0 0 1rem;
  color: rgba(55, 35, 28, 0.72);
}
.payment-callout.compact {
  text-align: left;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 18px;
}
.payment-result-page .payment-result-card {
  max-width: 760px;
  margin: 0 auto;
}


/* DULCE EMBEDDED PAYPAL CARD FIELDS STYLES START */
.embedded-payment-panel {
  text-align: left;
  max-width: 760px;
  padding: 1.35rem;
}

.embedded-payment-heading {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.embedded-payment-heading h2 {
  margin-bottom: 0.2rem;
}

.embedded-payment-heading p {
  margin-bottom: 0;
}

.payment-secure-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #6f0c26, #9b2345);
  color: #fff8eb;
  box-shadow: 0 16px 34px rgba(111, 12, 38, 0.18);
  flex: 0 0 auto;
}

.payment-total-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(231, 201, 154, 0.55);
  border-radius: 18px;
  background: rgba(255, 252, 245, 0.7);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  color: rgba(55, 35, 28, 0.74);
}

.payment-total-strip strong {
  color: #6f0c26;
  font-size: 1.15rem;
}

.paypal-card-shell {
  border: 1px solid rgba(111, 12, 38, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 250, 0.72);
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.paypal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.paypal-card-grid label {
  display: grid;
  gap: 0.35rem;
  color: #5c3b32;
  font-weight: 800;
  font-size: 0.86rem;
}

.paypal-card-grid .span-2 {
  grid-column: span 2;
}

.paypal-hosted-field {
  min-height: 48px;
  border-radius: 15px;
  border: 1px solid rgba(111, 12, 38, 0.16);
  background: #fffdf8;
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.paypal-hosted-field:focus-within {
  border-color: rgba(111, 12, 38, 0.42);
  box-shadow: 0 0 0 4px rgba(111, 12, 38, 0.08);
  background: #fffaf0;
}

.embedded-card-submit {
  width: 100%;
  margin-top: 1rem;
}

.paypal-fallback-panel {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.paypal-fallback-label {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  color: rgba(55, 35, 28, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paypal-fallback-label span {
  height: 1px;
  background: rgba(111, 12, 38, 0.14);
}

.paypal-buttons-slot {
  width: 100%;
  max-width: 520px;
  min-height: 46px;
}

.paypal-hosted-link {
  width: 100%;
  max-width: 520px;
}

.payment-panel-message {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(111, 12, 38, 0.12);
  background: rgba(111, 12, 38, 0.055);
  color: rgba(55, 35, 28, 0.75);
  font-weight: 700;
}

.payment-panel-message[data-tone="success"] {
  border-color: rgba(66, 110, 75, 0.22);
  background: rgba(238, 249, 238, 0.7);
  color: #426e4b;
}

.payment-panel-message[data-tone="error"] {
  border-color: rgba(111, 12, 38, 0.22);
  background: rgba(111, 12, 38, 0.08);
  color: #6f0c26;
}

.payment-panel-message[data-tone="info"] {
  border-color: rgba(194, 139, 42, 0.24);
  background: rgba(255, 247, 224, 0.76);
  color: #8a5a10;
}

.payment-security-note {
  margin: 0.75rem 0 0 !important;
  font-size: 0.86rem;
  text-align: center;
  color: rgba(55, 35, 28, 0.56) !important;
}

@media (max-width: 680px) {
  .embedded-payment-panel {
    padding: 1rem;
    border-radius: 20px;
  }

  .embedded-payment-heading {
    flex-direction: column;
    gap: 0.7rem;
  }

  .paypal-card-grid {
    grid-template-columns: 1fr;
  }

  .paypal-card-grid .span-2 {
    grid-column: span 1;
  }
}
/* DULCE EMBEDDED PAYPAL CARD FIELDS STYLES END */


/* DULCE COMPACT REAL PAYMENT PANEL START */
.confirmation .payment-callout.embedded-payment-panel,
.embedded-payment-panel {
  max-width: 520px;
  padding: 1rem;
  border-radius: 22px;
}

.embedded-payment-heading {
  gap: 0.72rem;
  margin-bottom: 0.75rem;
}

.embedded-payment-heading h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.embedded-payment-heading p {
  font-size: 0.94rem;
  line-height: 1.45;
}

.payment-secure-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

.payment-total-strip {
  padding: 0.62rem 0.78rem;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.payment-total-strip strong {
  font-size: 1rem;
}

.paypal-card-shell {
  padding: 0.72rem;
  border-radius: 16px;
}

.paypal-card-grid {
  gap: 0.55rem;
}

.paypal-card-grid label {
  gap: 0.25rem;
  font-size: 0.74rem;
}

.paypal-hosted-field {
  min-height: 38px;
  border-radius: 11px;
  padding: 0.42rem 0.55rem;
}

.embedded-card-submit {
  margin-top: 0.65rem;
  min-height: 38px;
  padding-block: 0.55rem;
  font-size: 0.88rem;
}

.paypal-fallback-panel {
  margin-top: 0.72rem;
  gap: 0.45rem;
}

.paypal-fallback-label {
  gap: 0.5rem;
  font-size: 0.65rem;
}

.paypal-buttons-slot,
.paypal-hosted-link {
  max-width: 360px;
}

.payment-panel-message {
  margin-top: 0.55rem;
  padding: 0.52rem 0.7rem;
  border-radius: 11px;
  font-size: 0.82rem;
}

.payment-security-note {
  margin-top: 0.45rem !important;
  font-size: 0.72rem;
}

.track-payment-panel {
  margin-top: 1rem;
}

.track-payment-panel .embedded-payment-panel {
  max-width: 100%;
}

.track-payment-label {
  margin-bottom: 0.55rem;
  color: #6f0c26;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.track-paid-note {
  margin-top: 1rem;
}

@media (max-width: 680px) {
  .confirmation .payment-callout.embedded-payment-panel,
  .embedded-payment-panel {
    max-width: 100%;
    padding: 0.85rem;
  }

  .paypal-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .paypal-card-grid .span-2 {
    grid-column: span 2;
  }
}
/* DULCE COMPACT REAL PAYMENT PANEL END */


/* DULCE REFINED PAYMENT FIELDS AND PUBLIC ADMIN HIDE START */
/* Keep the admin route private/direct by removing customer-facing entry points. */
body:not(:has(.admin-shell)) header.site-header a[href="/admin/login"],
body:not(:has(.admin-shell)) .site-footer a[href="/admin/login"] {
  display: none !important;
}

/* Make embedded PayPal fields feel premium and less oversized. */
.confirmation .payment-callout.embedded-payment-panel,
.embedded-payment-panel {
  max-width: 430px;
  padding: 0.82rem 0.9rem;
  border-radius: 20px;
}

.embedded-payment-heading {
  gap: 0.58rem;
  margin-bottom: 0.58rem;
}

.embedded-payment-heading h2 {
  font-size: clamp(1.18rem, 1.65vw, 1.48rem);
  line-height: 1.08;
}

.embedded-payment-heading p {
  font-size: 0.82rem;
  line-height: 1.35;
}

.payment-secure-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.payment-total-strip {
  padding: 0.48rem 0.64rem;
  border-radius: 12px;
  margin-bottom: 0.58rem;
  font-size: 0.82rem;
}

.payment-total-strip strong {
  font-size: 0.9rem;
}

.paypal-card-shell {
  padding: 0.55rem;
  border-radius: 14px;
}

.paypal-card-grid {
  gap: 0.42rem 0.5rem;
}

.paypal-card-grid label {
  gap: 0.18rem;
  font-size: 0.7rem;
  line-height: 1.1;
}

.paypal-card-grid label > span {
  margin-left: 0.04rem;
}

.paypal-hosted-field {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border-radius: 9px;
  padding: 0.12rem 0.38rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 252, 0.86);
}

.paypal-hosted-field iframe {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
}

.embedded-card-submit {
  min-height: 36px;
  margin-top: 0.48rem;
  padding: 0.48rem 0.7rem;
  font-size: 0.82rem;
  border-radius: 10px;
}

.paypal-fallback-panel {
  margin-top: 0.58rem;
  gap: 0.36rem;
}

.paypal-fallback-label {
  font-size: 0.58rem;
}

.paypal-buttons-slot,
.paypal-hosted-link {
  max-width: 280px;
  margin-inline: auto;
}

.paypal-hosted-link {
  min-height: 34px;
  padding-block: 0.42rem;
  font-size: 0.78rem;
}

.payment-panel-message {
  margin-top: 0.42rem;
  padding: 0.42rem 0.56rem;
  border-radius: 9px;
  font-size: 0.74rem;
}

.payment-security-note {
  margin-top: 0.36rem !important;
  font-size: 0.66rem;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .confirmation .payment-callout.embedded-payment-panel,
  .embedded-payment-panel {
    max-width: min(94vw, 410px);
    padding: 0.78rem;
  }

  .paypal-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .paypal-card-grid .span-2 {
    grid-column: span 2;
  }

  .paypal-hosted-field {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }

  .paypal-hosted-field iframe {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
  }
}
/* DULCE REFINED PAYMENT FIELDS AND PUBLIC ADMIN HIDE END */


/* DULCE PAYPAL FIELD ALIGNMENT FIX START */
.embedded-payment-panel .paypal-card-shell {
  padding: 0.68rem !important;
}

.embedded-payment-panel .paypal-card-grid {
  gap: 0.58rem 0.68rem !important;
  align-items: start;
}

.embedded-payment-panel .paypal-card-grid label {
  gap: 0.28rem !important;
  align-content: start;
}

.embedded-payment-panel .paypal-card-grid label > span {
  display: block;
  line-height: 1.15;
  margin: 0 0 0.08rem;
}

.embedded-payment-panel .paypal-hosted-field {
  box-sizing: border-box;
  width: 100%;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  display: block !important;
  position: relative;
  overflow: hidden !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 252, 0.94) !important;
  line-height: 42px;
}

.embedded-payment-panel .paypal-hosted-field iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  display: block !important;
  border: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.embedded-payment-panel .embedded-card-submit {
  margin-top: 0.62rem !important;
  min-height: 38px !important;
}

@media (max-width: 680px) {
  .embedded-payment-panel .paypal-card-shell {
    padding: 0.6rem !important;
  }

  .embedded-payment-panel .paypal-card-grid {
    gap: 0.52rem 0.55rem !important;
  }

  .embedded-payment-panel .paypal-hosted-field,
  .embedded-payment-panel .paypal-hosted-field iframe {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }
}
/* DULCE PAYPAL FIELD ALIGNMENT FIX END */


/* DULCE PAYMENT RESILIENCE AND MANUAL MOMO START */
.manual-payment-panel {
  margin-top: 0.72rem;
  border: 1px solid rgba(111, 12, 38, 0.12);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.72);
  padding: 0.72rem;
}

.manual-payment-head {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

.manual-payment-head h3 {
  margin: 0 0 0.12rem;
  color: #6f0c26;
  font-size: 1rem;
}

.manual-payment-head p,
.manual-payment-instructions,
.manual-submitted-note {
  margin: 0;
  color: rgba(55, 35, 28, 0.7);
  font-size: 0.78rem;
  line-height: 1.45;
}

.manual-icon {
  background: linear-gradient(135deg, #7c2633, #c28b2a) !important;
}

.manual-payment-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  margin: 0.5rem 0;
}

.manual-payment-details div {
  border: 1px solid rgba(231, 201, 154, 0.52);
  border-radius: 12px;
  padding: 0.45rem 0.52rem;
  background: rgba(255, 255, 252, 0.74);
}

.manual-payment-details span {
  display: block;
  color: rgba(55, 35, 28, 0.58);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.manual-payment-details strong {
  display: block;
  color: #6f0c26;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.manual-payment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.48rem;
  margin-top: 0.58rem;
}

.manual-payment-form .full,
.manual-payment-form button {
  grid-column: span 2;
}

.manual-payment-form .field {
  gap: 0.2rem;
}

.manual-payment-form input {
  min-height: 38px;
  border-radius: 11px;
  font-size: 0.82rem;
}

.manual-submitted-note {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 11px;
  border: 1px solid rgba(66, 110, 75, 0.22);
  background: rgba(238, 249, 238, 0.72);
  color: #426e4b;
  font-weight: 800;
}

.payment-attempts {
  margin-top: 0.85rem;
  border: 1px solid rgba(111, 12, 38, 0.1);
  border-radius: 16px;
  background: rgba(255, 252, 245, 0.62);
  padding: 0.75rem;
}

.payment-attempts h4 {
  margin: 0 0 0.5rem;
  color: #6f0c26;
}

.payment-attempt-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid rgba(111, 12, 38, 0.08);
  padding: 0.5rem 0 0;
  margin-top: 0.5rem;
}

.payment-attempt-row:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.payment-attempt-row div {
  display: grid;
  gap: 0.12rem;
}

.payment-attempt-row span,
.payment-attempt-row small {
  color: rgba(55, 35, 28, 0.62);
  font-size: 0.76rem;
}

.manual-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 16px;
  background: rgba(255, 247, 224, 0.74);
  border: 1px solid rgba(194, 139, 42, 0.2);
}

.manual-admin-actions strong {
  color: #6f0c26;
}

.manual-admin-actions span {
  color: rgba(55, 35, 28, 0.68);
  font-size: 0.86rem;
}

.manual-admin-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.retry-payment-panel {
  margin: 1rem auto;
  max-width: 520px;
}

.retry-payment-panel > h2 {
  margin-bottom: 0.55rem;
  color: #6f0c26;
  text-align: center;
}

.policy-section {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(249, 239, 223, 0.62));
}

.policy-title {
  margin-bottom: 1rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.policy-card {
  border: 1px solid rgba(111, 12, 38, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 252, 0.78);
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(62, 25, 12, 0.07);
}

.policy-card strong {
  display: block;
  color: #6f0c26;
  margin-bottom: 0.35rem;
}

.policy-card p {
  margin: 0;
  color: rgba(55, 35, 28, 0.7);
  line-height: 1.55;
}

.payment-provider-MANUAL_MOMO.payment-PENDING {
  background: rgba(255, 247, 224, 0.92);
  color: #8a5a10;
  border-color: rgba(194, 139, 42, 0.28);
}

.payment-FAILED,
.payment-CANCELLED {
  background: rgba(111, 12, 38, 0.08);
  color: #6f0c26;
}

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

@media (max-width: 620px) {
  .manual-payment-details,
  .manual-payment-form,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .manual-payment-form .full,
  .manual-payment-form button {
    grid-column: span 1;
  }

  .payment-attempt-row,
  .manual-admin-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* DULCE PAYMENT RESILIENCE AND MANUAL MOMO END */


/* DULCE CONSOLIDATED HOME + DUAL PRICE PATCH */
.home-featured-landing {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 128px) 0 clamp(58px, 8vw, 108px);
  background:
    radial-gradient(circle at 80% 20%, rgba(122, 16, 43, 0.08), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #fff7ea 100%);
  border-bottom: 1px solid rgba(105, 14, 38, 0.1);
}

.home-featured-landing::before {
  content: "";
  position: absolute;
  inset: auto -10% -28% 42%;
  height: 48%;
  background: radial-gradient(circle, rgba(105, 14, 38, 0.08), transparent 62%);
  pointer-events: none;
}

.home-featured-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 82px);
}

.home-featured-intro h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-family: var(--display-font, Georgia, serif);
  font-size: clamp(3.4rem, 7vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: var(--burgundy, #690e26);
}

.home-featured-intro .hero-copy {
  max-width: 650px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.75;
  color: rgba(60, 42, 35, 0.76);
}

.home-featured-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-featured-notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid rgba(105, 14, 38, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.76);
  color: rgba(60, 42, 35, 0.72);
  box-shadow: 0 14px 36px rgba(105, 14, 38, 0.06);
}

.home-featured-notes strong {
  color: var(--burgundy, #690e26);
}

.featured-hero-showcase {
  position: relative;
  min-height: clamp(460px, 48vw, 620px);
  border-radius: 42px;
}

.featured-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(105, 14, 38, 0.15);
  border-radius: 42px;
  background: rgba(255, 252, 244, 0.92);
  box-shadow: 0 34px 90px rgba(105, 14, 38, 0.14);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: dulceFeaturedFade 24s infinite;
  animation-delay: calc(var(--slide-index) * 4.8s);
}

.featured-hero-slide.single {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes dulceFeaturedFade {
  0%, 17% { opacity: 1; transform: translateY(0) scale(1); z-index: 2; }
  22%, 100% { opacity: 0; transform: translateY(18px) scale(0.985); z-index: 1; }
}

.featured-hero-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.featured-hero-media .product-media {
  min-height: clamp(270px, 30vw, 395px);
  height: 100%;
  border-radius: 0;
}

.featured-hero-media .product-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(270px, 30vw, 395px);
  object-fit: cover;
  transform: scale(1.035);
}

.featured-hero-copy {
  padding: clamp(22px, 3vw, 34px);
}

.featured-hero-copy > span {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(105, 14, 38, 0.66);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.featured-hero-copy h2 {
  margin: 0 0 10px;
  color: var(--burgundy, #690e26);
  font-size: clamp(1.75rem, 2.6vw, 2.65rem);
  line-height: 1.03;
}

.featured-hero-copy p {
  max-width: 620px;
  margin: 0 0 18px;
  color: rgba(60, 42, 35, 0.72);
  line-height: 1.62;
}

.featured-hero-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(105, 14, 38, 0.1);
}

.featured-hero-meta > small {
  max-width: 230px;
  text-align: right;
  color: rgba(60, 42, 35, 0.58);
  font-weight: 800;
}

.featured-hero-empty {
  padding: 44px;
  border: 1px solid rgba(105, 14, 38, 0.14);
  border-radius: 34px;
  background: rgba(255, 252, 244, 0.82);
}

.dual-price {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.05;
}

.dual-price-main {
  color: inherit;
  font-weight: 950;
}

.dual-price small,
.money-ugx {
  color: rgba(60, 42, 35, 0.58);
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.price .dual-price small,
.summary-row .dual-price small,
.payment-total-strip .dual-price small {
  margin-top: 2px;
}

.price-row .dual-price {
  align-items: flex-start;
}

.summary-row strong .dual-price,
.total-row strong .dual-price {
  align-items: flex-end;
  text-align: right;
}

.shop-menu {
  scroll-margin-top: 96px;
}

.understated-trust-section {
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.65), rgba(247, 237, 220, 0.62));
}

@media (max-width: 980px) {
  .home-featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-hero-showcase {
    min-height: 620px;
  }
  .home-featured-intro h1 {
    font-size: clamp(3.1rem, 12vw, 5.2rem);
  }
}

@media (max-width: 640px) {
  .home-featured-landing {
    padding: 48px 0 58px;
  }
  .home-featured-notes {
    flex-direction: column;
    align-items: flex-start;
  }
  .featured-hero-showcase {
    min-height: 560px;
    border-radius: 28px;
  }
  .featured-hero-slide {
    border-radius: 28px;
  }
  .featured-hero-copy {
    padding: 22px;
  }
  .featured-hero-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .featured-hero-meta > small {
    text-align: left;
  }
}


/* DULCE HOME FIT + BURGUNDY CONTRAST + PRODUCT ALIGNMENT PATCH */
/* Keep the hero as the only dramatic burgundy statement. The rest of the site stays quiet. */
.home-featured-landing {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 82px);
  display: flex;
  align-items: center;
  padding: clamp(46px, 6.5vh, 74px) 0 clamp(48px, 6.5vh, 76px) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 216, 147, 0.18), transparent 30%),
    radial-gradient(circle at 12% 18%, rgba(139, 33, 57, 0.55), transparent 38%),
    linear-gradient(115deg, #370512 0%, #5e0b22 45%, #7b1730 100%) !important;
  border-bottom: 1px solid rgba(255, 239, 204, 0.14) !important;
  box-shadow: inset 0 -80px 140px rgba(43, 4, 14, 0.26);
  color: #fff3d5;
}

.home-featured-landing::before {
  content: "";
  position: absolute;
  inset: -18% -12% auto 44%;
  height: 64%;
  background:
    radial-gradient(circle, rgba(255, 224, 158, 0.14), transparent 58%),
    linear-gradient(135deg, rgba(255, 246, 218, 0.08), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.home-featured-landing::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% 28%;
  height: 55%;
  background: radial-gradient(circle, rgba(25, 2, 8, 0.34), transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.home-featured-grid {
  width: 100%;
  grid-template-columns: minmax(320px, 0.85fr) minmax(390px, 0.95fr) !important;
  align-items: center !important;
  gap: clamp(30px, 4.8vw, 72px) !important;
}

.home-featured-intro .eyebrow {
  border-color: rgba(255, 234, 187, 0.34);
  background: rgba(255, 246, 218, 0.08);
  color: #ffe8a7;
  box-shadow: 0 18px 40px rgba(18, 1, 6, 0.18);
}

.home-featured-intro h1 {
  max-width: 800px;
  margin: clamp(16px, 2vw, 22px) 0 clamp(12px, 1.6vw, 18px) !important;
  color: #fff4d9 !important;
  font-size: clamp(3.25rem, 5.65vw, 6.1rem) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 18px 55px rgba(24, 2, 8, 0.22);
}

.home-featured-intro .hero-copy {
  max-width: 610px;
  color: rgba(255, 246, 224, 0.82) !important;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem) !important;
  line-height: 1.72 !important;
}

.home-featured-intro .btn-primary {
  background: #fff0c9;
  color: #5e0b22;
  box-shadow: 0 18px 44px rgba(18, 1, 6, 0.25);
}

.home-featured-intro .btn-secondary {
  border-color: rgba(255, 234, 187, 0.34);
  background: rgba(255, 246, 218, 0.08);
  color: #fff0c9;
}

.home-featured-notes span {
  border-color: rgba(255, 234, 187, 0.24) !important;
  background: rgba(255, 246, 218, 0.08) !important;
  color: rgba(255, 246, 224, 0.78) !important;
  box-shadow: 0 16px 40px rgba(18, 1, 6, 0.18) !important;
}

.home-featured-notes strong {
  color: #ffe8a7 !important;
}

.featured-hero-showcase {
  min-height: clamp(430px, 37vw, 545px) !important;
  max-height: min(545px, calc(100svh - 170px));
  border-radius: clamp(28px, 3vw, 38px) !important;
}

.featured-hero-slide {
  grid-template-rows: minmax(220px, 0.58fr) auto !important;
  border-color: rgba(255, 234, 187, 0.24) !important;
  border-radius: clamp(28px, 3vw, 38px) !important;
  background: rgba(255, 250, 239, 0.96) !important;
  box-shadow: 0 34px 100px rgba(18, 1, 6, 0.32) !important;
}

.featured-hero-media .product-media,
.featured-hero-media .product-media img {
  min-height: clamp(230px, 22vw, 320px) !important;
  max-height: 330px;
}

.featured-hero-media .product-media img {
  object-fit: cover;
  transform: scale(1.01) !important;
}

.featured-hero-copy {
  padding: clamp(18px, 2.2vw, 26px) !important;
}

.featured-hero-copy > span {
  margin-bottom: 6px !important;
}

.featured-hero-copy h2 {
  margin-bottom: 8px !important;
  font-size: clamp(1.55rem, 2.05vw, 2.22rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.featured-hero-copy p {
  margin-bottom: 12px !important;
  line-height: 1.48 !important;
  color: rgba(60, 42, 35, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-hero-meta {
  align-items: center !important;
  margin-bottom: 12px !important;
  padding-top: 10px !important;
}

.featured-hero-copy .btn {
  padding: 11px 15px;
}

/* Product card text alignment polish */
.product-card {
  grid-template-rows: 248px minmax(295px, 1fr);
}

.product-body {
  display: grid;
  grid-template-rows: minmax(132px, auto) auto auto;
  gap: 14px !important;
  padding: clamp(18px, 2vw, 22px) !important;
  align-content: start;
}

.product-meta {
  min-height: 18px;
  margin-bottom: 4px;
}

.product-card h3 {
  min-height: 2.45em;
  display: flex;
  align-items: flex-start;
  margin: 0;
  line-height: 1.16;
  text-wrap: balance;
}

.product-card p {
  min-height: 4.65em;
  margin-top: 8px !important;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-body .price-row {
  min-height: 48px;
  align-items: flex-end !important;
}

.product-body .card-actions {
  align-self: end;
}

.price .dual-price {
  align-items: flex-start;
}

.price .dual-price small {
  line-height: 1.2;
  color: rgba(60, 42, 35, 0.58);
}

.menu-filters {
  max-width: 100%;
}

@media (max-width: 1120px) {
  .home-featured-grid {
    grid-template-columns: 1fr !important;
  }
  .home-featured-landing {
    min-height: auto;
  }
  .featured-hero-showcase {
    min-height: 570px !important;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .home-featured-landing {
    padding: 46px 0 56px !important;
  }
  .home-featured-intro h1 {
    font-size: clamp(3rem, 14vw, 4.6rem) !important;
  }
  .featured-hero-showcase {
    min-height: 540px !important;
  }
  .featured-hero-slide {
    grid-template-rows: 238px auto !important;
  }
  .featured-hero-media .product-media,
  .featured-hero-media .product-media img {
    min-height: 238px !important;
    max-height: 238px;
  }
  .product-card {
    grid-template-rows: 235px auto;
  }
  .product-card h3,
  .product-card p {
    min-height: auto;
  }
}


/* DULCE SLEEK FEATURED HOMEPAGE REPAIR PATCH */
/* Repair the featured hero so it is premium, contained, and not visually oversized. */
.sleek-home-landing.home-featured-landing {
  min-height: calc(100svh - 82px) !important;
  display: flex !important;
  align-items: center !important;
  padding: clamp(54px, 7vh, 86px) 0 clamp(52px, 7vh, 84px) !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 215, 156, 0.18), transparent 30%),
    radial-gradient(circle at 48% 110%, rgba(137, 17, 48, 0.38), transparent 45%),
    linear-gradient(118deg, #340610 0%, #5f0b22 48%, #811833 100%) !important;
  color: #fff2d2 !important;
  border-bottom: 1px solid rgba(255, 234, 190, 0.16) !important;
  box-shadow: inset 0 -80px 140px rgba(32, 1, 8, 0.22) !important;
}

.sleek-home-landing::before {
  content: "" !important;
  position: absolute !important;
  inset: 10% 4% 8% 55% !important;
  width: auto !important;
  height: auto !important;
  border-radius: 999px !important;
  background:
    linear-gradient(135deg, rgba(255, 236, 190, 0.09), rgba(255,255,255,0.015)),
    radial-gradient(circle at 25% 20%, rgba(255, 236, 190, 0.16), transparent 45%) !important;
  filter: blur(1px) !important;
  transform: rotate(-8deg) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.sleek-home-landing::after {
  content: "" !important;
  position: absolute !important;
  inset: auto -16% -42% 36% !important;
  height: 58% !important;
  background: radial-gradient(circle, rgba(20, 1, 7, 0.32), transparent 62%) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.sleek-home-grid.home-featured-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 540px) !important;
  align-items: center !important;
  gap: clamp(34px, 5.5vw, 86px) !important;
}

.sleek-home-copy.home-featured-intro {
  max-width: 680px !important;
  min-width: 0 !important;
}

.sleek-home-copy .eyebrow {
  border-color: rgba(255, 231, 178, 0.32) !important;
  background: rgba(255, 246, 218, 0.08) !important;
  color: #ffe6a6 !important;
  box-shadow: 0 18px 44px rgba(17, 1, 5, 0.18) !important;
}

.sleek-home-copy h1 {
  max-width: 680px !important;
  margin: clamp(18px, 2vw, 24px) 0 clamp(12px, 1.3vw, 16px) !important;
  color: #fff3d4 !important;
  font-size: clamp(3.2rem, 5.3vw, 5.95rem) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.055em !important;
  text-wrap: balance !important;
  text-shadow: 0 18px 56px rgba(17, 1, 5, 0.18) !important;
}

.sleek-home-copy .hero-copy {
  max-width: 590px !important;
  color: rgba(255, 246, 224, 0.82) !important;
  font-size: clamp(1rem, 1.25vw, 1.18rem) !important;
  line-height: 1.72 !important;
}

.sleek-home-copy .hero-actions {
  margin-top: clamp(20px, 2.5vw, 30px) !important;
}

.sleek-home-copy .btn-primary {
  background: #fff0c7 !important;
  color: #5c0b21 !important;
  box-shadow: 0 18px 44px rgba(17, 1, 5, 0.25) !important;
}

.sleek-home-copy .btn-secondary {
  color: #fff0c7 !important;
  background: rgba(255, 246, 218, 0.08) !important;
  border-color: rgba(255, 234, 187, 0.32) !important;
}

.sleek-home-copy .home-featured-notes {
  margin-top: clamp(18px, 2vw, 26px) !important;
}

.sleek-home-copy .home-featured-notes span {
  padding: 9px 12px !important;
  border-color: rgba(255, 231, 178, 0.24) !important;
  background: rgba(255, 246, 218, 0.08) !important;
  color: rgba(255, 246, 224, 0.78) !important;
  box-shadow: none !important;
}

.sleek-home-copy .home-featured-notes strong {
  color: #ffe6a6 !important;
}

.sleek-featured-panel {
  position: relative !important;
  width: min(100%, 540px) !important;
  justify-self: end !important;
  padding: 14px !important;
  border: 1px solid rgba(255, 232, 184, 0.22) !important;
  border-radius: 34px !important;
  background: linear-gradient(145deg, rgba(255, 246, 226, 0.12), rgba(255, 255, 255, 0.035)) !important;
  box-shadow: 0 32px 90px rgba(17, 1, 5, 0.28) !important;
  backdrop-filter: blur(12px) !important;
}

.sleek-panel-label {
  position: absolute !important;
  left: 30px !important;
  top: 28px !important;
  z-index: 10 !important;
  padding: 8px 11px !important;
  border: 1px solid rgba(255, 234, 187, 0.28) !important;
  border-radius: 999px !important;
  background: rgba(255, 246, 224, 0.92) !important;
  color: #6b1028 !important;
  font-size: 0.74rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.02em !important;
}

.sleek-featured-panel .featured-hero-showcase {
  min-height: 520px !important;
  max-height: 520px !important;
  height: 520px !important;
  border-radius: 28px !important;
}

.sleek-featured-panel .featured-hero-slide {
  display: grid !important;
  grid-template-rows: 285px 1fr !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255, 234, 187, 0.22) !important;
  background: rgba(255, 250, 238, 0.96) !important;
  box-shadow: none !important;
}

.sleek-featured-panel .featured-hero-media,
.sleek-featured-panel .featured-hero-media .product-media,
.sleek-featured-panel .featured-hero-media .product-media img {
  height: 285px !important;
  min-height: 285px !important;
  max-height: 285px !important;
}

.sleek-featured-panel .featured-hero-media .product-media {
  border-radius: 0 !important;
}

.sleek-featured-panel .featured-hero-media .product-media img {
  width: 100% !important;
  object-fit: cover !important;
  transform: scale(1.015) !important;
}

.sleek-featured-copy.featured-hero-copy {
  padding: 22px 24px 24px !important;
  min-height: 0 !important;
}

.sleek-featured-copy > span {
  margin-bottom: 6px !important;
  color: rgba(108, 16, 40, 0.65) !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.sleek-featured-copy h2 {
  margin: 0 0 8px !important;
  color: #6b1028 !important;
  font-size: clamp(1.45rem, 2vw, 2rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.02em !important;
  text-wrap: balance !important;
}

.sleek-featured-copy p {
  margin: 0 0 12px !important;
  color: rgba(60, 42, 35, 0.70) !important;
  font-size: 0.98rem !important;
  line-height: 1.46 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.sleek-featured-meta.featured-hero-meta {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
  padding-top: 11px !important;
  border-top: 1px solid rgba(105, 14, 38, 0.10) !important;
}

.sleek-featured-meta .dual-price-main {
  color: #6b1028 !important;
  font-size: 1.2rem !important;
}

.sleek-featured-meta .dual-price small {
  color: rgba(60, 42, 35, 0.54) !important;
  font-size: 0.72rem !important;
}

.sleek-featured-meta > small {
  max-width: 190px !important;
  color: rgba(60, 42, 35, 0.58) !important;
  text-align: right !important;
  font-weight: 850 !important;
}

.sleek-featured-copy .btn {
  min-height: 42px !important;
  padding: 11px 16px !important;
}

/* Product card alignment and dual-price polish */
.product-card {
  overflow: hidden !important;
}

.product-body {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
}

.product-card h3 {
  line-height: 1.14 !important;
  text-wrap: balance !important;
}

.product-card p {
  line-height: 1.52 !important;
}

.product-body .price-row,
.product-body .card-actions {
  align-items: center !important;
}

.price .dual-price-main,
.featured-hero-copy .dual-price-main {
  color: #6b1028 !important;
}

.price .dual-price small,
.featured-hero-copy .dual-price small {
  color: rgba(60, 42, 35, 0.55) !important;
}

@media (max-width: 1180px) {
  .sleek-home-grid.home-featured-grid {
    grid-template-columns: 1fr !important;
  }
  .sleek-featured-panel {
    justify-self: start !important;
  }
}

@media (max-width: 700px) {
  .sleek-home-landing.home-featured-landing {
    min-height: auto !important;
    padding: 42px 0 54px !important;
  }
  .sleek-home-copy h1 {
    font-size: clamp(3rem, 13vw, 4.8rem) !important;
    line-height: 0.92 !important;
  }
  .sleek-featured-panel {
    width: 100% !important;
    padding: 10px !important;
    border-radius: 26px !important;
  }
  .sleek-featured-panel .featured-hero-showcase {
    min-height: 510px !important;
    height: 510px !important;
    max-height: 510px !important;
  }
  .sleek-featured-panel .featured-hero-slide {
    grid-template-rows: 250px 1fr !important;
    border-radius: 22px !important;
  }
  .sleek-featured-panel .featured-hero-media,
  .sleek-featured-panel .featured-hero-media .product-media,
  .sleek-featured-panel .featured-hero-media .product-media img {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
  }
  .sleek-featured-copy.featured-hero-copy {
    padding: 19px !important;
  }
  .sleek-featured-meta.featured-hero-meta {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  .sleek-featured-meta > small {
    text-align: left !important;
  }
}


/* DULCE HOME TEXT POSITIONING POLISH PATCH */
/* Keep the burgundy feature page, but restore premium spacing and prevent the headline from hugging/clipping against the viewport edge. */
.sleek-home-landing.home-featured-landing {
  min-height: calc(100svh - 82px) !important;
  padding: clamp(56px, 7vh, 82px) 0 clamp(58px, 7vh, 84px) !important;
}

.sleek-home-landing .container.sleek-home-grid,
.sleek-home-grid.home-featured-grid {
  width: min(100%, 1440px) !important;
  max-width: 1440px !important;
  margin-inline: auto !important;
  padding-inline: clamp(28px, 5.5vw, 96px) !important;
  box-sizing: border-box !important;
  grid-template-columns: minmax(390px, 0.82fr) minmax(420px, 520px) !important;
  gap: clamp(42px, 6vw, 92px) !important;
  align-items: center !important;
}

.sleek-home-copy.home-featured-intro {
  width: 100% !important;
  max-width: 600px !important;
  justify-self: start !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  transform: none !important;
}

.sleek-home-copy .eyebrow {
  margin-left: 0 !important;
  margin-bottom: clamp(18px, 2vw, 24px) !important;
}

.sleek-home-copy h1 {
  width: 100% !important;
  max-width: 600px !important;
  margin: 0 0 clamp(16px, 1.6vw, 20px) !important;
  font-size: clamp(4rem, 4.7vw, 5.35rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.048em !important;
  text-wrap: balance !important;
}

.sleek-home-copy .hero-copy {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 !important;
  font-size: clamp(1.02rem, 1.12vw, 1.16rem) !important;
  line-height: 1.72 !important;
}

.sleek-home-copy .hero-actions {
  margin-top: clamp(22px, 2.5vw, 30px) !important;
}

.sleek-home-copy .home-featured-notes {
  max-width: 600px !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.sleek-home-copy .home-featured-notes span {
  min-height: 38px !important;
  padding: 8px 13px !important;
}

.sleek-featured-panel {
  width: min(100%, 520px) !important;
  justify-self: end !important;
}

.sleek-featured-panel .featured-hero-showcase {
  min-height: 500px !important;
  height: 500px !important;
  max-height: 500px !important;
}

.sleek-featured-panel .featured-hero-slide {
  grid-template-rows: 270px 1fr !important;
}

.sleek-featured-panel .featured-hero-media,
.sleek-featured-panel .featured-hero-media .product-media,
.sleek-featured-panel .featured-hero-media .product-media img {
  height: 270px !important;
  min-height: 270px !important;
  max-height: 270px !important;
}

@media (max-width: 1180px) {
  .sleek-home-landing .container.sleek-home-grid,
  .sleek-home-grid.home-featured-grid {
    grid-template-columns: 1fr !important;
    max-width: 880px !important;
    gap: 36px !important;
    padding-inline: clamp(24px, 6vw, 54px) !important;
  }
  .sleek-home-copy.home-featured-intro {
    max-width: 720px !important;
  }
  .sleek-home-copy h1,
  .sleek-home-copy .hero-copy {
    max-width: 720px !important;
  }
  .sleek-featured-panel {
    justify-self: start !important;
    width: min(100%, 560px) !important;
  }
}

@media (max-width: 700px) {
  .sleek-home-landing.home-featured-landing {
    padding: 38px 0 48px !important;
  }
  .sleek-home-landing .container.sleek-home-grid,
  .sleek-home-grid.home-featured-grid {
    padding-inline: 20px !important;
    gap: 28px !important;
  }
  .sleek-home-copy h1 {
    font-size: clamp(3.2rem, 13vw, 4.55rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.052em !important;
  }
  .sleek-home-copy .hero-copy {
    font-size: 1rem !important;
    line-height: 1.62 !important;
  }
  .sleek-featured-panel .featured-hero-showcase {
    min-height: 500px !important;
    height: 500px !important;
    max-height: 500px !important;
  }
  .sleek-featured-panel .featured-hero-slide {
    grid-template-rows: 245px 1fr !important;
  }
  .sleek-featured-panel .featured-hero-media,
  .sleek-featured-panel .featured-hero-media .product-media,
  .sleek-featured-panel .featured-hero-media .product-media img {
    height: 245px !important;
    min-height: 245px !important;
    max-height: 245px !important;
  }
}
/* END DULCE HOME TEXT POSITIONING POLISH PATCH */


/* DULCE CATEGORY CAKE OPTIONS START */
.cake-variant-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pack-option small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.cake-config-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(113, 13, 42, 0.14);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
.cake-config-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--burgundy);
}
.cake-config-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}
.cake-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.cake-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(113, 13, 42, 0.14);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 800;
  color: var(--body);
}
.cake-choice input {
  accent-color: var(--burgundy);
}
.cake-line-meta {
  display: block;
  margin-top: 4px;
  color: var(--burgundy-muted, #8d4d61);
  line-height: 1.35;
}
.cake-admin-panel {
  border-color: rgba(167, 124, 64, 0.22);
  background: linear-gradient(135deg, rgba(255,250,241,.9), rgba(248,232,206,.58));
}
.cake-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.cake-admin-row {
  display: grid;
  grid-template-columns: 96px minmax(140px, 1.3fr) repeat(4, minmax(84px, .75fr));
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(113, 13, 42, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}
.cake-admin-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.cake-admin-options-grid textarea {
  min-height: 92px;
}
.cake-toggle-row {
  margin-top: 12px;
}
@media (max-width: 900px) {
  .cake-admin-row,
  .cake-admin-options-grid,
  .cake-variant-grid,
  .cake-choice-grid {
    grid-template-columns: 1fr;
  }
}
/* DULCE CATEGORY CAKE OPTIONS END */
