.hipopo-hp-v3.hipopo-redesign-drawer .hp-cart-drawer {
  z-index: 99999;
}

.hp-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  font-family: "Heebo", "Rubik", "Assistant", Arial, sans-serif;
}

.hp-cart-drawer[hidden] {
  display: none !important;
}

.hp-cart-drawer.is-open {
  display: block;
}

.hp-cart-drawer__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(6, 28, 69, 0.55) !important;
  cursor: pointer;
  color: transparent;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

.hp-cart-drawer__overlay:hover,
.hp-cart-drawer__overlay:focus,
.hp-cart-drawer__overlay:focus-visible,
.hp-cart-drawer__overlay:active {
  background: rgba(6, 28, 69, 0.68) !important;
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
  color: transparent !important;
}

.hp-cart-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(96vw, 430px);
  height: 100%;
  background: linear-gradient(180deg, #f7fdff 0%, #ffffff 120px, #ffffff 100%);
  box-shadow: 18px 0 48px rgba(6, 28, 69, 0.18);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate3d(-104%, 0, 0);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hp-cart-drawer.is-open .hp-cart-drawer__panel {
  transform: translate3d(0, 0, 0);
}

.hp-cart-drawer__inner {
  min-height: 100%;
}

.hp-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 16px 24px;
  color: #061c45;
}

.hp-cart-drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(5, 142, 232, 0.14);
}

.hp-cart-drawer__title {
  margin: 0;
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 900;
  line-height: 1.1;
  color: #061d44;
}

.hp-cart-drawer__subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #4d6f92;
}

.hp-cart-drawer__close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(5, 142, 232, 0.22);
  border-radius: 50%;
  background: #fff;
  color: #058ee8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 133, 204, 0.1);
}

.hp-drawer-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 216, 255, 0.14), rgba(5, 142, 232, 0.08));
  border: 1px solid rgba(5, 142, 232, 0.18);
}

.hp-drawer-success__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #68fbff, #0877d9);
  color: #fff;
  font-weight: 900;
}

.hp-drawer-success h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 900;
  color: #061d44;
}

.hp-drawer-success p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #4d6f92;
}

.hp-drawer-gift {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 47, 153, 0.1), rgba(255, 105, 194, 0.06));
  border: 1px solid rgba(255, 47, 153, 0.18);
}

.hp-drawer-gift__icon {
  font-size: 28px;
  line-height: 1;
}

.hp-drawer-gift strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #061d44;
}

.hp-drawer-gift p {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #6a4d67;
}

.hp-drawer-items__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hp-drawer-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(5, 142, 232, 0.12);
  box-shadow: 0 10px 24px rgba(0, 72, 135, 0.08);
}

.hp-drawer-item__image {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: #f2fbff;
}

.hp-drawer-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hp-drawer-item__title {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  color: #061d44;
  text-decoration: none;
}

.hp-drawer-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hp-drawer-item__qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid rgba(5, 142, 232, 0.2);
  border-radius: 999px;
  overflow: hidden;
  background: #f7fdff;
}

.hp-drawer-item__qty-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #058ee8;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.hp-drawer-item__qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  color: #061d44;
}

.hp-drawer-item__price {
  font-size: 14px;
  font-weight: 900;
  color: #058ee8;
  white-space: nowrap;
}

.hp-drawer-item__price .woocommerce-Price-amount {
  font-weight: 900;
}

.hp-drawer-item__remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 47, 153, 0.1);
  color: #ee147f;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.hp-drawer-empty {
  text-align: center;
  padding: 28px 16px;
  border-radius: 20px;
  background: #f4fcff;
  border: 1px dashed rgba(5, 142, 232, 0.22);
}

.hp-drawer-empty__icon {
  font-size: 34px;
  margin-bottom: 8px;
}

.hp-drawer-empty h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
}

.hp-drawer-empty p {
  margin: 0 0 16px;
  color: #4d6f92;
  font-weight: 700;
}

.hp-drawer-totals {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f2fbff, #ffffff);
  border: 1px solid rgba(5, 142, 232, 0.14);
}

.hp-drawer-totals__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
}

.hp-drawer-totals__row strong {
  font-size: 18px;
  font-weight: 950;
  color: #061d44;
}

.hp-drawer-shipping-progress {
  height: 10px;
  background: rgba(5, 142, 232, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.hp-drawer-shipping-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, #68fbff, #058ee8 55%, #ff69c2);
  border-radius: inherit;
}

.hp-drawer-shipping-progress__msg {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #4d6f92;
}

.hp-drawer-shipping-progress__msg--ok {
  color: #058ee8;
}

.hp-drawer-cross-sells h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: #061d44;
}

.hp-drawer-cross-sells__list {
  display: grid;
  gap: 10px;
}

.hp-drawer-cross-sells__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(5, 142, 232, 0.1);
}

.hp-drawer-cross-sells__image {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2fbff;
}

.hp-drawer-cross-sells__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hp-drawer-cross-sells__copy a {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #061d44;
  text-decoration: none;
  line-height: 1.25;
}

.hp-drawer-cross-sells__copy span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 800;
  color: #058ee8;
}

.hp-drawer-cross-sells__add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(180deg, #ff69c2, #ee147f);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(238, 20, 127, 0.22);
}

.hp-drawer-actions {
  display: grid;
  gap: 10px;
}

.hp-drawer-actions .hp-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hp-drawer-actions .hp-btn--checkout {
  background: linear-gradient(180deg, #ff69c2, #ee147f);
  color: #fff;
  box-shadow: 0 12px 22px rgba(238, 20, 127, 0.24);
}

.hp-drawer-actions .hp-btn--primary {
  background: linear-gradient(180deg, #1fd3ff, #0878ce);
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 139, 220, 0.22);
}

.hp-drawer-actions .hp-btn--secondary {
  background: #fff;
  color: #058ee8;
  border: 1.5px solid rgba(5, 142, 232, 0.28);
}

body.hp-cart-open {
  overflow: hidden;
  touch-action: none;
}

body.hipopo-site-v3 .hp-cart-drawer {
  z-index: 100200 !important;
}

body.hp-cart-open.hipopo-site-v3 .elementor-location-header,
body.hp-cart-open.hipopo-site-v3 .hp-codex-header,
body.hp-cart-open.hipopo-site-v3 .hp-thursday-live-bar,
body.hp-cart-open.hipopo-site-v3 .hp-mobile-drawer {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hp-cart-drawer__inner[data-hp-drawer-lazy="1"] {
  min-height: 100%;
  background: linear-gradient(180deg, rgba(247, 253, 255, 0.9), #fff 40%);
}

.hp-cart-drawer.is-busy .hp-drawer-content {
  opacity: 0.72;
  pointer-events: none;
}

.hp-drawer-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
}

.hp-drawer-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f7fdff;
  border: 1px solid rgba(5, 142, 232, 0.08);
  min-height: 64px;
}

.hp-drawer-trust__item strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #061d44;
}

.hp-drawer-trust__item small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #4d6f92;
}

.hp-drawer-trust__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, #68fbff, #0877d9);
  flex: 0 0 auto;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 119, 217, 0.18);
}

.hp-drawer-trust__icon--gift {
  background: linear-gradient(180deg, #ff69c2, #ee147f);
  box-shadow: 0 8px 16px rgba(238, 20, 127, 0.18);
}

.hp-drawer-trust__icon--shield {
  background: linear-gradient(180deg, #9ef57b, #28a900);
  box-shadow: 0 8px 16px rgba(40, 169, 0, 0.16);
}

.hp-drawer-trust__icon--heart {
  background: linear-gradient(180deg, #ff8fc8, #ee147f);
  box-shadow: 0 8px 16px rgba(238, 20, 127, 0.16);
}

.hp-drawer-trust__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  background: #fff;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.hp-drawer-trust__icon--truck::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 6h11v8H3V6zm12 1h2.1l2.9 3.5V14H15V7zM3 16h13v2H3v-2zm15 0h3v2h-3v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 6h11v8H3V6zm12 1h2.1l2.9 3.5V14H15V7zM3 16h13v2H3v-2zm15 0h3v2h-3v-2z'/%3E%3C/svg%3E");
}

.hp-drawer-trust__icon--gift::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 7h-2.6A3.5 3.5 0 0 0 20 3.5 3.5 3.5 0 0 0 16.5 7H15V5h2V3h-2.1A3.5 3.5 0 0 0 8.1 3H6v2h2v2H6v12h14V7z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 7h-2.6A3.5 3.5 0 0 0 20 3.5 3.5 3.5 0 0 0 16.5 7H15V5h2V3h-2.1A3.5 3.5 0 0 0 8.1 3H6v2h2v2H6v12h14V7z'/%3E%3C/svg%3E");
}

.hp-drawer-trust__icon--shield::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2l8 3v6c0 5-3.4 9.7-8 11-4.6-1.3-8-6-8-11V5l8-3z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2l8 3v6c0 5-3.4 9.7-8 11-4.6-1.3-8-6-8-11V5l8-3z'/%3E%3C/svg%3E");
}

.hp-drawer-trust__icon--heart::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21s-7-4.4-9.5-9C.7 8.8 2.6 5 6.4 5c2 0 3.2 1 3.8 2.1C11 6 12.2 5 14.2 5c3.8 0 5.7 3.8 3.9 7-2.5 4.6-9.5 9-9.5 9z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21s-7-4.4-9.5-9C.7 8.8 2.6 5 6.4 5c2 0 3.2 1 3.8 2.1C11 6 12.2 5 14.2 5c3.8 0 5.7 3.8 3.9 7-2.5 4.6-9.5 9-9.5 9z'/%3E%3C/svg%3E");
}

@media (max-width: 480px) {
  .hp-cart-drawer__panel {
    width: 100vw;
  }

  .hp-drawer-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .hp-drawer-item__image {
    width: 64px;
    height: 64px;
  }
}
