﻿/**
 * Header: balanced logo | search | account, centered search bar,
 * content band aligned across promo / main / nav.
 */

/* —— Main row (logo · search · account) —— */
#header .elementor-element-ea20aec > .e-con-inner {
  width: 100% !important;
  max-width: 1680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
}

/* Equal side columns keep the search optically centered */
#header .elementor-element-56f9688,
#header .elementor-element-6fc56ac {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

#header .elementor-element-56f9688 {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* Logo: keep previous Elementor size (~182px), not full natural 253px */
#header .elementor-element-df268f1,
#header .elementor-element-df268f1 .elementor-widget-container,
#header .elementor-element-df268f1 img {
  width: 182px !important;
  max-width: 182px !important;
  height: auto !important;
}

#header .elementor-element-6fc56ac {
  justify-content: flex-end !important;
  align-items: center !important;
}



/* Center search — larger */
#header .elementor-element-0645115 {
  flex: 0 1 980px !important;
  width: 100% !important;
  max-width: 980px !important;
  justify-content: center !important;
  align-items: center !important;
}

#header .elementor-element-0645115 .elementor-element-3a339c8,
#header .elementor-element-3a339c8,
#header .elementor-element-3a339c8 .elementor-widget-container,
#header .elementor-element-3a339c8 .elementor-shortcode,
#header .elementor-element-3a339c8 form {
  width: 100% !important;
  max-width: 100% !important;
}

#header .elementor-element-3a339c8 input[type="search"],
#header .elementor-element-3a339c8 input[type="text"],
#header .elementor-element-3a339c8 .search-field {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Promo strip / nav bar: no layout overrides — Elementor controls these. */

/* Header actions: account + cart (site primary + Poppins) */
#header .elementor-element-6fc56ac {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

#header .cf-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
}

#header .cf-header-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--e-global-color-primary, #231f5a) !important;
  line-height: 1.15;
  transition: opacity 0.2s ease, color 0.2s ease;
}

#header .cf-header-action__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: inherit;
}

#header .cf-header-action__icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

#header .cf-header-action__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
}

#header .cf-header-action__line {
  display: block;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
  line-height: 1.2 !important;
  color: inherit !important;
}

#header .cf-header-action__line--strong {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0;
}

/* Cart badge */
#header .cf-header-action__icon--cart {
  width: 36px;
  height: 36px;
}

#header .cf-header-action__icon--cart svg {
  width: 34px;
  height: 34px;
}

#header .cf-header-action__badge {
  position: absolute;
  top: -5px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--wdt-elementor-color-secondary, var(--e-global-color-secondary, #46bfe0)) !important;
  color: #fff !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  text-align: center;
  box-sizing: border-box;
}

#header .cf-header-action:hover {
  color: var(--e-global-color-secondary, #231f5a) !important;
  opacity: 0.82;
}

@media (max-width: 767px) {
  #header .cf-header-actions {
    gap: 16px;
  }

  #header .cf-header-action__text {
    display: none;
  }
}


/* —— Brand colors: kill leftover Amiy #663130 —— */
:root {
  --wp--preset--color--primary: #231f5a !important;
  --wdtLinkHoverColor: #46bfe0 !important;
  --wdtLinkHoverColorRgb: 70, 191, 224 !important;
}

/* Prefer theme var; don't force every link (buttons/menus) */
body a:hover,
body a:focus {
  color: var(--wdtLinkHoverColor, #46bfe0);
}
.has-primary-color {
  color: #231f5a !important;
}
.has-primary-background-color {
  background-color: #231f5a !important;
}
.has-primary-border-color {
  border-color: #231f5a !important;
}

#header-wrapper .elementor-icon-box-title,
#header-wrapper .elementor-icon-box-title a,
#header-wrapper .elementor-icon-box-title a:visited {
  color: var(--e-global-color-primary, #231f5a) !important;
}

#header-wrapper .elementor-icon-box-title a:hover,
#header-wrapper .elementor-icon-box-title a:focus {
  color: var(--e-global-color-secondary, #46bfe0) !important;
}

#header-wrapper .elementor-icon-box-icon,
#header-wrapper .elementor-icon-box-icon .elementor-icon,
#header-wrapper .elementor-icon-box-icon svg,
#header-wrapper .elementor-icon-box-icon svg path {
  color: var(--e-global-color-primary, #231f5a) !important;
  fill: var(--e-global-color-primary, #231f5a) !important;
}

/* Theme layout hover used Amiy brown */
.elementor-widget-icon-box .elementor-icon-box-title a:hover {
  color: var(--e-global-color-secondary, #46bfe0) !important;
}
