/* eudora-shell-1.0.0.css — UX round 3 (2026-10-17).
 * Header announcement bar (phone currency select) and the empty cart page.
 * Tokens come from eudora-look-1.0.0.css :root. Prefixed selectors win over the older theme CSS. */

/* ───────── Phone currency select (announcement bar) ───────── */
@media only screen and (max-width: 600px) {
    body .eh-announce__inner { min-height: 52px; }
    body .eh-announce .currency-switcher select {
        height: 44px; min-height: 44px; width: 84px; max-width: 84px; margin: 0;
        padding: 0 22px 0 8px; font-size: 15px; font-weight: 500; line-height: 1.2;
        border-color: rgba(255,255,255,.75); border-radius: 8px;
    }
    body .eh-announce .currency-switcher select:focus-visible {
        outline: 3px solid #fff; outline-offset: 2px;
    }
}

/* ───────── Empty cart ───────── */
body .ed-empty-cart {
    max-width: 640px; margin: 48px auto 56px; padding: 0 20px; box-sizing: border-box;
    text-align: center; color: var(--el-text);
}
body .ed-empty-cart__title {
    margin: 0 0 12px; font-size: 32px; line-height: 1.2; font-weight: 500; color: var(--el-ink);
}
body .ed-empty-cart__lead {
    margin: 0 0 28px; font-size: 18px; line-height: 1.5; color: var(--el-text);
}
body .ed-empty-cart__actions { margin: 0 0 36px; }
body .ed-empty-cart .ed-empty-cart__primary {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
    padding: 0 32px; border: 0; border-radius: 10px; background: var(--el-brand); color: #fff;
    font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer; box-sizing: border-box;
}
body .ed-empty-cart .ed-empty-cart__primary:hover,
body .ed-empty-cart .ed-empty-cart__primary:focus { background: var(--el-brand-dark); color: #fff; }
body .ed-empty-cart .ed-empty-cart__primary:focus-visible { outline: 3px solid var(--el-brand-dark); outline-offset: 3px; }
body .ed-empty-cart__shortcuts { margin: 0 0 24px; }
body .ed-empty-cart__shortcuts ul {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none;
}
body .ed-empty-cart__shortcuts li { margin: 0; padding: 0; }
body .ed-empty-cart__shortcuts a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; box-sizing: border-box;
    border: 1px solid #e6e6e6; border-radius: 10px; background: #fff; color: var(--el-ink);
    font-size: 16px; text-decoration: none;
}
body .ed-empty-cart__shortcuts a:hover,
body .ed-empty-cart__shortcuts a:focus { border-color: var(--el-brand); color: var(--el-brand); }
body .ed-empty-cart__shortcuts a:focus-visible,
body .ed-empty-cart__orders a:focus-visible { outline: 3px solid var(--el-brand); outline-offset: 2px; }
body .ed-empty-cart__orders { margin: 0; }
body .ed-empty-cart__orders a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
    color: var(--el-ink); font-size: 16px; text-decoration: underline; text-underline-offset: 3px;
}

@media only screen and (max-width: 600px) {
    body .ed-empty-cart { margin: 32px auto 40px; padding: 0 16px; }
    body .ed-empty-cart__title { font-size: 26px; }
    body .ed-empty-cart__lead { font-size: 17px; margin-bottom: 24px; }
    body .ed-empty-cart__actions { margin-bottom: 28px; }
    body .ed-empty-cart .ed-empty-cart__primary { width: 100%; max-width: 320px; }
    body .ed-empty-cart__shortcuts ul { gap: 8px; }
    body .ed-empty-cart__shortcuts a { padding: 0 14px; font-size: 15px; }
}

/* Empty slide-out cart: same shortcuts as the empty cart page, sized for the drawer */
#header-cart .ed-drawer__empty { padding: 28px 20px; text-align: center; }
#header-cart .ed-drawer__empty-title { margin: 0 0 6px; color: var(--el-ink); font-size: 20px; font-weight: 500; }
#header-cart .ed-drawer__empty .empty { margin: 0 0 20px; color: var(--el-text); font-size: 16px; }
#header-cart .ed-drawer__empty .ed-drawer__shop {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0 0 28px;
    border: 0; border-radius: 8px; background: var(--el-brand); color: #fff; font-size: 15px; letter-spacing: .04em;
}
#header-cart .ed-drawer__empty .ed-drawer__shop:hover,
#header-cart .ed-drawer__empty .ed-drawer__shop:focus { background: var(--el-brand-dark); color: #fff; }
#header-cart .ed-drawer__empty-label { margin: 0 0 10px; color: var(--el-muted); font-size: 14px; text-align: left; }
#header-cart .ed-drawer__shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
#header-cart .ed-drawer__shortcuts li { margin: 0; padding: 0; }
#header-cart .ed-drawer__shortcuts a {
    display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 10px; box-sizing: border-box;
    border: 1px solid #e6e6e6; border-radius: 10px; background: #fff; color: var(--el-ink); font-size: 16px; text-decoration: none;
}
#header-cart .ed-drawer__shortcuts a:hover,
#header-cart .ed-drawer__shortcuts a:focus { border-color: var(--el-brand); color: var(--el-brand); }
#header-cart .ed-drawer__shortcuts a:focus-visible,
#header-cart .ed-drawer__orders a:focus-visible { outline: 3px solid var(--el-brand); outline-offset: 2px; }
#header-cart .ed-drawer__orders { margin: 0; }
#header-cart .ed-drawer__orders a { color: var(--el-brand-dark); font-size: 16px; text-decoration: underline; text-underline-offset: 2px; }

/* ===== Cart: shipping estimate + reward points panels (2026-10-18) =====
   Larger type and controls, sentence-case buttons, selectable rate rows, and a modern reward slider over the
   MW Reward Points markup (inline styles in that template need !important). */
body.checkout-cart-index .cart .cart-forms .eudora-pf-body label,
body.checkout-cart-index .cart .cart-forms .eudora-pf-body .shipping-desc { color: #4a4a4a; font-size: 15px; }
body.checkout-cart-index .cart .cart-forms .eudora-pf-body .input-text,
body.checkout-cart-index .cart .cart-forms .eudora-pf-body select { height: 46px; font-size: 16px; }
body.checkout-cart-index .cart .cart-forms .eudora-pf-body .button,
body.checkout-cart-index .cart .cart-forms .eudora-pf-body .button2 {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; height: auto; padding: 0 22px;
    border-radius: 8px; font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none !important;
}
body.checkout-cart-index .cart .cart-forms .eudora-pf-body .button span,
body.checkout-cart-index .cart .cart-forms .eudora-pf-body .button2 span { text-decoration: none !important; text-transform: none !important; font: inherit; }

/* Shipping rates: each rate is a full-width selectable row */
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods { margin: 16px 0 0; padding: 0; }
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods dt { margin: 0 0 8px; color: var(--el-ink, #1d1d1f); font-size: 16px; font-weight: 500; }
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods dd { margin: 0; padding: 0; }
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods li {
    position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; padding: 0 14px;
    border: 1px solid #d6d6d6; border-radius: 8px; background: #fff; box-sizing: border-box;
}
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods li:has(input:checked) { border-color: var(--el-brand, #d1045f); background: var(--el-brand-tint, #fdf0f5); }
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods input.radio {
    position: static; flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--el-brand, #d1045f);
}
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods label {
    flex: 1; display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 14px 0; border: 0; background: none;
    color: var(--el-ink, #1d1d1f); font-size: 16px; cursor: pointer;
}
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods label::before,
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods label::after { content: none; }
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods label .price { color: inherit; font-size: inherit; font-weight: 600; }
body.checkout-cart-index .cart #co-shipping-method-form .buttons-set { margin-top: 12px; }

/* Reward points */
body.checkout-cart-index .cart .cart-forms .discount-form [style*="258px"] { float: none !important; width: auto !important; }
body.checkout-cart-index .cart .cart-forms .discount-form [style*="dashed"] { color: var(--el-ink, #1d1d1f) !important; font-size: 16px !important; line-height: 1.6; }
body.checkout-cart-index .cart .cart-forms .discount-form [style*="dashed"] .price { color: inherit !important; font-size: inherit !important; }
body.checkout-cart-index .cart .cart-forms .discount-form [style*="dashed"] b { font-weight: 600; }
body.checkout-cart-index .cart #mw_reward_slider_contaner {
    position: relative; width: calc(100% - 96px) !important; height: 24px; margin: 18px 48px 10px !important; padding: 0;
    background: linear-gradient(#e2e2e2, #e2e2e2) 0 50% / 100% 4px no-repeat !important; border-radius: 2px; box-sizing: border-box;
}
body.checkout-cart-index .cart #mw_slider {
    position: absolute; top: 0; width: 24px; height: 24px; min-height: 0; margin: 0; padding: 0; border: 3px solid #fff; border-radius: 50%;
    background: var(--el-brand, #d1045f) !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); box-sizing: border-box; cursor: grab;
}
body.checkout-cart-index .cart #mw_reward_decr_handle,
body.checkout-cart-index .cart #mw_reward_incr_handle {
    position: absolute; top: -10px; float: none; width: 44px; height: 44px; margin: 0; border-radius: 50%; cursor: pointer;
    background: transparent no-repeat 50% 50% / 26px 26px !important;
}
body.checkout-cart-index .cart #mw_reward_decr_handle { left: -48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='12' fill='%23fff' stroke='%231d1d1f' stroke-width='1.5'/%3E%3Cpath d='M8 13h10' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important; }
body.checkout-cart-index .cart #mw_reward_incr_handle { right: -48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='12' fill='%23fff' stroke='%231d1d1f' stroke-width='1.5'/%3E%3Cpath d='M8 13h10M13 8v10' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important; }
body.checkout-cart-index .cart #mw_reward_decr_handle:hover,
body.checkout-cart-index .cart #mw_reward_incr_handle:hover { background-color: var(--el-brand-tint, #fdf0f5) !important; }
body.checkout-cart-index .cart .cart-forms label[for="mw_amount"] { margin-right: 10px; color: var(--el-ink, #1d1d1f); font-size: 16px; }
body.checkout-cart-index .cart #mw_amount {
    width: 120px !important; height: 46px; padding: 0 10px; border: 1px solid #bdbdbd; border-radius: 8px;
    color: var(--el-ink, #1d1d1f) !important; font-size: 16px !important; font-weight: 600 !important; text-align: center;
}
body.checkout-cart-index .cart #mw_use_max_points { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: middle; accent-color: var(--el-brand, #d1045f); }
body.checkout-cart-index .cart label[for="mw_use_max_points"] { padding-left: 0 !important; color: var(--el-ink, #1d1d1f); font-size: 16px; vertical-align: middle; cursor: pointer; }
/* styles.css styles "#co-shipping-method-form .buttons-set .button" by id; match it */
body.checkout-cart-index .cart #co-shipping-method-form .buttons-set .button,
body.checkout-cart-index .cart #shipping-zip-form .buttons-set .button2 { min-height: 46px; height: auto; padding: 0 22px; font-size: 16px; font-weight: 500; text-transform: none; }
/* Destination: Country full width, then State + Zip (the zip was squeezed to 65px between floats) */
body.checkout-cart-index .cart #shipping-zip-form ul.form-list { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; margin: 0; padding: 0; }
body.checkout-cart-index .cart #shipping-zip-form ul.form-list > li { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
body.checkout-cart-index .cart #shipping-zip-form ul.form-list > li.shipping-country { grid-column: 1 / -1; }
body.checkout-cart-index .cart #shipping-zip-form ul.form-list .input-box { width: 100%; }
body.checkout-cart-index .cart #co-shipping-method-form .sp-methods label { align-items: center; }
/* styles.css gives .button2 spans a fixed 30px line box (+ underline, blue hover): let the button centre the text */
body.checkout-cart-index .cart .cart-forms .button2 span,
body.checkout-cart-index .cart .cart-forms .button2 span span,
body.checkout-cart-index .cart .cart-forms .button2 span:hover,
body.checkout-cart-index .cart .cart-forms .button2 span span:hover {
    display: block; height: auto; margin: 0; padding: 0; float: none; line-height: 1.2; color: inherit; text-decoration: none;
}
/* Shipping note above Proceed to checkout (eudora/cart/shipping-note.phtml) */
body.checkout-cart-index .cart .checkout-types li.method-eudora-cart-shipnote { margin: 0 0 12px; padding: 0; list-style: none; background: none; }
body.checkout-cart-index .cart .eudora-cart-shipnote { margin: 0; color: #4a4a4a; font-size: 15px; line-height: 1.5; text-align: left; }
body.checkout-cart-index .cart .eudora-cart-shipnote strong { display: block; color: var(--el-ink, #1d1d1f); font-weight: 500; }
