/* Cart presentation only. Every quantity, coupon, removal and checkout action
   continues through its existing platform form/route and native money values. */

/* Drawer: one scrolling content area and an always-visible checkout footer. */
#cart-drawer .vo-cart-drawer { position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(540px, 100%); height: 100%; background: var(--color-background, #fff); color: var(--color-text, #1b1b1b); box-shadow: -12px 0 48px #00000018; }
#cart-drawer [hidden], [data-cart-count][hidden] { display: none !important; }
.vo-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; flex: none; padding: 20px 24px; border-bottom: 1px solid #e0e0e0; }
.vo-cart-drawer-header h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.vo-cart-drawer-header h2 span { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; background: #f1f1f1; border-radius: 50%; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.vo-cart-drawer-header button { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; border-radius: 50%; background: #f1f1f1; transition: background .2s; }
.vo-cart-drawer-header button:hover { background: #e8e8e8; }
.vo-cart-drawer-status { flex: none; padding: 10px 24px; color: #575757; font-size: 14px; line-height: 1.5; background: #f7f7f7; }
.vo-cart-drawer-status:has([data-cart-status]:empty) { display: none; }
.vo-cart-drawer-status button { min-height: 32px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: #1b1b1b; }
.vo-cart-drawer-content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.vo-cart-drawer-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px; }
.vo-cart-drawer-items { list-style: none; margin: 0; padding: 0; }
.vo-cart-drawer-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid #e0e0e0; }
.vo-cart-drawer-photo { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; }
.vo-cart-drawer-photo img { width: 100%; height: 100%; object-fit: contain; }
.vo-cart-drawer-item-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.vo-cart-drawer-item-heading h3 { font-size: 16px; font-weight: 500; line-height: 1.4; color: #1b1b1b; }
.vo-cart-drawer-item-heading strong { flex: none; font-size: 16px; font-weight: 600; color: #1b1b1b; font-variant-numeric: tabular-nums; }
.vo-cart-drawer-variant, .vo-cart-drawer-unit { margin-top: 4px; color: #575757; font-size: 14px; line-height: 1.5; }
.vo-cart-drawer-variant span + span { margin-left: 8px; }
.vo-cart-drawer-unit { font-size: 14px; }
.vo-cart-drawer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.vo-cart-drawer-actions [data-qty] { display: inline-flex; border: 0; border-radius: 999px; background: #f1f1f1; overflow: hidden; }
.vo-cart-drawer-actions [data-qty] button { width: 40px; min-height: 44px; font-size: 18px; }
.vo-cart-drawer-actions [data-qty] button:disabled { opacity: .3; cursor: default; }
.vo-cart-drawer-actions input { width: 38px; padding: 0; border: 0; background: transparent; text-align: center; font-size: 16px; font-weight: 500; appearance: textfield; }
.vo-cart-drawer-actions input::-webkit-inner-spin-button, .vo-cart-drawer-actions input::-webkit-outer-spin-button { appearance: none; }
.vo-cart-drawer-remove { min-height: 44px; color: #575757; font-size: 14.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.vo-cart-drawer-update { margin-left: 8px; font-size: 14px; text-decoration: underline; }
#cart-drawer.is-enhanced .vo-cart-drawer-update { display: none; }
.vo-cart-drawer-footer { flex: none; padding: 20px 24px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid #e0e0e0; }
.vo-cart-drawer-footer dl > div { display: flex; justify-content: space-between; gap: 20px; padding-block: 4px; color: #444444; font-size: 15.5px; }
.vo-cart-drawer-footer .vo-cart-drawer-total { padding-top: 8px; color: #1b1b1b; font-size: 22px; font-weight: 600; }
.vo-cart-drawer-discount { color: #347044; }
.vo-cart-drawer-note { margin: 8px 0 16px; color: #575757; font-size: 14px; }
.vo-cart-drawer-checkout { display: flex; width: 100%; min-height: 54px; justify-content: center; gap: 10px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.vo-cart-drawer-view { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; color: #1b1b1b; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.vo-cart-drawer-offers { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 8px; color: #1f6b52; font-size: 14px; }
.vo-cart-drawer-empty { display: flex; flex-direction: column; align-items: center; padding: 64px 16px; text-align: center; }
.vo-cart-drawer-empty svg { margin-bottom: 22px; color: #575757; }
.vo-cart-drawer-empty h3 { font-size: 22px; font-weight: 500; }
.vo-cart-drawer-empty p { margin: 8px 0 24px; color: #575757; font-size: 16px; }
.vo-cart-drawer-loading { display: grid; gap: 24px; padding: 24px 0; }
.vo-cart-drawer-loading span { display: block; height: 112px; background: #f4f4f4; border-radius: 10px; }
.vo-cart-drawer-recommendations { padding-block: 24px; }
.vo-cart-drawer-recommendations > h3 { margin-bottom: 16px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.vo-cart-drawer-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 0 12px; list-style: none; }
.vo-cart-drawer-rail > li { min-width: 0; scroll-snap-align: start; }
.vo-cart-drawer-rail .vo-card { height: 100%; padding: 10px; border: 0; border-radius: 12px; background: #f1f1f1; }
.vo-cart-drawer-rail .vo-card-photo { aspect-ratio: 1; border-radius: 8px; }
.vo-cart-drawer-rail .vo-catalog-description { display: none; }
.vo-cart-drawer-rail .vo-catalog-price-row { flex-wrap: wrap; gap: 8px; }
.vo-cart-drawer-rail .vo-buy { min-height: 36px; padding: 8px 12px; font-size: 11px; }
.vo-cart-drawer-rail [data-catalog-price] { font-size: 17px; }
#cart-drawer :focus-visible { outline: 2px solid var(--zv-primary, #8d8d8d); outline-offset: 2px; }
#cart-drawer [inert] { opacity: .55; }
@media (max-width: 480px) {
    .vo-cart-drawer-header { padding: 12px 18px; }
    .vo-cart-drawer-scroll { padding-inline: 18px; }
    .vo-cart-drawer-item { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; }
    .vo-cart-drawer-item-heading { flex-direction: column; gap: 4px; }
    .vo-cart-drawer-footer { padding-inline: 18px; }
    .vo-cart-drawer-actions { gap: 6px 12px; }
    .vo-cart-drawer-rail { grid-auto-columns: 72%; }
}

.vo-cart { padding-block: 24px 56px; }
.vo-cart > .vo-shell { max-width: 1280px; }
.vo-cart-breadcrumb { max-width: 1280px; }
.vo-cart .vo-cart-header { display: flex; justify-content: flex-start; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 26px; }
.vo-cart-header .vo-eyebrow { margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: #575757; }
.zv-theme main .vo-cart .vo-cart-header .vo-h1 { margin: 0; font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.vo-cart-count { color: #575757; font-size: 16px; font-weight: 500; }
.vo-cart .vo-cart-success { margin-bottom: 20px; padding: 12px 16px; border: 0; border-radius: 10px; background: #f1f6ee; color: #1f6b52; font-size: 14.5px; }
.vo-cart .vo-cart-layout { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 28px; }
.vo-cart .vo-cart-items,
.vo-cart .vo-cart-summary { min-width: 0; grid-column: auto; }
.vo-cart .vo-cart-item-list { display: grid; gap: 0; border: 0; }
.vo-cart .vo-cart-item-list > .vo-cart-item { display: grid; grid-template-columns: 120px minmax(0,1fr); align-items: start; gap: 22px; padding: 24px 0; border: 0; border-bottom: 1px solid #e0e0e0; border-radius: 0; background: transparent; }
.vo-cart .vo-cart-item-list > .vo-cart-item:first-child { border-top: 1px solid #e0e0e0; }
.vo-cart .vo-cart-item-list .vo-cart-item-photo { align-self: start; width: 120px; height: 120px; aspect-ratio: 1; border-radius: 12px; background: #fff; }
.vo-cart .vo-cart-item-photo img { width: 100%; height: 100%; object-fit: contain; }
.vo-cart .vo-cart-item-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.vo-cart .vo-cart-item-name { color: #1b1b1b; font-size: 17px; font-weight: 500; line-height: 1.4; }
.vo-cart .vo-cart-item-total { margin-top: 0; color: #1b1b1b; font-size: 17px; font-weight: 600; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vo-cart .vo-cart-item-information p.text-muted { color: #575757; font-size: 14.5px; line-height: 1.55; }
.vo-cart .vo-cart-item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.vo-cart .vo-cart-item-actions form:has([data-qty]) { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.vo-cart .vo-cart-item-actions [data-qty] { min-height: 46px; border: 0; border-radius: 999px; background: #f1f1f1; }
.vo-cart .vo-cart-item-actions [data-qty] button { width: 40px; height: 46px; min-height: 46px; font-size: 18px; }
.vo-cart .vo-cart-item-actions [data-qty-input] { width: 40px; min-width: 0; background: transparent; font-size: 16px; font-weight: 500; }
.vo-cart .vo-cart-item-actions form:has([data-qty]) > button { min-height: 46px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: #e8e8e8; color: #1b1b1b; font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.vo-cart .vo-cart-item-actions form:has([data-qty]) > button:hover { background: #d8d8d8; }
.vo-cart .vo-cart-item-actions form:not(:has([data-qty])) > button { min-height: 46px; color: #575757; font-size: 14.5px; font-weight: 500; }
.vo-cart .vo-cart-continue { display: inline-flex; align-items: center; min-height: 46px; margin-top: 14px; color: #1b1b1b; font-size: 15px; font-weight: 500; text-underline-offset: 4px; }
.vo-cart .vo-cart-continue--mobile { display:none; }
.vo-cart .vo-cart-summary > .vo-cart-summary-panel { padding: 28px; border: 0; border-radius: 16px; background: #f1f1f1; box-shadow: none; }
.vo-cart-summary-title { margin-bottom: 20px; color: #1b1b1b; font-size: 22px; font-weight: 500; letter-spacing: -.015em; }
.vo-cart .vo-cart-coupon-fields { display: flex; gap: 8px; min-width: 0; }
.vo-cart .vo-cart-coupon-fields #coupon { flex: 1 1 0; width: 0; min-width: 0; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 999px; background: #fff; font-size: 16px; font-weight: 500; }
.vo-cart .vo-cart-coupon-fields .vo-btn { min-height: 48px; padding: 10px 20px; border: 0; border-radius: 999px; background: #e8e8e8; color: #1b1b1b; font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.vo-cart .vo-cart-coupon-fields .vo-btn:hover { background: #d8d8d8; }
.vo-cart .vo-cart-totals { padding-top: 20px; border-color: #e0e0e0; }
.vo-cart .vo-cart-totals > div { gap: 14px; color: #444444; font-size: 15.5px; }
.vo-cart .vo-cart-totals dd { flex: none; color: #1b1b1b; font-weight: 500; font-variant-numeric: tabular-nums; }
.vo-cart .vo-cart-totals .vo-cart-discount,
.vo-cart .vo-cart-totals .vo-cart-discount dd { color: #1f6b52; }
.vo-cart .vo-cart-totals .vo-cart-grand-total { margin-top: 18px; padding-top: 18px; border-color: #e0e0e0; }
.vo-cart .vo-cart-grand-total dt { color: #1b1b1b; font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.vo-cart .vo-cart-grand-total dd { color: #1b1b1b; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.vo-cart .vo-cart-promotions { margin-top: 18px; padding: 14px 16px; border: 0; border-radius: 12px; background: #fff; }
.vo-cart .vo-cart-promotions .vo-offer-caption { margin-bottom: 4px; color: #575757; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.vo-cart .vo-cart-promotions .vo-offer-included { color: #1b1b1b; font-size: 14px; font-weight: 500; }
.vo-cart .vo-cart-checkout-note { margin-block: 16px 20px; color: #575757; font-size: 14px; line-height: 1.55; }
.vo-cart .vo-cart-checkout { justify-content: space-between; min-height: 54px; padding: 14px 24px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.vo-cart .vo-cart-checkout > span { font-size: 20px; line-height: 1; }
.vo-cart .vo-cart-empty { padding: 56px 24px; border: 0; border-radius: 16px; background: #f1f1f1; }
.vo-cart-empty .vo-eyebrow { color: #1b1b1b; font-size: 20px; font-weight: 500; letter-spacing: -.01em; text-transform: none; }
.vo-cart-empty .vo-btn { min-height: 48px; border-radius: 999px; font-size: 14px; }

@media (min-width: 1024px) {
    .vo-cart .vo-cart-layout { grid-template-columns: minmax(0,1.6fr) minmax(340px,1fr); gap: 56px; }
    .vo-cart .vo-cart-summary-panel { top: calc(var(--vo-header-height,80px) + 24px); }
}
@media (max-width: 639px) {
    .vo-cart .vo-cart-continue--desktop { display:none; }
    .vo-cart .vo-cart-continue--mobile { display:inline-flex; margin-top:0; justify-self:center; text-decoration:underline; }
    .vo-cart { padding-block: 20px 36px; }
    .vo-cart .vo-cart-header { margin-bottom: 18px; }
    .zv-theme main .vo-cart .vo-cart-header .vo-h1 { font-size: 32px; }
    .vo-cart .vo-cart-item-list > .vo-cart-item { grid-template-columns: 80px minmax(0,1fr); gap: 14px; padding: 18px 0; }
    .vo-cart .vo-cart-item-list .vo-cart-item-photo { width: 80px; height: 80px; border-radius: 10px; }
    .vo-cart .vo-cart-item-heading { display: block; }
    .vo-cart .vo-cart-item-name { font-size: 16px; }
    .vo-cart .vo-cart-item-total { margin-top: 6px; font-size: 16px; }
    .vo-cart .vo-cart-item-actions { gap: 4px 12px; margin-top: 12px; }
    .vo-cart .vo-cart-item-actions form:has([data-qty]) > button { padding-inline: 14px; }
    .vo-cart .vo-cart-summary > .vo-cart-summary-panel { padding: 22px 18px; border-radius: 14px; }
    .vo-cart .vo-cart-grand-total dd { font-size: 26px; }
    .vo-cart .vo-cart-empty { padding: 40px 20px; }
}
