
body:has(.home-shell) { background: #93adb4; }
.home-shell {
  position: relative; min-height: max(calc(100svh - 40px), 969px); margin: 40px auto 0;
  background: transparent; overflow: clip; box-shadow: none;
}
.home-background {
  position: fixed; z-index: -1; top: 0; left: 50%; translate: -50% 0;
  width: min(100%,580px); height: 100svh;
  border-radius: 23px 23px 0 0; clip-path: inset(var(--background-top,40px) 0 0 round 23px 23px 0 0);
  background: #d1f6ff url("/assets/r3-profile-desktop.webp") center / 100% 100% no-repeat;
}
.home-shell { isolation: isolate; }
.home-toolbar {
  position: absolute; inset: 28px 28px auto; height: 40px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  color: #151515;
}
.home-toolbar button {
  height: 40px; min-width: 40px; display: inline-grid; place-items: center; font-weight: 650;
  background: rgba(241,242,241,.88); color: inherit; border: 1px solid #f4f5f4;
  border-radius: 24px; padding: 0 12px; font-size: 15px;
}
.home-toolbar button:has(svg) { width: 40px; padding: 0; }
.home-toolbar-right { display: flex; gap: 6px; }
.home-toolbar [data-profile=message] { min-width: 92px; }
.home h1 { font-family: Arial, sans-serif; }
.route-row { position: relative; min-width: 0; }
.route { width: 100%; border: 0; padding-inline: 32px; font: 600 16px/19.2px var(--sans); letter-spacing: -.36px; }
.route-label { display: block; width: 100%; }
.route:has(.paypal-icon,.whatsapp-mark) { padding-inline: 56px; }
.route-share {
  position: absolute; inset: 20px 12px auto auto; width: 24px; height: 24px;
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #567398;
}
.route-share svg { width: 14px; height: 14px; }
.route-share:hover { background: #ebeff4; }
.home-shell .paypal-icon, .home-shell .whatsapp-mark { left: 8px; width: 48px; height: 48px; }
.home-shell .paypal-icon { padding: 2px; }
.whatsapp-mark { background: transparent; display: grid; place-items: center; }
.whatsapp-mark::before { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 8px; background: #36df51; }
.whatsapp-mark img { z-index: 1; }
.whatsapp-mark img { position: static; width: 24px; height: 24px; }
.home { padding-bottom: 14px; }
.home-shell .footer { padding-block: 0 16px; }
.profile-footer-mark { margin: 91px 0 0; text-align: center; color: #101916; font-size: 19px; font-weight: 750; }
.home-support { margin-top: 34px; gap: 4px 10px; }
.home-support + .home-support { margin-top: 0; }
.home-support button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.home-support :is(a,button) { font-size: 12px; }
.mobile-visit {
  position: fixed; right: 32px; bottom: 32px; display: grid; justify-items: center; gap: 3px;
  width: 120px; text-align: center; font: 600 13px/22px Arial,sans-serif; color: #111;
}
.mobile-visit a { text-decoration: none; }
.mobile-visit canvas { width: 120px; height: 120px; display: block; image-rendering: pixelated; }
.product-shell .mock-checkout .review-notices { margin: 18px 0 34px; }
.mock-checkout .review-notices section { border: 1px solid #cebaa3; margin: 0 0 8px; padding: 11px 16px; background: #f8f7f5; color: #4a4a4a; font-size: 14px; }
.mock-checkout .selection-notice { display: flex; gap: 14px; align-items: flex-start; border-top: 3px solid #333; background: #f4f4f4; }
.mock-checkout .selection-notice button { margin-left: 8px; }
.mock-checkout .rewards-notice { display: flex; gap: 14px; align-items: center; border-color: #aabd45; background: #fff; color: #667c14; font-weight: 650; }
.rewards-notice span { font-size: 27px; line-height: 1; }
.mock-checkout .delivery-notice { border-left-width: 3px; }
.delivery-notice h2 { font: 700 17px/25px var(--serif); padding: 2px 0 6px; }
.delivery-notice ul { margin: 0; padding-left: 19px; }
.delivery-notice li + li { margin-top: 7px; }
.mock-checkout .checkout-demo-link { background: transparent; border: 0; padding: 0; text-decoration: underline; color: #4a4a4a; }
.mock-checkout .order-summary > .checkout-demo-link { display: block; width: 100%; text-align: left; margin-top: 14px; padding: 12px; background: #f4f4f4; }
.mock-checkout .coupon-preview { padding: 13px 0; }
.checkout-local-options { display: grid; gap: 8px; margin-top: 17px; }
.checkout-local-options label { font-size: 14px; }
.address-lookup-note { grid-column: 1 / -1; color: #555; font-size: 13px; }
.cart-preview { width: 100%; min-height: 36px; border: 0; color: white; background: #303030; margin-top: 12px; border-radius: 5px; font-size: 14px; font-weight: 650; }
.cart-preview-status:not(:empty) { margin-top: 7px; font-size: 13px; }

body.profile-dialog-open { overflow: hidden; }
dialog.profile-dialog {
  width: min(calc(100% - 28px), 520px); max-height: calc(100svh - 28px);
  margin: auto; padding: 0; border: 0; border-radius: 16px;
  box-shadow: none; font: 16px/1.4 Arial,sans-serif; color: #121212;
  opacity: 0; transform: translateY(10px) scale(.99);
  transition: opacity .18s ease, transform .18s ease, display .18s allow-discrete, overlay .18s allow-discrete;
}
dialog.profile-dialog[open] { opacity: 1; transform: none; }
@starting-style { dialog.profile-dialog[open] { opacity: 0; transform: translateY(10px) scale(.99); } }
dialog.profile-dialog::backdrop { background: rgba(0,0,0,.60); }
.profile-modal-inner { position: relative; width: 100%; min-height: 100%; overflow: hidden; }
.profile-dialog h2 { font: 700 18px/24px Arial,sans-serif; letter-spacing: -.015em; }
.profile-dialog button { color: inherit; }
body:has(.profile-promo[open]) .home-toolbar { opacity: 0; pointer-events: none; }
.profile-close,.chat-more {
  position: absolute; width: 32px; height: 32px; z-index: 2; display: grid; place-items: center;
  inset: 17px 18px auto auto; background: transparent; border: 0; padding: 0; border-radius: 50%;
}
.profile-close svg,.chat-more svg { width: 19px; height: 19px; }
.profile-close:hover,.chat-more:hover { background: #ededed; }
.profile-status { min-height: 0; font-size: 13px; }
.profile-status:not(:empty) { padding: 10px 20px; background: #f5f5f2; }
.profile-promo.profile-dialog { width: min(calc(100% - 28px), 512px); min-height: 643px; background: #d2e823; color: #244c17; border-radius: 25px; margin-top: min(5vh, 50px); }
.profile-promo.profile-dialog::backdrop { background: #00000080; }
.profile-promo .profile-modal-inner { min-height: inherit; padding: 45px 28px 24px; isolation: isolate; }
.promo-star svg { width: 26px; height: 26px; stroke-width: 3; }
.profile-promo h2 { max-width: 450px; margin: 10px 0 15px; font: 800 42px/.97 Arial,sans-serif; letter-spacing: -.055em; }
.profile-promo h2 :is(span,em) { display: block; }
.profile-promo h2 em { color: #255ed7; font-style: normal; }
.profile-promo .promo-intro { font: 400 17px/24px Arial,sans-serif; max-width: 410px; margin-bottom: 23px; color: inherit; }
.promo-form { display: grid; justify-items: start; gap: 8px; }
.promo-form label { width: min(241px,100%); display: flex; min-height: 54px; gap: 7px; align-items: center; padding-inline: 12px; border-radius: 9px; background: #f3f3f1; color: #676b62; }
.promo-form input:not([type]) { min-height: 40px; background: transparent; border: 0; padding: 0; font-size: 15px; }
.promo-form button { min-width: 192px; background: #244c17; color: #d2e823; border: 0; border-radius: 36px; min-height: 64px; font-weight: bold; }
.promo-actions { display: grid; justify-items: start; width: max-content; gap: 3px; margin-top: 25px; }
.promo-actions button { border: 0; background: transparent; padding: 0; text-decoration: underline; font-size: 13px; }
.promo-actions button:last-child { text-decoration: none; border: 1px solid; padding: 12px 24px; border-radius: 30px; margin-top: 11px; }
.promo-art { position: absolute; z-index: -1; width: 27%; height: auto; right: 12%; bottom: 8%; transform: rotate(-19deg); border-radius: 14px; }
.profile-promo .profile-status:not(:empty) { margin-top: 14px; padding: 7px 9px; background: #f7faed; border-radius: 8px; }

.profile-chat.profile-dialog { width: min(calc(100% - 28px), 496px); height: 87.48svh; border-radius: 32px; background: #fbfaf9; }
.profile-chat .profile-modal-inner { display: flex; flex-direction: column; height: 100%; }
.chat-header { position: relative; display: grid; justify-items: center; padding: 21px 46px 0; }
.chat-header > .brand-frame { width: 45px; height: 45px; }
.chat-header h2 { margin-top: -4px; background: #fff; color: #232323; border-radius: 20px; padding: 4px 13px; max-width: 100%; box-shadow: 0 8px 32px #211b1b16; text-align: center; font-size: 15px; }
.chat-header .profile-close,.chat-more { width: 42px; height: 42px; top: 19px; background: #fff; box-shadow: 0 2px 9px #2221; border: 1px solid #eae9e8; }
.chat-header .profile-close { right: auto; left: 27px; }
.chat-more { right: 27px; }
.chat-messages { flex: 1; overflow: auto; padding: 32px 30px 10px; min-height: 0; }
.chat-time { text-align: center; color: #737781; font: 13px/20px Arial,sans-serif; margin-bottom: 25px; }
.chat-welcome { display: flex; align-items: end; gap: 9px; }
.chat-welcome > .brand-frame { width: 24px; height: 24px; }
.chat-welcome p { background: #efeeec; padding: 12px 16px; border-radius: 24px 24px 24px 5px; color: #111; font: 14px/21px Arial,sans-serif; letter-spacing: -.08px; }
.chat-local-log p { width: fit-content; max-width: 90%; margin: 12px 0 0 auto; padding: 10px 13px; text-align: right; border-radius: 16px; color: #123265; background: #deeff8; overflow-wrap: anywhere; }
.chat-local-log small { display: block; font-size: 11px; }
.chat-form { display: flex; align-items: center; min-height: 68px; border: 1px solid #e8e7e4; border-radius: 29px; padding: 0 12px 0 0; margin: 0 15px 13px; background: white; box-shadow: 0 2px 9px #2221; }
.chat-form textarea { resize: none; border: 0; border-radius: inherit; background: transparent; height: 68px; padding: 24px 12px 21px 24px; font: 400 14px/20px var(--sans); color: #222; }
.chat-form textarea::placeholder { color: #8a92a2; }
.chat-form button { flex: none; padding: 0; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; border: 0; background: #222; color: white; }
.chat-form button:disabled { background: #a6a6a6; cursor: default; opacity: 1; }
.chat-options { position: absolute; z-index: 3; inset: auto 14px 14px; min-height: 241px; border-radius: 27px; padding: 38px 22px 15px; background: #fff; box-shadow: 0 0 0 950px #00000011; text-align: center; }
.sheet-dismiss { position: absolute; top: 7px; left: calc(50% - 24px); width: 48px; height: 16px; background: transparent; border: 0; }
.sheet-dismiss::before { content: ""; display: block; width: 36px; height: 4px; margin: auto; background: #dbd9d7; border-radius: 6px; }
.chat-brand-card { display: flex; align-items: center; padding: 14px 17px; gap: 14px; text-align: left; border-radius: 21px; background: #f5f5f5; }
.chat-brand-card .brand-frame { width: 62px; height: 62px; }
.chat-options > p { margin-top: 18px; font-size: 12px; }
.chat-login { padding: 0; font-size: inherit; text-decoration: underline; background: transparent; border: 0; }

.profile-share.profile-dialog:has(.share-brand) { height: 702.6px; }
.profile-share.profile-dialog:has(.share-link-card) { height: 622.5px; }
.profile-share .profile-modal-inner { padding-top: 24px; }
.profile-share h2 { text-align: center; padding: 0 46px; min-height: 24px; }
.share-brand { width: calc(100% - 56px); aspect-ratio: 1.90; display: grid; justify-items: center; align-content: center; gap: 3px; margin: 24px auto 26px; border-radius: 24px; text-align: center; background: #2c2c2a; color: white; }
.share-brand .brand-frame { width: min(24vw,112px); height: min(24vw,112px); margin-bottom: 14px; }
.share-brand strong { font-size: 20px; line-height: 1.25; }
.share-brand span:not(.brand-frame) { font-size: 14px; line-height: 1.3; }
.share-link-card { width: min(calc(100% - 42px),327px); min-height: 125px; margin: 24px auto 14px; display: grid; align-content: center; gap: 4px; padding: 16px; text-align: center; border-radius: 24px; background: #f3f3f1; box-shadow: 0 8px 22px #2221; overflow-wrap: anywhere; }
.share-link-card p { color: #52524e; font-size: 13px; }
.share-actions { display: flex; height: 122px; margin-inline: 8px; overflow-x: auto; scrollbar-width: none; gap: 16px; padding: 20px 16px 21px; }
.share-actions button { width: 60px; flex: 0 0 60px; padding: 0; border: 0; background: transparent; font-size: 12px; white-space: nowrap; }
.share-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 7px; border-radius: 50%; background: #e0e1d8; color: #101010; font-size: 27px; line-height: 1; }
.share-icon img { width: 24px; height: 24px; object-fit: contain; }
.social-x { background: #060606; color: #fff; }.social-facebook { background: #1877f2; color: #fff; font-weight: bold; }
.social-whatsapp { background: #00d85c; }.social-linkedin { background: #0a66c2; color: #fff; font-weight: bold; }
.social-messenger { background: #efefef; }.social-snapchat { background: #fffc00; }
.share-message,.share-footer { border-top: 1px solid #b9bab4; padding: 20px; }
.share-message { min-height: 89px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 650; }
.share-message button,.share-footer button { border: 1px solid #dfe0d9; border-radius: 36px; padding: 0 17px; min-height: 48px; background: white; color: #111; font-weight: 650; }
.share-message button { display: inline-flex; align-items: center; gap: 8px; }
.share-message svg { width: 17px; height: 17px; }
.share-footer { padding-top: 19px; }
.share-footer div button { font-weight: 600; }
.share-footer p { margin-bottom: 15px; color: #676a5f; font-size: 14px; }
.share-footer div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-footer button:first-child { background: #000; color: white; }
.report-link { display: block; border: 0; width: 100%; padding: 14px 20px 30px; text-align: left; background: transparent; font-size: 12px; }
.local-preview-body { display: grid; justify-items: center; gap: 12px; padding: 25px 18px 50px; text-align: center; }
.local-preview-body .brand-frame { width: 62px; height: 62px; }

@media (max-width: 1100px) { .mobile-visit { display: none; } }
@media (max-width: 700px) {
  .mock-checkout.review-page { margin-top: 55px; padding-inline: 16px; }
  .mock-checkout h1 { margin-bottom: 6px; }
  .product-shell .mock-checkout .review-notices { margin-top: 0; margin-bottom: 36px; }
  .mock-checkout .selection-notice { min-height: 160px; padding: 18px 19px; margin-bottom: 30px; line-height: 24px; }
  .mock-checkout .selection-notice button { display: block; margin: 12px 0 0; padding: 7px 13px; border: 1px solid #222; text-decoration: none; }
  .mock-checkout .rewards-notice { min-height: 90px; margin-bottom: 6px; }
  .mock-checkout .delivery-notice { min-height: 300px; padding: 22px 21px; line-height: 23px; }
  .home-shell { min-height: max(987px,100svh); margin: 0 auto; overflow: visible; }
  .home-background { background-image: url("/assets/r3-profile-mobile.webp"); clip-path: none; border-radius: 0; }
  .home-toolbar { position: sticky; top: 14px; margin: 14px 14px 0; height: 40px; translate: 0 var(--toolbar-lift, 0px); transition: translate .16s ease, opacity .16s ease; }
  .home-toolbar[data-compact] { opacity: 0; pointer-events: none; }
  .home { padding-top: 50px; }
  .home .route { font-size: 14px; line-height: 16.8px; }
  .profile-footer-mark { margin-top: 73px; }
  .home-support { margin-top: 12px; }
  dialog.profile-dialog { max-width: 100%; max-height: 100svh; }
  .profile-share.profile-dialog,.profile-promo.profile-dialog { margin: auto 0 0; width: 100%; border-radius: 24px 24px 0 0; }
  .profile-promo.profile-dialog { min-height: min(619px,85svh); }
  .profile-promo .profile-modal-inner { padding: 50px 20px 20px; }
  .profile-promo .profile-close { top: 26px; right: 12px; }
  .profile-promo h2 { font-size: clamp(26px,8.5vw,34px); line-height: 1.06; margin-bottom: 19px; }
  .profile-promo .promo-intro { font-size: 16px; line-height: 23px; margin-bottom: 24px; }
  .promo-form button { min-height: 64px; }
  .promo-art { width: 22%; bottom: 8%; right: 12%; }
  .profile-chat.profile-dialog { width: 100%; height: 100svh; border-radius: 0; max-height: none; }
  .chat-header { padding-top: 20px; }
  .chat-header .profile-close { left: 13px; }
  .chat-more { right: 13px; }
  .chat-messages { padding: 38px 8px 10px; }
  .chat-welcome { gap: 7px; }
  .profile-share.profile-dialog:has(.share-brand) { height: 655.34px; }
  .profile-share.profile-dialog:has(.share-link-card) { height: 643.5px; }
  .share-link-card { width: min(calc(100% - 52px),338px); margin-bottom: 6px; }
  .share-brand .brand-frame { width: 80px; height: 80px; margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { dialog.profile-dialog { transition: none; } }
