/* Luxury Gift Builder — scoped Cocoa Royale companion styles */
.lgb-builder {
  --lgb-ivory: #f7f1e8;
  --lgb-cocoa: #3d3129;
  --lgb-burgundy: #6d1f2c;
  --lgb-gold: #c9a962;
  --lgb-ink: #2b1c14;
  --lgb-muted: #7a6558;
  --lgb-card: #fffdf9;
  --lgb-line: rgba(61, 49, 41, 0.12);
  --lgb-sans: var(--font-sans, "Plus Jakarta Sans", system-ui, sans-serif);
  --lgb-serif: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  color: var(--lgb-ink);
  background:
    radial-gradient(circle at top left, rgba(201, 169, 98, 0.14), transparent 38%),
    linear-gradient(180deg, var(--lgb-ivory), #efe4d4 42%, #f7f1e8);
  --lgb-announce: 0px;
  --lgb-sticky-top: calc(var(--header-height, 72px) + var(--lgb-announce));
  padding-top: var(--header-height, 72px);
  padding-bottom: 5rem;
  font-family: var(--lgb-serif);
}

body:has(.header.has-announcement) .lgb-builder {
  --lgb-announce: 40px;
}

body:has(.header.compact) .lgb-builder {
  --lgb-sticky-top: calc(var(--header-height-compact, 56px) + var(--lgb-announce));
}

.lgb-builder,
.lgb-builder p,
.lgb-builder span,
.lgb-builder strong,
.lgb-builder li,
.lgb-builder label,
.lgb-builder h2,
.lgb-builder h3,
.lgb-builder h4 {
  color: var(--lgb-ink);
}

.lgb-builder [hidden],
.lgb-builder .lgb-hidden {
  display: none !important;
}

.lgb-hero {
  background:
    linear-gradient(120deg, rgba(13, 10, 8, 0.72), rgba(61, 49, 41, 0.55)),
    url('/frontend/images/banner/home-banner-1.jpg') center/cover no-repeat;
  color: #fff8ef;
  padding: 1.65rem 1.25rem 2.1rem;
}

.lgb-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.lgb-kicker,
.lgb-summary-kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--lgb-sans);
  font-weight: 600;
}

.lgb-kicker {
  color: var(--lgb-gold);
  margin-bottom: 0.4rem;
}

.lgb-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 500;
  margin: 0 0 0.4rem;
  line-height: 1.15;
  color: #fff8ef;
}

.lgb-lead {
  font-family: var(--lgb-sans);
  font-size: 0.9rem;
  opacity: 0.88;
  margin: 0;
  color: #fff8ef;
}

.lgb-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: -1.35rem auto 0;
  position: relative;
  z-index: 1;
}

.lgb-steps {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding: 0.85rem 0.7rem 0.95rem;
  margin: 0 0 1.1rem;
  background: var(--lgb-card);
  border: 1px solid var(--lgb-line);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(43, 28, 20, 0.06);
  font-family: var(--lgb-sans);
  scrollbar-width: thin;
}

.lgb-steps li {
  position: relative;
  flex: 1 1 0;
  min-width: 5.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.4rem;
  color: var(--lgb-muted);
  text-align: center;
}

.lgb-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  inset-inline-start: calc(50% + 1.05rem);
  inset-inline-end: calc(-50% + 1.05rem);
  height: 1px;
  background: var(--lgb-line);
  pointer-events: none;
}

.lgb-step-index {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  border: 1px solid var(--lgb-line);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  background: #fff;
  z-index: 1;
  color: inherit;
}

.lgb-step-label {
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  color: inherit;
}

.lgb-steps li.is-active {
  color: var(--lgb-ink);
}

.lgb-steps li.is-active .lgb-step-index {
  background: var(--lgb-cocoa);
  border-color: var(--lgb-cocoa);
  color: #fff8ef;
}

.lgb-steps li.is-done {
  color: var(--lgb-cocoa);
}

.lgb-steps li.is-done .lgb-step-index {
  background: rgba(201, 169, 98, 0.18);
  border-color: var(--lgb-gold);
  color: var(--lgb-cocoa);
}

.lgb-steps li.is-done:not(:last-child)::after {
  background: rgba(201, 169, 98, 0.7);
}

.lgb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.15rem;
  align-items: start;
}

.lgb-main,
.lgb-summary {
  background: var(--lgb-card);
  border: 1px solid var(--lgb-line);
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: 0 12px 28px rgba(43, 28, 20, 0.05);
}

.lgb-summary {
  position: sticky;
  top: calc(var(--lgb-sticky-top) + 0.5rem);
}

.lgb-panel { display: none; animation: lgbFade 0.3s ease; }
.lgb-panel.is-active { display: block; }

.lgb-panel h2 {
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
  font-weight: 500;
}

.lgb-panel-lead,
.lgb-optional {
  color: var(--lgb-muted);
  font-size: 0.86rem;
  font-family: var(--lgb-sans);
  margin: 0 0 1.1rem;
}

.lgb-optional { margin: 0; font-size: 0.82rem; }

.lgb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.95rem;
}

.lgb-card {
  border: 1px solid var(--lgb-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fffdf9;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  text-align: start;
  padding: 0;
  font: inherit;
  color: inherit;
}

.lgb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 31, 44, 0.28);
  box-shadow: 0 10px 22px rgba(43, 28, 20, 0.08);
}

.lgb-card:focus-visible {
  outline: 2px solid var(--lgb-gold);
  outline-offset: 2px;
}

.lgb-card.is-selected {
  border-color: var(--lgb-burgundy);
  box-shadow: 0 0 0 1px rgba(109, 31, 44, 0.35);
}

.lgb-card.is-disabled,
.lgb-card[disabled] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.lgb-card img,
.lgb-card .lgb-ph,
.lgb-review-media img,
.lgb-review-media .lgb-ph,
.lgb-review-choco img,
.lgb-review-choco .lgb-ph {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: linear-gradient(180deg, #f3e6d4, #e6d3bc);
}

.lgb-ph {
  display: grid;
  place-items: center;
  font-family: var(--lgb-serif);
  font-size: 1.8rem;
  color: var(--lgb-cocoa);
  letter-spacing: 0.04em;
}

.lgb-card-body { padding: 0.8rem 0.9rem 0.95rem; }
.lgb-card-body strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 0.2rem;
}
.lgb-card-body span,
.lgb-muted {
  color: var(--lgb-muted);
  font-family: var(--lgb-sans);
  font-size: 0.8rem;
}

.lgb-choco-goal {
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--lgb-line);
  border-radius: 12px;
  background: rgba(247, 241, 232, 0.7);
  font-family: var(--lgb-sans);
}

.lgb-choco-goal.is-complete {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.16);
  animation: lgbFillComplete 0.7s ease;
}

.lgb-choco-goal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.84rem;
  color: var(--lgb-muted);
}

.lgb-choco-goal-meta strong { color: var(--lgb-ink); }
.lgb-choco-goal .lgb-fill-complete { margin: 0.45rem 0 0; }

.lgb-chocolate-list { display: grid; gap: 0.8rem; }

.lgb-choco {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--lgb-line);
  border-radius: 14px;
  padding: 0.75rem;
  background: #fffdf9;
}

.lgb-choco.is-disabled { opacity: 0.45; pointer-events: none; }

.lgb-choco img,
.lgb-choco .lgb-ph {
  width: 88px;
  height: 88px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(180deg, #f3e6d4, #e6d3bc);
}

.lgb-choco-copy strong {
  display: block;
  font-size: 1.12rem;
  margin: 0.15rem 0 0.2rem;
}

.lgb-badge {
  display: inline-block;
  margin-inline-end: 0.3rem;
  margin-bottom: 0.15rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: rgba(201, 169, 98, 0.18);
  color: var(--lgb-cocoa);
  font-family: var(--lgb-sans);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lgb-badge.limited {
  background: rgba(109, 31, 44, 0.1);
  color: var(--lgb-burgundy);
}

.lgb-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--lgb-sans);
  direction: ltr;
}

.lgb-qty button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--lgb-line);
  background: #fff;
  color: var(--lgb-cocoa);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.lgb-qty button:hover:not(:disabled) {
  border-color: var(--lgb-cocoa);
}

.lgb-qty button:focus-visible {
  outline: 2px solid var(--lgb-gold);
  outline-offset: 2px;
}

.lgb-qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lgb-qty-value {
  min-width: 3.6rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--lgb-ink);
}

.lgb-personalization {
  display: grid;
  gap: 1.1rem;
  font-family: var(--lgb-sans);
}

.lgb-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
}

.lgb-field input,
.lgb-field textarea,
.lgb-field select {
  width: 100%;
  border: 1px solid var(--lgb-line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  font: inherit;
  color: var(--lgb-ink);
}

.lgb-field input:focus,
.lgb-field textarea:focus,
.lgb-field select:focus {
  outline: 2px solid var(--lgb-gold);
  outline-offset: 1px;
}

.lgb-logo-status {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--lgb-cocoa);
}

.lgb-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.lgb-option {
  border: 1px solid var(--lgb-line);
  border-radius: 12px;
  padding: 0.75rem;
  cursor: pointer;
  background: #fff;
  text-align: start;
  font: inherit;
  color: inherit;
}

.lgb-option:focus-visible {
  outline: 2px solid var(--lgb-gold);
  outline-offset: 2px;
}

.lgb-option.is-selected {
  border-color: var(--lgb-burgundy);
  background: rgba(109, 31, 44, 0.04);
}

.lgb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lgb-line);
}

.lgb-nav #lgb-prev { margin-inline-end: auto; }

.lgb-nav-end {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.lgb-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  min-height: 44px;
  min-width: 7.5rem;
  font-family: var(--lgb-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lgb-btn:focus-visible {
  outline: 2px solid var(--lgb-gold);
  outline-offset: 2px;
}

.lgb-btn-primary {
  background: var(--lgb-burgundy);
  color: #fff8ef;
}

.lgb-btn-primary:hover:not(:disabled) {
  background: #5c1a25;
}

.lgb-btn-primary:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.lgb-btn-ghost {
  background: transparent;
  color: var(--lgb-cocoa);
  border: 1px solid var(--lgb-line);
}

.lgb-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(109, 31, 44, 0.08);
  color: var(--lgb-burgundy);
  font-family: var(--lgb-sans);
  font-size: 0.85rem;
}

.lgb-summary-kicker {
  margin: 0 0 0.45rem;
  color: var(--lgb-cocoa);
}

.lgb-summary-identity {
  margin-bottom: 0.95rem;
  font-family: var(--lgb-sans);
}

.lgb-summary-identity strong {
  display: block;
  font-family: var(--lgb-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.lgb-summary-section {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--lgb-line);
  font-family: var(--lgb-sans);
  font-size: 0.84rem;
}

.lgb-summary-section h4 {
  margin: 0 0 0.45rem;
  font-family: var(--lgb-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lgb-muted);
  font-weight: 600;
}

.lgb-summary-body {
  display: grid;
  gap: 0.3rem;
}

.lgb-fill {
  margin: 0 0 0.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--lgb-line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(247, 241, 232, 0.7));
  font-family: var(--lgb-sans);
  transition: border-color 0.45s ease, box-shadow 0.45s ease;
}

.lgb-fill.is-complete {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.16);
  animation: lgbFillComplete 0.7s ease;
}

.lgb-fill-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lgb-muted);
  margin-bottom: 0.5rem;
}

.lgb-fill-head strong {
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lgb-ink);
}

.lgb-fill-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(61, 49, 41, 0.08);
  overflow: hidden;
}

.lgb-fill-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lgb-cocoa), var(--lgb-burgundy));
  transition: width 0.45s ease, background 0.45s ease;
}

[dir="rtl"] .lgb-fill-bar {
  background: linear-gradient(270deg, var(--lgb-cocoa), var(--lgb-burgundy));
}

.lgb-fill.is-complete .lgb-fill-bar {
  background: linear-gradient(90deg, var(--lgb-gold), #d4b56a);
}

[dir="rtl"] .lgb-fill.is-complete .lgb-fill-bar {
  background: linear-gradient(270deg, var(--lgb-gold), #d4b56a);
}

.lgb-fill-remaining,
.lgb-fill-complete {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
}

.lgb-fill-remaining { color: var(--lgb-muted); }
.lgb-fill-complete {
  color: var(--lgb-cocoa);
  font-weight: 600;
}

.lgb-summary-totals {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--lgb-line);
  font-family: var(--lgb-sans);
  font-size: 0.88rem;
}

.lgb-price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.lgb-price-row span {
  color: var(--lgb-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.lgb-price-row strong {
  color: var(--lgb-burgundy);
  font-size: 1.2rem;
  font-weight: 600;
}

.lgb-review {
  font-family: var(--lgb-sans);
  line-height: 1.55;
  display: grid;
  gap: 1rem;
}

.lgb-review-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  border: 1px solid var(--lgb-line);
  border-radius: 14px;
  padding: 0.8rem;
  background: rgba(247, 241, 232, 0.45);
}

.lgb-review-media img,
.lgb-review-media .lgb-ph {
  width: 96px;
  height: 96px;
  aspect-ratio: 1;
  border-radius: 10px;
}

.lgb-review-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lgb-muted);
}

.lgb-review-card h3 {
  margin: 0 0 0.2rem;
  font-family: var(--lgb-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.lgb-review-section h4 {
  margin: 0 0 0.55rem;
  font-family: var(--lgb-sans);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lgb-muted);
}

.lgb-review-chocos {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.lgb-review-choco {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  border: 1px solid var(--lgb-line);
  border-radius: 12px;
  padding: 0.5rem 0.7rem;
}

.lgb-review-choco img,
.lgb-review-choco .lgb-ph {
  width: 52px;
  height: 52px;
  aspect-ratio: 1;
  border-radius: 8px;
}

.lgb-review-qty {
  font-weight: 600;
  color: var(--lgb-cocoa);
  white-space: nowrap;
}

.lgb-review-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.4rem;
  border-top: 1px solid var(--lgb-line);
  font-size: 1.05rem;
}

.lgb-review-total strong {
  color: var(--lgb-burgundy);
  font-size: 1.3rem;
}

.lgb-saved-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.lgb-saved-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--lgb-line);
  border-radius: 16px;
  background: var(--lgb-card);
}
.lgb-saved-actions { display: flex; gap: 0.5rem; align-items: center; }
.lgb-flash {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(74, 44, 26, 0.08);
  font-family: var(--lgb-sans);
}

@keyframes lgbFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes lgbFillComplete {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 98, 0.28); }
  70% { box-shadow: 0 0 0 7px rgba(201, 169, 98, 0); }
  100% { box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.16); }
}

@media (max-width: 1024px) {
  .lgb-layout { grid-template-columns: minmax(0, 1fr) 270px; }
}

@media (max-height: 800px) {
  .lgb-hero { padding-block: 0.85rem 1.15rem; }
  .lgb-hero h1 { font-size: clamp(1.3rem, 2.6vw, 1.85rem); }
}

@media (max-width: 900px) {
  .lgb-builder {
    --lgb-nav-clearance: calc(4.35rem + env(safe-area-inset-bottom, 0px));
    --lgb-gift-trigger-height: 58px;
    --lgb-mobile-clearance: calc(
      var(--lgb-nav-clearance) +
      var(--lgb-gift-trigger-height) +
      1rem
    );
    padding-bottom: var(--lgb-mobile-clearance);
  }
  .lgb-hero { padding: 0.7rem 1rem 1.05rem; }
  .lgb-hero h1 { font-size: 1.32rem; }
  .lgb-lead { font-size: 0.78rem; }
  .lgb-shell { width: calc(100% - 1.25rem); margin-top: -0.85rem; }
  .lgb-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .lgb-main {
    width: 100%;
    max-width: 100%;
    order: 1;
    padding: 1.05rem 1rem 1.1rem;
  }
  .lgb-steps {
    padding: 0.55rem 0.35rem 0.65rem;
  }
  .lgb-steps li {
    min-width: 3.5rem;
    padding: 0.1rem 0.2rem;
  }
  .lgb-step-index { z-index: 1; }
  .lgb-step-label {
    z-index: 1;
    white-space: normal;
    max-width: 4.6rem;
    line-height: 1.15;
    font-size: 0.62rem;
  }
  .lgb-steps li:not(:last-child)::after {
    top: 0.72rem;
    z-index: 0;
  }
  .lgb-choco {
    grid-template-columns: 68px minmax(0, 1fr);
  }
  .lgb-choco img,
  .lgb-choco .lgb-ph {
    width: 68px;
    height: 68px;
  }
  .lgb-choco .lgb-qty {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .lgb-qty button { width: 44px; height: 44px; }
  #lgb-action-home .lgb-action-dock {
    position: fixed;

    left: 50%;
    bottom: 0;

    z-index: 1200;

    width: min(calc(100% - 1rem), 680px);

    transform: translateX(-50%);

    background: rgba(255, 253, 249, 0.98);

    border: 1px solid rgba(61, 49, 41, 0.13);
    border-bottom: 0;

    border-radius: 16px 16px 0 0;

    box-shadow:
      0 -10px 28px rgba(43, 28, 20, 0.12);

    overflow: hidden;
  }

  #lgb-action-home
  .lgb-action-dock
  .lgb-mobile-gift-trigger {
    border: 0;
    border-bottom: 1px solid var(--lgb-line);

    border-radius: 0;

    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .lgb-nav {
    position: static;

    bottom: auto;
    z-index: auto;

    margin: 0;

    padding:
      0.65rem
      0.7rem
      calc(
        0.65rem +
        env(safe-area-inset-bottom, 0px)
      );

    background: transparent;

    border-top: 0;

    box-shadow: none;
  }
  .lgb-chocolate-list,
  .lgb-personalization,
  .lgb-review {
    padding-bottom: var(--lgb-mobile-clearance);
  }
  .lgb-choco,
  .lgb-field,
  .lgb-review-card,
  .lgb-option-grid {
    scroll-margin-bottom: var(--lgb-mobile-clearance);
  }
  .lgb-review-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .lgb-review-media img,
  .lgb-review-media .lgb-ph {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 430px) {
  .lgb-hero { padding: 0.5rem 0.85rem 0.85rem; }
  .lgb-hero h1 { font-size: 1.18rem; }
  .lgb-kicker { font-size: 0.64rem; margin-bottom: 0.2rem; }
  .lgb-steps li { min-width: 3.2rem; }
  .lgb-step-label { font-size: 0.58rem; max-width: 4.1rem; }
  .lgb-btn { min-width: 0; padding-inline: 1.05rem; }
}
/* ============================================================
   CACAO_LGB_PREMIUM_PERSONALIZE_V1
   Premium responsive personalization UI
   ============================================================ */

.lgb-panel[data-panel="4"] {
  --lgb-field-bg: #fffdfa;
}

.lgb-panel[data-panel="4"] .lgb-panel-lead {
  margin-bottom: 1.35rem;
}

.lgb-personalization {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.05rem;
  align-items: start;
}

.lgb-field-full,
.lgb-personal-block {
  grid-column: 1 / -1;
}

.lgb-field-half {
  min-width: 0;
}

.lgb-field label,
.lgb-personal-block > label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--lgb-ink);
  font-family: var(--lgb-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lgb-field input:not([type="checkbox"]):not([type="file"]),
.lgb-field textarea,
.lgb-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(61, 49, 41, 0.16);
  border-radius: 14px;
  padding: 0.78rem 0.95rem;
  background: var(--lgb-field-bg);
  color: var(--lgb-ink);
  font-family: var(--lgb-sans);
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 1px 2px rgba(43, 28, 20, 0.025);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.lgb-field input:not([type="checkbox"]):not([type="file"]):hover,
.lgb-field textarea:hover,
.lgb-field select:hover {
  border-color: rgba(109, 31, 44, 0.26);
}

.lgb-field input:not([type="checkbox"]):not([type="file"]):focus,
.lgb-field textarea:focus,
.lgb-field select:focus {
  outline: none;
  border-color: rgba(109, 31, 44, 0.7);
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.16),
    0 8px 22px rgba(43, 28, 20, 0.045);
}


/* ---------------- Option cards ---------------- */

.lgb-personal-block {
  min-width: 0;
}

.lgb-option-grid {
  gap: 0.72rem;
}

.lgb-option {
  min-height: 68px;
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 252, 247, 0.98)
    );
  box-shadow: 0 3px 12px rgba(43, 28, 20, 0.035);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.lgb-option:hover {
  transform: translateY(-1px);
  border-color: rgba(109, 31, 44, 0.28);
  box-shadow: 0 8px 20px rgba(43, 28, 20, 0.07);
}

.lgb-option.is-selected {
  border-color: rgba(109, 31, 44, 0.72);
  background:
    linear-gradient(
      180deg,
      rgba(109, 31, 44, 0.055),
      rgba(201, 169, 98, 0.06)
    );
  box-shadow:
    0 0 0 1px rgba(109, 31, 44, 0.08),
    0 7px 18px rgba(43, 28, 20, 0.055);
}


/* ---------------- Premium corporate logo card ---------------- */

.lgb-logo-card {
  margin-top: 0.1rem;
  padding: 1rem;
  border: 1px solid rgba(61, 49, 41, 0.13);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 253, 249, 1),
      rgba(249, 243, 235, 0.72)
    );
  box-shadow:
    0 10px 26px rgba(43, 28, 20, 0.045);
}

.lgb-logo-choice {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  margin: 0 !important;
  cursor: pointer;
  user-select: none;
}

.lgb-logo-checkbox {
  -webkit-appearance: none;
  appearance: none;

  width: 22px !important;
  min-width: 22px;
  height: 22px;

  margin: 0;
  padding: 0 !important;

  border: 1px solid rgba(109, 31, 44, 0.38) !important;
  border-radius: 7px !important;

  background: #fff;
  cursor: pointer;

  position: relative;
  flex: 0 0 22px;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.lgb-logo-checkbox:hover {
  border-color: var(--lgb-burgundy) !important;
}

.lgb-logo-checkbox:checked {
  background: var(--lgb-burgundy) !important;
  border-color: var(--lgb-burgundy) !important;
  box-shadow: 0 4px 12px rgba(109, 31, 44, 0.2);
}

.lgb-logo-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;

  border: solid #fff;
  border-width: 0 2px 2px 0;

  transform: rotate(45deg);
}

.lgb-logo-checkbox:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.23),
    0 4px 12px rgba(109, 31, 44, 0.16);
}

.lgb-logo-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.lgb-logo-copy strong {
  color: var(--lgb-ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.lgb-logo-copy small {
  color: var(--lgb-muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.lgb-logo-upload-shell {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(61, 49, 41, 0.09);
}

.lgb-logo-file {
  display: block;

  width: 100% !important;
  min-height: 54px;

  padding: 0.42rem !important;

  border: 1px dashed rgba(109, 31, 44, 0.28) !important;
  border-radius: 14px !important;

  background: rgba(255, 255, 255, 0.82) !important;

  color: var(--lgb-muted);
  font-family: var(--lgb-sans);
  font-size: 0.82rem;

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.lgb-logo-file:hover:not(:disabled) {
  border-color: rgba(109, 31, 44, 0.55) !important;
  background: #fff !important;
}

.lgb-logo-file:focus {
  outline: none !important;
  border-color: var(--lgb-burgundy) !important;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.16);
}

.lgb-logo-file::file-selector-button {
  min-height: 38px;

  margin-inline-end: 0.75rem;
  padding: 0.58rem 0.95rem;

  border: 0;
  border-radius: 10px;

  background: var(--lgb-cocoa);
  color: #fffaf3;

  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.lgb-logo-file:hover:not(:disabled)::file-selector-button {
  background: var(--lgb-burgundy);
}

.lgb-logo-file::-webkit-file-upload-button {
  min-height: 38px;

  margin-inline-end: 0.75rem;
  padding: 0.58rem 0.95rem;

  border: 0;
  border-radius: 10px;

  background: var(--lgb-cocoa);
  color: #fffaf3;

  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;

  cursor: pointer;
}

.lgb-logo-file:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  background: rgba(245, 240, 234, 0.72) !important;
}

.lgb-logo-file:disabled::file-selector-button,
.lgb-logo-file:disabled::-webkit-file-upload-button {
  cursor: not-allowed;
  opacity: 0.75;
}

.lgb-logo-status {
  margin-top: 0.65rem;
  padding-inline-start: 0.1rem;

  color: var(--lgb-burgundy);
  font-size: 0.78rem;
  font-weight: 600;
}

.lgb-logo-status:empty {
  display: none;
}


/* ---------------- Navigation polish ---------------- */

.lgb-nav {
  margin-top: 1.65rem;
}

.lgb-nav .lgb-btn {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.lgb-nav .lgb-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.lgb-nav .lgb-btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 18px rgba(109, 31, 44, 0.17);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {
  .lgb-personalization {
    column-gap: 0.85rem;
    row-gap: 0.9rem;
  }

  .lgb-logo-card {
    border-radius: 16px;
  }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 720px) {
  .lgb-personalization {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .lgb-field-half,
  .lgb-field-full,
  .lgb-personal-block {
    grid-column: 1 / -1;
  }

  .lgb-field input:not([type="checkbox"]):not([type="file"]),
  .lgb-field textarea,
  .lgb-field select {
    min-height: 50px;
    font-size: 16px;
  }

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

  .lgb-logo-card {
    padding: 0.9rem;
  }

  .lgb-logo-file {
    min-height: 56px;
  }

  .lgb-option {
    min-height: 64px;
  }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {
  .lgb-option-grid {
    grid-template-columns: 1fr;
  }

  .lgb-logo-card {
    border-radius: 14px;
    padding: 0.85rem;
  }

  .lgb-logo-choice {
    align-items: flex-start;
  }

  .lgb-logo-file {
    padding: 0.38rem !important;
    font-size: 0.76rem;
  }

  .lgb-logo-file::file-selector-button,
  .lgb-logo-file::-webkit-file-upload-button {
    width: 100%;
    display: block;
    margin: 0 0 0.42rem;
    padding: 0.68rem 0.75rem;
  }

  .lgb-btn {
    min-height: 46px;
  }
}


/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .lgb-option,
  .lgb-logo-checkbox,
  .lgb-logo-file,
  .lgb-nav .lgb-btn {
    transition: none !important;
  }
}

/* CACAO_LGB_LOGO_UPLOAD_GUARD_V1 */

.lgb-logo-help {
  margin-top: 0.55rem;
  color: var(--lgb-muted);
  font-family: var(--lgb-sans);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .lgb-logo-help {
    font-size: 0.7rem;
  }
}


/* ============================================================
   CACAO_LGB_CHOCOLATE_SEARCH_GRID_NAV_V2
   ============================================================ */

.lgb-choco-search {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  margin: 1rem 0;
}

.lgb-choco-search-box {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 50px;

  display: flex;
  align-items: center;
  gap: 0.65rem;

  padding: 0 0.75rem;

  border: 1px solid rgba(61, 49, 41, 0.14);
  border-radius: 15px;

  background: #fffdfa;

  box-shadow:
    0 4px 18px rgba(43, 28, 20, 0.035);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.lgb-choco-search-box:focus-within {
  border-color: rgba(109, 31, 44, 0.55);

  box-shadow:
    0 0 0 3px rgba(201, 169, 98, 0.15),
    0 8px 22px rgba(43, 28, 20, 0.045);
}

.lgb-choco-search-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--lgb-muted);
}

#lgb-choco-search {
  width: 100%;
  min-width: 0;

  padding: 0.8rem 0;

  border: 0;
  outline: 0;

  background: transparent;
  color: var(--lgb-ink);

  font-family: var(--lgb-sans);
  font-size: 0.88rem;
}

#lgb-choco-search::placeholder {
  color: rgba(61, 49, 41, 0.48);
}

#lgb-choco-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.lgb-choco-search-clear {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;

  border: 0;
  border-radius: 50%;

  background: rgba(109, 31, 44, 0.07);
  color: var(--lgb-burgundy);

  cursor: pointer;

  font-size: 1.1rem;
}

.lgb-choco-search-clear[hidden] {
  display: none !important;
}

.lgb-choco-search-meta {
  flex: 0 0 auto;

  display: flex;
  gap: 0.35rem;

  padding-bottom: 0.2rem;

  color: var(--lgb-muted);

  font-family: var(--lgb-sans);
  font-size: 0.72rem;
}

.lgb-choco-search-meta strong {
  color: var(--lgb-ink);
}

.lgb-choco-empty {
  grid-column: 1 / -1;

  padding: 2.25rem 1rem;

  border: 1px dashed rgba(61, 49, 41, 0.16);
  border-radius: 15px;

  text-align: center;

  color: var(--lgb-muted);
  background: rgba(255, 255, 255, 0.5);

  font-family: var(--lgb-sans);
}


/* ============================================================
   DESKTOP
   ============================================================ */

@media (min-width: 901px) {

  .lgb-panel[data-panel="3"]
  .lgb-chocolate-list {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 0.78rem;
  }

  .lgb-panel[data-panel="3"]
  .lgb-choco {
    min-width: 0;
    height: 100%;

    grid-template-columns:
      72px minmax(0, 1fr);

    grid-template-rows:
      auto auto;

    column-gap: 0.75rem;
    row-gap: 0.5rem;

    padding: 0.75rem;

    border-radius: 14px;
  }

  .lgb-panel[data-panel="3"]
  .lgb-choco img,
  .lgb-panel[data-panel="3"]
  .lgb-choco .lgb-ph {
    width: 72px;
    height: 72px;

    object-fit: cover;

    border-radius: 11px;
  }

  .lgb-panel[data-panel="3"]
  .lgb-choco-copy {
    min-width: 0;
  }

  .lgb-panel[data-panel="3"]
  .lgb-choco-copy strong {
    display: block;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .lgb-panel[data-panel="3"]
  .lgb-choco .lgb-qty {
    grid-column: 1 / -1;

    width: 100%;

    justify-content: flex-end;

    margin-top: 0.05rem;
    padding-top: 0.45rem;

    border-top:
      1px solid rgba(61, 49, 41, 0.07);
  }

  .lgb-panel[data-panel="3"]
  .lgb-qty button {
    width: 36px;
    height: 36px;
  }

  #lgb-action-home {
    display: none;
  }

  .lgb-summary-action-slot {
    margin-top: 0.9rem;
    padding-top: 0.9rem;

    border-top: 1px solid var(--lgb-line);
  }

  .lgb-summary-action-slot:empty {
    display: none;
  }

  .lgb-summary-action-slot .lgb-nav {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 0.5rem;

    margin: 0;
    padding: 0;

    border: 0;
  }

  .lgb-summary-action-slot
  .lgb-nav #lgb-prev {
    width: 100%;
    margin: 0;
  }

  .lgb-summary-action-slot
  .lgb-nav-end {
    min-width: 0;

    display: grid;

    grid-template-columns:
      minmax(0, 1fr);

    gap: 0.45rem;
  }

  .lgb-summary-action-slot
  .lgb-btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;

    padding: 0.65rem 0.6rem;

    font-size: 0.7rem;
  }

  .lgb-summary-action-slot
  .lgb-error {
    margin-top: 0.6rem;
    font-size: 0.76rem;
  }
}


/* Wide screen = 3 products in a row */
@media (min-width: 1500px) {

  .lgb-panel[data-panel="3"]
  .lgb-chocolate-list {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .lgb-panel[data-panel="3"]
  .lgb-choco {
    grid-template-columns:
      64px minmax(0, 1fr);
  }

  .lgb-panel[data-panel="3"]
  .lgb-choco img,
  .lgb-panel[data-panel="3"]
  .lgb-choco .lgb-ph {
    width: 64px;
    height: 64px;
  }
}


/* ============================================================
   MOBILE / TABLET PORTRAIT
   ============================================================ */

@media (max-width: 900px) {

  .lgb-panel[data-panel="3"]
  .lgb-chocolate-list {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr);

    gap: 0.75rem;
  }

  #lgb-action-home {
    display: block;
    width: 100%;
  }

  #lgb-action-home
  .lgb-action-dock {
    width: 100%;
  }
}


@media (max-width: 600px) {

  .lgb-choco-search {
    flex-direction: column;
    align-items: stretch;

    gap: 0.4rem;
  }

  .lgb-choco-search-meta {
    justify-content: flex-end;
  }

  #lgb-choco-search {
    font-size: 16px;
  }
}

/* ============================================================
   CACAO_LGB_MOBILE_GIFT_DRAWER_STYLE_V1
   Prepared only - drawer JS remains disabled until Part 3B
   ============================================================ */

.lgb-mobile-gift-trigger,
.lgb-mobile-gift-layer {
  display: none;
}

body.lgb-gift-drawer-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (max-width: 900px) {

  .lgb-mobile-gift-trigger {
    position: relative;
    left: auto;
    bottom: auto;

    z-index: auto;

    width: 100%;
    min-height: 58px;

    transform: none;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 0.8rem;
    padding: 0.6rem 0.8rem;

    border: 1px solid rgba(61, 49, 41, 0.14);
    border-radius: 16px;

    background: rgba(255, 253, 249, 0.97);

    box-shadow:
      0 10px 28px rgba(43, 28, 20, 0.14);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: var(--lgb-ink);
    font-family: var(--lgb-sans);

    cursor: pointer;
  }

  .lgb-mobile-gift-trigger[hidden] {
    display: none !important;
  }

  .lgb-mobile-gift-trigger > span {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
  }

  .lgb-mobile-gift-trigger > span:last-child {
    align-items: flex-end;
  }

  .lgb-mobile-gift-trigger small {
    color: var(--lgb-muted);
    font-size: 0.72rem;
  }

  .lgb-mobile-gift-trigger strong {
    font-size: 0.82rem;
    font-weight: 700;
  }

  #lgb-mobile-gift-mini-total {
    color: var(--lgb-burgundy);
    font-size: 0.95rem;
  }


  /* Overlay */

  .lgb-mobile-gift-layer {
    position: fixed;
    inset: 0;

    z-index: 2600;

    display: block;

    pointer-events: none;
  }

  .lgb-mobile-gift-layer[hidden] {
    display: none !important;
  }

  .lgb-mobile-gift-layer.is-open {
    pointer-events: auto;
  }

  .lgb-mobile-gift-backdrop {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
    padding: 0;
    margin: 0;

    background: rgba(18, 13, 10, 0.42);

    opacity: 0;

    transition: opacity 0.28s ease;
  }

  .lgb-mobile-gift-layer.is-open
  .lgb-mobile-gift-backdrop {
    opacity: 1;
  }


  /* Drawer */

  .lgb-mobile-gift-drawer {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: min(100%, 720px);

    height: 58vh;
    height: 58dvh;

    max-height: 80vh;
    max-height: 80dvh;

    transform:
      translate(-50%, calc(100% + 16px));

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 24px 24px 0 0;
    border: 1px solid rgba(61, 49, 41, 0.13);
    border-bottom: 0;

    background: #fffdfa;

    box-shadow:
      0 -18px 50px rgba(23, 15, 11, 0.22);

    transition:
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .lgb-mobile-gift-layer.is-open
  .lgb-mobile-gift-drawer {
    transform: translate(-50%, 0);
  }

  .lgb-mobile-gift-drawer.is-expanded {
    height: 78vh;
    height: 78dvh;

    max-height: 80vh;
    max-height: 80dvh;
  }


  /* Handle */

  .lgb-mobile-gift-grabber {
    width: 100%;
    min-height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 7px 0 4px;

    border: 0;
    background: transparent;

    cursor: pointer;
  }

  .lgb-mobile-gift-grabber span {
    width: 42px;
    height: 4px;

    border-radius: 999px;

    background: rgba(61, 49, 41, 0.22);
  }


  /* Header */

  .lgb-mobile-gift-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0.35rem 1rem 0.8rem;

    border-bottom: 1px solid var(--lgb-line);
  }

  .lgb-mobile-gift-drawer-head > strong {
    font-family: var(--lgb-serif);
    font-size: 1.08rem;
  }

  #lgb-mobile-gift-close {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(61, 49, 41, 0.12);
    border-radius: 50%;

    background: rgba(247, 241, 232, 0.75);

    color: var(--lgb-ink);

    font-size: 1.3rem;

    cursor: pointer;
  }


  /* Scroll area */

  .lgb-mobile-gift-drawer-scroll {
    flex: 1 1 auto;
    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    overscroll-behavior: contain;

    -webkit-overflow-scrolling: touch;
  }

  /* CACAO_LGB_MOBILE_GIFT_DRAWER_ACTIVE_V1 */

  .lgb-mobile-gift-drawer .lgb-summary {
    position: static;
    top: auto;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 1rem 1rem
      calc(1rem + env(safe-area-inset-bottom, 0px));

    border: 0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;
  }

  .lgb-mobile-gift-drawer .lgb-summary-kicker {
    display: none;
  }

  .lgb-mobile-gift-drawer .lgb-summary-identity,
  .lgb-mobile-gift-drawer .lgb-summary-section,
  .lgb-mobile-gift-drawer .lgb-fill-remaining {
    display: block;
  }

  .lgb-mobile-gift-drawer .lgb-summary-action-slot {
    display: none !important;
  }

  .lgb-mobile-gift-drawer .lgb-summary-totals {
    position: sticky;
    bottom: 0;
    z-index: 2;

    padding-top: 0.8rem;

    background: #fffdfa;

    border-top: 1px solid var(--lgb-line);
  }
}


@media (max-width: 430px) {

  .lgb-mobile-gift-trigger {
    width: calc(100% - 1rem);
    border-radius: 14px;
  }

  .lgb-mobile-gift-drawer {
    border-radius: 20px 20px 0 0;
  }
}


@media (prefers-reduced-motion: reduce) {

  .lgb-mobile-gift-backdrop,
  .lgb-mobile-gift-drawer {
    transition: none !important;
  }
}
