html.gh-cart-drawer-open, body.gh-cart-drawer-open { overflow: hidden; }
.gh-cart-drawer[hidden] { display: none !important; }
.gh-cart-drawer { position: fixed; inset: 0; z-index: 100100; }
.gh-cart-drawer-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: rgba(0,0,0,.38); cursor: pointer; }
.gh-cart-drawer-panel { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(440px,100%); height: 100vh; height: 100dvh; max-height: 100dvh; background: #fff; color: #191919; box-shadow: -12px 0 40px rgba(0,0,0,.12); outline: 0; animation: gh-cart-drawer-enter .2s ease-out; }
.gh-cart-drawer-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #e9e9e9; }
.gh-cart-drawer-header h2 { margin: 0; color: #191919; font: 600 23px/1.2 "DM Sans",sans-serif; letter-spacing: -.6px; text-transform: none; }
.gh-cart-drawer-header button { display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #f4f4f4; color: #191919; font: 400 28px/1 sans-serif; cursor: pointer; }
.gh-cart-drawer-content { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; }
.gh-cart-drawer-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 22px; overscroll-behavior: contain; }
.gh-cart-drawer-shipping { margin-bottom: 20px; padding: 14px; border: 1px solid #e7e7e7; border-radius: 12px; }
.gh-cart-drawer-shipping p { margin: 0 0 9px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.gh-cart-drawer-shipping progress { display: block; width: 100%; height: 5px; overflow: hidden; border: 0; border-radius: 10px; background: #ededed; accent-color: #24623a; }
.gh-cart-drawer-shipping progress::-webkit-progress-bar { background: #ededed; border-radius: 10px; }
.gh-cart-drawer-shipping progress::-webkit-progress-value { background: #24623a; border-radius: 10px; }
.gh-cart-drawer-shipping progress::-moz-progress-bar { background: #24623a; }
.gh-cart-drawer-shipping small { display: block; margin-top: 8px; color: #757575; font-size: 10px; line-height: 1.4; }
.gh-cart-drawer-items { margin: 0; padding: 0; list-style: none; }
.gh-cart-drawer-item { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 16px; margin: 0; padding: 18px 0; border-bottom: 1px solid #ededed; }
.gh-cart-drawer-item:first-child { padding-top: 0; }
.gh-cart-drawer-image { display: block; align-self: start; overflow: hidden; border-radius: 10px; background: #f6f6f6; }
.gh-cart-drawer-image img { display: block; width: 88px; height: 110px; object-fit: contain; }
.gh-cart-drawer-name { display: block; margin-bottom: 8px; color: #191919; font-size: 13px; font-weight: 500; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.gh-cart-drawer-item dl.variation { margin: 0; color: #666; font-size: 12px; line-height: 1.5; }
.gh-cart-drawer-item dl.variation dt { display: inline; float: none; font-weight: 400; }
.gh-cart-drawer-item dl.variation dd { display: inline; float: none; margin: 0 8px 0 3px; }
.gh-cart-drawer-item dl.variation dd p { display: inline; margin: 0; }
.gh-cart-drawer-quantity { margin: 7px 0 0; color: #666; font-size: 12px; }
.gh-cart-drawer-price { margin-top: 7px; font-size: 13px; font-weight: 600; }
.gh-cart-drawer-footer { flex: 0 0 auto; padding: 20px 22px max(20px,env(safe-area-inset-bottom)); border-top: 1px solid #e9e9e9; background: #fff; }
.gh-cart-drawer-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 7px; font-size: 15px; }
.gh-cart-drawer-note { margin: 8px 0 16px; color: #757575; font-size: 11px; line-height: 1.5; }
body.gh-studio .gh-cart-drawer-checkout { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #191919; border-radius: 12px; background: #191919; color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none; }
body.gh-studio .gh-cart-drawer-checkout:hover { background: #000; }
.gh-cart-drawer-view { display: block; margin: 12px 0; color: #444; font-size: 12px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.gh-cart-drawer-continue { display: block; width: 100%; min-height: 40px; padding: 9px 14px; border: 1px solid #ddd; border-radius: 10px; background: #fff; color: #444; font-size: 13px; cursor: pointer; }
.gh-cart-drawer-empty { display: grid; place-items: center; text-align: center; }
.gh-cart-drawer-loading { margin: 0; padding: 24px; color: #666; font-size: 14px; line-height: 1.5; }
.gh-cart-add-status { flex-basis: 100%; margin: 8px 0 0; font-size: 13px; line-height: 1.5; }
.gh-cart-add-status:empty { display: none; }
/* Woo inserts this link after added_to_cart; the drawer already offers the cart route. */
body.gh-studio.single-product .summary form.cart a.added_to_cart.wc-forward { display: none !important; }
body.gh-studio.single-product .summary form.cart .quantity[data-gh-product-quantity] { display: flex !important; align-items: center; padding: 0 !important; overflow: hidden; }
body.gh-studio.single-product .summary form.cart .quantity[data-gh-product-quantity] input.qty { flex: 1 1 auto; width: 0 !important; min-width: 0 !important; height: 100% !important; padding: 0 !important; border: 0 !important; background: transparent; text-align: center; font-size: 14px; }
body.gh-studio.single-product .summary form.cart .quantity[data-gh-product-quantity] .gh-product-qty-button { position: static !important; display: grid; flex: 0 0 28px; align-self: stretch; place-items: center; width: 28px; min-width: 0; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #34475b; font: 400 22px/1 sans-serif; cursor: pointer; touch-action: manipulation; }
body.gh-studio.single-product .summary form.cart .gh-product-qty-button:disabled { color: #a9afb6; cursor: default; }
body.gh-studio.single-product .summary form.cart .gh-product-qty-button::before,
body.gh-studio.single-product .summary form.cart .gh-product-qty-button::after { content: none !important; }
.gh-cart-drawer :focus-visible { outline: 2px solid #191919; outline-offset: 3px; }
@keyframes gh-cart-drawer-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 560px) { .gh-cart-drawer-header, .gh-cart-drawer-body, .gh-cart-drawer-footer { padding-inline: 18px; } }
@media (prefers-reduced-motion: reduce) { .gh-cart-drawer-panel { animation: none; } }
