/* ePharmacy cart, wishlist and checkout pages. CSS-only restyle, scoped to each page's wrapper
   (.shopping-cart-page, .wishlist-page, .checkout-page / .order-confirm-page / .order-completed-page). */

.shopping-cart-page, .wishlist-page, .checkout-page, .order-confirm-page, .order-completed-page{font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink)}
.shopping-cart-page > .generalTitle, .wishlist-page .generalTitle, .checkout-page .generalTitle, .checkout-page h1, .order-confirm-page .generalTitle, .order-completed-page .generalTitle{text-align:left !important;color:var(--ink) !important;font-size:clamp(26px,3vw,34px);font-weight:800 !important;letter-spacing:-.03em;margin:18px 0 6px !important;border:0}
.shopping-cart-page > .generalTitle::after, .checkout-page .generalTitle::after{display:none}

/* items table as a glass card */
.shopping-cart-page .shopping-cart-container, .wishlist-page .wishlist-content > form > div:first-child, .wishlist-page .table-responsive{border-radius:24px;overflow:hidden;background:rgba(255,255,255,.82);border:1px solid rgba(255,255,255,.95);box-shadow:var(--shadow)}
.shopping-cart-page table.shopping-cart, .wishlist-page table.cart{margin:0;font-size:14.5px}
.shopping-cart-page table.shopping-cart thead th, .wishlist-page table.cart thead th{background:transparent !important;color:var(--muted) !important;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border:0;border-bottom:1px solid var(--line);padding:14px 12px}
.shopping-cart-page table.shopping-cart td, .wishlist-page table.cart td{vertical-align:middle;border-top:1px solid var(--line);padding:14px 12px;background:transparent}
.shopping-cart-page .product-picture img, .wishlist-page .product-picture img{width:64px;height:64px;object-fit:contain;padding:6px;border-radius:14px;background:#f6f8fa}
.shopping-cart-page .product-name, .wishlist-page .product-name{font-weight:700;color:var(--ink) !important;text-decoration:none}
.shopping-cart-page .product-name:hover, .wishlist-page .product-name:hover{color:var(--brand-600) !important}
.shopping-cart-page .product-unit-price, .wishlist-page .product-unit-price{color:var(--muted);font-weight:600}
.shopping-cart-page .prod-total, .wishlist-page .product-subtotal{font-weight:800;color:var(--ink) !important}
.shopping-cart-page .qty-input, .wishlist-page .qty-input{width:72px;height:42px;margin:0 auto;border-radius:12px;border:1.5px solid var(--line);font-weight:700}
.shopping-cart-page .qty-input:focus, .wishlist-page .qty-input:focus{border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-50)}
.shopping-cart-page .deleteshoppingcartitem{width:38px;height:38px;border-radius:12px;color:#94a3b8 !important;display:inline-grid;place-items:center}
.shopping-cart-page .deleteshoppingcartitem:hover{background:#fff1f2;color:#be123c !important}

/* buttons under the table */
.shopping-cart-page .btn-danger, .shopping-cart-page .btn-outline-success, .shopping-cart-page .continue-shopping-button, .shopping-cart-page .update-cart-button{border-radius:12px;font-weight:700;padding:9px 16px}
.shopping-cart-page .btn-danger{background:#fff;color:#be123c;border:1.5px solid #fecdd3}
.shopping-cart-page .btn-danger:hover{background:#fff1f2}
.shopping-cart-page .btn-outline-success{background:#fff;color:var(--ink);border:1.5px solid var(--line)}
.shopping-cart-page .btn-outline-success:hover{border-color:var(--brand);color:var(--brand-600);background:var(--brand-50)}

/* prescription upload / checkout attributes */
.shopping-cart-page .cart-options{margin-top:16px;padding:18px;border-radius:20px;background:rgba(255,247,237,.9);border:1px solid #fed7aa}
.shopping-cart-page .cart-options .text-prompt{font-weight:800;color:#9a3412;padding:0}
.shopping-cart-page .cart-options .custom-file-label{border-radius:12px;border:1.5px dashed #fdba74;background:#fff}

/* summary panel */
.shopping-cart-page .cart-footer{padding:20px;border-radius:24px;--glass-fill:rgba(255,255,255,.8);background:linear-gradient(var(--glass-fill),var(--glass-fill)) padding-box,var(--glass-rim) border-box !important;border:1px solid transparent !important;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:var(--glass-shadow)}
.shopping-cart-page .cart-footer .table{margin:0}
.shopping-cart-page .cart-footer .table tr{border:0}
.shopping-cart-page .cart-footer .table td{border:0;padding:8px 0;font-size:14.5px;background:transparent !important}
.shopping-cart-page .cart-footer .cart-total-left{color:var(--muted)}
.shopping-cart-page .cart-footer .cart-total-right{font-weight:700;color:var(--ink)}
.shopping-cart-page .cart-footer .order-total td{border-top:1px solid var(--line);padding-top:12px;font-size:17px;font-weight:800;color:var(--ink)}
.shopping-cart-page .cart-footer .alert-info{border:0;border-radius:14px;background:var(--brand-50);color:#14532d;font-size:13.5px;font-weight:600;padding:12px 14px}
.shopping-cart-page .cart-footer .card{border:0;background:transparent}
.shopping-cart-page .cart-footer .card-header{background:transparent;border:0;padding:0 !important}
.shopping-cart-page .cart-footer .coupon-button{border-radius:12px;background:#fff;border:1.5px solid var(--line);font-weight:700;text-align:left;padding:10px 14px}
.shopping-cart-page .cart-footer .card-body{padding:12px 0 4px}
.shopping-cart-page .cart-footer .form-control{border-radius:12px 0 0 12px;border:1.5px solid var(--line);height:44px}
.shopping-cart-page .cart-footer .apply-discount-coupon-code-button{border-radius:0 12px 12px 0;background:var(--brand);border:0;font-weight:700}
.shopping-cart-page .cart-footer .checkout-button, .shopping-cart-page .cart-footer [name="checkout"], .shopping-cart-page .cart-footer .btn-info, .shopping-cart-page .cart-footer .btn-success.btn-block{width:100%;height:50px;border-radius:14px;border:0;font-weight:800;font-size:15.5px;background:var(--brand) !important;color:#fff !important;box-shadow:0 8px 20px rgba(15,157,88,.28)}
.shopping-cart-page .cart-footer .checkout-button:hover{background:var(--brand-600) !important}
.shopping-cart-page .cart-footer .terms-of-service{font-size:13px;color:var(--muted)}

/* checkout */
.checkout-page .card, .order-confirm-page .card, .order-completed-page .card{border:1px solid rgba(255,255,255,.95);border-radius:22px;background:rgba(255,255,255,.82);box-shadow:var(--shadow);overflow:hidden}
.checkout-page .card-header, .order-confirm-page .card-header{background:transparent;border-bottom:1px solid var(--line);font-weight:800;font-size:16px;padding:16px 20px}
.checkout-page .card-body, .order-confirm-page .card-body{padding:20px}
.checkout-page .form-control, .checkout-page .custom-select{border-radius:12px;border:1.5px solid var(--line);min-height:46px}
.checkout-page .form-control:focus, .checkout-page .custom-select:focus{border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-50)}
.checkout-page label, .checkout-page .col-form-label{font-weight:600;font-size:13.5px;color:#334155}
.checkout-page .btn-success, .checkout-page .btn-info, .checkout-page .btn-primary, .checkout-page .new-address-next-step-button, .checkout-page [class*="next-step-button"], .order-confirm-page .confirm-order-next-step-button{border-radius:14px;border:0;padding:12px 24px;font-weight:800;background:var(--brand) !important;color:#fff !important;box-shadow:0 8px 20px rgba(15,157,88,.28)}
.checkout-page .btn-outline-success, .checkout-page .btn-secondary{border-radius:14px;font-weight:700;background:#fff;color:var(--ink);border:1.5px solid var(--line)}
.checkout-page .custom-control-label{font-weight:600}
.checkout-page .custom-radio .custom-control-input:checked ~ .custom-control-label::before, .checkout-page .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before{background:var(--brand);border-color:var(--brand)}
.checkout-page .nav-pills .nav-link, .checkout-page .opc .tab-title{border-radius:12px;font-weight:700}
.checkout-page .nav-pills .nav-link.active{background:var(--navy)}
.order-completed-page .order-number, .order-completed-page strong{color:var(--brand-600)}

@media (max-width:767.98px){
  /* cart rows become cards */
  .shopping-cart-page table.shopping-cart thead{display:none}
  .shopping-cart-page table.shopping-cart, .shopping-cart-page table.shopping-cart tbody{display:block}
  .shopping-cart-page table.shopping-cart tr{display:grid !important;grid-template-columns:auto 64px minmax(0,1fr) auto;grid-template-areas:"hold pic name rm" "hold pic price qty" "hold pic total qty";column-gap:12px;row-gap:2px;align-items:center;padding:14px;border-top:1px solid var(--line)}
  .shopping-cart-page table.shopping-cart tr:first-child{border-top:0}
  .shopping-cart-page table.shopping-cart td{display:block !important;width:auto !important;border:0 !important;padding:0 !important;text-align:left !important}
  .shopping-cart-page table.shopping-cart td::before, .shopping-cart-page table.shopping-cart td::after{display:none !important}
  .shopping-cart-page td.onhold-cart .custom-switch{padding-left:2.25rem !important}
  .shopping-cart-page td.onhold-cart .custom-control-label{margin:0 !important}
  .shopping-cart-page td.onhold-cart{grid-area:hold}
  .shopping-cart-page td.product-picture{grid-area:pic}
  .shopping-cart-page td.product{grid-area:name;font-size:14px}
  .shopping-cart-page td.unit-price{grid-area:price;font-size:13px}
  .shopping-cart-page td.quantity{grid-area:qty}
  .shopping-cart-page td.subtotal{grid-area:total}
  .shopping-cart-page td.remove-from-cart{grid-area:rm;text-align:right !important}
  .shopping-cart-page td.quantity, .shopping-cart-page td.quantity .qty-input{margin:0 !important}
  .shopping-cart-page .qty-input{width:60px;height:38px}
  .shopping-cart-page .cart-footer{margin-top:8px}
}

/* ===== ePharmacy cart page (ShoppingCart/_EpCart.cshtml, design: pages/cart.html) ===== */
.ep-cart-page{padding:14px 0 40px;font-family:"Plus Jakarta Sans",system-ui,sans-serif;color:var(--ink)}
.ep-cart-page .ep-cart-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:6px 0 18px}
.ep-cart-page .ep-cart-head h1{font-size:clamp(28px,3vw,36px);font-weight:800;letter-spacing:-.035em;line-height:1.1;margin:0;color:var(--ink)}
.ep-cart-page .ep-cart-head p{margin:6px 0 0;color:var(--muted);font-size:14.5px}
.ep-cart-page .ep-cart-back{font-size:14px;font-weight:700;color:var(--brand-600)}
.ep-cart-page .ep-steps{display:flex;align-items:center;gap:10px;padding:12px 18px;border-radius:999px;margin-bottom:22px;overflow-x:auto;scrollbar-width:none;--glass-fill:rgba(255,255,255,.7);background:linear-gradient(var(--glass-fill),var(--glass-fill)) padding-box,var(--glass-rim) border-box;border:1px solid transparent;box-shadow:var(--glass-shadow)}
.ep-cart-page .ep-steps::-webkit-scrollbar{display:none}
.ep-cart-page .st{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.ep-cart-page .st i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;background:rgba(15,23,42,.07)}
.ep-cart-page .st.on{color:var(--ink)}
.ep-cart-page .st.on i{background:var(--brand);color:#fff;box-shadow:0 4px 12px rgba(15,157,88,.35)}
.ep-cart-page .st-line{flex:1;min-width:24px;height:2px;border-radius:2px;background:rgba(15,23,42,.1)}
.ep-cart-page .ep-cart-warn{list-style:none;margin:0 0 16px;padding:12px 16px;border-radius:16px;background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;font-size:14px}
.ep-cart-page .ep-cart-grid{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:start}
.ep-cart-page .ep-cart-items, .ep-cart-page .ep-cart-summary, .ep-cart-page .ep-cart-estimate .shipping, .ep-cart-page .ep-cart-attrs:not(:empty){--glass-fill:rgba(255,255,255,.75);background:linear-gradient(var(--glass-fill),var(--glass-fill)) padding-box,var(--glass-rim) border-box;border:1px solid transparent;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:var(--glass-shadow);border-radius:24px}
.ep-cart-page .ep-cart-items{padding:6px 22px}
.ep-cart-page .ep-items-head{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid rgba(15,23,42,.07)}
.ep-cart-page .ep-items-head b{font-size:16px}
.ep-cart-page .ep-clear{font-size:13.5px;font-weight:700;color:var(--muted)}
.ep-cart-page .ep-clear:hover{color:#be123c}
.ep-cart-page .ep-line{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:18px;padding:20px 0;border-bottom:1px solid rgba(15,23,42,.07);align-items:center}
.ep-cart-page .ep-line:last-child{border-bottom:0}
.ep-cart-page .ep-line.on-hold{opacity:.65}
.ep-cart-page .ep-line .pic{width:96px;height:96px;border-radius:18px;background:#f6f8fa;display:grid;place-items:center;overflow:hidden}
.ep-cart-page .ep-line .pic img{width:84%;height:84%;object-fit:contain;mix-blend-mode:multiply}
.ep-cart-page .ep-line h3{font-size:15.5px;font-weight:600;line-height:1.35;margin:0}
.ep-cart-page .ep-line h3 a{color:var(--ink)}
.ep-cart-page .ep-line h3 a:hover{color:var(--brand-600)}
.ep-cart-page .ep-line .attrs{font-size:12.5px;color:var(--muted);margin-top:4px}
.ep-cart-page .ep-line .meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px;font-size:12.5px;color:var(--muted)}
.ep-cart-page .ep-line .meta:empty{display:none}
.ep-cart-page .ep-line .tag-hold{background:rgba(15,23,42,.06);color:#475569;font-weight:700;font-size:11.5px;padding:3px 8px;border-radius:7px}
.ep-cart-page .ep-line .unit{margin-top:8px;font-size:14px;color:#334155}
.ep-cart-page .ep-line .unit s{color:var(--muted);margin-left:6px;font-size:12.5px}
.ep-cart-page .ep-line .item-warn{margin-top:8px;padding:8px 10px;border-radius:10px;background:#fff1f2;color:#9f1239;font-size:12.5px}
.ep-cart-page .ep-line .acts{display:flex;gap:14px;margin-top:10px;font-size:13px;font-weight:600}
.ep-cart-page .ep-line .acts button, .ep-cart-page .ep-line .acts a{padding:0;border:0;background:none;color:var(--muted);font:inherit;cursor:pointer}
.ep-cart-page .ep-line .acts .del:hover{color:#be123c}
.ep-cart-page .ep-line .acts .save:hover, .ep-cart-page .ep-line .acts a:hover{color:var(--brand-600)}
.ep-cart-page .ep-line .right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.ep-cart-page .ep-line .tot{font-size:18px;font-weight:800;letter-spacing:-.02em}
.ep-cart-page .ep-line .save-line{font-size:12px;font-weight:700;color:var(--brand-600)}
.ep-cart-page .qty{display:inline-flex;align-items:center;height:42px;border-radius:12px;border:1.5px solid rgba(15,23,42,.12);background:#fff;overflow:hidden}
.ep-cart-page .qty button{width:38px;height:100%;border:0;background:none;font-size:18px;font-weight:600;color:var(--ink);cursor:pointer}
.ep-cart-page .qty button:hover{background:var(--brand-50);color:var(--brand-600)}
.ep-cart-page .qty input{width:44px;height:100%;border:0;text-align:center;font-weight:700;font-size:15px;color:var(--ink);background:none;-moz-appearance:textfield}
.ep-cart-page .qty input::-webkit-outer-spin-button, .ep-cart-page .qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ep-cart-page .qty-dropdown{height:42px;min-width:76px;border-radius:12px;border:1.5px solid rgba(15,23,42,.12);padding:0 10px;font-weight:700;background:#fff}
.ep-cart-page .qty-ro{font-size:13.5px;color:var(--muted);font-weight:600}
/* left extras */
.ep-cart-page .ep-cart-attrs:not(:empty){margin-top:16px;padding:16px 20px}
.ep-cart-page .ep-cart-attrinfo{margin-top:10px;font-size:13px;color:var(--muted);text-align:right}
.ep-cart-page .ep-cart-taxinfo{margin-top:12px;font-size:12.5px;color:var(--muted)}
.ep-cart-page .ep-cart-estimate:empty{display:none}
.ep-cart-page .ep-cart-estimate .shipping{margin-top:16px;padding:18px 20px}
.ep-cart-page .ep-cart-estimate .title strong{font-size:15px}
.ep-cart-page .ep-cart-estimate .hint{font-size:13px;color:var(--muted);margin:4px 0 12px}
.ep-cart-page .ep-cart-estimate .estimate-shipping{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end}
.ep-cart-page .ep-cart-estimate .estimate-shipping > .title, .ep-cart-page .ep-cart-estimate .estimate-shipping > .hint{grid-column:1/-1}
.ep-cart-page .ep-cart-estimate .form-group, .ep-cart-page .ep-cart-estimate .shipping-options{margin:0}
.ep-cart-page .ep-cart-estimate label{font-size:12.5px;font-weight:600;color:var(--muted)}
.ep-cart-page .ep-cart-estimate .form-control{height:42px;border-radius:12px;border:1.5px solid rgba(15,23,42,.12)}
.ep-cart-page .ep-cart-estimate .estimate-shipping-button{height:42px;padding:0 16px;border-radius:12px !important;border:0;background:var(--navy) !important;color:#fff !important;font-weight:700;font-size:13.5px}
/* summary */
.ep-cart-page .ep-cart-summary{position:sticky;top:calc(var(--hh,140px) + 16px);padding:22px}
.ep-cart-page .ep-cart-summary h2{font-size:19px;font-weight:800;letter-spacing:-.02em;margin:0 0 14px}
.ep-cart-page .ep-sum .row-s{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;font-size:14px;color:#334155}
.ep-cart-page .ep-sum .row-s b{font-weight:700;color:var(--ink);text-align:right}
.ep-cart-page .ep-sum .row-s small{color:var(--muted);font-weight:500;font-size:12.5px}
.ep-cart-page .ep-sum .row-s.disc span, .ep-cart-page .ep-sum .row-s.disc b{color:var(--brand-600)}
.ep-cart-page .ep-sum .row-s.total{margin-top:6px;padding-top:14px;border-top:1px solid rgba(15,23,42,.08);font-size:16px;font-weight:800;color:var(--ink)}
.ep-cart-page .ep-sum .row-s.total b{font-size:22px;letter-spacing:-.02em}
.ep-cart-page .ep-sum .gc-x{border:0;background:rgba(15,23,42,.06);border-radius:6px;width:22px;height:22px;margin-left:4px;cursor:pointer}
.ep-cart-page .coupon-f{display:flex;gap:8px;margin:14px 0 6px}
.ep-cart-page .coupon-f input{flex:1;min-width:0;height:44px;padding:0 14px;border-radius:12px;border:1.5px solid rgba(15,23,42,.12);background:#fff;font-size:14px}
.ep-cart-page .coupon-f input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-50)}
.ep-cart-page .coupon-f button{height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--navy);color:#fff;font-weight:700;font-size:14px;cursor:pointer}
.ep-cart-page .coupon-msg{font-size:12.5px;font-weight:600;margin-bottom:4px}
.ep-cart-page .coupon-msg.ok{color:#047857}
.ep-cart-page .coupon-msg.bad{color:#be123c}
.ep-cart-page .coupon-on{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;margin-top:6px;border-radius:12px;background:var(--brand-50);font-size:13px;color:var(--brand-600)}
.ep-cart-page .coupon-on button{border:0;background:none;color:#be123c;font-weight:700;font-size:12.5px;cursor:pointer}
.ep-cart-page .ep-gift{margin-top:6px;font-size:13.5px}
.ep-cart-page .ep-gift summary{cursor:pointer;color:var(--brand-600);font-weight:700;list-style:none}
.ep-cart-page .ep-gift summary::-webkit-details-marker{display:none}
.ep-cart-page .ep-gift summary::after{content:" +"}
.ep-cart-page .ep-gift[open] summary::after{content:" −"}
.ep-cart-page .pts-box{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,rgba(15,157,88,.12),rgba(92,240,165,.18));margin:14px 0 4px;font-size:13.5px;color:#334155}
.ep-cart-page .pts-box .coin{width:38px;height:38px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#7ff0b8,var(--brand));color:#fff;display:grid;place-items:center;font-weight:800;flex-shrink:0}
.ep-cart-page .pts-box b{display:block;font-size:14.5px;color:var(--ink)}
.ep-cart-page .ep-cart-alert{margin-top:12px;padding:10px 12px;border-radius:12px;font-size:13px;font-weight:600}
.ep-cart-page .ep-cart-alert.bad{background:#fff1f2;color:#9f1239}
.ep-cart-page .ep-cart-alert.info{background:#eff6ff;color:#1e3a8a}
.ep-cart-page .checkout-buttons{display:grid;gap:8px;margin-top:16px}
.ep-cart-page .checkout-button.btn{width:100%;height:52px;border:0;border-radius:14px !important;background:var(--brand) !important;color:#fff !important;font-weight:800;font-size:15.5px;box-shadow:0 10px 24px rgba(15,157,88,.3)}
.ep-cart-page .checkout-button.btn:hover{background:var(--brand-600) !important}
.ep-cart-page .checkout-as-guest-button.btn{width:100%;height:46px;border-radius:14px !important;border:1.5px solid rgba(15,23,42,.12) !important;background:#fff !important;color:var(--ink) !important;font-weight:700}
.ep-cart-page .guest{font-size:13px;color:var(--muted);text-align:center;margin:4px 0 0}
.ep-cart-page .guest a{color:var(--brand-600);font-weight:700}
.ep-cart-page .pay-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px;justify-content:center}
.ep-cart-page .pay-row span{font-size:11.5px;font-weight:700;color:#475569;border:1px solid rgba(15,23,42,.1);border-radius:8px;padding:4px 8px;background:rgba(255,255,255,.7)}
.ep-cart-page .assure{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(15,23,42,.07)}
.ep-cart-page .assure div{display:flex;gap:10px;font-size:13px;color:#334155;align-items:flex-start}
.ep-cart-page .assure div span:first-child{width:28px;height:28px;border-radius:9px;background:var(--brand-50);color:var(--brand-600);display:grid;place-items:center;flex-shrink:0;font-size:14px}
.ep-cart-page .assure b{display:block;font-size:13.5px;color:var(--ink)}
.ep-cart-page .ep-cart-cross{margin-top:48px}
.ep-cart-page .ep-cart-cross .ep-pd-sec{margin:0}
/* empty cart */
.ep-cart-page .ep-cart-empty{max-width:560px;margin:30px auto;padding:40px 28px;text-align:center;border-radius:28px;--glass-fill:rgba(255,255,255,.75);background:linear-gradient(var(--glass-fill),var(--glass-fill)) padding-box,var(--glass-rim) border-box;border:1px solid transparent;box-shadow:var(--glass-shadow)}
.ep-cart-page .ep-cart-empty .ic{width:84px;height:84px;margin:0 auto 16px;border-radius:26px;display:grid;place-items:center;background:var(--brand-50);color:var(--brand-600)}
.ep-cart-page .ep-cart-empty :is(h1,h2){font-size:26px;font-weight:800;letter-spacing:-.03em;margin:0 0 8px}
.ep-cart-page .ep-cart-empty p{color:var(--muted);font-size:14.5px;line-height:1.6;margin:0 0 20px}
.ep-cart-page .ep-cart-empty .act{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.ep-cart-page .ep-cart-empty .btn-brand, .ep-cart-page .ep-cart-empty .btn-line{display:inline-flex;align-items:center;height:46px;padding:0 20px;border-radius:14px;font-weight:700;font-size:14.5px}
.ep-cart-page .ep-cart-empty .btn-brand{background:var(--brand);color:#fff}
.ep-cart-page .ep-cart-empty .btn-line{background:#fff;border:1.5px solid rgba(15,23,42,.12);color:var(--ink)}
@media (max-width:1199.98px){
  .ep-cart-page .ep-cart-grid{grid-template-columns:1fr}
  .ep-cart-page .ep-cart-summary{position:static}
}
@media (max-width:767.98px){
  .ep-cart-page .ep-cart-items{padding:4px 14px}
  .ep-cart-page .ep-line{grid-template-columns:76px minmax(0,1fr);gap:12px}
  .ep-cart-page .ep-line .pic{width:76px;height:76px}
  .ep-cart-page .ep-line .right{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}
  .ep-cart-page .ep-cart-estimate .estimate-shipping{grid-template-columns:1fr}
  .ep-cart-page .ep-steps{border-radius:18px}
}
/* checkout attributes card; the prescription upload (a file attribute) looks like the design's Rx note */
.ep-cart-page .ep-cart-attrs .checkout-attributes > div{margin:0 !important}
.ep-cart-page .ep-cart-attrs .text-prompt{display:block;padding:0 0 8px !important;font-size:15px;font-weight:800;color:var(--ink)}
.ep-cart-page .ep-cart-attrs:has(input[type=file]){background:#fff7ed !important;border:1px solid #fed7aa !important;box-shadow:none !important;position:relative;padding-left:66px !important}
.ep-cart-page .ep-cart-attrs:has(input[type=file])::before{content:"Rx";position:absolute;left:18px;top:18px;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--accent);color:#fff;font-weight:800;font-size:13px}
.ep-cart-page .ep-cart-attrs:has(input[type=file]) .text-prompt{color:#7c2d12}
.ep-cart-page .ep-cart-attrs .custom-file{height:46px}
.ep-cart-page .ep-cart-attrs .custom-file-label{height:46px;display:flex;align-items:center;border-radius:12px;border:1.5px dashed #fdba74;background:#fff;color:#9a3412;font-size:13.5px;padding:0 14px}
.ep-cart-page .ep-cart-attrs .custom-file-label::after{height:auto;top:6px;bottom:6px;right:6px;display:flex;align-items:center;border-radius:9px;border:0;background:var(--accent);color:#fff;font-weight:700;font-size:13px;content:"Upload"}
.ep-cart-page .ep-cart-attrs .form-control, .ep-cart-page .ep-cart-attrs .custom-select{height:44px;border-radius:12px;border:1.5px solid rgba(15,23,42,.12)}
/* tick box per item: ticked = buy now, unticked = stays in the cart for later (GrandNode "on hold") */
.ep-cart-page .ep-line.has-pick{grid-template-columns:24px 96px minmax(0,1fr) auto}
.ep-cart-page .ep-line .pick{position:relative;width:24px;height:24px;margin:0;cursor:pointer}
.ep-cart-page .ep-line .pick input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer;z-index:1}
.ep-cart-page .ep-line .pick i{position:absolute;inset:0;border-radius:7px;border:2px solid rgba(15,23,42,.25);background:#fff;transition:background .15s,border-color .15s}
.ep-cart-page .ep-line .pick input:checked + i{background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;border-color:var(--brand)}
.ep-cart-page .ep-line .pick input:focus-visible + i{box-shadow:0 0 0 4px var(--brand-50)}
.ep-cart-page .ep-items-head .pick-note{font-size:12.5px;font-weight:500;color:var(--muted)}
.ep-cart-page .ep-line .tot{white-space:nowrap}
@media (max-width:767.98px){
  .ep-cart-page .ep-line.has-pick{grid-template-columns:22px 68px minmax(0,1fr)}
  .ep-cart-page .ep-line.has-pick .pic{width:68px;height:68px}
  .ep-cart-page .ep-line.has-pick .right{grid-column:2/-1}
  .ep-cart-page .ep-line .right{gap:10px}
  .ep-cart-page .ep-line .save-line{display:none}
}

/* ===== ePharmacy one-page checkout (Checkout/OnePageCheckout.cshtml, design: pages/checkout.html) ===== */
.ep-co{padding:10px 0 40px}
.ep-co .ep-co-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:6px 0 20px}
.ep-co .ep-co-head h1{font-size:clamp(28px,3vw,36px) !important;font-weight:800 !important;letter-spacing:-.035em;margin:0 !important;color:var(--ink) !important}
.ep-co .ep-co-head p{margin:6px 0 0;color:var(--muted);font-size:14.5px}
.ep-co .ep-co-back{font-size:14px;font-weight:700;color:var(--brand-600)}
/* steps as glass cards with a numbered header */
.ep-co .opc > .card{margin:0 0 16px !important;border:1px solid transparent !important;border-radius:24px !important;--glass-fill:rgba(255,255,255,.75);background:linear-gradient(var(--glass-fill),var(--glass-fill)) padding-box,var(--glass-rim) border-box !important;-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:var(--glass-shadow);overflow:visible}
.ep-co .opc > .card > .card-header{padding:0 !important;border:0 !important;background:none !important}
.ep-co .opc > .card > .card-header .btn{display:flex !important;align-items:center;gap:14px;width:100%;padding:18px 22px !important;border:0 !important;border-radius:24px !important;background:none !important;box-shadow:none !important;color:var(--ink) !important;font-size:17px;font-weight:800;letter-spacing:-.01em;text-align:left}
.ep-co .opc > .card > .card-header .btn .n{width:34px;height:34px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-size:14px;font-weight:800;background:rgba(15,23,42,.07);color:var(--muted)}
.ep-co .opc > .card > .card-header .btn.not-collapsed .n, .ep-co .opc > .card.active > .card-header .btn .n{background:var(--navy);color:#fff}
.ep-co .opc > .card > .card-header .btn.allow .n{background:var(--brand);color:#fff}
.ep-co .opc > .card > .card-header .btn.collapsed{color:#475569 !important}
.ep-co .opc > .card > .card-header .btn:focus{box-shadow:0 0 0 4px var(--brand-50) !important}
.ep-co .opc > .card .card-body{padding:0 22px 22px !important}
/* fields */
.ep-co .checkout-page label, .ep-co label, .ep-co .col-form-label{font-size:13px;font-weight:600;color:#334155}
.ep-co .form-control, .ep-co .custom-select, .ep-co textarea{min-height:46px;border-radius:12px !important;border:1.5px solid rgba(15,23,42,.12) !important;font-size:14.5px;box-shadow:none}
.ep-co .form-control:focus, .ep-co .custom-select:focus, .ep-co textarea:focus{border-color:var(--brand) !important;box-shadow:0 0 0 4px var(--brand-50) !important}
.ep-co textarea#OrderNote{min-height:96px;padding:12px 14px}
.ep-co .select-billing-address, .ep-co .select-shipping-address{margin-bottom:14px}
.ep-co .ship-to-same-address{margin:0 0 14px;padding:12px 14px;border-radius:14px;background:var(--brand-50)}
.ep-co .ship-to-same-address p{margin:0}
.ep-co .custom-control-label::before{border-radius:6px;border:1.5px solid rgba(15,23,42,.25)}
.ep-co .custom-radio .custom-control-label::before{border-radius:50%}
.ep-co .custom-control-input:checked ~ .custom-control-label::before{background:var(--brand) !important;border-color:var(--brand) !important}
/* shipping and payment methods as option cards */
.ep-co .method-list{display:grid;gap:10px;margin:0;list-style:none}
.ep-co .method-list > li, .ep-co #payment-method-block > .method-name{margin:0 0 10px;padding:14px 16px;border-radius:16px;background:#fff;border:1.5px solid rgba(15,23,42,.1);transition:border-color .15s,box-shadow .15s}
.ep-co .method-list > li:has(input:checked), .ep-co #payment-method-block > .method-name:has(input:checked){border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-50)}
.ep-co .method-list .custom-control, .ep-co #payment-method-block .custom-control{margin:0;min-height:24px}
.ep-co .method-list .custom-control-description, .ep-co #payment-method-block .custom-control-description{font-size:14.5px;font-weight:700;color:var(--ink)}
.ep-co .method-list .custom-control-description span{display:block;font-weight:500;font-size:13px;color:var(--muted)}
.ep-co #payment-method-block img{max-height:28px;margin:0 8px 0 4px}
.ep-co .use-reward-points{margin:0 0 12px;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,rgba(15,157,88,.10),rgba(92,240,165,.16))}
/* buttons */
.ep-co .buttons, .ep-co #confirm-order-buttons-container{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;margin:16px 0 0 !important;padding:0 !important}
.ep-co .btn-success, .ep-co [class*="next-step-button"], .ep-co .confirm-order-next-step-button{height:48px;padding:0 26px !important;border:0 !important;border-radius:14px !important;background:var(--brand) !important;color:#fff !important;font-weight:800;font-size:15px;box-shadow:0 8px 20px rgba(15,157,88,.28)}
.ep-co .btn-success:hover, .ep-co [class*="next-step-button"]:hover{background:var(--brand-600) !important}
.ep-co .btn-warning{height:48px;padding:0 20px !important;display:inline-flex;align-items:center;border-radius:14px !important;border:1.5px solid rgba(15,23,42,.12) !important;background:#fff !important;color:var(--ink) !important;font-weight:700;box-shadow:none}
.ep-co .opc > .card > .card-header .btn.btn-success{height:auto;box-shadow:none !important;background:none !important;color:var(--ink) !important}
.ep-co .please-wait{font-size:13px;color:var(--muted)}
.ep-co .message-error, .ep-co .alert-danger{border-radius:14px}
/* right column: order summary */
.ep-co .opc-totals{position:sticky;top:calc(var(--hh,140px) + 16px);padding:22px;border-radius:24px;--glass-fill:rgba(255,255,255,.75);background:linear-gradient(var(--glass-fill),var(--glass-fill)) padding-box,var(--glass-rim) border-box;border:1px solid transparent;box-shadow:var(--glass-shadow)}
.ep-co .ep-co-sum-h{font-size:19px;font-weight:800;letter-spacing:-.02em;margin:0 0 10px}
.ep-co .opc-totals .total-info{margin:0}
.ep-co .opc-totals table{margin:0;background:none}
.ep-co .opc-totals tr{display:flex !important;justify-content:space-between;align-items:baseline;gap:12px;padding:0 !important;margin:0 !important;background:none !important}
.ep-co .opc-totals tr:hover{background:none !important}
.ep-co .opc-totals td{flex:1 1 auto !important;max-width:none !important;width:auto !important;padding:7px 0 !important;border:0 !important;font-size:14px;color:#334155}
.ep-co .opc-totals td.cart-total-right{text-align:right;font-weight:700;color:var(--ink)}
.ep-co .opc-totals .order-subtotal-discount td, .ep-co .opc-totals .discount-total td{color:var(--brand-600)}
.ep-co .opc-totals .order-total td{padding-top:14px !important;margin-top:6px;border-top:1px solid rgba(15,23,42,.08) !important;font-size:16px;font-weight:800;color:var(--ink)}
.ep-co .opc-totals .order-total td.cart-total-right{font-size:22px;letter-spacing:-.02em}
.ep-co .opc-totals .earn-reward-points td{margin-top:8px;padding:10px 12px !important;font-size:13px;background:linear-gradient(135deg,rgba(15,157,88,.10),rgba(92,240,165,.16))}
.ep-co .opc-totals .earn-reward-points td:first-child{border-radius:12px 0 0 12px}
.ep-co .opc-totals .earn-reward-points td:last-child{border-radius:0 12px 12px 0;color:var(--brand-600)}
.ep-co .ep-co-pay{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px;justify-content:center}
.ep-co .ep-co-pay span{font-size:11.5px;font-weight:700;color:#475569;border:1px solid rgba(15,23,42,.1);border-radius:8px;padding:4px 8px;background:rgba(255,255,255,.7)}
.ep-co .ep-co-assure{display:grid;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(15,23,42,.07)}
.ep-co .ep-co-assure div{display:flex;gap:10px;font-size:13px;color:#334155;align-items:flex-start}
.ep-co .ep-co-assure div span:first-child{width:28px;height:28px;border-radius:9px;background:var(--brand-50);color:var(--brand-600);display:grid;place-items:center;flex-shrink:0;font-size:14px}
.ep-co .ep-co-assure b{display:block;font-size:13.5px;color:var(--ink)}
@media (max-width:767.98px){
  .ep-co .opc > .card > .card-header .btn{padding:16px !important;font-size:16px}
  .ep-co .opc > .card .card-body{padding:0 16px 16px !important}
  .ep-co .buttons{justify-content:stretch}
  .ep-co .buttons .btn, .ep-co .buttons input{flex:1}
}
/* checkout like the design: every section open and stacked (no accordion). Sections fill in as the step above is
   saved with its own Continue button (GrandNode's flow is unchanged); a section not reached yet is faded with a hint. */
.ep-co .opc > .card > .collapse{display:block !important;height:auto !important;visibility:visible !important}
.ep-co .opc > .card > .card-header .btn{pointer-events:none;cursor:default}
.ep-co .opc > .card:not(:has(.checkout-data, .payment-method)){opacity:.6}
.ep-co .opc > .card:not(:has(.checkout-data, .payment-method)) .buttons,
.ep-co .opc > .card:not(:has(.checkout-data, .payment-method)) #confirm-order-buttons-container{display:none !important}
.ep-co .opc > .card:not(:has(.checkout-data, .payment-method)) .card-body::before{content:"Complete the step above to continue.";display:block;font-size:13.5px;color:var(--muted);padding:0 0 2px 48px}
.ep-co .opc > .card:has(.checkout-data, .payment-method) > .card-header .btn .n{background:var(--brand);color:#fff}
.ep-co .opc > .card.active{box-shadow:var(--glass-shadow),0 0 0 2px rgba(15,157,88,.35)}
/* checkout like the design, part 2: address cards, choices save themselves, one Place order in the summary */
.ep-co .opc > .card:not(:has(.checkout-data, .payment-method)){display:none !important}
.ep-co .opc > .card.ep-auto{display:none !important}
.ep-co .opc > .card{opacity:1 !important}
/* section headers: green tick once filled */
.ep-co .opc > .card:has(.checkout-data, .payment-method) > .card-header .btn .n{font-size:0}
.ep-co .opc > .card:has(.checkout-data, .payment-method) > .card-header .btn .n::before{content:"✓";font-size:15px}
/* address cards (GrandNode's dropdown stays, hidden) */
.ep-co #billing-address-select{position:absolute !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none}
.ep-co .select-billing-address label{display:block;font-size:13px;color:var(--muted);margin-bottom:10px}
.ep-co .ep-addr-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ep-co .ep-addr{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:16px 16px 16px 46px;border-radius:16px;background:#fff;border:1.5px solid rgba(15,23,42,.1);font:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.ep-co .ep-addr i{position:absolute;left:16px;top:18px;width:18px;height:18px;border-radius:50%;border:2px solid rgba(15,23,42,.25)}
.ep-co .ep-addr b{font-size:14.5px;color:var(--ink)}
.ep-co .ep-addr span{font-size:13px;line-height:1.5;color:var(--muted)}
.ep-co .ep-addr:hover{border-color:rgba(15,157,88,.45)}
.ep-co .ep-addr.on{border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-50)}
.ep-co .ep-addr.on i{border:5px solid var(--brand)}
.ep-co .ep-addr-new{align-items:center;justify-content:center;padding:16px;border-style:dashed;background:rgba(255,255,255,.6)}
.ep-co .ep-addr-new b{color:var(--brand-600)}
/* the step buttons are pressed by checkout.js; the address form keeps its Save button */
.ep-co #shipping-method-buttons-container, .ep-co #payment-method-buttons-container, .ep-co #payment-info-buttons-container, .ep-co #confirm-order-buttons-container, .ep-co #back-shipping, .ep-co .confirm-order .btn, .ep-co #opc-confirm-order .btn{display:none !important}
.ep-co #billing-buttons-container{display:none !important}
.ep-co #billing_card:has(#billing-new-address-form[style*="block"]) #billing-buttons-container{display:flex !important}
.ep-co #billing-buttons-container .btn::after{content:""}
.ep-co .please-wait{display:none !important}
/* summary items and Place order */
.ep-co .ep-co-items{display:grid;gap:10px;max-height:260px;overflow-y:auto;margin:0 -4px 12px;padding:0 4px 12px;border-bottom:1px solid rgba(15,23,42,.07)}
.ep-co .ep-co-item{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;color:var(--ink);text-decoration:none}
.ep-co .ep-co-item .pic{position:relative;width:52px;height:52px;border-radius:14px;background:#f6f8fa;display:grid;place-items:center}
.ep-co .ep-co-item .pic img{width:80%;height:80%;object-fit:contain;mix-blend-mode:multiply}
.ep-co .ep-co-item .pic i{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--navy);color:#fff;font-style:normal;font-size:11px;font-weight:800;display:grid;place-items:center}
.ep-co .ep-co-item .nm{font-size:13.5px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ep-co .ep-co-item b{font-size:13.5px;white-space:nowrap}
.ep-co .ep-place-order{width:100%;height:54px;margin-top:16px;border:0;border-radius:14px;background:var(--brand);color:#fff;font-weight:800;font-size:16px;box-shadow:0 10px 24px rgba(15,157,88,.3);cursor:pointer;transition:opacity .2s}
.ep-co .ep-place-order:disabled{opacity:.45;box-shadow:none;cursor:not-allowed}
.ep-co .ep-place-order.ready:hover{background:var(--brand-600)}
.ep-co .ep-co-place-note{margin:10px 0 0;font-size:12.5px;color:var(--muted);text-align:center;line-height:1.5}
.ep-co .ep-co-place-note a{color:var(--brand-600);font-weight:700}
@media (max-width:1199.98px){ .ep-co .opc-totals{position:static} }
@media (max-width:767.98px){ .ep-co .ep-addr-cards{grid-template-columns:1fr} }
/* "Ship to a different address" only when "Deliver to this address" is unticked; its addresses are cards too */
.ep-co:has(#ShipToSameAddress:checked) .opc > .card:has(#opc-shipping){display:none !important}
.ep-co #shipping-address-select{position:absolute !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none}
.ep-co #shipping-buttons-container{display:none !important}
.ep-co .card:has(#shipping-new-address-form[style*="block"]) #shipping-buttons-container{display:flex !important}
.ep-co .ship-to-same-address .custom-control-description{font-weight:600;color:var(--ink)}
.ep-co .ep-free, .ep-cart-page .ep-free{color:var(--brand-600) !important;font-weight:800}
/* delivery choices are radios in GrandNode (styled as checkboxes by the old theme): show round dots like the design */
.ep-co .method-list .custom-checkbox .custom-control-label::before{border-radius:50% !important}
.ep-co .method-list .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after{background-image:none !important;width:8px;height:8px;top:calc(.25rem + 4px);left:calc(-1.5rem + 4px);border-radius:50%;background:#fff}
/* searchable pick-up place list (select2) in the design style */
.ep-co #shipping_form{margin-top:12px}
.ep-co #shipping_form label{display:block;margin-bottom:6px}
.ep-co .select2-container--default .select2-selection--single{height:46px;border-radius:12px;border:1.5px solid rgba(15,23,42,.12);background:#fff;display:flex;align-items:center}
.ep-co .select2-container--default.select2-container--open .select2-selection--single, .ep-co .select2-container--default.select2-container--focus .select2-selection--single{border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-50)}
.ep-co .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:44px;padding-left:14px;font-size:14.5px;color:var(--ink)}
.ep-co .select2-container--default .select2-selection--single .select2-selection__placeholder{color:var(--muted)}
.ep-co .select2-container--default .select2-selection--single .select2-selection__arrow{height:44px;right:8px}
.ep-co .select2-dropdown{border:1.5px solid rgba(15,23,42,.12);border-radius:14px;overflow:hidden;box-shadow:0 18px 40px rgba(11,37,69,.18);z-index:60}
.ep-co .select2-search--dropdown{padding:10px}
.ep-co .select2-search--dropdown .select2-search__field{height:40px;border-radius:10px;border:1.5px solid rgba(15,23,42,.15);padding:0 12px;font-size:14px}
.ep-co .select2-search--dropdown .select2-search__field:focus{outline:none;border-color:var(--brand)}
.ep-co .select2-results__option{padding:9px 14px;font-size:13.5px}
.ep-co .select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--brand-50);color:var(--brand-600)}
.ep-co .select2-container--default .select2-results__option[aria-selected=true]{background:var(--brand);color:#fff}
.ep-co .select2-results > .select2-results__options{max-height:300px}
/* "Use ePoints" switch in the checkout summary; GrandNode's own checkbox in the payment section stays, hidden */
.ep-co .use-reward-points{display:none !important}
.ep-co .opc-totals .ep-points-row td{padding:8px 0 !important}
.ep-co .ep-points{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;border-radius:14px;border:1.5px solid rgba(15,23,42,.08);background:#fff;font:inherit;text-align:left;cursor:pointer}
.ep-co .ep-points .txt b{display:block;font-size:14px;font-weight:700;color:var(--ink)}
.ep-co .ep-points .txt small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.ep-co .ep-points .sw{position:relative;flex-shrink:0;width:44px;height:26px;border-radius:99px;background:rgba(15,23,42,.15);transition:background .2s}
.ep-co .ep-points .sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.25);transition:transform .2s}
.ep-co .ep-points[aria-pressed="true"]{border-color:rgba(15,157,88,.35);background:var(--brand-50)}
.ep-co .ep-points[aria-pressed="true"] .sw{background:var(--brand)}
.ep-co .ep-points[aria-pressed="true"] .sw::after{transform:translateX(18px)}
.ep-points-row{display:none !important}
.ep-co .opc-totals .ep-points-row{display:flex !important}
/* searchable pick-up place list (checkout.js .ep-combo); the plugin's own select stays, hidden */
.ep-co .ep-combo-src, .ep-co #shipping_form .ep-combo ~ .select2-container{position:absolute !important;width:1px !important;height:1px !important;opacity:0 !important;pointer-events:none}
.ep-co .ep-combo{position:relative}
.ep-co .ep-combo-in{width:100%;height:42px;padding:0 12px 0 36px;border-radius:12px;border:1.5px solid rgba(15,23,42,.12);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center no-repeat;font-size:13.5px;color:var(--ink)}
.ep-co .ep-combo-in:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-50)}
.ep-co .ep-combo-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;max-height:280px;overflow-y:auto;margin:0;padding:6px;list-style:none;border-radius:14px;background:#fff;border:1px solid rgba(15,23,42,.1);box-shadow:0 18px 40px rgba(11,37,69,.18)}
.ep-co .ep-combo-list li{padding:8px 12px;border-radius:9px;font-size:13px;color:#334155;cursor:pointer}
.ep-co .ep-combo-list li:hover, .ep-co .ep-combo-list li.hl{background:var(--brand-50);color:var(--brand-600)}
.ep-co .ep-combo-list li[aria-selected="true"]{font-weight:700;color:var(--brand-600)}
.ep-co .ep-combo-list li.none{color:var(--muted);cursor:default}
/* radios with room for the dot (delivery and payment) */
.ep-co .method-list .custom-control, .ep-co #payment-method-block .custom-control{display:flex !important;align-items:center;gap:10px;padding-left:30px !important;margin:0}
.ep-co .method-list .custom-control-label, .ep-co #payment-method-block .custom-control-label{position:static;margin:0;width:0;min-height:0}
.ep-co .method-list .custom-control-label::before, .ep-co .method-list .custom-control-label::after, .ep-co #payment-method-block .custom-control-label::before, .ep-co #payment-method-block .custom-control-label::after{left:14px !important;top:50% !important;transform:translateY(-50%)}
.ep-co .method-list > li, .ep-co #payment-method-block > .method-name{position:relative}
.ep-co .method-list .custom-control, .ep-co #payment-method-block .custom-control{position:static}
.ep-co .method-list .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after{left:18px !important}
.ep-co #payment-method-block img{max-height:26px;margin:0}
/* compact left column */
.ep-co .opc > .card > .card-header .btn{padding:14px 18px !important;font-size:15px;gap:12px}
.ep-co .opc > .card > .card-header .btn .n{width:28px;height:28px;font-size:12px}
.ep-co .opc > .card .card-body{padding:0 18px 16px !important}
.ep-co .opc > .card{margin-bottom:12px !important;border-radius:20px !important}
.ep-co .method-list > li, .ep-co #payment-method-block > .method-name{padding:10px 14px;border-radius:14px;margin-bottom:8px}
.ep-co .method-list .custom-control-description, .ep-co #payment-method-block .custom-control-description{font-size:13.5px}
.ep-co .method-list .custom-control-description span{font-size:12px}
.ep-co .ep-addr{padding:12px 12px 12px 40px;border-radius:14px}
.ep-co .ep-addr i{left:14px;top:14px;width:16px;height:16px}
.ep-co .ep-addr b{font-size:13.5px}
.ep-co .ep-addr span{font-size:12px}
.ep-co .ep-addr-cards{gap:10px}
.ep-co .select-billing-address label, .ep-co #shipping-addresses-form label{font-size:12.5px}
.ep-co .ship-to-same-address{padding:10px 12px;font-size:13px}
.ep-co .form-control, .ep-co .custom-select{min-height:42px;font-size:13.5px}
.ep-co textarea#OrderNote{min-height:80px}
.ep-co label, .ep-co .col-form-label{font-size:12.5px}
.ep-co .ep-addr-manage{display:inline-block;margin-top:10px;font-size:12.5px;font-weight:700;color:var(--brand-600)}
.ep-co .ep-addr-manage:hover{text-decoration:underline}
/* Place order is always clickable; until everything is chosen it is a lighter green and points to what is missing */
.ep-co .ep-place-order:not(.ready){opacity:.75;box-shadow:none}
.ep-co .ep-place-order:disabled{opacity:.75;cursor:pointer}
.ep-co .opc > .card.ep-need{box-shadow:0 0 0 3px rgba(249,115,22,.55),var(--glass-shadow) !important;animation:epNeed .5s ease 2}
@keyframes epNeed{0%,100%{transform:none}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
.ep-co .ep-need-msg{margin:0 18px 10px;padding:9px 12px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:13px;font-weight:700}
.ep-co .opc > .card:not(.ep-need) .ep-need-msg{display:none}
/* styled popup instead of the browser alert */
.ep-notice{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(11,37,69,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ep-notice.show{display:flex}
.ep-notice .box{width:min(420px,100%);padding:24px 24px 20px;border-radius:22px;background:#fff;box-shadow:0 30px 80px rgba(11,37,69,.3);text-align:center;font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.ep-notice .ic{width:48px;height:48px;margin:0 auto 12px;border-radius:16px;display:grid;place-items:center;background:#fff7ed;color:#ea580c;font-weight:800;font-size:22px}
.ep-notice h3{font-size:18px;font-weight:800;margin:0 0 6px;color:var(--ink)}
.ep-notice p{font-size:14px;line-height:1.55;color:#475569;margin:0 0 18px;white-space:pre-line}
.ep-notice .ok{min-width:120px;height:44px;border:0;border-radius:12px;background:var(--brand);color:#fff;font-weight:800;font-size:14.5px;cursor:pointer}
/* unselected delivery / payment dots: plain empty circle (the old theme drew a blue dash) */
.ep-co .method-list .custom-control-input:not(:checked) ~ .custom-control-label::before, .ep-co #payment-method-block .custom-control-input:not(:checked) ~ .custom-control-label::before{background:#fff !important;border:2px solid rgba(15,23,42,.25) !important;box-shadow:none !important}
.ep-co .method-list .custom-control-input:not(:checked) ~ .custom-control-label::after, .ep-co #payment-method-block .custom-control-input:not(:checked) ~ .custom-control-label::after{background:none !important;display:none}
.ep-co .method-list .custom-control-label::before, .ep-co #payment-method-block .custom-control-label::before{width:18px;height:18px;border-radius:50% !important}
.ep-co .method-list .custom-control-input:checked ~ .custom-control-label::before, .ep-co #payment-method-block .custom-control-input:checked ~ .custom-control-label::before{background:#fff !important;border:6px solid var(--brand) !important}
.ep-co .method-list .custom-control-input:checked ~ .custom-control-label::after, .ep-co #payment-method-block .custom-control-input:checked ~ .custom-control-label::after{display:none}
/* Delivery method and Payment always visible; faded with a hint until they can be used */
.ep-co .opc > .card:has(#opc-shipping-method):not(:has(.checkout-data)), .ep-co .opc > .card:has(#opc-payment-method):not(:has(.payment-method)){display:block !important;opacity:.6 !important}
.ep-co .opc > .card:has(#opc-shipping-method):not(:has(.checkout-data)) .card-body::before{content:"Choose an address first." !important}
.ep-co .opc > .card:has(#opc-payment-method):not(:has(.payment-method)) .card-body::before{content:"Choose a delivery method first." !important}
.ep-co .opc > .card:has(#opc-shipping-method):not(:has(.checkout-data)) > .card-header .btn .n, .ep-co .opc > .card:has(#opc-payment-method):not(:has(.payment-method)) > .card-header .btn .n{font-size:12px;background:rgba(15,23,42,.07);color:var(--muted)}
.ep-co .opc > .card:has(#opc-shipping-method):not(:has(.checkout-data)) > .card-header .btn .n::before, .ep-co .opc > .card:has(#opc-payment-method):not(:has(.payment-method)) > .card-header .btn .n::before{content:none}
.ep-co .ep-points .pend{display:none;color:#c2410c !important}
.ep-co .ep-points.pending .pend{display:block}
.ep-co .ep-place-order.busy{opacity:.8;pointer-events:none}
/* payment details: show only the payment method's message (from the backend) as a note; GrandNode's product table
   under it repeats the order summary on the right, so it is hidden */
.ep-co .opc > .card.ep-info-only .order-summary, .ep-co .opc > .card.ep-info-only .order-summary-content{display:none !important}
.ep-co .opc > .card.ep-info-only .payment-info .info{padding:12px 14px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;font-size:13.5px;line-height:1.55}
.ep-co .opc > .card.ep-info-only .payment-info .info table, .ep-co .opc > .card.ep-info-only .payment-info .info td{background:none !important;border:0 !important;padding:0 !important;font-size:inherit;color:inherit}
/* no flicker: GrandNode's product table in Payment details is never shown, and the section stays hidden until
   checkout.js has sorted it (message only / form / nothing) */
.ep-co #checkout-payment-info-load .order-summary, .ep-co #checkout-payment-info-load .order-summary-content{display:none !important}
.ep-co .opc > .card:has(#opc-payment-info):not(.ep-info-only):not(.ep-has-fields){display:none !important}
.ep-co .opc > .card:has(#opc-payment-info) .payment-info .info{padding:12px 14px;border-radius:14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;font-size:13.5px;line-height:1.55}
.ep-co .opc > .card.ep-has-fields .payment-info .info{background:none;border:0;padding:0;color:inherit}
/* the open area list must sit above the cards below it (each glass card is its own layer) */
.ep-co .opc > .card{position:relative}
.ep-co .opc > .card:has(.ep-combo-list:not([hidden])){z-index:40}
.ep-co .opc > .card:has(.ep-combo-list:not([hidden])) .card-body, .ep-co .opc > .card:has(.ep-combo-list:not([hidden])) .collapse{overflow:visible !important}
/* delivery option fee (checkout), on the right of the option name */
#checkout-shipping-method-load .custom-control-description .ep-ship-fee{float:right;margin-left:12px;font-weight:800;color:var(--ink);font-size:14px}
