@font-face {
  font-family: 'PedPlay DM Serif'; src: url('dm-serif-display.woff2') format('woff2');
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'PedPlay DM Sans'; src: url('dm-sans.woff2') format('woff2');
  font-style: normal; font-weight: 100 1000; font-display: swap;
}

.theme-confeitaria {
  --g: #852c48;
  --o: #952d53;
  --cream: #fff8f3;
  --pastry-ink: #522732;
  --pastry-muted: #714953;
  --pastry-border: #efd8dd;
  --pastry-serif: 'PedPlay DM Serif', Georgia, serif;
  color: var(--pastry-ink);
  font-family: 'PedPlay DM Sans', system-ui, sans-serif;
}
body.theme-confeitaria { background: #f3dce2; }
.theme-confeitaria .app { box-shadow: 0 12px 46px #67253a22; }
.theme-confeitaria .hero {
  isolation: isolate;
  min-height: 224px;
  padding: 14px 22px 20px;
  background: #fbe5ea url('capa.webp') center / 100% 100% no-repeat;
  border-radius: 0 0 50% 50% / 0 0 12px 12px;
}
.theme-confeitaria .theme-cover-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
}
.theme-confeitaria .hero:has(.theme-cover-photo)::after {
  content: ''; position: absolute; inset: 0; z-index: -1; background: #fbe5eaad;
}
.theme-confeitaria .hero-motion::after { background: #fbe5ea99; }
.theme-confeitaria .brand img { width: 132px; height: 132px; mix-blend-mode: normal; filter: drop-shadow(0 3px 6px #852c4822); }
.theme-confeitaria .brand .fallback {
  width: 120px; height: 120px; padding: 10px; border: 1px solid #ba7389;
  background: #fff0f3; box-shadow: none; font: 23px/1.05 var(--pastry-serif);
}
.theme-confeitaria .hero h1 { margin: 7px 0 5px; font: 400 clamp(25px, 6.6vw, 32px)/1.05 var(--pastry-serif); text-wrap: balance; }
.theme-confeitaria .hero p { font-size: 15px; font-weight: 550; color: var(--g); }
.theme-confeitaria .muted, .theme-confeitaria .sub, .theme-confeitaria .footer { color: var(--pastry-muted); }
.theme-confeitaria .section-title { font: 400 28px/1.15 var(--pastry-serif); }
.theme-confeitaria .actions + .section-title { margin-top: 22px; text-align: center; }

.theme-confeitaria .actions { gap: 9px; }
.theme-confeitaria .theme-action {
  min-height: 58px; padding: 8px 13px; gap: 11px;
  border: 1px solid #e8bcc8; border-radius: 14px;
  color: #76223d; background: #fbe9ee; box-shadow: none;
}
.theme-confeitaria .theme-action--shop { background: #952d53; border-color: #952d53; color: #fff; }
.theme-confeitaria .theme-action--whatsapp { background: #edf2e6; border-color: #e1ead8; color: #1d603f; }
.theme-confeitaria .theme-action--candy { background: #fcebe6; border-color: #efd1ca; }
.theme-confeitaria .theme-action--gift { background: #f4e7f2; border-color: #e5cbdf; }
.theme-confeitaria .theme-action b { font: 400 19px/1.12 var(--pastry-serif); }
.theme-confeitaria .theme-action small { margin-top: 2px; font-size: 13px; opacity: 1; }
.theme-action-icon { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 50%; background: #852c4810; }
.theme-action--shop .theme-action-icon, .theme-action--whatsapp .theme-action-icon { background: transparent; }
.theme-confeitaria .card, .theme-confeitaria .product, .theme-confeitaria .topbar, .theme-confeitaria .nav { border-color: var(--pastry-border); }
.theme-confeitaria .placeholder { background: #f8e8ed; color: var(--g); }
.theme-confeitaria .placeholder .theme-icon { width: 34px; height: 34px; }
.theme-confeitaria .pill { color: var(--g); border-color: var(--pastry-border); }
.theme-confeitaria .pill.active { color: #fff; background: var(--g); border-color: var(--g); }
.theme-confeitaria .pill .theme-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; }
.theme-confeitaria .nav button.active, .theme-confeitaria .store-panel-bar { background: #f8e7ec; }
.theme-confeitaria .nav .theme-icon { display: block; margin: 0 auto 3px; }
.theme-confeitaria .nav .cart-has-items { background: var(--g); color: #fff; }
.theme-confeitaria .btn.ghost { background: #f7e9ed; }
.theme-confeitaria .share-store-icon { vertical-align: -4px; margin-right: 4px; }

.theme-icon { display: inline-block; flex: none; width: 23px; height: 23px; background-color: currentColor; mask: var(--theme-icon) center / contain no-repeat; }
.theme-icon--cake { --theme-icon: url('icons/cake.png'); }
.theme-icon--candy { --theme-icon: url('icons/candy.png'); }
.theme-icon--gift { --theme-icon: url('icons/gift.png'); }
.theme-icon--shopping-bag { --theme-icon: url('icons/shopping-bag.png'); }
.theme-icon--message-circle { --theme-icon: url('icons/message-circle.png'); }
.theme-icon--layout-grid { --theme-icon: url('icons/layout-grid.png'); }
.theme-icon--external-link { --theme-icon: url('icons/external-link.png'); }
.theme-icon--chevron-right { --theme-icon: url('icons/chevron-right.png'); width: 18px; height: 18px; }
.theme-icon--house { --theme-icon: url('icons/house.png'); }
.theme-icon--shopping-cart { --theme-icon: url('icons/shopping-cart.png'); }
.theme-icon--heart { --theme-icon: url('icons/heart.png'); }

.theme-preview-dialog { max-width: 464px; padding: 14px; }
.theme-preview-content { background: var(--cream); border: 1px solid #e9d9db; border-radius: 14px; overflow: hidden; }
.theme-preview-content .wrap { padding: 12px; }
.theme-preview-content .action { cursor: default; }
.theme-preview-content .action:disabled { opacity: 1; }

.theme-split-brand {
  display: flex; align-items: center; justify-content: center; min-height: 52px; gap: 8px; padding: 6px 16px;
  color: var(--g); background: var(--cream); text-align: center;
}
.theme-split-brand strong { font: 400 25px/1.1 'PedPlay DM Serif', Georgia, serif; }
.theme-split-brand img { display: block; max-width: 82%; max-height: 75px; object-fit: contain; }
.hero.theme-split-cover {
  isolation: isolate; display: flex; align-items: center; min-height: 215px; padding: 22px; text-align: left;
}
.theme-split-cover .theme-cover-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
}
.theme-split-cover:has(.theme-cover-photo) .theme-split-intro,
.theme-split-cover.hero--video .theme-split-intro { background: #fcf8f0ec; padding: 9px; border-radius: 10px; }
.theme-split-cover .hero-motion::after { background: none; }
.theme-split-intro { width: 53%; }
