:root {
  --dm-bg: #fffaf8;
  --dm-surface: #ffffff;
  --dm-surface-soft: #fff1ed;
  --dm-rose: #c96f64;
  --dm-rose-dark: #9f4f48;
  --dm-chocolate: #40281f;
  --dm-muted: #735f57;
  --dm-border: #eadbd6;
  --dm-success: #267357;
  --dm-danger: #a53b3b;
  --dm-shadow: 0 10px 30px rgba(64, 40, 31, .08);
  --dm-radius: 18px;
}

html { scroll-behavior: smooth; }

body.storefront-body {
  min-width: 0;
  overflow-x: clip;
  background: var(--dm-bg);
  color: var(--dm-chocolate);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.storefront-body header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 250, 248, .96);
  border-bottom: 1px solid rgba(234, 219, 214, .85);
  backdrop-filter: blur(12px);
}

.storefront-nav { min-height: 68px; padding: .55rem 0; }
.storefront-nav-inner { max-width: 1180px; margin: 0 auto; padding-inline: 1rem; }
.storefront-brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--dm-chocolate); }
.storefront-brand-mark { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; overflow: hidden; box-shadow: 0 3px 12px rgba(64, 40, 31, .15); }
.storefront-brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.storefront-brand-name { font-family: Georgia, serif; font-size: 1.2rem; letter-spacing: .02em; }
.storefront-link { color: var(--dm-chocolate); font-weight: 650; }
.desktop-cart-link { display: inline-flex; align-items: center; gap: .4rem; }
.desktop-cart-link span { min-width: 22px; height: 22px; padding: 0 .35rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--dm-rose); color: white; font-size: .75rem; }
.mobile-cart-link { display: none; }

.storefront-container { max-width: 1180px; padding: 1.35rem 1rem 4rem; }
.storefront-alert { max-width: 780px; margin: 0 auto 1rem; border-radius: 14px; }

.section-kicker { color: var(--dm-rose-dark); font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.store-title, .catalog-title, .checkout-header h1, .checkout-section h2, .order-success h1, .cart-empty h1 { color: var(--dm-chocolate); font-family: Georgia, serif; }

.store-hero--compact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 0;
  margin-bottom: 1.25rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--dm-border);
  border-radius: 26px;
  background: linear-gradient(120deg, #fff 0%, #ffebe6 100%);
  box-shadow: var(--dm-shadow);
}

.store-hero--compact .store-title { max-width: 720px; margin: .35rem 0 .5rem; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.02; }
.store-hero--compact .store-lead { max-width: 650px; margin: 0; color: var(--dm-muted); font-size: 1rem; }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.hero-trust-row span { padding: .38rem .7rem; border: 1px solid rgba(201, 111, 100, .25); border-radius: 999px; background: rgba(255,255,255,.75); color: var(--dm-muted); font-size: .78rem; font-weight: 700; }
.hero-button, .add-to-cart-button, .checkout-submit-button { min-height: 46px; border-radius: 13px; font-weight: 800; }
.btn-primary { --bs-btn-bg: var(--dm-rose); --bs-btn-border-color: var(--dm-rose); --bs-btn-hover-bg: var(--dm-rose-dark); --bs-btn-hover-border-color: var(--dm-rose-dark); --bs-btn-active-bg: var(--dm-rose-dark); --bs-btn-active-border-color: var(--dm-rose-dark); }
.hero-cart-button { min-width: 180px; display: grid; place-items: center; }

.catalog-toolbar { position: sticky; top: 68px; z-index: 1010; margin-bottom: 1.5rem; padding: .8rem; border: 1px solid var(--dm-border); border-radius: 18px; background: rgba(255,250,248,.96); box-shadow: 0 8px 24px rgba(64,40,31,.06); backdrop-filter: blur(12px); }
.store-search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
.store-search { display: block; }
.store-search .form-control { min-height: 48px; padding-inline: 1rem; border-color: var(--dm-border); border-radius: 13px; background: white; font-size: 1rem; }
.store-search .form-control:focus, .checkout-field .form-control:focus, .checkout-field .form-select:focus { border-color: var(--dm-rose); box-shadow: 0 0 0 .2rem rgba(201,111,100,.16); }
.search-submit { min-width: 96px; border-radius: 13px; }
.chip-row { display: flex; gap: .5rem; margin-top: .7rem; padding-bottom: .1rem; overflow-x: auto; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-link { flex: 0 0 auto; padding: .55rem .8rem; border: 1px solid var(--dm-border); border-radius: 999px; background: white; color: var(--dm-chocolate); font-size: .82rem; font-weight: 750; text-decoration: none; }
.chip-link span { color: var(--dm-muted); }
.chip-link-active { border-color: var(--dm-rose); background: var(--dm-rose); color: white; }
.chip-link-active span { color: white; }

.section-block { margin-block: 0 2rem; }
.section-heading--catalog { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading--catalog .catalog-title { margin: .15rem 0 0; font-size: clamp(1.55rem, 4vw, 2.1rem); }
.catalog-result-count { color: var(--dm-muted); font-size: .85rem; white-space: nowrap; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 178px; overflow: hidden; border: 1px solid var(--dm-border); border-radius: var(--dm-radius); background: var(--dm-surface); box-shadow: 0 7px 20px rgba(64,40,31,.06); transition: transform .18s ease, box-shadow .18s ease; }
.product-card[hidden] { display: none !important; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--dm-shadow); }
.product-media { display: grid; place-items: center; min-height: 100%; color: white; text-decoration: none; background: linear-gradient(145deg, #d98e82, #9f4f48); }
.product-card[data-tone="cocoa"] .product-media { background: linear-gradient(145deg, #85563f, #43291d); }
.product-card[data-tone="gold"] .product-media { background: linear-gradient(145deg, #d8ad5b, #9d702d); }
.product-card[data-tone="berry"] .product-media { background: linear-gradient(145deg, #b75a72, #77364c); }
.product-card[data-tone="leaf"] .product-media { background: linear-gradient(145deg, #76937c, #42644b); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media-initial { font-family: Georgia, serif; font-size: 3rem; opacity: .92; }
.product-page { margin: .25rem 0 2rem; }
.product-hero { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); overflow: hidden; border: 1px solid var(--dm-border); border-radius: 24px; background: white; box-shadow: var(--dm-shadow); }
.product-hero-media { position: relative; display: grid; place-items: center; min-height: 390px; overflow: hidden; background: linear-gradient(145deg, #d98e82, #9f4f48); }
.product-hero-image { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.product-gallery-thumbnails { position: absolute; right: .8rem; bottom: .8rem; left: .8rem; display: flex; gap: .5rem; overflow-x: auto; padding: .35rem; background: rgba(64,40,31,.42); border-radius: 14px; }
.product-gallery-thumb { width: 56px; height: 56px; flex: 0 0 56px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: white; }
.product-gallery-thumb.is-active { border-color: white; box-shadow: 0 0 0 2px var(--dm-rose); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.3rem, 4vw, 3rem); }
.product-info-panel .catalog-title { margin: .25rem 0 .6rem; font-size: clamp(2rem, 4vw, 3rem); }
.hero-copy { color: var(--dm-muted); line-height: 1.6; }
.product-meta-hero { margin: 1rem 0 .45rem; }
.product-meta-hero strong { color: var(--dm-chocolate); font-size: 1.65rem; }
.product-meta { display: flex; align-items: center; gap: .65rem; }
.availability-pill { padding: .28rem .55rem; border-radius: 999px; font-size: .7rem; font-weight: 800; }
.availability-pill-live { background: #e4f4ed; color: var(--dm-success); }
.availability-pill-off { background: #f8e4e4; color: var(--dm-danger); }
.checkout-hint { margin: .25rem 0 1.2rem; color: var(--dm-muted); font-size: .78rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.product-content { display: flex; flex-direction: column; min-width: 0; padding: 1rem; }
.product-category { color: var(--dm-rose-dark); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.product-content h3 { margin: .2rem 0 .35rem; color: var(--dm-chocolate); font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.15; }
.product-content p { display: -webkit-box; margin: 0 0 .7rem; overflow: hidden; color: var(--dm-muted); font-size: .78rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-buy-row { display: flex; align-items: end; justify-content: space-between; gap: .65rem; margin-top: auto; }
.product-buy-row > div { display: grid; }
.product-price { color: var(--dm-chocolate); font-size: 1.05rem; }
.product-buy-row small { color: var(--dm-success); font-size: .68rem; }
.add-to-cart-button { min-height: 40px; padding: .45rem .75rem; font-size: .78rem; }

.empty-state { padding: 2rem 1rem; border: 1px dashed var(--dm-border); border-radius: var(--dm-radius); background: white; text-align: center; }
.sold-out-panel { max-width: 760px; margin: 1rem auto 0; border: 1px solid var(--dm-border); border-radius: var(--dm-radius); background: white; }
.sold-out-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; cursor: pointer; font-weight: 750; }
.sold-out-panel summary small { color: var(--dm-muted); font-weight: 500; }
.sold-out-list { padding: 0 1.15rem 1rem; }
.sold-out-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--dm-border); }
.sold-out-row div { display: grid; }
.sold-out-row small, .sold-out-row > span { color: var(--dm-muted); font-size: .78rem; }

.checkout-header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .7rem 1rem; margin: 0 auto 1rem; }
.checkout-header > div { grid-column: 1; }
.checkout-header h1 { margin: .1rem 0 0; font-size: 2rem; }
.checkout-back { grid-column: 1 / -1; width: fit-content; color: var(--dm-rose-dark); font-size: .85rem; font-weight: 750; text-decoration: none; }
.checkout-steps { grid-column: 2; grid-row: 2; display: flex; gap: 1.4rem; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.checkout-steps li { position: relative; color: var(--dm-muted); font-size: .78rem; font-weight: 700; }
.checkout-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: calc(100% + .3rem); width: .8rem; height: 1px; background: var(--dm-border); }
.checkout-steps .active { color: var(--dm-rose-dark); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 1.25rem; }
.cart-main-column { display: grid; gap: 1rem; }
.checkout-section, .cart-summary-card { padding: 1.2rem; border: 1px solid var(--dm-border); border-radius: var(--dm-radius); background: white; box-shadow: 0 5px 18px rgba(64,40,31,.05); }
.checkout-section-title { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.checkout-section-title > span { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; background: var(--dm-surface-soft); color: var(--dm-rose-dark); font-weight: 850; }
.checkout-section-title h2 { margin: 0; font-size: 1.25rem; }
.checkout-section-title p { margin: 0; color: var(--dm-muted); font-size: .78rem; }
.cart-item-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .75rem 1rem; padding: .9rem 0; border: 0; border-bottom: 1px solid var(--dm-border); border-radius: 0; background: white !important; color: var(--dm-chocolate) !important; box-shadow: none; }
.cart-item-card:last-of-type { border-bottom: 0; }
.cart-item-copy { display: grid; min-width: 0; }
.cart-item-copy h3 { margin: .12rem 0 .2rem; color: var(--dm-chocolate); font-family: Georgia, serif; font-size: 1.05rem; }
.cart-item-copy strong { font-size: .85rem; }
.quantity-control { display: grid; grid-template-columns: 36px 42px 36px; align-items: center; overflow: hidden; border: 1px solid var(--dm-border); border-radius: 12px; background: white; }
.quantity-control button { height: 38px; border: 0; background: var(--dm-surface-soft); color: var(--dm-chocolate); font-size: 1.2rem; font-weight: 800; }
.quantity-control input { width: 42px; height: 38px; padding: 0; border: 0; outline: 0; color: var(--dm-chocolate); text-align: center; font-weight: 750; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button { appearance: none; }
.cart-line-total { min-width: 78px; text-align: right; }
.cart-item-notes { grid-column: 1 / 3; }
.cart-item-notes summary { color: var(--dm-rose-dark); cursor: pointer; font-size: .76rem; font-weight: 700; }
.cart-item-notes textarea { margin-top: .45rem; font-size: .82rem; }
.cart-remove-button { grid-column: 3; justify-self: end; border: 0; background: transparent; color: var(--dm-danger); font-size: .74rem; font-weight: 700; }
.update-cart-button { margin-top: .85rem; border-radius: 12px; }
.checkout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.checkout-field { display: grid; gap: .35rem; margin: 0; }
.checkout-field > span:first-child { color: var(--dm-chocolate); font-size: .78rem; font-weight: 750; }
.checkout-field-wide { grid-column: 1 / -1; }
.checkout-field .form-control, .checkout-field .form-select { min-height: 46px; border-color: var(--dm-border); border-radius: 12px; font-size: .9rem; }
.checkout-field textarea.form-control { min-height: 80px; }
.field-validation-error { display: block; color: var(--dm-danger); font-size: .75rem; }
.input-validation-error { border-color: var(--dm-danger) !important; }
.optional-details { margin-top: 1rem; border-top: 1px solid var(--dm-border); padding-top: .9rem; }
.optional-details summary { color: var(--dm-rose-dark); cursor: pointer; font-size: .82rem; font-weight: 750; }
.checkout-card-panel { margin-top: 1rem; padding: 1rem; border: 1px solid var(--dm-border); border-radius: 14px; background: var(--dm-surface-soft); }
.checkout-card-panel h3 { font-family: Georgia, serif; font-size: 1.15rem; }
.checkout-field-hidden { display: none !important; }
.cart-summary-panel { position: sticky; top: 165px; }
.cart-summary-card h2 { margin: 0 0 .8rem; font-family: Georgia, serif; font-size: 1.25rem; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; color: var(--dm-muted); border-bottom: 1px solid var(--dm-border); font-size: .85rem; }
.summary-row-strong { margin-top: .2rem; color: var(--dm-chocolate); border-bottom: 0; font-size: 1.05rem; }
.summary-row-strong strong { font-size: 1.25rem; }
.checkout-submit-button { width: 100%; margin-top: 1rem; }
.checkout-safe-note { display: block; margin-top: .55rem; color: var(--dm-muted); text-align: center; font-size: .68rem; }

.cart-empty, .order-success { max-width: 650px; margin: 2rem auto; padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid var(--dm-border); border-radius: 24px; background: white; box-shadow: var(--dm-shadow); text-align: center; }
.cart-empty-icon, .order-success-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto .8rem; border-radius: 50%; background: var(--dm-surface-soft); font-size: 1.8rem; }
.order-success-icon { background: #e4f4ed; color: var(--dm-success); font-weight: 900; }
.cart-empty h1, .order-success h1 { margin: .25rem 0 .55rem; }
.cart-empty p, .order-success > p { color: var(--dm-muted); }
.order-success-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1.2rem 0; }
.order-success-summary div { padding: .8rem .55rem; border-radius: 12px; background: var(--dm-surface-soft); }
.order-success-summary dt { color: var(--dm-muted); font-size: .7rem; }
.order-success-summary dd { margin: .2rem 0 0; font-weight: 800; }
.payment-order-panel { max-width: 450px; margin: 1rem auto; padding: 1rem; border: 1px solid var(--dm-border); border-radius: 16px; background: var(--dm-bg); }
.payment-order-panel h2 { font-family: Georgia, serif; font-size: 1.3rem; }
.pix-preview-image { display: block; width: min(240px, 100%); margin: .7rem auto; border-radius: 10px; }
.order-success-actions { display: flex; justify-content: center; gap: .7rem; margin-top: 1rem; }

.storefront-footer { border-top: 1px solid var(--dm-border); background: white; }

@media (max-width: 991.98px) {
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-layout { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 767.98px) {
  .storefront-nav { min-height: 62px; }
  .storefront-nav-inner { display: flex; flex-wrap: wrap; }
  .storefront-brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .storefront-brand-name { font-size: 1.02rem; }
  .mobile-cart-link { position: relative; display: grid; place-items: center; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--dm-border); border-radius: 12px; background: white; text-decoration: none; }
  .mobile-cart-link strong { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 .25rem; border-radius: 999px; background: var(--dm-rose); color: white; font-size: .68rem; }
  .navbar-toggler { width: 42px; height: 42px; margin-left: .45rem; padding: .4rem; border-color: var(--dm-border); border-radius: 12px; }
  .navbar-toggler-icon { display: grid; place-items: center; background-image: none !important; }
  .navbar-toggler-icon::before { content: "☰"; color: var(--dm-chocolate); font-size: 1.15rem; line-height: 1; }
  .navbar-collapse { flex-basis: 100%; padding-top: .5rem; }
  .storefront-container { padding: .75rem .75rem 3rem; }
  .store-hero--compact { grid-template-columns: 1fr; gap: 1rem; margin-bottom: .75rem; padding: 1.2rem; border-radius: 18px; }
  .store-hero--compact .store-title { margin-top: .25rem; font-size: 2rem; }
  .store-hero--compact .store-lead { font-size: .88rem; }
  .hero-trust-row { gap: .35rem; margin-top: .75rem; }
  .hero-trust-row span { padding: .3rem .5rem; font-size: .68rem; }
  .hero-cart-button { display: none; }
  .catalog-toolbar { top: 62px; margin-inline: -.15rem; margin-bottom: 1rem; padding: .55rem; border-radius: 14px; }
  .search-submit { display: none; }
  .store-search-form { grid-template-columns: 1fr; }
  .store-search .form-control { min-height: 44px; }
  .chip-row { margin-top: .5rem; }
  .chip-link { padding: .48rem .68rem; font-size: .76rem; }
  .section-heading--catalog { margin-bottom: .75rem; }
  .section-heading--catalog .catalog-title { font-size: 1.45rem; }
  .catalog-result-count { font-size: .75rem; }
  .store-grid { grid-template-columns: 1fr; gap: .7rem; }
  .product-page { margin-top: 0; }
  .product-hero { grid-template-columns: 1fr; border-radius: 18px; }
  .product-hero-media, .product-hero-image { min-height: 270px; }
  .product-info-panel { padding: 1.2rem; }
  .product-info-panel .catalog-title { font-size: 1.9rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions form, .hero-actions .hero-button { width: 100%; }
  .product-card { grid-template-columns: 88px minmax(0, 1fr); min-height: 148px; border-radius: 15px; }
  .product-content { padding: .8rem; }
  .product-content h3 { font-size: 1.05rem; }
  .product-content p { margin-bottom: .5rem; font-size: .72rem; -webkit-line-clamp: 1; }
  .product-buy-row { align-items: center; }
  .product-price { font-size: 1rem; }
  .add-to-cart-button { min-height: 38px; padding-inline: .7rem; }
  .sold-out-panel summary { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .checkout-header { grid-template-columns: 1fr; }
  .checkout-header > div, .checkout-steps { grid-column: 1; grid-row: auto; }
  .checkout-header h1 { font-size: 1.65rem; }
  .checkout-steps { width: 100%; justify-content: space-between; padding: .6rem .8rem; border-radius: 12px; background: white; }
  .checkout-steps li:not(:last-child)::after { width: min(14vw, 64px); left: calc(100% + .35rem); }
  .cart-layout { display: block; padding-bottom: 98px; }
  .checkout-section { padding: 1rem; border-radius: 15px; }
  .checkout-section-title { margin-bottom: .75rem; }
  .cart-item-card { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; }
  .quantity-control { grid-column: 2; grid-row: 1; align-self: center; }
  .cart-line-total { grid-column: 1; grid-row: 2; text-align: left; }
  .cart-item-notes { grid-column: 1 / -1; }
  .cart-remove-button { grid-column: 2; grid-row: 2; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-field-wide { grid-column: 1; }
  .cart-summary-panel { position: fixed; inset: auto 0 0; z-index: 1040; padding: .55rem .75rem max(.55rem, env(safe-area-inset-bottom)); background: rgba(255,250,248,.98); border-top: 1px solid var(--dm-border); backdrop-filter: blur(12px); }
  .cart-summary-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, auto); align-items: center; gap: .25rem .8rem; padding: .65rem; border-radius: 14px; box-shadow: 0 -5px 20px rgba(64,40,31,.08); }
  .cart-summary-card h2, .cart-summary-card .summary-row:not(.summary-row-strong), .checkout-safe-note { display: none; }
  .summary-row-strong { grid-column: 1; grid-row: 1; display: grid; justify-content: start; padding: 0; }
  .summary-row-strong span { font-size: .68rem; }
  .summary-row-strong strong { font-size: 1.1rem; }
  .checkout-submit-button { grid-column: 2; grid-row: 1; min-height: 46px; margin: 0; }
  .cart-summary-card .alert { grid-column: 1 / -1; margin: .3rem 0 0 !important; padding: .45rem; font-size: .72rem; }
  .order-success, .cart-empty { margin: .6rem auto; border-radius: 18px; }
  .order-success-summary { grid-template-columns: 1fr; }
  .order-success-actions { flex-direction: column; }
  .storefront-footer { padding-bottom: 1rem; }
}

@media (max-width: 380px) {
  .storefront-brand-name { display: none; }
  .product-card { grid-template-columns: 74px minmax(0, 1fr); }
  .quantity-control { grid-template-columns: 32px 38px 32px; }
  .quantity-control input { width: 38px; }
}
/* Acompanhamento simples, legível e compacto no celular. */
.order-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: .75rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.order-timeline li {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #81746e;
    font-size: .84rem;
    font-weight: 700;
}

.order-timeline-dot {
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    border: 2px solid #dbcac1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
}

.order-timeline li.completed { color: #55392e; }
.order-timeline li.completed .order-timeline-dot { color: #fff; background: #c98472; border-color: #c98472; }
.order-timeline li.current .order-timeline-dot { box-shadow: 0 0 0 5px rgba(201, 132, 114, .18); }

@media (max-width: 575.98px) {
    .order-timeline { grid-template-columns: 1fr; }
}
