#modal_cart {
  --pink: #c41e50;
  --orange: #ee3f2e;
  --red: #c41e50;
  --ink: #2b2a29;
  position: fixed !important;
  z-index: var(--wp-v27-layer-overlay, 1100) !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: rgba(29, 23, 24, .62) !important;
  color: var(--ink);
  font-family: "TT Norms", Arial, sans-serif;
}

#modal_cart,
#modal_cart * {
  box-sizing: border-box;
}

#modal_cart .cart-drawer {
  margin-left: auto;
}

#modal_cart h2,
#modal_cart h3,
#modal_cart p {
  margin: 0;
}

#modal_cart a {
  color: inherit;
  text-decoration: none;
}

#modal_cart button,
#modal_cart input {
  font: inherit;
}

#modal_cart button,
#modal_cart a {
  -webkit-tap-highlight-color: transparent;
}

body.wp-cart-open {
  overflow: hidden !important;
}

.cart-drawer-backdrop { position: fixed; z-index: var(--wp-v27-layer-overlay, 1100); inset: 0; display: flex; justify-content: flex-end; background: rgba(29,23,24,.62); animation: mobile-catalog-backdrop-in .16s ease both; }
.cart-drawer { width: min(500px, 100vw); height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; background: linear-gradient(180deg, #fffdf9 0%, #fff8f0 100%); box-shadow: -24px 0 60px rgba(0,0,0,.27); animation: cart-drawer-in .22s ease both; }
.cart-drawer__header { min-height: 76px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 44px; align-items: center; gap: 11px; border-bottom: 1px solid #eadfd7; background: rgba(255,255,255,.96); padding: 10px 18px; backdrop-filter: blur(12px); }
.cart-drawer__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--pink), #aa1642); color: #fff; box-shadow: 0 8px 18px rgba(196,30,80,.22); }
.cart-drawer__header > div { min-width: 0; display: grid; gap: 1px; }
.cart-drawer__header small { color: #8d827a; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.cart-drawer__header h2 { font-family: "TT Norms", "Cocon", Arial, sans-serif; font-size: 27px; line-height: 1; letter-spacing: -.025em; }
.cart-drawer__count { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 15px; background: #fff0f4; color: var(--pink); padding-inline: 8px; font-size: 12px; font-weight: 700; }
.cart-drawer__header > button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff0f4; color: var(--pink); }
.cart-drawer__header > button:hover { background: var(--pink); color: #fff; }
.cart-drawer__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 22px; scrollbar-width: thin; scrollbar-color: rgba(196,30,80,.35) transparent; }
.cart-discount-card { border: 1px solid rgba(196,30,80,.18); border-radius: 12px; background: linear-gradient(135deg, #fff0f5 0%, #fff8f0 70%); padding: 13px 14px 12px; box-shadow: 0 8px 22px rgba(123,63,75,.06); }
.cart-discount-card__heading { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; }
.cart-discount-card__heading > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; }
.cart-discount-card__heading > div { min-width: 0; display: grid; gap: 2px; }
.cart-discount-card__heading strong { color: var(--pink); font-size: 12.5px; line-height: 1.18; }
.cart-discount-card__heading small { color: #827973; font-size: 9.5px; }
.cart-discount-card__track { height: 6px; overflow: hidden; margin-top: 11px; border-radius: 3px; background: rgba(196,30,80,.1); }
.cart-discount-card__track span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--pink)); transition: width .2s ease; }
.cart-discount-card p { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; color: #766d67; font-size: 10.5px; font-weight: 700; }
.cart-items { display: grid; gap: 10px; margin-top: 14px; }
.cart-item { min-width: 0; display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; border: 1px solid #eadfd7; border-radius: 11px; background: #fff; padding: 9px; box-shadow: 0 7px 18px rgba(83,54,42,.055); }
.cart-item__image { width: 108px; height: 108px; overflow: hidden; border-radius: 8px; background: #f5ece5; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__copy { min-width: 0; display: flex; flex-direction: column; padding: 2px 2px 1px 0; }
.cart-item__title { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: start; gap: 6px; }
.cart-item__title h3 { min-width: 0; overflow: hidden; font-family: "TT Norms", "Cocon", Arial, sans-serif; font-size: 15px; line-height: 1.16; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__title button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff4f5; color: var(--pink); }
.cart-item__copy > p { margin-top: 5px; color: #746c67; font-size: 9.5px; font-weight: 700; line-height: 1.3; }
.cart-item__copy > span { margin-top: 4px; overflow: hidden; color: #9a716f; font-size: 9.5px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.cart-item__bottom > strong { color: var(--pink); font-size: 14px; white-space: nowrap; }
.cart-quantity { height: 32px; display: grid; grid-template-columns: 32px 48px 32px; align-items: center; overflow: hidden; border: 1px solid #eadfd7; border-radius: 16px; background: #fffaf7; }
.cart-quantity button { height: 30px; border: 0; background: transparent; color: var(--pink); font-size: 17px; line-height: 1; }
.cart-quantity button:hover { background: #fff0f4; }
.cart-quantity input { width: 100%; height: 30px; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 0 3px; font: inherit; font-size: 12px; font-weight: 700; text-align: center; }
.cart-quantity input:focus { background: #fff0f4; box-shadow: inset 0 0 0 1px rgba(196,30,80,.16); }
.cart-empty { min-height: 250px; display: grid; place-content: center; justify-items: center; margin-top: 14px; border: 1px dashed rgba(196,30,80,.3); border-radius: 13px; background: rgba(255,255,255,.58); padding: 34px 20px; text-align: center; }
.cart-empty > span { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: #fff0f4; color: var(--pink); }
.cart-empty h3 { margin-top: 13px; font-family: "TT Norms", "Cocon", Arial, sans-serif; font-size: 21px; }
.cart-empty p { max-width: 280px; margin-top: 7px; color: #766e69; font-size: 11px; line-height: 1.45; }
.cart-empty button { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; border: 1px solid var(--pink); border-radius: 20px; background: var(--pink); color: #fff; padding: 0 18px; font-size: 11px; font-weight: 700; }
.cart-service-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.cart-service-notes > div { min-width: 0; min-height: 56px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 7px; border: 1px solid #eadfd7; border-radius: 9px; background: #fffaf7; padding: 8px 9px; }
.cart-service-notes > div > svg { color: var(--red); }
.cart-service-notes span { min-width: 0; display: grid; gap: 2px; }
.cart-service-notes small { color: #827973; font-size: 10px; line-height: 1.15; }
.cart-service-notes strong { overflow: hidden; font-size: 12px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.cart-drawer__footer { border-top: 1px solid #eadfd7; background: rgba(255,255,255,.97); padding: 14px 18px max(16px, env(safe-area-inset-bottom)); box-shadow: 0 -9px 25px rgba(83,54,42,.07); }
.cart-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; color: #635b57; font-size: 12px; }
.cart-total-row > strong { color: var(--pink); font-family: "TT Norms", "Cocon", Arial, sans-serif; font-size: 22px; line-height: 1; }
.cart-total-row--discount { margin-bottom: 6px; color: #8d827a; font-size: 10px; }
.cart-total-row--discount > strong { color: var(--orange); font-family: inherit; font-size: 12px; }
.cart-minimum-note { margin-top: 7px; border-radius: 6px; background: #fff4e9; color: #9a5b35; padding: 7px 9px; font-size: 9.5px; line-height: 1.3; text-align: center; }
.cart-drawer__actions { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; margin-top: 12px; }
.cart-drawer__actions > * { min-width: 0; height: 45px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; padding: 0 10px; font-size: 11px; font-weight: 700; text-align: center; }
.cart-drawer__actions button { border: 1px solid var(--pink); background: #fff; color: var(--pink); }
.cart-drawer__actions a { border: 1px solid var(--pink); background: var(--pink); color: #fff; }
.cart-drawer__actions a.is-disabled { border-color: #dccfca; background: #ded5d1; color: #847b76; cursor: not-allowed; }
.cart-drawer__actions button:hover { background: #fff0f4; }
.cart-drawer__actions a:not(.is-disabled):hover { background: #a91944; }
@keyframes cart-drawer-in { from { transform: translateX(28px); opacity: .65; } to { transform: translateX(0); opacity: 1; } }


.cart-empty a { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; border: 1px solid var(--pink); border-radius: 20px; background: var(--pink); color: #fff !important; padding: 0 18px; font-size: 11px; font-weight: 700; }
.cart-item__title h3 a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-drawer button { cursor: pointer; }
.cart-drawer button:focus-visible,
.cart-drawer a:focus-visible,
.cart-drawer input:focus-visible { outline: 3px solid rgba(196,30,80,.28); outline-offset: 2px; }
.cart-drawer__actions a[aria-disabled="true"] { pointer-events: none; }
.cart-drawer__actions button { cursor: pointer; }

@media (max-width: 600px) {
  .cart-drawer { width: 100vw; }
  .cart-drawer__header { min-height: 68px; grid-template-columns: 40px minmax(0, 1fr) auto 40px; gap: 9px; padding: 8px 12px; }
  .cart-drawer__icon,
  .cart-drawer__header > button { width: 40px; height: 40px; }
  .cart-drawer__header h2 { font-size: 24px; }
  .cart-drawer__count { min-width: 27px; height: 27px; font-size: 11px; }
  .cart-drawer__body { padding: 12px 12px 18px; }
  .cart-discount-card { border-radius: 10px; padding: 11px 12px 10px; }
  .cart-discount-card__heading strong { font-size: 11.5px; }
  .cart-item { grid-template-columns: 92px minmax(0, 1fr); gap: 9px; border-radius: 9px; padding: 8px; }
  .cart-item__image { width: 92px; height: 92px; border-radius: 7px; }
  .cart-item__title h3 { font-size: 13.5px; }
  .cart-item__copy > p,
  .cart-item__copy > span { font-size: 8.5px; }
  .cart-item__bottom > strong { font-size: 12.5px; }
  .cart-quantity { height: 30px; grid-template-columns: 29px 44px 29px; }
  .cart-quantity button { height: 28px; }
  .cart-quantity input { height: 28px; }
  .cart-empty { min-height: 220px; padding-block: 28px; }
  .cart-service-notes { gap: 6px; }
  .cart-service-notes > div { grid-template-columns: 24px minmax(0, 1fr); gap: 5px; padding-inline: 7px; }
  .cart-service-notes strong { font-size: 10.5px; }
  .cart-drawer__footer { padding: 12px 12px max(12px, env(safe-area-inset-bottom)); }
  .cart-total-row > strong { font-size: 20px; }
  .cart-drawer__actions > * { height: 43px; padding-inline: 7px; font-size: 10px; }

}

@media (prefers-reduced-motion: reduce) {
  #modal_cart,
  #modal_cart .cart-drawer {
    animation: none !important;
  }
  #modal_cart *,
  #modal_cart *::before,
  #modal_cart *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
