/* LUCloth Theme 3.0 cart drawer, ported from the 2026-10-24 package (section-cart-drawer.css zv rules + snippets/cart-drawer.html styles).
   Layout/spacing and the package palette; drawer behaviour stays with the theme. */

/* ---------- Drawer surface (kept from the LUCloth drawer) ---------- */
theme-cart-drawer .cart-drawer__body,
theme-cart-drawer .cart-drawer__header,
theme-cart-drawer .cart-drawer__inner { background: #faf9f7; }
theme-cart-drawer .cart-drawer__inner { min-height: 0; }
theme-cart-drawer .omg-order-discount-cart-slot:empty { display: none !important; }
theme-cart-drawer .cart-taxes { display: none; }
theme-cart-drawer .cart-item__picture { width: 80px; flex: 0 0 80px; }
theme-cart-drawer .cart-item__picture img { max-height: 100px; object-fit: cover; }

/* ---------- Free shipping card ---------- */
theme-cart-drawer .zv-drawer-shipping-top { padding: 12px 0 4px; }
theme-cart-drawer .zv-free-shipping-container { margin: 0 !important; padding: 9px 12px !important; font-size: 12.5px !important; line-height: 1.4 !important; }
theme-cart-drawer .zv-free-shipping-container small { display: none !important; }
theme-cart-drawer .zv-free-shipping-container [role="progressbar"] { height: 4px !important; margin-top: 7px !important; }
.main-cart-footer .zv-shipping-progress { margin: 0 0 16px; }

/* SHOPLINE discount reminder: same card style and type size as the shipping card */
theme-cart-drawer .cart-sku-list-promotion-module { background: #F4EFEA !important; border: 1px solid #E8E4DC !important; border-radius: 8px !important;
  padding: 8px 12px !important; margin: 8px 0 0 !important; font-size: 12.5px !important; line-height: 1.45 !important; color: #241B16 !important; }
theme-cart-drawer .cart-sku-list-promotion-module span { font-size: inherit !important; }

/* ---------- Line items: smaller title, tidy rhythm ---------- */
theme-cart-drawer .cart-item { padding-block: 14px !important; }
theme-cart-drawer .cart-item__title { font-size: 14.5px !important; line-height: 1.35 !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
theme-cart-drawer .cart-item__option { font-size: 12.5px !important; margin-top: 2px !important; }

/* ---------- Coupon only (totals live in the fixed footer) ---------- */
theme-cart-drawer .cart-drawer__payment { padding-block: 12px 4px; }
theme-cart-drawer .cart-drawer__payment::before { display: none; }

/* ---------- Empty bag ---------- */
.zv-empty-cart-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 16px; text-align: center; box-sizing: border-box; width: 100%; }
.zv-empty-wrapper { margin: 10px auto 24px; max-width: 320px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.zv-empty-cart-icon { width: 68px; height: 68px; border-radius: 50%; background: #f5f5f4; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid #e7e5e4; color: #78716c; }
.zv-empty-title { font-family: inherit; font-size: 18px; font-weight: 600; color: #1c1917; letter-spacing: -0.01em; margin: 0 0 8px 0; line-height: 1.3; }
.zv-empty-subtitle { font-size: 13px; line-height: 1.5; color: #78716c; margin: 0 0 20px 0; }
.zv-empty-continue-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 260px; height: 48px; background-color: #1c1917; color: #ffffff !important;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 4px; text-decoration: none; transition: background-color 0.2s ease, transform 0.15s ease; box-shadow: 0 4px 12px rgba(28, 25, 23, 0.12); }
.zv-empty-continue-btn:hover { background-color: #000000; transform: translateY(-1px); }

/* ---------- Suggested to Complete Your Look ---------- */
.zv-drawer-cross-sell { margin: 16px 0 20px; padding: 14px 14px 12px; background: #fafaf9; border: 1px solid #e7e5e4; border-radius: 8px; box-sizing: border-box; }
.zv-drawer-cross-sell[hidden] { display: none !important; }
.zv-cross-sell-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid #f0efed; }
.zv-cross-sell-title { font-size: 12px; font-weight: 700; color: #1c1917; letter-spacing: 0.03em; text-transform: uppercase; }
.zv-cross-sell-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; background: #F4EFEA; color: #8C6239; padding: 2px 7px; border-radius: 4px; border: 1px solid #DFD3C3; white-space: nowrap; }
.zv-cross-sell-sub { font-size: 11.5px; color: #78716c; margin: 0 0 10px; line-height: 1.4; }
.zv-cross-sell-items { display: flex; flex-direction: column; gap: 10px; }
.zv-cross-item { display: flex; align-items: center; gap: 12px; background: #ffffff; padding: 10px; border-radius: 6px; border: 1px solid #ebe9e6; transition: border-color 0.2s ease, box-shadow 0.2s ease; box-sizing: border-box; }
.zv-cross-item:hover { border-color: #d6d3d1; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
.zv-cross-thumb { width: 52px; height: 65px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #f5f5f4; }
.zv-cross-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zv-cross-meta { flex: 1; min-width: 0; }
.zv-cross-item-title { display: block !important; max-width: 100% !important; font-size: 13px; font-weight: 600; color: #221A15; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.zv-cross-variant { width: 100%; max-width: 100%; font: inherit; font-size: 11px; border: 1px solid #e7e5e4; border-radius: 4px; margin: 4px 0; padding: 4px; background: #fff; }
.zv-cross-price { font-size: 13px; font-weight: 700; color: #1c1917; }
.zv-cross-add-btn { flex-shrink: 0; height: 34px; padding: 0 12px; background: #1c1917; color: #ffffff; border: 1px solid #1c1917; border-radius: 4px; font-size: 12px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; touch-action: manipulation; white-space: nowrap; }
.zv-cross-add-btn:hover { background: #332d29; border-color: #332d29; }
.zv-cross-add-btn:disabled { opacity: .7; cursor: wait; }
.zv-cross-add-btn.is-added { background: #8C6239; border-color: #8C6239; color: #ffffff; pointer-events: none; opacity: 1; }
@media (max-width: 749px) {
  .zv-drawer-cross-sell { padding: 12px 10px; margin: 12px 0 16px; }
  .zv-cross-thumb { width: 44px; height: 55px; }
  .zv-cross-item-title { font-size: 12px; }
  .zv-cross-add-btn { height: 32px; padding: 0 10px; font-size: 11px; }
}

/* ---------- Fixed footer: total, checkout, wallets, trust ---------- */
theme-cart-drawer .cart-fixed-checkout__container { border-top: 1px solid #e5e3df; background: #faf9f7; }
theme-cart-drawer .cart-fixed-checkout__main-info { padding-block: 12px; }
theme-cart-drawer .cart-fixed-checkout__total { margin-bottom: 10px; align-items: flex-start; }
theme-cart-drawer .cart-fixed-checkout__total-text,
theme-cart-drawer .cart-fixed-checkout__total-price { font-weight: 700; }
.zv-total-label { display: flex; flex-direction: column; }
.zv-total-note { display: block; font-size: 11.5px; font-weight: 400; color: #78716C; margin-top: 2px; letter-spacing: 0; }
theme-cart-drawer .cart-checkout { display: flex; flex-direction: column; gap: 0; }
theme-cart-drawer .cart-checkout form { width: 100%; margin: 0; }
theme-cart-drawer .cart-checkout button[name="checkout"] { position: relative; z-index: 25; width: 100%; height: 46px; min-height: 46px; border: 0; border-radius: 6px; background: #1c1917; color: #ffffff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.2); cursor: pointer; touch-action: manipulation; }
theme-cart-drawer .cart-checkout button[name="checkout"]::before,
theme-cart-drawer .cart-checkout button[name="checkout"]::after { border-radius: 6px; border: 0; box-shadow: none; }
.zv-express-checkout-wrap { position: relative; z-index: 10; width: 100%; margin-top: 10px; }
.zv-express-divider { display: flex; align-items: center; margin: 0 0 8px; color: #9ca3af; font-size: 11px; font-weight: 600; }
.zv-express-divider::before, .zv-express-divider::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.zv-express-divider span { padding: 0 8px; text-transform: uppercase; letter-spacing: 0.04em; }
/* wallets: PayPal full width, Google Pay + Apple Pay side by side */
theme-cart-drawer #dynamic-checkout-cart { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 !important; }
theme-cart-drawer #dynamic-checkout-cart > style { display: none !important; }
theme-cart-drawer #dynamic-checkout-cart > .pay-button-common-item { margin: 0 !important; min-width: 0; border-radius: 6px !important; overflow: hidden; }
theme-cart-drawer #dynamic-checkout-cart > .pay-button-Paypal,
theme-cart-drawer #dynamic-checkout-cart > .zv-wallet-full { grid-column: 1 / -1; }
theme-cart-drawer #dynamic-checkout-cart > .zv-wallet-off { display: none !important; }
.zv-cart-security-badges { margin-top: 10px; padding-top: 8px; border-top: 1px solid #e7e5e4; }
.zv-trust-line { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 11.5px; color: #68584B; }
.zv-trust-line svg { width: 12px; height: 12px; color: #8C6239; flex-shrink: 0; }

/* ---------- Floating bag button ---------- */
.zv-floating-cart-fab { position: fixed; right: 28px; bottom: 32px; z-index: 99980; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  opacity: 0; transform: scale(0.8) translateY(20px); pointer-events: none; transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1); }
.zv-floating-cart-fab.is-visible { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
.zv-floating-cart-fab.is-hidden { display: none !important; }
.zv-fab-circle { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #241B16; color: #ffffff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(36, 27, 22, 0.28), 0 4px 10px rgba(36, 27, 22, 0.16); border: 2px solid #FAF8F5; transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), background-color 0.2s ease, box-shadow 0.2s ease; }
.zv-floating-cart-fab:hover .zv-fab-circle,
.zv-floating-cart-fab:focus-visible .zv-fab-circle { transform: scale(1.06) translateY(-2px); background: #8C6239; box-shadow: 0 14px 32px rgba(140, 98, 57, 0.38), 0 4px 12px rgba(0, 0, 0, 0.18); }
.zv-floating-cart-fab:active .zv-fab-circle { transform: scale(0.94); }
.zv-fab-icon { width: 26px; height: 26px; stroke: #ffffff; }
.zv-fab-badge { position: absolute; top: -4px; right: -4px; min-width: 23px; height: 23px; padding: 0 5px; border-radius: 12px; background: #8C6239; color: #ffffff; font-size: 12px; font-weight: 700;
  font-family: inherit; line-height: 19px; text-align: center; border: 2px solid #FAF8F5; box-shadow: 0 3px 8px rgba(36, 27, 22, 0.25); box-sizing: border-box; }
@keyframes zv-fab-pulse-kf {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(140, 98, 57, 0.65); }
  50% { transform: scale(1.16); box-shadow: 0 0 0 12px rgba(140, 98, 57, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(140, 98, 57, 0); }
}
.zv-fab-pulse .zv-fab-circle { animation: zv-fab-pulse-kf 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275); background: #8C6239; }
@media (prefers-reduced-motion: reduce) {
  .zv-fab-circle, .zv-fab-badge { transition: none !important; }
  .zv-fab-pulse .zv-fab-circle { animation: none !important; }
}
@media (max-width: 768px) {
  .zv-floating-cart-fab { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .zv-fab-circle { width: 50px; height: 50px; box-shadow: 0 6px 18px rgba(36, 27, 22, 0.24), 0 2px 6px rgba(36, 27, 22, 0.12); }
  .zv-fab-icon { width: 22px; height: 22px; }
  .zv-fab-badge { min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; font-size: 11px; line-height: 16px; }
  .zv-floating-cart-fab:hover .zv-fab-circle { transform: none; background: #241B16; }
  .zv-floating-cart-fab:active .zv-fab-circle { transform: scale(0.92); }
}

/* ---------- Error toast ---------- */
#zv-cart-error-toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-10px); background: #991B1B; color: #ffffff; padding: 12px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  z-index: 999999; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); transition: opacity 0.25s, transform 0.25s; max-width: 90vw; text-align: center; pointer-events: none; opacity: 0; }
#zv-cart-error-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
