/* Carrinho proprio — substitui o minicart da Shopify */
cart-notification, #minicart_wrapper, .minicart-form, .minicart__overlay, .overlay-minicart { display: none !important; }
.header-account-popup, shopify-account { display: none !important; }
.viss-brinde-barra, .cart-ship-host { display: none !important; }
.minicart-message, [class*="minicart-message"], .minicart__message { display: none !important; }

#rs-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 99998; }
#rs-overlay.open { opacity: 1; pointer-events: auto; }
#rs-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(480px, 100vw); background: #fafafa; z-index: 99999; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(0,0,0,.15); font-family: inherit; font-size: 13px; line-height: 1.4; color: #1f1f1f; }
#rs-drawer.open { transform: none; }
#rs-drawer button { font-family: inherit; }
html.rs-lock { overflow: hidden; }

.rs-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; }
.rs-head h3 { margin: 0; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 9px; letter-spacing: 0; }
.rs-badge { min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; background: #e8366f; color: #fff; font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; box-sizing: border-box; }
.rs-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #efefef; color: #333; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; }
.rs-x:hover { background: #e4e4e4; }

.rs-ship { margin: 0 14px 6px; padding: 13px 18px 16px; background: #fdeef3; border-radius: 12px; }
.rs-ship-txt { font-size: 13px; line-height: 1.35; margin-bottom: 12px; color: #1f1f1f; }
.rs-ship-bar { position: relative; height: 24px; }
.rs-ship-track { position: absolute; left: 0; right: 0; top: 9px; height: 6px; border-radius: 6px; background: #f6cddb; overflow: hidden; }
.rs-ship-fill { height: 100%; background: #e8366f; border-radius: 6px; transition: width .4s ease; }
.rs-ms { position: absolute; top: 0; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #e8366f; border: 2px solid #f6cddb; box-sizing: border-box; }
.rs-ms.on { background: #e8366f; color: #fff; border-color: #fff; box-shadow: 0 2px 6px rgba(232,54,111,.35); }
.rs-ms svg { width: 12px; height: 12px; }

.rs-body { flex: 1; overflow-y: auto; padding: 4px 16px 10px; -webkit-overflow-scrolling: touch; }
.rs-empty { text-align: center; padding: 60px 10px; color: #777; font-size: 14px; }
.rs-empty a { display: inline-block; margin-top: 14px; padding: 11px 20px; border-radius: 999px; background: #e8366f; color: #fff; text-decoration: none; font-weight: 600; }

/* brindes (no topo da lista) */
.rs-gift { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #ececec; }
.rs-gift .gi { width: 64px; height: 64px; border-radius: 10px; border: 1px solid #ececec; background: #fff; overflow: hidden; display: grid; place-items: center; }
.rs-gift img { width: 100%; height: 100%; object-fit: contain; }
.rs-gift .pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #e3f3e8; color: #2e7d4a; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.rs-gift .gt { margin-top: 5px; font-size: 13.5px; font-weight: 500; color: #1f1f1f; line-height: 1.25; }
.rs-gift.lock .pill { background: #ececec; color: #7a7a7a; }
.rs-gift.lock .gt, .rs-gift.lock img { opacity: .5; }

/* itens */
.rs-item { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #ececec; }
.rs-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; background: #f0f0f0; display: block; }
.rs-item .ib { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.rs-item .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.rs-item .t { font-size: 13.5px; line-height: 1.3; font-weight: 500; color: #1f1f1f; text-decoration: none; }
.rs-trash { background: none; border: 0; color: #9a9a9a; cursor: pointer; padding: 2px; display: grid; flex-shrink: 0; }
.rs-trash:hover { color: #e8366f; }
.rs-item .bot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.rs-qty { display: inline-flex; align-items: center; border: 1px solid #dcdcdc; border-radius: 999px; overflow: hidden; background: #fff; }
.rs-qty button { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; font-size: 16px; color: #222; }
.rs-qty span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 500; }
.rs-item .pr { text-align: right; font-size: 13px; }
.rs-item .pr b { color: #e8366f; font-size: 14px; font-weight: 700; }
.rs-item .pr s { color: #9a9a9a; font-size: 12px; margin-left: 4px; }

/* complete sua rotina */
.rs-rotina { margin-top: 18px; }
.rs-rotina .rh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.rs-rotina h4 { margin: 0; font-size: 15px; font-weight: 600; }
.rs-rotina .ra { display: flex; gap: 6px; }
.rs-rotina .ra button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #ececec; font-size: 18px; line-height: 1; cursor: pointer; color: #333; padding: 0 0 2px; }
.rs-rot { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rs-rot::-webkit-scrollbar { display: none; }
.rs-rc { flex: 0 0 88%; scroll-snap-align: start; display: grid; grid-template-columns: 64px 1fr 40px; gap: 10px; align-items: center; background: #fff; border: 1px solid #ececec; border-radius: 12px; padding: 9px; box-sizing: border-box; }
.rs-rc .im { position: relative; display: block; width: 64px; height: 64px; }
.rs-rc .im img { width: 64px; height: 64px; object-fit: cover; border-radius: 9px; background: #f0f0f0; display: block; }
.rs-rc .tag { position: absolute; left: 0; top: 0; padding: 1px 6px; border-radius: 7px 0 7px 0; background: #e8366f; color: #fff; font-size: 10.5px; font-weight: 700; }
.rs-rc .rt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1.25; color: #1f1f1f; text-decoration: none; }
.rs-rc .rp { margin-top: 4px; font-size: 12px; }
.rs-rc .rp b { color: #e8366f; font-size: 14px; font-weight: 700; }
.rs-rc .rp s { color: #9a9a9a; margin-left: 4px; }
.rs-rc .rbtn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #e8366f; color: #fff; display: grid; place-items: center; cursor: pointer; }
.rs-rc .rbtn:hover { background: #cf2860; }

/* rodape */
.rs-foot { padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #ececec; background: #fff; }
.rs-line { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; color: #666; }
.rs-line.total { font-size: 15px; color: #111; font-weight: 700; margin: 8px 0 12px; }
.rs-line.total em { font-style: normal; font-weight: 500; font-size: 12px; color: #1b8a4a; }
.rs-pix { color: #1b8a4a; font-weight: 600; }
.rs-go { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 14px; border-radius: 999px; background: #e8366f; color: #fff !important; font-weight: 700; font-size: 14px; letter-spacing: .03em; text-decoration: none; border: 0; cursor: pointer; }
.rs-go:hover { background: #cf2860; }
.rs-cont { display: block; width: 100%; margin-top: 8px; padding: 9px; border: 0; background: transparent; color: #666; font-weight: 500; font-size: 13px; text-decoration: underline; cursor: pointer; }
.rs-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: #222; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; opacity: 0; transition: .25s; z-index: 100000; pointer-events: none; }
.rs-toast.show { opacity: 1; transform: translateX(-50%); }

/* aviso de primeira visita */
#rs-wel { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; transition: opacity .35s; pointer-events: none; }
#rs-wel.on { opacity: 1; pointer-events: auto; }
.rs-wel-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, rgba(120,20,70,.55), rgba(15,3,10,.82)); backdrop-filter: blur(3px); }
.rs-wel-box { position: relative; width: min(780px, 100%); display: grid; grid-template-columns: 0.92fr 1.08fr; border-radius: 26px; overflow: hidden; background: #2a0818; box-shadow: 0 0 0 1px rgba(243,212,154,.35), 0 30px 90px rgba(0,0,0,.55), 0 0 80px rgba(232,54,111,.25); transform: translateY(26px) scale(.95); transition: transform .5s cubic-bezier(.2,.9,.25,1.1); font-family: "Plus Jakarta Sans", inherit; color: #fff; }
#rs-wel.on .rs-wel-box { transform: none; }
.rs-wel-x { position: absolute; right: 12px; top: 10px; z-index: 5; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); display: grid; place-items: center; padding: 0 0 2px; }
.rs-wel-x:hover { background: rgba(255,255,255,.28); }
/* foto */
.rs-wel-ph { position: relative; min-height: 470px; overflow: hidden; }
.rs-wel-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.06); animation: rswKen 14s ease-in-out infinite alternate; }
.rs-wel-ph:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,8,24,0) 55%, #2a0818 100%), linear-gradient(0deg, rgba(42,8,24,.55), rgba(42,8,24,0) 40%); }
.rs-wel-tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .28em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
@keyframes rswKen { from { transform: scale(1.06) translate(0,0); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
/* conteudo */
.rs-wel-bd { position: relative; padding: 38px 36px 26px 22px; text-align: center; background: radial-gradient(ellipse at 85% 0%, rgba(232,54,111,.38), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(196,18,125,.35), transparent 50%), #2a0818; display: flex; flex-direction: column; justify-content: center; }
.rs-wel-eb { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; color: #f3d49a; margin-bottom: 14px; }
.rs-wel-eb span { width: 26px; height: 1px; background: linear-gradient(90deg, transparent, #f3d49a); }
.rs-wel-eb span:last-child { background: linear-gradient(270deg, transparent, #f3d49a); }
.rs-wel-h { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-size: 29px; line-height: 1.08; font-weight: 700; letter-spacing: .01em; color: #fff; }
.rs-wel-h em { font-style: italic; font-weight: 500; color: #ffd9e6; }
.rs-wel-off { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin: 14px 0 2px; line-height: .9; }
.rs-wel-off b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 92px; font-weight: 700; background: linear-gradient(100deg, #f7dca3 0%, #fff6dc 35%, #e9b86b 55%, #fbe4b0 80%, #e9b86b 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rswShine 4.5s linear infinite; filter: drop-shadow(0 4px 18px rgba(233,184,107,.35)); }
.rs-wel-off span { font-size: 22px; font-weight: 800; letter-spacing: .18em; color: #ff8fb6; margin-bottom: 14px; }
@keyframes rswShine { to { background-position: -220% 0; } }
.rs-wel-sub { font-size: 14px; color: #f0d9e3; margin-bottom: 18px; }
/* ticket do cupom */
.rs-wel-code { position: relative; display: block; width: 100%; padding: 14px 14px 12px; border: 1.5px dashed #f3d49a; border-radius: 14px; background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); cursor: pointer; transition: transform .15s, background .2s, border-color .2s; font-family: inherit; color: #fff; }
.rs-wel-code:hover { transform: translateY(-1px); background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.07)); }
.rs-wel-code .nl, .rs-wel-code .nr { position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #2a0818; border: 1.5px dashed #f3d49a; }
.rs-wel-code .nl { left: -9px; clip-path: inset(0 0 0 50%); } .rs-wel-code .nr { right: -9px; clip-path: inset(0 50% 0 0); }
.rs-wel-code .c { display: block; font-size: 22px; font-weight: 800; letter-spacing: .1em; color: #fff; text-shadow: 0 0 18px rgba(255,160,200,.6); }
.rs-wel-code .h { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 6px; font-size: 12.5px; color: #f3d49a; }
.rs-wel-code .h svg { width: 15px; height: 15px; }
.rs-wel-code .h em { font-style: normal; }
.rs-wel-code.ok { border-style: solid; border-color: #6fe3a1; background: rgba(60,200,120,.16); }
.rs-wel-code.ok .h { color: #8cf0b6; font-weight: 700; }
.rs-wel-n { margin-top: 14px; font-size: 12.5px; color: #e4c7d4; line-height: 1.45; }
.rs-wel-n b { color: #fff; }
.rs-wel-no { margin: 12px auto 0; border: 0; background: transparent; color: #d9b8c8; font-size: 13px; text-decoration: underline; cursor: pointer; font-family: inherit; }
.rs-wel-no:hover { color: #fff; }
/* brilhos */
.sp { position: absolute; width: 16px; height: 16px; color: #f3d49a; pointer-events: none; opacity: 0; animation: rswTw 3.2s ease-in-out infinite; z-index: 3; }
.sp svg { width: 100%; height: 100%; fill: currentColor; display: block; filter: drop-shadow(0 0 6px rgba(243,212,154,.9)); }
.sp.s1 { left: 14%; top: 14%; width: 20px; height: 20px; } .sp.s2 { right: 16%; top: 36%; animation-delay: 1.1s; width: 13px; height: 13px; } .sp.s3 { left: 30%; bottom: 24%; animation-delay: 2s; width: 11px; height: 11px; }
.sp.s4 { right: 18%; top: 22px; animation-delay: .6s; width: 14px; height: 14px; color: #ffb3cf; } .sp.s5 { left: 7%; top: 46%; animation-delay: 1.7s; width: 10px; height: 10px; color: #ffb3cf; }
@keyframes rswTw { 0%,100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@media (max-width: 640px) {
  .rs-wel-box { grid-template-columns: 1fr; width: min(400px, 100%); }
  .rs-wel-ph { min-height: 0; height: 190px; }
  .rs-wel-ph img { object-position: 50% 18%; }
  .rs-wel-ph:after { background: linear-gradient(180deg, rgba(42,8,24,0) 45%, #2a0818 100%); }
  .rs-wel-tag { display: none; }
  .rs-wel-bd { padding: 6px 22px 22px; margin-top: -26px; }
  .rs-wel-h { font-size: 25px; } .rs-wel-off b { font-size: 70px; } .rs-wel-off span { font-size: 18px; margin-bottom: 10px; }
  .rs-wel-code .c { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .rs-wel-ph img, .rs-wel-off b, .sp { animation: none; } .sp { opacity: .8; } }
