:root {
  --mhpc-primary: #3153c7;
  --mhpc-primary-dark: #243fa8;
  --mhpc-accent: #ee1f68;
  --mhpc-ink: #17213d;
  --mhpc-muted: #667085;
  --mhpc-line: #e7ebf3;
  --mhpc-bg: #f4f7fb;
  --mhpc-card: #ffffff;
  --mhpc-success: #0e9f6e;
  --mhpc-shadow: 0 18px 48px rgba(31, 46, 92, .12);
  --mhpc-radius: 22px;
}

html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body.mh-premium-commerce { max-width: 100%; overflow-x: clip; background: var(--mhpc-bg); }
body.mh-premium-commerce *, body.mh-premium-commerce *::before, body.mh-premium-commerce *::after { box-sizing: border-box; }
body.mh-premium-commerce img, body.mh-premium-commerce svg { max-width: 100%; }
body.mh-cart-open { overflow: hidden !important; touch-action: none; }

/* Sepet cekmecesi */
.mh-cart-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147482000 !important;
  background: rgba(9, 18, 46, .58) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0 !important;
  overflow: hidden !important;
}
.mh-cart-overlay[hidden], .mh-cart-overlay:not(.is-open):not(.open):not(.active) { pointer-events: none; }
.mh-cart-drawer {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(440px, 100%) !important;
  max-width: 100% !important;
  height: 100dvh !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  overflow: hidden !important;
  background: var(--mhpc-card) !important;
  color: var(--mhpc-ink) !important;
  box-shadow: -24px 0 70px rgba(10, 20, 55, .22) !important;
}
.mh-cart-drawer__head {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 22px 22px 16px !important;
  border-bottom: 1px solid var(--mhpc-line) !important;
  background: #fff !important;
  color: var(--mhpc-ink) !important;
}
.mh-cart-drawer__head h2, .mh-cart-drawer__head strong { margin: 0 !important; font-size: 22px !important; line-height: 1.2 !important; color: var(--mhpc-ink) !important; }
.mh-cart-close {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border: 1px solid var(--mhpc-line) !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  background: #f8fafc !important;
  color: var(--mhpc-ink) !important;
  font-size: 24px !important;
}
.mh-cart-drawer__items {
  min-width: 0 !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 18px 22px !important;
  background: var(--mhpc-bg) !important;
}
.mh-cart-drawer__item {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "copy remove" "price remove" !important;
  align-items: center !important;
  gap: 7px 12px !important;
  margin: 0 0 12px !important;
  padding: 16px !important;
  border: 1px solid var(--mhpc-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(31, 46, 92, .07) !important;
  color: var(--mhpc-ink) !important;
  overflow: hidden !important;
}
.mh-cart-drawer__item > :not(.mh-cart-drawer__remove):not(button) { min-width: 0 !important; }
.mh-cart-drawer__item strong, .mh-cart-drawer__item .name, .mh-cart-drawer__item [class*="name"] {
  max-width: 100% !important;
  color: var(--mhpc-ink) !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere !important;
}
.mh-cart-drawer__item a:not(.mh-cart-drawer__remove), .mh-cart-drawer__item small, .mh-cart-drawer__item [class*="link"] {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  color: var(--mhpc-muted) !important;
  font-size: 13px !important;
}
.mh-cart-drawer__item [class*="price"] { color: var(--mhpc-primary) !important; font-size: 17px !important; font-weight: 800 !important; }
.mh-cart-drawer__remove, .mh-cart-drawer__item button {
  grid-area: remove !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  background: #fff0f4 !important;
  color: var(--mhpc-accent) !important;
}
.mh-cart-drawer__foot {
  padding: 16px 18px max(18px, env(safe-area-inset-bottom)) !important;
  border-top: 1px solid var(--mhpc-line) !important;
  background: rgba(255,255,255,.97) !important;
  color: var(--mhpc-ink) !important;
  box-shadow: 0 -14px 32px rgba(31,46,92,.08) !important;
}
.mh-cart-drawer__total { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; margin: 0 0 14px !important; color: var(--mhpc-ink) !important; font-size: 16px !important; }
.mh-cart-drawer__total strong { font-size: 22px !important; color: var(--mhpc-ink) !important; }
.mh-cart-drawer__actions { display: grid !important; grid-template-columns: 1fr 1.2fr !important; gap: 10px !important; }
.mh-cart-drawer__actions a, .mh-cart-drawer__actions button {
  width: 100% !important;
  min-height: 54px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--mhpc-primary) !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.mh-cart-drawer__actions a:first-child { background: #fff !important; color: var(--mhpc-primary) !important; }
.mh-cart-drawer__actions a:last-child, .mh-cart-drawer__actions button:last-child { background: var(--mhpc-primary) !important; color: #fff !important; box-shadow: 0 10px 25px rgba(49,83,199,.25) !important; }

/* Siparis adresi ve paket sayfasi */
.mh-premium-product .loftForm, .mh-premium-product form { max-width: 100%; }
.mh-premium-product .form-floating, .mh-premium-checkout .form-floating { position: relative; min-width: 0; }
.mh-premium-product .form-floating input, .mh-premium-product .form-floating textarea,
.mh-premium-checkout .form-floating input, .mh-premium-checkout .form-floating textarea {
  min-width: 0 !important;
  max-width: 100% !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}
.mh-premium-product .form-floating.mh-has-value label,
.mh-premium-product .form-floating:focus-within label,
.mh-premium-checkout .form-floating.mh-has-value label,
.mh-premium-checkout .form-floating:focus-within label {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.mh-premium-product .form-floating.mh-has-value small,
.mh-premium-product .form-floating:focus-within small,
.mh-premium-product .form-floating.mh-has-value .form-text,
.mh-premium-product .form-floating:focus-within .form-text { display: none !important; }

/* Odeme sayfasi */
.mh-premium-checkout .orderArea { overflow: visible !important; background: var(--mhpc-bg) !important; }
.mh-premium-checkout .loftForm { width: 100% !important; max-width: 1180px !important; margin-inline: auto !important; }
.mh-premium-checkout .mh-checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  width: min(720px, calc(100% - 30px));
  margin: 0 auto 16px;
  padding: 7px;
  border: 1px solid var(--mhpc-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31,46,92,.07);
}
.mh-premium-checkout .mh-checkout-progress span { min-width: 0; padding: 9px 5px; border-radius: 12px; color: var(--mhpc-muted); text-align: center; font-size: 13px; font-weight: 700; }
.mh-premium-checkout .mh-checkout-progress span:nth-child(2), .mh-premium-checkout .mh-checkout-progress span:nth-child(3) { background: #eef2ff; color: var(--mhpc-primary); }
.mh-premium-checkout .mh-payment-continue {
  width: min(720px, calc(100% - 30px)) !important;
  min-height: 0 !important;
  margin: 0 auto 18px !important;
  padding: 14px 16px !important;
  border: 1px solid #dfe5f2 !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(31,46,92,.07) !important;
}
.mh-premium-checkout .mh-payment-continue > * { margin: 0 !important; }
.mh-premium-checkout .mh-payment-continue a, .mh-premium-checkout .mh-payment-continue button {
  min-height: 44px !important;
  padding: 10px 15px !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef2ff !important;
  color: var(--mhpc-primary) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.mh-premium-checkout .order--step_area { align-items: start !important; gap: 20px !important; }
.mh-premium-checkout .order--first_area, .mh-premium-checkout .order--step { min-width: 0 !important; }
.mh-premium-checkout .firstcont, .mh-premium-checkout .order--step,
.mh-premium-checkout .baco-step.card > .body, .mh-premium-checkout .paymentDetail {
  border: 1px solid var(--mhpc-line) !important;
  border-radius: var(--mhpc-radius) !important;
  background: #fff !important;
  box-shadow: var(--mhpc-shadow) !important;
}
.mh-premium-checkout .cart-item {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: start !important;
  align-content: start !important;
  gap: 12px !important;
  padding: 16px !important;
  border: 1px solid var(--mhpc-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  overflow: visible !important;
  min-height: 0 !important;
  height: auto !important;
}
.mh-premium-checkout .cart-name, .mh-premium-checkout .cart-name > *, .mh-premium-checkout .name, .mh-premium-checkout .subname { width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
.mh-premium-checkout .cart-link {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  color: var(--mhpc-muted) !important;
  line-height: 1.45 !important;
}
.mh-premium-checkout .cart-price { white-space: nowrap !important; font-weight: 800 !important; color: var(--mhpc-ink) !important; }
.mh-premium-checkout .btn-trash {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  background: #fff0f4 !important;
  color: var(--mhpc-accent) !important;
}
.mh-premium-checkout .order-payment_title { margin-bottom: 15px !important; color: var(--mhpc-ink) !important; font-size: 20px !important; font-weight: 800 !important; }
.mh-premium-checkout .form-floating { min-height: 62px !important; margin-bottom: 12px !important; }
.mh-premium-checkout .form-floating input {
  width: 100% !important;
  height: 62px !important;
  padding: 18px 18px 10px 58px !important;
  border: 1px solid #dfe5ef !important;
  border-radius: 17px !important;
  background: #fbfcfe !important;
  color: var(--mhpc-ink) !important;
  outline: none !important;
}
.mh-premium-checkout .form-floating:focus-within input { border-color: var(--mhpc-primary) !important; box-shadow: 0 0 0 4px rgba(49,83,199,.10) !important; background: #fff !important; }
.mh-premium-checkout .basket-detail-list { margin: 0 !important; padding: 0 !important; }
.mh-premium-checkout .basket-detail-list li { display: flex !important; justify-content: space-between !important; gap: 18px !important; padding: 10px 0 !important; border-bottom: 1px dashed var(--mhpc-line) !important; color: var(--mhpc-muted) !important; }
.mh-premium-checkout .basket-detail-list li:last-child { border-bottom: 0 !important; color: var(--mhpc-ink) !important; font-size: 18px !important; font-weight: 800 !important; }
.mh-premium-checkout .PaymentMethod { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 12px !important; }
.mh-premium-checkout .selectPayment {
  min-width: 0 !important;
  min-height: 82px !important;
  margin: 0 !important;
  padding: 15px 16px !important;
  border: 1px solid #dfe5ef !important;
  border-radius: 17px !important;
  display: flex !important;
  align-items: center !important;
  background: #fbfcfe !important;
  color: var(--mhpc-ink) !important;
  cursor: pointer !important;
}
.mh-premium-checkout .selectPayment.selected { border-color: var(--mhpc-primary) !important; background: #f1f4ff !important; box-shadow: inset 0 0 0 1px var(--mhpc-primary) !important; }
.mh-premium-checkout .selectPayment * { max-width: 100% !important; }
.mh-premium-checkout .checkbox.mt-3 { display: flex !important; align-items: flex-start !important; gap: 10px !important; margin-top: 16px !important; color: var(--mhpc-ink) !important; line-height: 1.4 !important; }
.mh-premium-checkout .checkbox.mt-3 input { width: 24px !important; height: 24px !important; min-width: 24px !important; margin: 1px 0 0 !important; accent-color: var(--mhpc-primary) !important; }
.mh-premium-checkout .orActionBTND {
  min-height: 58px !important;
  margin-top: 14px !important;
  border: 0 !important;
  border-radius: 17px !important;
  background: linear-gradient(135deg, var(--mhpc-primary), var(--mhpc-primary-dark)) !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  box-shadow: 0 14px 30px rgba(49,83,199,.26) !important;
}
.mh-premium-checkout .mh-checkout-trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 11px 0 0; color: var(--mhpc-muted); font-size: 12px; font-weight: 600; }
.mh-premium-checkout .mh-checkout-trust::before { content: '✓'; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #e7f8f1; color: var(--mhpc-success); font-size: 11px; font-weight: 900; }

@media (max-width: 820px) {
  html { -webkit-text-size-adjust: 100%; }
  body.mh-premium-commerce { min-height: 100dvh; padding-bottom: max(18px, env(safe-area-inset-bottom)) !important; }
  body.mh-premium-commerce header { position: sticky !important; top: 0 !important; z-index: 1000 !important; width: 100% !important; max-width: 100% !important; background: rgba(255,255,255,.96) !important; box-shadow: 0 5px 22px rgba(20,33,61,.08) !important; padding-top: env(safe-area-inset-top) !important; }
  body.mh-premium-commerce header .container, body.mh-premium-commerce header .header { width: 100% !important; max-width: 100% !important; min-width: 0 !important; padding-left: 14px !important; padding-right: 14px !important; }
  body.mh-premium-commerce header .header { min-height: 74px !important; display: flex !important; align-items: center !important; gap: 10px !important; }
  body.mh-premium-commerce header .logo, body.mh-premium-commerce header .logo a { min-width: 0 !important; max-width: min(54vw, 210px) !important; }
  body.mh-premium-commerce header .logo img { display: block !important; width: 100% !important; max-width: 210px !important; height: auto !important; }
  body.mh-premium-commerce header .navbar-action-area { min-width: 0 !important; margin-left: auto !important; display: flex !important; align-items: center !important; gap: 8px !important; }
  body.mh-premium-commerce header .cart, body.mh-premium-commerce header .orsebtnss { width: 48px !important; height: 48px !important; min-width: 48px !important; margin: 0 !important; padding: 0 !important; }
  body.mh-premium-commerce header .mobileMenu { width: 44px !important; min-width: 44px !important; margin: 0 !important; }
  body.mh-premium-commerce .bottom--menu { display: none !important; }
  body.mh-premium-checkout .order--search { display: none !important; }
  body.mh-premium-checkout .mh-premium-floating-hidden { display: none !important; }
  body.mh-premium-checkout iframe[title*="whatsapp" i], body.mh-premium-checkout iframe[src*="whatsapp" i], body.mh-premium-checkout iframe[class*="whatsapp" i],
  body.mh-premium-checkout [class*="whatsapp" i][style*="fixed" i], body.mh-premium-checkout [id*="whatsapp" i][style*="fixed" i] { display: none !important; }
  body.mh-premium-checkout footer, body.mh-premium-checkout .footer, body.mh-premium-checkout .footer--contact, body.mh-premium-checkout .contactArea { display: none !important; }

  .mh-cart-drawer {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: min(88dvh, 760px) !important;
    max-height: calc(100dvh - max(10px, env(safe-area-inset-top))) !important;
    border-radius: 26px 26px 0 0 !important;
    box-shadow: 0 -24px 70px rgba(10,20,55,.28) !important;
  }
  .mh-cart-drawer::before { content: ''; position: absolute; top: 8px; left: 50%; width: 42px; height: 4px; border-radius: 9px; background: #d8deea; transform: translateX(-50%); z-index: 2; }
  .mh-cart-drawer__head { padding: 25px 16px 13px !important; }
  .mh-cart-drawer__head h2, .mh-cart-drawer__head strong { font-size: 20px !important; }
  .mh-cart-drawer__items { padding: 13px 14px 18px !important; }
  .mh-cart-drawer__item { padding: 14px !important; border-radius: 16px !important; }
  .mh-cart-drawer__foot { padding: 13px 14px max(14px, env(safe-area-inset-bottom)) !important; }
  .mh-cart-drawer__actions { grid-template-columns: 1fr 1.15fr !important; gap: 8px !important; }
  .mh-cart-drawer__actions a, .mh-cart-drawer__actions button { min-height: 52px !important; padding: 10px 8px !important; font-size: 13px !important; }

  .mh-premium-product main, .mh-premium-product section, .mh-premium-product .container,
  .mh-premium-checkout main, .mh-premium-checkout section, .mh-premium-checkout .container { max-width: 100% !important; }
  .mh-premium-product .intro--page { padding-top: 28px !important; padding-bottom: 34px !important; }
  .mh-premium-product .order--step_area { display: block !important; }
  .mh-premium-product .form-floating input, .mh-premium-product .form-floating textarea { font-size: 16px !important; }

  .mh-premium-checkout .intro--page { min-height: 0 !important; padding: 22px 0 28px !important; }
  .mh-premium-checkout .intro--page .intro--icon, .mh-premium-checkout .intro--page .icon, .mh-premium-checkout .intro--page > .container > svg { display: none !important; }
  .mh-premium-checkout .intro--page h1, .mh-premium-checkout .intro--page .title { margin: 0 !important; font-size: 28px !important; line-height: 1.15 !important; }
  .mh-premium-checkout .intro--page p { max-width: 330px !important; margin: 8px auto 0 !important; font-size: 15px !important; line-height: 1.5 !important; }
  .mh-premium-checkout .mh-checkout-progress { width: calc(100% - 28px) !important; margin-top: -8px !important; margin-bottom: 12px !important; }
  .mh-premium-checkout .mh-checkout-progress span { padding: 8px 3px !important; font-size: 12px !important; }
  .mh-premium-checkout .mh-payment-continue { width: calc(100% - 28px) !important; margin-bottom: 14px !important; padding: 12px 13px !important; border-radius: 16px !important; }
  .mh-premium-checkout .mh-payment-continue > :first-child { min-width: 0 !important; font-size: 14px !important; line-height: 1.2 !important; }
  .mh-premium-checkout .mh-payment-continue a, .mh-premium-checkout .mh-payment-continue button { min-height: 42px !important; padding: 9px 12px !important; font-size: 13px !important; white-space: nowrap !important; }
  .mh-premium-checkout .order--step_area { width: 100% !important; max-width: 100% !important; display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 14px !important; padding: 0 14px !important; }
  .mh-premium-checkout .order--first_area, .mh-premium-checkout .order--step { width: 100% !important; max-width: 100% !important; }
  .mh-premium-checkout .firstcont, .mh-premium-checkout .order--step, .mh-premium-checkout .baco-step.card > .body, .mh-premium-checkout .paymentDetail { padding: 16px !important; border-radius: 19px !important; box-shadow: 0 12px 32px rgba(31,46,92,.09) !important; }
  .mh-premium-checkout .cart-item { grid-template-columns: minmax(0,1fr) !important; gap: 12px !important; padding: 16px !important; min-height: 0 !important; height: auto !important; overflow: visible !important; }
  .mh-premium-checkout .cart-name { width: 100% !important; min-width: 0 !important; }
  .mh-premium-checkout .cart-link { display: block !important; width: 100% !important; max-width: 100% !important; max-height: none !important; overflow: visible !important; white-space: normal !important; overflow-wrap: anywhere !important; word-break: break-all !important; -webkit-line-clamp: unset !important; line-clamp: unset !important; line-height: 1.45 !important; }
  .mh-premium-checkout .cart-price { width: max-content !important; max-width: 100% !important; justify-self: start !important; display: flex !important; align-items: center !important; gap: 8px !important; padding: 5px 10px !important; border-radius: 999px !important; background: #eef2ff !important; color: var(--mhpc-primary) !important; }
  .mh-premium-checkout .btn-trash { flex: 0 0 44px !important; }
  .mh-premium-checkout .order-payment_title { font-size: 18px !important; }
  .mh-premium-checkout .PaymentMethod { grid-template-columns: 1fr !important; gap: 9px !important; }
  .mh-premium-checkout .selectPayment { min-height: 72px !important; padding: 13px 15px !important; }
  .mh-premium-checkout .checkbox.mt-3 { font-size: 14px !important; }
  .mh-premium-checkout .orActionBTND { position: sticky !important; bottom: max(10px, env(safe-area-inset-bottom)) !important; z-index: 40 !important; width: 100% !important; min-height: 58px !important; }
}

@media (max-width: 380px) {
  body.mh-premium-commerce header .logo, body.mh-premium-commerce header .logo a { max-width: 49vw !important; }
  .mh-cart-drawer__actions { grid-template-columns: 1fr !important; }
  .mh-premium-checkout .mh-payment-continue { align-items: stretch !important; flex-direction: column !important; }
  .mh-premium-checkout .mh-payment-continue a, .mh-premium-checkout .mh-payment-continue button { width: 100% !important; }
}

@supports not (height: 100dvh) {
  .mh-cart-drawer { height: 100vh !important; }
  @media (max-width: 820px) { .mh-cart-drawer { height: 88vh !important; } }
}

@media (prefers-reduced-motion: reduce) {
  .mh-premium-commerce *, .mh-premium-commerce *::before, .mh-premium-commerce *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
