#rrb-cart-layer[hidden] { display: none !important; }
body.woocommerce-cart .wc-block-cart__submit-container--sticky { bottom: var(--rrb-mobile-nav-height, 0px); }
#rrb-cart-layer { position: fixed; inset: 0; z-index: 2147482000; color: #183b36; }
#rrb-cart-layer *, #rrb-cart-layer *::before, #rrb-cart-layer *::after { box-sizing: border-box; }
.rrb-cart-backdrop { position: absolute; inset: 0; background: rgb(7 31 27 / 40%); opacity: 0; transition: opacity 220ms ease; }
#rrb-cart-drawer { position: absolute; inset: 0 0 0 auto; width: min(440px, 100%); height: 100%; height: 100dvh; background: #fff; display: flex; flex-direction: column; box-shadow: -12px 0 48px rgb(7 31 27 / 12%); transform: translateX(100%); transition: transform 240ms ease; outline: none; font-size: 14px; line-height: 1.5; }
#rrb-cart-layer.is-open .rrb-cart-backdrop { opacity: 1; }
#rrb-cart-layer.is-open #rrb-cart-drawer { transform: translateX(0); }
.rrb-cart-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(24px, env(safe-area-inset-top)) 24px 20px; border-bottom: 1px solid #e7ece9; flex: 0 0 auto; }
.rrb-cart-eyebrow { color: #786b43; font-size: 10px; font-weight: 600; letter-spacing: .18em; margin: 0 0 5px; }
#rrb-cart-title { color: #143e35; font-size: 25px; line-height: 1.2; margin: 0; letter-spacing: -.03em; }
#rrb-cart-count { display: inline-grid; place-items: center; vertical-align: middle; min-width: 25px; height: 25px; border-radius: 50%; padding: 0 6px; background: #edf4ef; font-size: 12px; letter-spacing: 0; }
#rrb-cart-layer button { font-family: inherit; cursor: pointer; }
#rrb-cart-layer .rrb-cart-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid #e2e8e4; border-radius: 50%; background: #fff; color: #23483f; flex-shrink: 0; }
.rrb-cart-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
#rrb-cart-content { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.rrb-cart-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.rrb-cart-shipping { margin: 20px 24px 2px; padding: 16px; background: #f5f7f2; border: 1px solid #e9ede2; border-radius: 10px; }
.rrb-cart-shipping p { font-size: 13px; margin: 0 0 11px; font-weight: 500; }
.rrb-cart-shipping small { display: block; margin-top: 9px; font-size: 11px; line-height: 1.5; color: #5d6c63; }
.rrb-cart-progress { height: 5px; border-radius: 5px; background: #dce4d7; overflow: hidden; }
.rrb-cart-progress span { display: block; height: 100%; background: #8b7843; border-radius: inherit; transition: width 180ms ease; }
#rrb-cart-layer .rrb-cart-items { list-style: none; margin: 0; padding: 0 24px; }
.rrb-cart-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid #edf0ec; }
.rrb-cart-thumbnail { background: #f7f8f5; border: 1px solid #eef0e9; border-radius: 10px; align-self: start; overflow: hidden; }
.rrb-cart-thumbnail img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
#rrb-cart-layer .rrb-cart-item-name { display: block; color: #173c34; font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; margin-bottom: 5px; }
#rrb-cart-layer .variation { display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 12px; color: #5b6b61; margin: 0 0 8px; }
#rrb-cart-layer .variation dt, #rrb-cart-layer .variation dd, #rrb-cart-layer .variation p { margin: 0; padding: 0; }
.rrb-cart-unit { font-size: 13px; color: #234b3e; }
.rrb-cart-unit del { color: #78837b; font-size: 11px; margin-right: 4px; }
.rrb-cart-unit ins { text-decoration: none; font-weight: 600; }
.rrb-cart-unit small { color: #69776d; font-size: 10px; }
.rrb-cart-item-actions { display: grid; grid-template-columns: 132px minmax(44px, 1fr); align-items: center; column-gap: 12px; margin-top: 12px; }
.rrb-cart-quantity { display: grid; grid-template-columns: repeat(3, 44px); width: 132px; height: 48px; border: 1px solid #dbe3dc; border-radius: 9px; overflow: hidden; background: #fff; flex-shrink: 0; }
#rrb-cart-layer .rrb-cart-quantity button { display: grid; place-items: center; border: 0; background: #f8faf8; padding: 0; width: auto; min-height: 46px; color: #21473d; font-size: 20px; font-weight: 600; line-height: 1; box-shadow: none; }
#rrb-cart-layer .rrb-cart-quantity button:hover:not(:disabled) { background: #e9f1eb; }
#rrb-cart-layer input.rrb-cart-qty { width: auto; min-width: 0; min-height: 46px; padding: 0; text-align: center; border: 0; border-right: 1px solid #e4ebe5; border-left: 1px solid #e4ebe5; border-radius: 0; background: #fff; font-size: 14px; font-weight: 600; line-height: 1; color: #193c33; box-shadow: none; -moz-appearance: textfield; }
.rrb-cart-qty::-webkit-inner-spin-button, .rrb-cart-qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#rrb-cart-layer .rrb-cart-remove { justify-self: end; padding: 7px 0; min-height: 44px; min-width: 44px; border: 0; background: transparent; color: #52655a; font-size: 11px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
.rrb-cart-line { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 0; font-size: 12px; }
.rrb-cart-line > span:first-child { color: #718075; }
.rrb-cart-line .amount { font-weight: 600; }
.rrb-cart-summary { flex: 0 0 auto; padding: 20px 24px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #e5ebe4; background: #fff; box-shadow: 0 -6px 24px rgb(27 61 42 / 3%); }
.rrb-cart-summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.rrb-cart-summary .rrb-cart-discount { color: #477056; font-size: 12px; }
.rrb-cart-summary > p { margin: 9px 0 15px; color: #68766b; font-size: 11px; }
#rrb-cart-layer .rrb-cart-primary { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 16px; border-radius: 8px; background: #07574f; border: 1px solid #07574f; color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
.rrb-cart-primary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.rrb-cart-primary > span:last-child { margin-left: auto; }
#rrb-cart-layer .rrb-cart-view { display: block; text-align: center; padding: 12px 0 0; min-height: 36px; color: #385c4b; font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.rrb-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 28px 80px; text-align: center; }
.rrb-cart-empty-icon { display: grid; place-items: center; width: 100px; height: 100px; border-radius: 50%; background: #f3f6ef; margin-bottom: 24px; }
.rrb-cart-empty-icon svg { width: 58px; height: 58px; fill: none; stroke: #416b51; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rrb-cart-empty h3 { font-size: 23px; color: #193f34; margin: 0 0 10px; }
.rrb-cart-empty > p { margin: 0 0 25px; color: #69776c; line-height: 1.7; font-size: 14px; }
.rrb-cart-empty .rrb-cart-primary { width: 100%; }
.rrb-cart-loading { margin: auto; padding: 40px; color: #607264; }
.rrb-cart-recommendations { margin: 4px 24px 24px; padding: 18px; border: 1px solid #e5ebe4; border-radius: 12px; background: #f8faf7; }
.rrb-cart-recommendations-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
.rrb-cart-recommendations-heading p { margin: 0 0 3px; color: #8b7843; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.rrb-cart-recommendations h3 { margin: 0; color: #173c34; font-size: 16px; line-height: 1.25; }
.rrb-cart-recommendations-hint { color: #64736a; font-size: 10px; white-space: nowrap; }
.rrb-cart-recommendation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rrb-cart-recommendation { display: grid; grid-template-columns: 58px minmax(0,1fr); column-gap: 9px; align-items: center; min-width: 0; padding: 10px; border: 1px solid #e4ebe5; border-radius: 9px; background: #fff; }
.rrb-cart-recommendation-image { grid-row: span 2; display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 7px; background: #f7f8f5; }
.rrb-cart-recommendation-image img { width: 100%; height: 100%; object-fit: contain; }
.rrb-cart-recommendation-copy { min-width: 0; }
.rrb-cart-recommendation-copy > a { display: -webkit-box; overflow: hidden; color: #21463a; font-size: 11px; font-weight: 600; line-height: 1.32; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rrb-cart-recommendation-copy > span { display: block; margin-top: 3px; color: #52675c; font-size: 11px; }
.rrb-cart-recommendation-copy del { color: #7a867e; font-size: 9px; }
.rrb-cart-recommendation-copy ins { font-weight: 600; text-decoration: none; }
#rrb-cart-layer .rrb-cart-recommendation-action { grid-column: 2; min-height: 34px; margin-top: 7px; padding: 7px 8px; border: 1px solid #1f5b4e; border-radius: 6px; background: #fff; color: #1f5b4e; font-size: 10px; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; box-shadow: none; }
#rrb-cart-layer .rrb-cart-recommendation-action:hover { background: #1f5b4e; color: #fff; }
#rrb-cart-error { padding: 12px 24px; color: #7c2f21; font-size: 12px; background: #fff5ef; border-bottom: 1px solid #f0ddd0; }
#rrb-cart-error[hidden] { display: none; }
#rrb-cart-retry { background: transparent; border: 0; color: #7c2f21; text-decoration: underline; font-size: 12px; padding: 8px 0; }
.rrb-cart-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
#rrb-cart-layer [aria-busy="true"] { opacity: .65; }
#rrb-cart-layer button:disabled { opacity: .35; cursor: wait; }
#rrb-cart-layer :focus-visible { outline: 2px solid #92752e; outline-offset: 3px; }
#rrb-cart-layer .rrb-cart-primary:hover { background: #06483f; }
body.rrb-drawer-enabled .cart-button > .custom-dropdown-menu { display: none !important; }
body.rrb-cart-open .joinchat, body.rrb-cart-open .single-product-sticky, body.rrb-cart-open .klb-notice-ajax { visibility: hidden !important; pointer-events: none !important; }
@media(max-width:359px) { .rrb-cart-header { padding-right: 16px; padding-left: 16px; } #rrb-cart-layer .rrb-cart-items { padding: 0 16px; } .rrb-cart-item { grid-template-columns: 60px minmax(0,1fr); gap: 10px; } .rrb-cart-shipping { margin-right: 16px; margin-left: 16px; } .rrb-cart-summary { padding-right: 16px; padding-left: 16px; } .rrb-cart-recommendations { margin-right: 16px; margin-left: 16px; padding: 12px; } .rrb-cart-recommendation-grid { grid-template-columns: 1fr; } }
@media(max-width:767px) {
  #rrb-cart-drawer { inset: auto 0 0; width: 100%; height: min(86dvh, 760px); border-radius: 22px 22px 0 0; box-shadow: 0 -12px 48px rgb(7 31 27 / 18%); transform: translateY(105%); }
  #rrb-cart-layer.is-open #rrb-cart-drawer { transform: translateY(0); }
  .rrb-cart-header { padding: max(16px, env(safe-area-inset-top)) 18px 14px; }
  #rrb-cart-title { font-size: 22px; }
  .rrb-cart-recommendation-grid { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 1px 2px 8px; scrollbar-width: thin; }
  .rrb-cart-recommendation { flex: 0 0 min(248px, 78vw); scroll-snap-align: start; }
  .rrb-cart-item-actions { grid-template-columns: 132px minmax(44px, 1fr); }
  /* WooCommerce Cart Blocks uses a separate quantity component from the
     drawer. Keep its native controls but give mobile shoppers the same
     balanced, fixed-size touch targets. */
  body.woocommerce-cart .wc-block-components-quantity-selector { display: grid; grid-template-columns: repeat(3, 44px); width: 134px; height: 48px; border: 1px solid #dbe3dc; border-radius: 9px; overflow: hidden; background: #fff; }
  body.woocommerce-cart .wc-block-components-quantity-selector__button { display: grid !important; place-items: center; width: auto !important; min-width: 0 !important; min-height: 46px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #f8faf8 !important; color: #21473d !important; font-size: 20px; font-weight: 600; line-height: 1; box-shadow: none !important; }
  body.woocommerce-cart .wc-block-components-quantity-selector__input { width: 44px !important; min-width: 0 !important; min-height: 46px; margin: 0 !important; padding: 0 !important; border: 0 !important; border-right: 1px solid #e4ebe5 !important; border-left: 1px solid #e4ebe5 !important; border-radius: 0 !important; background: #fff !important; color: #193c33 !important; font-size: 14px; font-weight: 600; line-height: 1; text-align: center; box-shadow: none !important; }
}
@media(max-height:600px) { .rrb-cart-header { padding-top: 10px; padding-bottom: 10px; } .rrb-cart-summary { padding-top: 10px; } .rrb-cart-summary > p { margin: 4px 0 8px; } #rrb-cart-layer .rrb-cart-primary { min-height: 44px; } }
@media(prefers-reduced-motion:reduce) { #rrb-cart-drawer, .rrb-cart-backdrop, .rrb-cart-progress span { transition: none; } }
