/* Keep the original Elementor button colors without the theme's native-button gradient. */
.elementor-widget-button .elementor-button[data-cart-add] { background-image: none; border: 0; box-shadow: none; text-shadow: none; cursor: pointer; }
.elementor-widget-button .elementor-button[data-cart-add]:focus-visible { outline: 2px solid #d71920; outline-offset: 4px; }
/* Namespaced drawer: the existing site's typography and layout stay intact. */
#istor-cart { --ic-red: #d71920; --ic-ink: #202124; --ic-muted: #76777b; font: 14px/1.5 Arial, sans-serif; color: var(--ic-ink); }
#istor-cart, #istor-cart button, #istor-cart input, #istor-cart textarea, #istor-cart label { font-family: Arial, sans-serif !important; }
#istor-cart *, #istor-cart *::before, #istor-cart *::after { box-sizing: border-box; }
#istor-cart [hidden] { display: none !important; }
#istor-cart button { font-family: inherit; letter-spacing: normal; text-transform: none; cursor: pointer; box-shadow: none; text-shadow: none; margin: 0; }
#istor-cart button:focus-visible { outline: 2px solid var(--ic-red); outline-offset: 4px; }
#istor-cart button:disabled { cursor: default; }
#istor-cart h2, #istor-cart h3, #istor-cart p { font-family: inherit; padding: 0; text-transform: none; letter-spacing: normal; }
#istor-cart .ic-launcher { position: fixed; z-index: 99990; right: 26px; bottom: 26px; display: flex; align-items: center; gap: 15px; min-height: 62px; padding: 0 24px; border: 1px solid #303030; border-radius: 100px; background: #222; color: #fff; box-shadow: 0 8px 28px #0003; font-size: 16px; font-weight: 600; transition: transform .2s, background .2s; }
#istor-cart .ic-launcher:hover { transform: translateY(-3px); background: #353535; }
#istor-cart .ic-launcher-icon { position: relative; display: flex; font-size: 21px; }
#istor-cart .ic-badge { position: absolute; top: -12px; right: -12px; min-width: 21px; height: 21px; padding: 0 4px; border: 2px solid #222; border-radius: 20px; background: var(--ic-red); font: 700 10px/17px Arial, sans-serif; text-align: center; }
#istor-cart .ic-launcher-total { padding-left: 15px; border-left: 1px solid #ffffff36; font-variant-numeric: tabular-nums; }
#istor-cart .ic-added-notice { position: fixed; right: 26px; bottom: 102px; z-index: 99991; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px); padding: 16px 20px; border: 1px solid #ededed; border-radius: 14px; background: #fff; box-shadow: 0 8px 30px #0002; pointer-events: none; }
#istor-cart .ic-added-check { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; color: #257546; background: #eaf5ee; }
#istor-cart .ic-added-title { display: block; font-size: 14px; line-height: 1.4; }
#istor-cart .ic-added-name { display: block; margin-top: 3px; color: var(--ic-muted); font-size: 12px; }
#istor-cart .ic-flying-product { position: fixed; z-index: 99992; width: 58px; height: 58px; padding: 7px; object-fit: contain; border: 1px solid #e9e9e9; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px #0002; pointer-events: none; }
#istor-cart .ic-dialog { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); height: 100%; height: 100dvh; max-width: 100%; max-height: 100%; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #fff; color: var(--ic-ink); box-shadow: -12px 0 60px #0002; font: inherit; }
#istor-cart .ic-dialog:not([open]) { display: none; }
#istor-cart .ic-dialog[open] { animation: ic-enter .25s ease-out; }
#istor-cart .ic-dialog::backdrop { background: #20212455; }
#istor-cart .ic-panel { display: flex; flex-direction: column; height: 100%; }
#istor-cart .ic-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 27px 28px 23px; border-bottom: 1px solid #ededed; }
#istor-cart .ic-eyebrow { margin: 0 0 7px; color: var(--ic-muted); font-size: 10px; font-weight: 600; letter-spacing: .14em; }
#istor-cart h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 26px; line-height: 1.2; font-weight: 600; }
#istor-cart .ic-header-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 50px; background: #f0f0f0; color: #666; font-size: 12px; font-weight: 400; }
#istor-cart .ic-icon-button { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: #555; background: #f5f5f5; font-size: 17px; }
#istor-cart .ic-icon-button:hover { background: #eaeaea; color: #111; }
#istor-cart .ic-shopping, #istor-cart .ic-order, #istor-cart .ic-success { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#istor-cart .ic-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 28px 8px; }
#istor-cart .ic-description { margin: 0 0 10px; font-size: 13px; color: var(--ic-muted); }
#istor-cart .ic-products { margin: 0; padding: 0; list-style: none; }
#istor-cart .ic-product { display: flex; gap: 18px; padding: 23px 0; border-bottom: 1px solid #ededed; }
#istor-cart .ic-product:last-child { border-bottom: 0; }
#istor-cart .ic-product-image { display: grid; place-items: center; flex: 0 0 88px; height: 112px; padding: 6px; border: 1px solid #f2f2f2; border-radius: 12px; background: #f7f7f7; }
#istor-cart .ic-product-image img { display: block; max-width: 100%; width: 100%; height: 100%; object-fit: contain; }
#istor-cart .ic-product-info { flex: 1; min-width: 0; }
#istor-cart .ic-product-link { display: block; color: inherit; text-decoration: none; }
#istor-cart .ic-product-link:hover h3 { color: var(--ic-red); }
#istor-cart .ic-product-image { text-decoration: none; transition: border-color .15s; }
#istor-cart .ic-product-image:hover { border-color: #d4d4d4; }
#istor-cart h3 { margin: 0 0 4px; color: var(--ic-ink); font-size: 16px; line-height: 1.3; font-weight: 600; }
#istor-cart .ic-product-detail { margin: 0 0 9px; color: var(--ic-muted); font-size: 11px; line-height: 1.4; }
#istor-cart .ic-price { margin: 0 0 12px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
#istor-cart .ic-price span { color: #8c8c90; font-size: 11px; font-weight: 400; }
#istor-cart .ic-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#istor-cart .ic-stepper { display: flex; align-items: center; border-radius: 30px; background: #f3f3f3; }
#istor-cart .ic-stepper button { display: grid; place-items: center; width: 36px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #333; background: transparent; font-size: 11px; }
#istor-cart .ic-stepper button:hover:not(:disabled) { background: #e4e4e4; }
#istor-cart .ic-stepper button:disabled { color: #bdbdbd; }
#istor-cart .ic-quantity { min-width: 23px; padding: 0; font: 500 13px/1 Arial, sans-serif; text-align: center; font-variant-numeric: tabular-nums; }
#istor-cart .ic-row-total { color: #333; font-size: 13px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
#istor-cart .ic-footer { flex: 0 0 auto; padding: 23px 28px max(24px, env(safe-area-inset-bottom)); border-top: 1px solid #e9e9e9; background: #fff; }
#istor-cart .ic-total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; }
#istor-cart .ic-summary-count { color: var(--ic-muted); font-size: 12px; font-weight: 400; white-space: nowrap; }
#istor-cart .ic-total { font-size: 25px; font-weight: 600; letter-spacing: -.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#istor-cart .ic-delivery { margin: 3px 0 18px; color: var(--ic-muted); font-size: 12px; }
#istor-cart .ic-checkout, #istor-cart .ic-submit, #istor-cart .ic-continue { display: flex; align-items: center; justify-content: center; gap: 18px; width: 100%; min-height: 52px; padding: 13px 20px; border: 0; border-radius: 10px; background: var(--ic-red); color: #fff; font-size: 15px; font-weight: 600; transition: background .15s; }
#istor-cart .ic-checkout .fa { font-size: 13px; }
#istor-cart .ic-checkout:hover, #istor-cart .ic-submit:hover, #istor-cart .ic-continue:hover { background: #bb141b; }
#istor-cart .ic-checkout:disabled, #istor-cart .ic-submit:disabled { background: #f0f0f0; color: #999; }
#istor-cart .ic-footer-note { margin: 12px 0 0; font-size: 11px; text-align: center; color: var(--ic-muted); }
#istor-cart #ic-preview-title { margin-bottom: 18px; font-size: 28px; line-height: 1.2; font-weight: 600; outline: none; }
#istor-cart .ic-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html.ic-scroll-lock, html.ic-scroll-lock body { overflow: hidden !important; }
@keyframes ic-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 480px) {
  #istor-cart .ic-added-notice { right: 16px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 70px); }
  #istor-cart .ic-launcher { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); min-height: 56px; padding: 0 20px; font-size: 14px; }
  #istor-cart .ic-header { padding: 22px 20px 20px; }
  #istor-cart h2 { font-size: 24px; }
  #istor-cart .ic-content { padding: 20px 20px 4px; }
  #istor-cart .ic-product { gap: 14px; padding: 20px 0; }
  #istor-cart .ic-product-image { flex-basis: 78px; height: 108px; }
  #istor-cart h3 { font-size: 15px; }
  #istor-cart .ic-stepper button { width: 38px; height: 38px; }
  #istor-cart .ic-quantity { min-width: 22px; }
  #istor-cart .ic-footer { padding: 18px 20px max(20px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  #istor-cart .ic-header, #istor-cart .ic-content, #istor-cart .ic-footer { padding-left: 16px; padding-right: 16px; }
  #istor-cart .ic-product-image { flex-basis: 66px; }
  #istor-cart .ic-product { gap: 12px; }
  #istor-cart .ic-row-total { font-size: 11px; }
}
/* Compact rows on laptop-height screens; the product list scrolls independently. */
@media (max-height: 850px) {
  #istor-cart .ic-header { padding-top: 20px; padding-bottom: 18px; }
  #istor-cart .ic-content { padding-top: 14px; }
  #istor-cart .ic-description { margin-bottom: 6px; }
  #istor-cart .ic-product { padding-top: 13px; padding-bottom: 13px; }
  #istor-cart .ic-product-image { height: 100px; }
  #istor-cart .ic-product-detail { margin-bottom: 6px; }
  #istor-cart .ic-price { margin-bottom: 8px; }
  #istor-cart .ic-footer { padding-top: 16px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  #istor-cart .ic-delivery { margin-bottom: 14px; }
  #istor-cart .ic-footer-note { margin-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  #istor-cart .ic-dialog[open] { animation: none; }
  #istor-cart button { transition: none; }
}

/* Checkout stays inside the same drawer; only its content area scrolls. */
#istor-cart .ic-order { margin: 0; text-align: left; }
#istor-cart .ic-order-content { padding-top: 20px; padding-bottom: 22px; }
#istor-cart .ic-order-back { display: flex; align-items: center; gap: 10px; padding: 0; border: 0; border-radius: 0; background: none; color: #555; font-size: 13px; font-weight: 400; }
#istor-cart .ic-order-back:hover { color: var(--ic-red); }
#istor-cart .ic-order-back:disabled { opacity: .5; }
#istor-cart .ic-order-summary { margin: 22px 0 18px; padding: 16px; background: #f7f7f7; border-radius: 12px; }
#istor-cart .ic-order-items { margin: 0 0 14px; padding: 0; list-style: none; }
#istor-cart .ic-order-items li, #istor-cart .ic-order-summary > div { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 13px; }
#istor-cart .ic-order-items li + li { margin-top: 8px; }
#istor-cart .ic-order-items small { color: #76777b; white-space: nowrap; }
#istor-cart .ic-order-summary strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
#istor-cart .ic-order-summary > div { padding-top: 12px; border-top: 1px solid #e4e4e4; }
#istor-cart .ic-order-summary > div strong { font-size: 17px; }
#istor-cart .ic-agreement-note { margin: 0 0 23px; color: #65666a; font-size: 12px; line-height: 1.6; }
#istor-cart .ic-order-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
#istor-cart .ic-order-fields > label { display: block; margin: 0 0 17px; font-size: 13px; font-weight: 600; }
#istor-cart .ic-order-fields > label > span:not(:last-child) { font-size: 11px; font-weight: 400; color: #76777b; }
#istor-cart .ic-order-fields input:not([type=checkbox]), #istor-cart .ic-order-fields textarea { display: block; width: 100%; min-height: 44px; margin: 7px 0 0; padding: 11px 13px; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: #202124; box-shadow: none; font: 15px/1.4 Arial, sans-serif; }
#istor-cart .ic-order-fields textarea { resize: vertical; min-height: 72px; max-height: 180px; }
#istor-cart .ic-order-fields input::placeholder, #istor-cart .ic-order-fields textarea::placeholder { color: #999; font-weight: 400; }
#istor-cart .ic-order-fields input:focus, #istor-cart .ic-order-fields textarea:focus { outline: 2px solid #d7192044; outline-offset: 1px; border-color: var(--ic-red); }
#istor-cart .ic-order-fields .ic-consent { display: flex; align-items: flex-start; gap: 10px; margin: 21px 0 0; font-size: 11px; line-height: 1.6; font-weight: 400; color: #65666a; }
#istor-cart .ic-consent input { flex: 0 0 17px; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--ic-red); }
#istor-cart .ic-consent a { color: #a8242a; text-decoration: underline; }
#istor-cart .ic-order-error { margin: 16px 0 0; padding: 12px; border-radius: 8px; background: #fff0f0; color: #9b2027; font-size: 12px; }
#istor-cart .ic-success-body { flex: 1; overflow-y: auto; padding: 42px 28px; }
#istor-cart .ic-success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 26px; border-radius: 50%; background: #eaf5ee; color: #257546; font-size: 24px; }
#istor-cart .ic-success-title { margin: 0 0 16px; font-size: 28px; line-height: 1.2; outline: none; }
#istor-cart .ic-success-message { color: #65666a; font-size: 14px; line-height: 1.7; }
#istor-cart .ic-order-number { margin: 24px 0 0; color: #76777b; font-size: 11px; overflow-wrap: anywhere; }
