/* Cuenta e historial: identidad compartida de la tienda. */
.cv-account-home,.cv-history-panel,.cv-history-top,.cv-history-test-note{color:#644c31;font-family:Raleway,Arial,sans-serif}
.cv-account-welcome{background:#f0e5d4;border:1px solid #e2cfb4;border-radius:22px;padding:30px;box-shadow:0 6px 18px #4b28160a}
.cv-account-welcome h2{color:#4b2816;line-height:1.3}.cv-account-welcome p,.cv-account-welcome .cv-access-eyebrow{color:#644c31}
.cv-account-avatar{background:#fff8ed;color:#a3333b;border:1px solid #e2cfb4}
.cv-account-active{background:#fff8ed;color:#a3333b;border-color:#d8bca0;font-weight:600}
.cv-account-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}
.cv-account-home .cv-panel{background:#f0e5d4;border:1px solid #e2cfb4;border-radius:20px;padding:26px;box-shadow:0 5px 14px #4b281609;margin-bottom:20px}
.cv-account-home h2,.cv-history-panel h2{color:#4b2816;line-height:1.35}
.cv-account-home .cv-muted,.cv-account-home p,.cv-account-actions p,.cv-account-history p{color:#644c31;line-height:1.7}
.cv-account-home .cv-delivery-details{margin-top:20px}
.cv-account-home .cv-delivery-details>div{background:#fff8ed;border:1px solid #e4d4be;border-radius:12px;padding:14px 16px;margin-bottom:12px}
.cv-account-home .cv-delivery-details dt{color:#8a7056;font-size:12px;margin-bottom:5px}
.cv-account-home .cv-delivery-details dd{color:#4b2816;margin:0;overflow-wrap:anywhere}
.cv-profile-heading a,.cv-account-history a,.cv-profile-panel>a,.cv-account-logout .cv-link,.cv-history-top>a,.cv-history-details{color:#a3333b;text-underline-offset:4px;font-weight:600}
.cv-account-home .cv-button,.cv-history-panel .cv-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;color:#fff!important;font-family:Raleway,Arial,sans-serif;font-weight:700;text-align:center}
.cv-account-actions .cv-button{display:flex;width:100%}
.cv-account-home .cv-button.cv-secondary,.cv-history-panel .cv-button.cv-secondary{background:#fff8ed!important;color:#a3333b!important;border:1px solid #a3333b!important;box-shadow:0 3px 0 #d8bca0,0 5px 10px #4b281612}
.cv-account-home .cv-field{background:#fff8ed;border:1px solid #d8bca0;border-radius:12px;color:#4b2816}
.cv-history-top{background:#f0e5d4;border:1px solid #e2cfb4;border-radius:20px;padding:22px 26px;margin-bottom:24px;gap:20px}
.cv-history-panel{background:#f0e5d4;border:1px solid #e2cfb4;border-radius:22px;padding:28px}
.cv-history-list-heading{align-items:center;gap:16px;margin-bottom:20px}.cv-history-list-heading>span{color:#8a7056}
.cv-history-panel .cv-history-item{background:#fff8ed;border:1px solid #e4d4be;border-radius:18px;padding:24px;box-shadow:0 4px 12px #4b281608;grid-template-columns:minmax(0,1fr) minmax(260px,.65fr);gap:26px}
.cv-history-item h2{font-family:Raleway,Arial,sans-serif!important;font-size:19px!important;color:#4b2816;margin-bottom:10px}
.cv-history-item .cv-muted{color:#8a7056}
.cv-history-item .cv-status{display:inline-flex;align-items:center;padding:7px 12px;border:1px solid #e2cfb4;border-radius:24px;background:#f0e5d4;color:#644c31;font-size:12px;font-weight:600}
.cv-history-actions{border-color:#e2cfb4}.cv-history-total strong{color:#a3333b;font-size:25px}.cv-history-total span{color:#8a7056}
.cv-repeat-order{border-color:#e2cfb4}.cv-repeat-order label{color:#644c31;line-height:1.6;font-size:12px}.cv-repeat-order input{accent-color:#a3333b}
.cv-history-test-note{background:#f0e5d4;border:1px solid #e2cfb4;border-radius:16px;padding:18px 22px}.cv-history-illustration{color:#a3333b}
@media(max-width:760px){.cv-account-grid{grid-template-columns:minmax(0,1fr);gap:0}.cv-account-home .cv-panel,.cv-history-panel{padding:22px 18px}.cv-account-welcome{padding:24px 20px;grid-template-columns:1fr}.cv-account-welcome>div:nth-child(2){min-width:0;width:100%}.cv-account-active{margin:0}.cv-account-welcome h2{font-size:26px}.cv-profile-heading{gap:10px}.cv-account-home h2{font-size:23px}.cv-history-top{padding:20px;flex-direction:column;align-items:flex-start}.cv-history-panel .cv-history-item{grid-template-columns:minmax(0,1fr);padding:20px;gap:20px}.cv-history-actions{border-left:0;border-top:1px solid #e2cfb4;padding-left:0;padding-top:18px}.cv-history-total{text-align:left}.cv-history-details{display:inline-block;line-height:1.5}.cv-history-list-heading{flex-wrap:wrap}.cv-account-home .cv-item-actions{flex-wrap:wrap}}

/* El hover global de botones no debe oscurecer las acciones secundarias. */
body .cv-checkout :is(.cv-account-home,.cv-history-panel) .cv-button.cv-secondary,
body .cv-checkout :is(.cv-account-home,.cv-history-panel) .cv-button.cv-secondary:is(:hover,:focus-visible,:active){background:#fff8ed!important;color:#a3333b!important;border-color:#a3333b!important;box-shadow:0 3px 0 #d8bca0,0 5px 10px #4b281612!important;opacity:1}
body .cv-account-home .cv-account-actions .cv-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:13px 20px;font-size:13px;line-height:1.4;margin-top:16px}

/* Accion de repetir compra: contraste estable en todos sus estados. */
body .cv-checkout .cv-history-panel .cv-history-actions .cv-repeat-order button.cv-button.cv-secondary,
body .cv-checkout .cv-history-panel .cv-history-actions .cv-repeat-order button.cv-button.cv-secondary:is(:hover,:focus-visible,:active){background:#a3333b!important;color:#fff!important;border:1px solid #a3333b!important;box-shadow:0 3px 0 #70222b,0 5px 10px #4b281620!important;opacity:1!important;min-height:48px;padding:13px 20px;font-size:13px;line-height:1.4;display:flex;align-items:center;justify-content:center}

/* Registro e inicio de sesion. */
body .cv-checkout .cv-login-panel{max-width:600px;margin:0 auto;background:#f0e5d4;border:1px solid #e2cfb4;border-radius:22px;padding:32px;box-shadow:0 6px 20px #4b28160d;color:#644c31}
.cv-login-panel>p:first-child{margin:0 0 24px;padding-bottom:20px;border-bottom:1px solid #ddc8ac;line-height:1.75}
body .cv-checkout .cv-login-panel label{color:#4b2816;font-size:14px;font-weight:500;margin:20px 0 9px;line-height:1.6}
body .cv-checkout .cv-login-panel .cv-field{display:block;width:100%;box-sizing:border-box;min-height:48px;background:#fff8ed;border:1px solid #d8bca0;border-radius:12px;padding:12px 15px;color:#4b2816;font:400 15px/1.5 Raleway,Arial,sans-serif;transition:border-color .15s,box-shadow .15s}
body .cv-checkout .cv-login-panel .cv-field:focus{outline:none;border-color:#a3333b;box-shadow:0 0 0 3px #a3333b1a}
.cv-login-panel .cv-muted{color:#8a7056;font-size:12px;margin:8px 0 0;line-height:1.6}
body .cv-checkout .cv-login-panel input[type=checkbox]{accent-color:#a3333b;width:16px;height:16px;vertical-align:middle;margin:0 8px 2px 0;padding:0;flex-shrink:0}
body .cv-checkout .cv-login-panel .cv-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:13px 20px;font-size:13px;color:#fff!important;margin-top:24px;box-sizing:border-box}
.cv-login-panel a{color:#a3333b;font-weight:500;text-underline-offset:4px;line-height:1.7}
.cv-login-panel>p:last-of-type{border-top:1px solid #ddc8ac;padding-top:20px;margin:22px 0 12px}
.cv-login-panel>a:last-child{display:inline-flex;align-items:center;font-size:13px;padding:4px 0}
@media(max-width:520px){body .cv-checkout .cv-login-panel{padding:24px 20px;border-radius:18px}.cv-login-panel>p:first-child{font-size:14px}.cv-login-panel .cv-field{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){body .cv-checkout .cv-login-panel .cv-field{transition:none}}

body.cv-privacy-open{overflow:hidden}
.cv-registration-privacy{width:min(960px,calc(100vw - 32px));height:min(800px,calc(100dvh - 40px));max-width:none;max-height:none;padding:0;border:1px solid #d8bca0;border-radius:20px;background:#f0e5d4;box-shadow:0 20px 70px #4b281644;overflow:hidden}
.cv-registration-privacy[open]{display:flex;flex-direction:column}
.cv-registration-privacy::backdrop{background:#2c1a1277;backdrop-filter:blur(3px)}
.cv-registration-privacy-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e2cfb4;flex-shrink:0}
.cv-registration-privacy-bar h2{margin:0;font-size:24px;color:#4b2816}
.cv-registration-privacy-bar button{border:1px solid #a3333b;border-radius:40px;background:#a3333b;color:#fff;padding:11px 17px;font:600 12px/1.5 Raleway,Arial,sans-serif;cursor:pointer}
.cv-registration-privacy iframe{width:100%;flex:1;min-height:0;border:0;background:#fff}
@media(max-width:600px){.cv-registration-privacy-bar{align-items:flex-start;flex-direction:column;padding:16px}.cv-registration-privacy-bar h2{font-size:22px}}

.cv-profile-saved-delivery{margin:24px 0;padding:20px;background:#fff8ed;border:1px solid #e2cfb4;border-radius:16px}.cv-profile-saved-delivery h3{color:#4b2816;font:600 17px/1.5 Raleway,Arial,sans-serif;margin:0 0 12px}

.cv-account-cards{scroll-margin-top:24px}.cv-cards-empty,.cv-saved-card{border:1px solid #e4cbae;border-radius:16px;background:#fff8ed;padding:20px;margin:18px 0}.cv-cards-empty p{margin:10px 0 0;font-size:13px;line-height:1.6}.cv-saved-card-top{display:flex;gap:14px;align-items:center}.cv-card-symbol{font-size:28px;color:#a72f3b}.cv-saved-card-top p{margin:6px 0 0;font-size:18px;letter-spacing:2px}.cv-card-expiry{margin:16px 0;color:#785e48;font-size:13px}.cv-card-remove{border-top:1px solid #e4cbae;padding-top:14px}.cv-card-remove summary{cursor:pointer;color:#a72f3b;font-weight:600;font-size:13px}.cv-card-remove p,.cv-card-remove label{font-size:12px;line-height:1.6}.cv-card-remove label{display:flex;gap:8px;align-items:flex-start;margin:14px 0}.cv-card-remove button{margin-top:8px}.cv-cards-security{font-size:12px;line-height:1.6}
