.cart-page { color: #242424; background: #fff; }
.cart-page *, .cart-mobile-checkout * { box-sizing: border-box; letter-spacing: 0; }
.cart-page [hidden] { display: none !important; }
.cart-shell { max-width: 1280px; margin: 0 auto; padding: 34px 32px 56px; }
.cart-page button, .cart-page input { font-family: inherit; }
.cart-page button { cursor: pointer; touch-action: manipulation; }
.cart-page :is(a,button,input,summary):focus-visible { outline: 3px solid #777; outline-offset: 3px; }
.cart-icon { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
.cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid #dedede; }
.cart-heading h1 { margin: 0; font-family: 'Playfair Display',serif; font-size: 36px; font-weight: 600; line-height: 1.3; color: #222; text-transform: none; }
.cart-heading p { margin: 10px 0 0; color: #707070; font-size: 15px; line-height: 1.5; }
.cart-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: #555; text-decoration: none; }
.cart-back:hover { color: #111; }
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 42px; align-items: start; margin-top: 32px; }
.cart-pieces { min-width: 0; }
.cart-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.cart-page h2 { margin: 0; font-size: 20px; line-height: 1.5; color: #292929; font-weight: 600; }
.cart-text-link { display: inline-flex; align-items: center; min-height: 44px; color: #686868; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.cart-text-link:hover { color: #222; }
.cart-piece { position: relative; display: grid; grid-template-columns: 132px minmax(0,1fr) 44px; column-gap: 20px; row-gap: 20px; padding: 26px 0; border-bottom: 1px solid #e5e5e5; }
.cart-photo { position: relative; display: block; grid-column: 1; grid-row: 1 / 3; width: 132px; height: 172px; overflow: hidden; background: #f7f7f7; border-radius: 4px; }
.cart-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fafafa; }
.cart-image-fallback { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; height: 100%; color: #999; font-size: 11px; }
.cart-piece-description { grid-column: 2; grid-row: 1; min-width: 0; }
.cart-piece-description h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.cart-piece-description h3 a { color: #292929; text-decoration: none; }
.cart-piece-description h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cart-variant { margin: 6px 0 0; color: #606060; font-size: 14px; line-height: 1.6; }
.cart-unit-price { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #414141; }
.cart-unit-price span { color: #777; font-size: 12px; white-space: nowrap; }
.cart-stock { margin: 7px 0 0; color: #6b6b6b; font-size: 12px; line-height: 1.5; }
.cart-icon-button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #737373; text-decoration: none; }
.cart-icon-button:hover { background: #f1f1f1; color: #222; }
.cart-remove { grid-column: 3; grid-row: 1; justify-self: end; margin-top: -8px; }
.cart-quantity { grid-column: 2; grid-row: 2; align-self: end; }
.cart-quantity label, .cart-item-total > span { display: block; margin-bottom: 7px; color: #777; font-size: 12px; line-height: 1.5; }
.cart-stepper { display: grid; grid-template-columns: 42px 42px 42px; width: 128px; height: 44px; border: 1px solid #c9c9c9; border-radius: 5px; overflow: hidden; background: #fff; }
.cart-stepper button { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; color: #333; background: #fff; }
.cart-stepper button:hover:not(:disabled) { background: #f0f0f0; }
.cart-stepper button:disabled { color: #bbb; cursor: default; }
.cart-stepper input { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; text-align: center; color: #262626; background: #fff; font-size: 16px; appearance: textfield; -moz-appearance: textfield; }
.cart-stepper input::-webkit-inner-spin-button, .cart-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-stepper input:disabled { color: #737373; -webkit-text-fill-color: #737373; opacity: 1; }
.cart-item-total { grid-column: 2 / 4; grid-row: 2; justify-self: end; align-self: end; text-align: right; padding-bottom: 10px; max-width: calc(100% - 148px); pointer-events: none; }
.cart-item-total strong { color: #252525; font-size: 17px; font-weight: 600; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cart-summary { position: sticky; top: 24px; min-width: 0; padding: 26px; background: #f7f7f7; border-top: 2px solid #282828; }
.cart-summary h2 { font-size: 19px; }
.cart-totals { display: grid; gap: 18px; margin: 26px 0 0; }
.cart-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cart-totals dt { color: #666; font-size: 14px; line-height: 1.6; }
.cart-totals dt span { display: block; color: #777; font-size: 12px; }
.cart-totals dd { margin: 0; color: #333; font-size: 14px; line-height: 1.6; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cart-totals .cart-discount dd { color: #376b53; }
.cart-totals .cart-grand-total { padding-top: 20px; border-top: 1px solid #d9d9d9; }
.cart-grand-total dt { max-width: 90px; color: #2b2b2b; font-size: 14px; font-weight: 600; }
.cart-grand-total dd { color: #222; font-size: 22px; font-weight: 600; }
.cart-shipping-caption { margin: 10px 0 0; color: #777; font-size: 12px; line-height: 1.7; }
.cart-shipping-benefit { display: grid; gap: 12px; padding: 20px 0; color: #515151; font-size: 13px; line-height: 1.7; }
.cart-shipping-benefit progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 2px; overflow: hidden; background: #dedede; color: #555; accent-color: #555; appearance: none; }
.cart-shipping-benefit progress::-webkit-progress-bar { background: #dedede; }
.cart-shipping-benefit progress::-webkit-progress-value { background: #555; }
.cart-shipping-benefit progress::-moz-progress-bar { background: #555; }
.cart-coupon { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.cart-coupon summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 12px 0; font-size: 13px; font-weight: 600; line-height: 1.6; color: #444; cursor: pointer; list-style: none; }
.cart-coupon summary::-webkit-details-marker { display: none; }
.cart-coupon summary .cart-icon { width: 17px; height: 17px; }
.cart-coupon[open] summary .cart-icon { transform: rotate(45deg); }
.cart-coupon-body { padding-bottom: 18px; }
.cart-coupon-form label { display: block; margin-bottom: 8px; color: #626262; font-size: 13px; }
.cart-coupon-fields { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.cart-coupon-fields input { min-width: 0; width: 100%; min-height: 44px; border: 1px solid #bdbdbd; border-radius: 5px; padding: 10px 12px; background: #fff; color: #292929; font-size: 16px; line-height: 1.5; }
.cart-primary, .cart-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 1px solid #222; border-radius: 5px; padding: 11px 18px; background: #222; color: #fff; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.cart-primary:hover { background: #414141; color: #fff; }
.cart-secondary { min-height: 44px; border-color: #aaa; padding: 10px 13px; background: #fff; color: #333; font-size: 13px; }
.cart-secondary:hover { background: #eee; }
.cart-primary.is-disabled, .cart-secondary:disabled { background: #e4e4e4; border-color: #ddd; color: #777; cursor: default; }
.cart-checkout { width: 100%; min-height: 52px; margin-top: 24px; }
.cart-reservation-note { margin: 12px 0 0; color: #777; font-size: 11px; line-height: 1.7; text-align: center; }
.cart-help { display: block; margin-top: 20px; padding: 8px 0; color: #666; font-size: 12px; line-height: 1.6; text-align: center; text-underline-offset: 4px; }
.cart-applied-coupon { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: #3b7056; }
.cart-applied-coupon > div { flex: 1; min-width: 0; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.cart-applied-coupon > div span { display: block; color: #6b6b6b; font-size: 12px; }
.cart-applied-coupon .cart-icon-button { flex: 0 0 44px; }
.cart-message { margin: 20px 0; padding: 14px 16px; border: 1px solid #d6d6d6; border-radius: 5px; background: #f7f7f7; color: #555; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.cart-message.is-error { background: #fff5f3; border-color: #e5c3bb; color: #933f32; }
.cart-message.is-success { background: #f2f7f3; border-color: #cadccf; color: #38674d; }
.cart-empty { display: flex; align-items: center; flex-direction: column; gap: 26px; padding: 72px 16px; text-align: center; }
.cart-empty > .cart-icon { width: 48px; height: 48px; color: #969696; stroke-width: 1.2; }
.cart-empty h2 { font-family: 'Playfair Display',serif; font-size: 28px; }
.cart-mobile-checkout { display: none; }
.cart-page ~ .whatsapp-float { display: none; }
@media (max-width: 1050px) {
    .cart-shell { padding-inline: 24px; }
    .cart-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 26px; }
    .cart-summary { padding: 22px; }
    .cart-piece { grid-template-columns: 104px minmax(0,1fr) 36px; gap: 16px; }
    .cart-photo { width: 104px; height: 140px; }
    .cart-quantity { grid-column: 1; grid-row: 3; }
    .cart-item-total { grid-column: 2 / 4; grid-row: 3; max-width: 100%; }
    .cart-piece-description { grid-column: 2 / 4; padding-right: 32px; }
    .cart-remove { z-index: 1; }
}
@media (max-width: 800px) {
    .cart-layout { grid-template-columns: 1fr; gap: 32px; }
    .cart-summary { position: static; padding: 26px; }
    .cart-piece { grid-template-columns: 132px minmax(0,1fr) 44px; gap: 20px; }
    .cart-photo { width: 132px; height: 172px; }
    .cart-quantity { grid-column: 2; grid-row: 2; }
    .cart-item-total { grid-column: 2 / 4; grid-row: 2; max-width: calc(100% - 148px); }
    .cart-grand-total dt { max-width: none; }
    .cart-totals dt span { display: inline; }
}
@media (max-width: 600px) {
    .cart-shell { padding: 24px 16px 36px; }
    .cart-heading { align-items: flex-start; gap: 16px; padding-bottom: 20px; }
    .cart-heading h1 { font-size: 30px; }
    .cart-heading p { font-size: 14px; }
    .cart-back { max-width: 120px; font-size: 12px; line-height: 1.5; }
    .cart-back .cart-icon { width: 17px; height: 17px; }
    .cart-layout { margin-top: 20px; gap: 30px; }
    .cart-page h2 { font-size: 19px; }
    .cart-text-link { font-size: 13px; }
    .cart-piece { grid-template-columns: 130px minmax(0,1fr); gap: 18px 14px; padding: 22px 0; }
    .cart-photo { grid-row: 1; width: 116px; height: 150px; }
    .cart-piece-description { grid-column: 2; padding-right: 24px; }
    .cart-piece-description h3 { font-size: 16px; line-height: 1.6; }
    .cart-unit-price { font-size: 15px; }
    .cart-unit-price span { display: block; font-size: 12px; }
    .cart-stock { font-size: 12px; }
    .cart-remove { position: absolute; top: 17px; right: -8px; width: 36px; height: 44px; margin: 0; }
    .cart-remove .cart-icon { width: 17px; height: 17px; }
    .cart-quantity { grid-column: 1; grid-row: 2; }
    .cart-item-total { grid-column: 2; grid-row: 2; max-width: 100%; padding-bottom: 8px; }
    .cart-item-total strong { font-size: 16px; }
    .cart-quantity label, .cart-item-total > span { font-size: 12px; }
    .cart-summary { padding: 24px 0 0; background: #fff; }
    .cart-summary h2 { font-size: 21px; }
    .cart-totals { gap: 18px; }
    .cart-totals dt, .cart-totals dd { font-size: 15px; }
    .cart-grand-total dt { font-size: 15px; }
    .cart-grand-total dd { font-size: 21px; }
    .cart-shipping-caption, .cart-shipping-benefit { font-size: 13px; }
    .cart-coupon summary { font-size: 14px; min-height: 58px; }
    .cart-coupon-fields input { height: 46px; }
    .cart-coupon-fields .cart-secondary { min-height: 46px; padding: 10px 16px; font-size: 14px; }
    .cart-checkout { font-size: 16px; min-height: 50px; margin-top: 22px; }
    .cart-reservation-note { font-size: 12px; }
    .cart-help { font-size: 14px; }
    .cart-mobile-checkout { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #d6d6d6; background: #fff; box-shadow: 0 -4px 16px #00000005; }
    .cart-mobile-checkout > div { min-width: 0; }
    .cart-mobile-checkout > div span { display: block; color: #747474; font-size: 11px; line-height: 1.5; }
    .cart-mobile-checkout > div strong { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
    .cart-mobile-checkout .cart-primary { min-height: 46px; padding: 10px 13px; font-size: 14px; }
    .cart-mobile-checkout .cart-icon { width: 17px; height: 17px; }
    body.cart-has-dock { padding-bottom: var(--cart-dock-height,84px); }
    .cart-empty { padding-block: 54px; }
    .cart-empty h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .cart-page * { scroll-behavior: auto !important; } }
