/* Scope to the add-to-cart confirmation; other WoodMart dialogs keep their styles. */
html[data-hl-theme] .wd-popup-added-cart-wrap {
  --wd-popup-width: 500px;
  --wd-popup-brd-radius: 22px;
  --hk-popup-bg: #fff;
  --hk-popup-text: #173448;
  --hk-popup-border: #b8cfdd;
  --hk-popup-secondary: #edf5fa;
  --hk-popup-hover: #dcecf5;
}
html[data-hl-theme="dark"] .wd-popup-added-cart-wrap {
  --hk-popup-bg: #162d39;
  --hk-popup-text: #edf6fc;
  --hk-popup-border: #456779;
  --hk-popup-secondary: #102430;
  --hk-popup-hover: #244656;
  color-scheme: dark;
}
html[data-hl-theme] .wd-popup-added-cart {
  background: var(--hk-popup-bg) !important;
  color: var(--hk-popup-text) !important;
  border: 1px solid var(--hk-popup-border);
  border-radius: 22px;
  padding: 34px 26px;
  box-shadow: 0 20px 70px rgb(0 0 0 / 28%);
}
html[data-hl-theme] .wd-popup-added-cart h3 {
  color: var(--hk-popup-text) !important;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.4;
  margin: 0 0 22px;
}
html[data-hl-theme] .wd-popup-added-cart .btn {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--hk-popup-border);
  background: var(--hk-popup-secondary) !important;
  color: var(--hk-popup-text) !important;
  margin: 6px;
  line-height: 1.4;
  white-space: normal;
}
html[data-hl-theme] .wd-popup-added-cart .btn:hover {
  background: var(--hk-popup-hover) !important;
}
html[data-hl-theme] .wd-popup-added-cart .btn-color-primary {
  background: #007fb4 !important;
  border-color: #007fb4;
  color: #fff !important;
}
html[data-hl-theme] .wd-popup-added-cart .btn-color-primary:hover {
  background: #006b99 !important;
}
html[data-hl-theme] .wd-popup-added-cart .btn:focus-visible,
html[data-hl-theme] .wd-popup-added-cart-wrap .wd-popup-close:focus-visible {
  outline: 3px solid #64d5ff;
  outline-offset: 3px;
}
@media (max-width: 520px) {
  html[data-hl-theme] .wd-popup-added-cart { padding: 26px 18px; }
  html[data-hl-theme] .wd-popup-added-cart .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 10px 0 0;
  }
}
/* Override the legacy white popup rule, including its outer surface. */
html[data-hl-theme] body .mfp-ready.wd-popup-added-cart-wrap .wd-popup-wrap,
html[data-hl-theme] body .mfp-ready.wd-popup-added-cart-wrap .wd-popup-added-cart {
  background:var(--hk-popup-bg)!important;
  color:var(--hk-popup-text)!important;
  border-radius:22px!important;
}
html[data-hl-theme] body .wd-popup-added-cart-wrap .wd-popup-added-cart h3 {
  color:var(--hk-popup-text)!important;
}
html[data-hl-theme] body .wd-popup-added-cart-wrap .wd-popup-added-cart a[href*="/sepet"] {
  background:#007fb4!important;border-color:#007fb4!important;color:#fff!important;
}
html[data-hl-theme] body .wd-popup-added-cart-wrap .wd-popup-added-cart a[href*="/sepet"]:hover {
  background:#006b99!important;
}
/* The theme palette overrides anchor text independently of button backgrounds. */
html[data-hl-theme="light"] body .mfp-ready.wd-popup-added-cart-wrap .wd-popup-added-cart .btn:not([href*="/sepet"]),
html[data-hl-theme="light"] body .mfp-ready.wd-popup-added-cart-wrap .wd-popup-added-cart .btn:not([href*="/sepet"]) :is(span,span *) {
  color:#173448!important;background-color:#edf5fa!important;
}
html[data-hl-theme="dark"] body .mfp-ready.wd-popup-added-cart-wrap .wd-popup-added-cart .btn:not([href*="/sepet"]),
html[data-hl-theme="dark"] body .mfp-ready.wd-popup-added-cart-wrap .wd-popup-added-cart .btn:not([href*="/sepet"]) :is(span,span *) {
  color:#edf6fc!important;background-color:#102430!important;
}
