/* SKR Header Suite — Compact Right Actions, Dropdowns & Delivery Location */

/* Compact right-side action bar */
.elementor-115 .skr-actions,
.skr-actions {
  gap: 14px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

.skr-hdr-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.skr-hdr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 6px 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0B0E29;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.skr-hdr-trigger:hover,
.skr-hdr-dd.is-open .skr-hdr-trigger {
  background-color: rgba(30, 34, 170, 0.06);
  color: #1E22AA;
}

.skr-hdr-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.skr-hdr-trigger__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.skr-hdr-chevron {
  transition: transform 0.18s ease;
}

.skr-hdr-dd.is-open .skr-hdr-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.skr-hdr-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #FFFFFF;
  border: 1px solid rgba(11, 14, 41, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(11, 14, 41, 0.12);
  z-index: 9999;
}

.skr-hdr-menu[hidden] {
  display: none !important;
}

.skr-hdr-menu__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #0B0E29;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.skr-hdr-menu__link:hover {
  background-color: rgba(30, 34, 170, 0.06);
  color: #1E22AA;
}

.skr-hdr-menu__item.is-logout {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(11, 14, 41, 0.08);
}

.skr-hdr-menu__item.is-logout .skr-hdr-menu__link:hover {
  background-color: rgba(239, 68, 68, 0.08);
  color: #DC2626;
}

.skr-hdr-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  font-size: 14px;
  color: #1E22AA;
}

.skr-hdr-menu__item.is-logout .skr-hdr-menu__icon {
  color: #DC2626;
}

.skr-hdr-menu__icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Delivery Location Pill */
.skr-hdr-loc__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #FFFFFF;
  border: 1px solid rgba(11, 14, 41, 0.12);
  border-radius: 10px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.skr-hdr-loc__btn:hover {
  border-color: #1E22AA;
  box-shadow: 0 2px 8px rgba(30, 34, 170, 0.1);
}

.skr-hdr-loc__pin {
  color: #0B0E29;
  flex-shrink: 0;
}

.skr-hdr-loc__pin-val {
  font-weight: 700;
  color: #0B0E29;
}

.skr-hdr-loc__cta {
  font-weight: 600;
  color: #1E40AF;
}

.skr-hdr-loc__arrow {
  color: #1E40AF;
  flex-shrink: 0;
}

/* Delivery Location Modal */
.skr-loc-modal[hidden] {
  display: none !important;
}

.skr-loc-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.skr-loc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 30, 0.55);
  backdrop-filter: blur(2px);
}

.skr-loc-modal__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(7, 9, 30, 0.25);
  font-family: Inter, system-ui, sans-serif;
  color: #0B0E29;
}

.skr-loc-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.skr-loc-modal__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.skr-loc-modal__close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748B;
  cursor: pointer;
  padding: 4px 8px;
}

.skr-loc-modal__sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: #475569;
}

.skr-loc-modal__geo {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #1E22AA;
  background: rgba(30, 34, 170, 0.06);
  color: #1E22AA;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.skr-loc-modal__geo:hover {
  background: rgba(30, 34, 170, 0.12);
}

.skr-loc-modal__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
}

.skr-loc-modal__divider::before,
.skr-loc-modal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.skr-loc-modal__form {
  display: flex;
  gap: 8px;
}

.skr-loc-modal__form input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  font-size: 14px;
}

.skr-loc-modal__submit {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: #1E22AA;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.skr-loc-modal__submit:hover {
  background: #121685;
}

.skr-loc-modal__status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
}

.skr-loc-modal__status.is-ok {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.skr-loc-modal__status.is-err {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.skr-loc-modal__soon {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  text-align: center;
}

.skr-loc-modal__soon-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

.skr-loc-modal__soon h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #92400E;
}

.skr-loc-modal__soon-pin {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #B45309;
}

.skr-loc-modal__soon p {
  margin: 0;
  font-size: 12.5px;
  color: #78350F;
}

@media (max-width: 767px) {
  .skr-hdr-loc__cta {
    display: none;
  }
  .skr-hdr-trigger {
    padding: 6px;
    font-size: 13px;
  }
}

/* Vendor viewing personal Customer My Account banner */
.skr-vendor-buyer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: rgba(30, 34, 170, 0.06);
  border: 1px solid rgba(30, 34, 170, 0.16);
  border-radius: 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13.5px;
  color: #0B0E29;
}

.skr-vendor-buyer-bar__btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 8px;
  background: #1E22AA;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.skr-vendor-buyer-bar__btn:hover {
  background: #121685;
}
