/* DOMSTROI toast v0.24 — cart / wishlist / compare notifications */
body.adeptdev-storefront #small-popup {
  position: fixed !important;
  z-index: 10120 !important;
  right: 24px !important;
  bottom: 24px !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  pointer-events: none !important;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 14px, 0) scale(.985);
  transition: opacity .2s ease, transform .24s cubic-bezier(.2,.8,.2,1), visibility .2s ease !important;
}

body.adeptdev-storefront #small-popup.active {
  right: 24px !important;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
}

body.adeptdev-storefront #small-popup .notification {
  position: relative !important;
  box-sizing: border-box !important;
  width: min(390px, calc(100vw - 48px)) !important;
  min-width: 0 !important;
  max-width: 390px !important;
  margin: 0 !important;
  padding: 18px 48px 18px 76px !important;
  overflow: hidden;
  border: 1px solid rgba(183,135,87,.24) !important;
  border-radius: 20px !important;
  background: rgba(255,252,248,.985) !important;
  color: #4b4540 !important;
  box-shadow: 0 24px 68px rgba(54,43,34,.17), 0 2px 9px rgba(54,43,34,.06) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  pointer-events: auto !important;
}

body.adeptdev-storefront #small-popup .notification::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #b78757;
}

body.adeptdev-storefront #small-popup .notification > button {
  position: absolute !important;
  z-index: 3;
  top: 12px !important;
  right: 12px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #eadfd4 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #8f5d36 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease !important;
}

body.adeptdev-storefront #small-popup .notification > button:hover {
  transform: rotate(4deg);
  border-color: #d8b896 !important;
  background: #faf6f1 !important;
}

body.adeptdev-storefront #small-popup .notification > button svg {
  width: 30px !important;
  height: 30px !important;
}

body.adeptdev-storefront #small-popup .title {
  display: none !important;
}

body.adeptdev-storefront #small-popup .ad-toast__icon {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f4e8dc;
  color: #9a653d;
  box-shadow: inset 0 0 0 1px rgba(183,135,87,.18);
}

body.adeptdev-storefront #small-popup .ad-toast__icon svg {
  width: 24px;
  height: 24px;
}

body.adeptdev-storefront #small-popup.crt .ad-toast__icon {
  background: #efe4d8;
  color: #8f5d36;
}

body.adeptdev-storefront #small-popup .ad-toast__title {
  display: block !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: #3f3731 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: -.015em;
  text-align: left !important;
}

body.adeptdev-storefront #small-popup .ad-toast__message {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #746d66 !important;
  font-size: 12.5px !important;
  line-height: 1.48 !important;
  font-weight: 550 !important;
  text-align: left !important;
  overflow-wrap: anywhere;
}

body.adeptdev-storefront #small-popup .ad-toast__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 13px 0 0 !important;
  padding: 0 !important;
}

body.adeptdev-storefront #small-popup .ad-toast__actions:empty {
  display: none !important;
}

body.adeptdev-storefront #small-popup .ad-toast__action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #e8ddd2;
  border-radius: 11px;
  background: #fff;
  color: #5b4d42;
  font-size: 11.5px;
  line-height: 1;
  font-weight: 760;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

body.adeptdev-storefront #small-popup .ad-toast__action:hover {
  transform: translateY(-1px);
  border-color: #d6b493;
  background: #fbf6f1;
  box-shadow: 0 7px 18px rgba(143,93,54,.09);
}

body.adeptdev-storefront #small-popup .ad-toast__action--primary {
  border-color: #b78757;
  background: #b78757;
  color: #fff;
  box-shadow: 0 8px 20px rgba(183,135,87,.2);
}

body.adeptdev-storefront #small-popup .ad-toast__action--primary:hover {
  border-color: #9a653d;
  background: #9a653d;
  color: #fff;
}

@media (max-width: 767px) {
  body.adeptdev-storefront #small-popup,
  body.adeptdev-storefront #small-popup.active {
    right: 12px !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    left: 12px !important;
    width: auto !important;
  }

  body.adeptdev-storefront #small-popup .notification {
    width: 100% !important;
    max-width: none !important;
    padding: 16px 44px 16px 68px !important;
    border-radius: 18px !important;
  }

  body.adeptdev-storefront #small-popup .ad-toast__icon {
    left: 15px;
    top: 16px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  body.adeptdev-storefront #small-popup .ad-toast__icon svg {
    width: 22px;
    height: 22px;
  }

  body.adeptdev-storefront #small-popup .ad-toast__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.adeptdev-storefront #small-popup .ad-toast__action {
    width: 100%;
  }
}

@media (max-width: 390px) {
  body.adeptdev-storefront #small-popup .ad-toast__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.adeptdev-storefront #small-popup,
  body.adeptdev-storefront #small-popup .notification > button,
  body.adeptdev-storefront #small-popup .ad-toast__action {
    transition: none !important;
  }
}

/* DOMSTROI toast v0.27 — card-driven cart confirmation */
body.adeptdev-storefront #small-popup .notification {
  width:min(430px,calc(100vw - 48px))!important;
  max-width:430px!important;
  padding:18px 48px 18px 76px!important;
  border-color:rgba(183,135,87,.28)!important;
  border-radius:22px!important;
  background:rgba(255,253,250,.992)!important;
  box-shadow:0 28px 74px rgba(55,42,32,.19),0 4px 14px rgba(55,42,32,.06)!important;
}
body.adeptdev-storefront #small-popup .notification.has-product-thumb {
  padding-left:92px!important;
}
body.adeptdev-storefront #small-popup .ad-toast__thumb {
  position:absolute;
  left:16px;
  top:16px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid #eadfd4;
  border-radius:15px;
  background:linear-gradient(145deg,#faf5ef,#f4ece4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
body.adeptdev-storefront #small-popup .ad-toast__thumb img {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:5px;
}
body.adeptdev-storefront #small-popup .notification.has-product-thumb .ad-toast__icon {
  display:none!important;
}
body.adeptdev-storefront #small-popup .ad-toast__title {
  margin-bottom:4px!important;
  color:#3d352f!important;
  font-size:15.5px!important;
  font-weight:850!important;
}
body.adeptdev-storefront #small-popup .ad-toast__message {
  display:-webkit-box!important;
  overflow:hidden;
  color:#72685f!important;
  font-size:12px!important;
  line-height:1.45!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
body.adeptdev-storefront #small-popup .ad-toast__actions {
  gap:7px!important;
  margin-top:12px!important;
}
body.adeptdev-storefront #small-popup .ad-toast__action {
  min-height:37px!important;
  padding:0 14px!important;
  border-radius:11px!important;
  font-weight:780!important;
}
body.adeptdev-storefront #small-popup .ad-toast__action--primary {
  background:linear-gradient(145deg,#9f6a43,#805234)!important;
  border-color:#8f5d36!important;
  box-shadow:0 8px 20px rgba(143,93,54,.18)!important;
}
@media (max-width:767px) {
  body.adeptdev-storefront #small-popup .notification {
    padding:15px 42px 15px 64px!important;
    border-radius:18px!important;
  }
  body.adeptdev-storefront #small-popup .notification.has-product-thumb {
    padding-left:78px!important;
  }
  body.adeptdev-storefront #small-popup .ad-toast__thumb {
    left:13px;
    top:14px;
    width:50px;
    height:50px;
    border-radius:13px;
  }
  body.adeptdev-storefront #small-popup .ad-toast__title { font-size:14px!important; }
  body.adeptdev-storefront #small-popup .ad-toast__message { font-size:11.5px!important; }
}
