html,
body {
  min-width: 1400px;
  margin: 0;
  padding: 0;
}

.ec-site-header,
.ec-site-header * {
  box-sizing: border-box;
}

.ec-site-header {
  --ec-red: #d71920;
  --ec-red-dark: #b70f15;
  --ec-ink: #171717;
  --ec-charcoal: #242424;
  --ec-grey-50: #f7f7f7;
  --ec-grey-100: #eeeeee;
  --ec-grey-300: #d1d1d1;
  --ec-grey-600: #666666;
  position: relative;
  z-index: 1000;
  width: 100%;
  min-width: 1400px;
  margin-left: 0;
  color: var(--ec-ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.ec-site-header a,
.ec-site-header a:link,
.ec-site-header a:visited {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
}

.ec-site-header a:hover {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: none;
}

.ec-header-container {
  width: 1400px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.ec-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ec-utility-bar {
  min-height: 30px;
  color: #ffffff;
  background: #3d4144;
}

.ec-utility-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ec-utility-message {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.ec-utility-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.ec-utility-links a {
  position: relative;
  padding: 6px 9px;
  color: #ffffff !important;
  font-size: 12px !important;
}

.ec-utility-links a + a::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
  transform: translateY(-50%);
}

.ec-utility-links a:hover,
.ec-utility-links a:focus-visible {
  text-decoration: underline;
}

.ec-main-header {
  background: #ffffff;
}

.ec-main-header-inner {
  min-height: 115px;
  display: grid;
  grid-template-columns: 335px minmax(320px, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.ec-header-logo {
  display: inline-flex;
  align-items: center;
  width: 320px;
}

.ec-header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.ec-header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  width: 100%;
  max-width: 520px;
  height: 44px;
  margin: 0;
  justify-self: center;
}

.ec-search-field {
  position: relative;
  min-width: 0;
}

.ec-header-search input[type="search"] {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 48px 0 16px;
  border: 1px solid #9c9c9c;
  border-radius: 4px 0 0 4px;
  outline: none;
  background: #ffffff;
  color: var(--ec-ink);
  font: 15px Arial, Helvetica, sans-serif;
}

.ec-header-search input[type="search"]:focus {
  border-color: var(--ec-ink);
  box-shadow: inset 0 0 0 1px var(--ec-ink);
}

.ec-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--ec-charcoal);
  color: #ffffff;
  cursor: pointer;
}

.ec-search-submit:hover,
.ec-search-submit:focus-visible {
  background: #000000;
}

.ec-search-submit svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.ec-search-field #lb-autocomplete {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  z-index: 1100;
}

/* Luigi's Box is appended directly to the body, outside the header font scope.
   Keep its typography consistent with the mobile autocomplete. */
.luigi-ac,
.luigi-ac a,
.luigi-ac button,
.luigi-ac input,
.luigi-ac select,
.luigi-ac textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.ec-header-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.ec-header-help,
.ec-header-basket {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid var(--ec-grey-300);
  border-radius: 5px;
  background: #ffffff;
}

.ec-header-help {
  padding: 7px 12px;
}

.ec-header-basket {
  min-width: 225px;
  gap: 16px;
  padding: 7px 14px;
  background: var(--ec-charcoal);
  color: #ffffff !important;
  border-color: var(--ec-charcoal);
}

.ec-header-help:hover,
.ec-header-help:focus-visible {
  border-color: var(--ec-ink);
}

.ec-header-basket:hover,
.ec-header-basket:focus-visible {
  background: #000000;
}

.ec-header-help svg,
.ec-basket-icon > svg {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ec-header-help span,
.ec-basket-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ec-header-help strong,
.ec-basket-copy strong {
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.ec-header-help small,
.ec-basket-copy small {
  margin-top: 2px;
  color: var(--ec-grey-600);
  font-size: 11px;
  white-space: nowrap;
}

.ec-basket-copy small {
  color: #e4e4e4;
}

.ec-basket-icon {
  position: relative;
  display: inline-flex;
}

.ec-basket-badge {
  position: absolute;
  top: -10px;
  right: -11px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--ec-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}

.ec-menu-toggle {
  display: none;
}

.ec-primary-nav {
  position: relative;
  z-index: 1050;
  color: #ffffff;
  background: var(--ec-charcoal);
}

.ec-primary-nav > .ec-header-container {
  position: relative;
}

.ec-nav-list {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 42px;
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: none;
}

.ec-nav-list > li {
  position: static;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.ec-nav-list > li > a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ec-nav-list > li:hover > a,
.ec-nav-list > li:focus-within > a,
.ec-nav-list > li.is-open > a {
  background: #111111;
}

.ec-nav-sale > a {
  color: #ffffff !important;
  background: var(--ec-red);
}

.ec-nav-sale:hover > a,
.ec-nav-sale:focus-within > a,
.ec-nav-sale.is-open > a {
  background: var(--ec-red-dark);
}

.ec-nav-list > .ec-nav-christmas:hover > a,
.ec-nav-list > .ec-nav-christmas:focus-within > a {
  background: var(--ec-red);
  color: #ffffff !important;
}

.ec-submenu-toggle {
  display: none;
}

.ec-mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1200;
  visibility: hidden;
  display: grid;
  gap: 30px;
  padding: 28px;
  border: 1px solid #d9d9d9;
  border-top: 3px solid var(--ec-red);
  background: #ffffff;
  color: var(--ec-ink);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.ec-nav-item:hover > .ec-mega-menu,
.ec-nav-item:focus-within > .ec-mega-menu,
.ec-nav-item.is-open > .ec-mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.ec-mega-standard {
  grid-template-columns: repeat(2, minmax(160px, 1fr)) minmax(310px, 1.45fr);
}

.ec-nav-sale .ec-mega-standard {
  grid-template-columns: repeat(3, minmax(150px, 0.8fr)) minmax(260px, 1.25fr);
}

.ec-brand-mega-menu {
  grid-template-columns: 330px minmax(0, 1fr) 280px;
  align-items: start;
}

.ec-category-mega-menu {
  grid-template-columns: 300px repeat(2, minmax(180px, 1fr)) 280px;
  align-items: start;
}

.ec-category-featured,
.ec-category-link-columns {
  padding-right: 28px;
  border-right: 1px solid #dddddd;
}

.ec-category-link-columns {
  display: grid;
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 28px;
}

.ec-brand-logo-grid.ec-category-logo-grid {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.ec-category-featured .ec-view-all {
  display: block;
  padding: 12px 16px;
  border-radius: 3px;
  background: var(--ec-charcoal);
  color: #ffffff !important;
  text-align: center;
}

.ec-category-featured .ec-view-all:hover,
.ec-category-featured .ec-view-all:focus-visible {
  background: #000000;
  text-decoration: none;
}

.ec-category-menu-aside {
  display: grid;
  gap: 16px;
}

.ec-mega-menu h2 {
  margin: 0 0 13px;
  padding: 0 0 9px;
  border-bottom: 1px solid #dedede;
  color: var(--ec-ink);
  font: 700 14px/1.3 Arial, Helvetica, sans-serif;
}

.ec-mega-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.ec-mega-column > a,
.ec-mega-column > a:link,
.ec-mega-column > a:visited {
  display: block;
  padding: 5px 0;
  color: #3b3b3b;
  font-size: 14px;
}

.ec-mega-column > a:hover,
.ec-mega-column > a:focus-visible,
.ec-view-all:hover,
.ec-view-all:focus-visible {
  color: var(--ec-red);
  text-decoration: underline;
}

.ec-brand-logo-panel,
.ec-brand-featured {
  min-width: 0;
}

.ec-brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.ec-brand-featured {
  padding-right: 28px;
  border-right: 1px solid #dddddd;
}

.ec-brand-featured .ec-brand-logo-grid {
  grid-template-columns: repeat(2, minmax(130px, 1fr));
}

.ec-brand-featured .ec-view-all {
  display: block;
  padding: 12px 16px;
  border-radius: 3px;
  background: var(--ec-charcoal);
  color: #ffffff !important;
  text-align: center;
}

.ec-brand-featured .ec-view-all:hover,
.ec-brand-featured .ec-view-all:focus-visible {
  background: #000000;
  text-decoration: none;
}

.ec-brand-directory-panel {
  min-width: 0;
  padding-right: 28px;
  border-right: 1px solid #dddddd;
}

.ec-brand-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(115px, 1fr));
  gap: 0 24px;
}

.ec-brand-directory > div {
  display: flex;
  flex-direction: column;
}

.ec-brand-directory a,
.ec-brand-directory a:link,
.ec-brand-directory a:visited {
  padding: 4px 0;
  color: #333333;
  font-size: 14px;
}

.ec-brand-directory a:hover,
.ec-brand-directory a:focus-visible {
  color: var(--ec-red);
  text-decoration: underline;
}

.ec-brand-menu-aside {
  display: grid;
  gap: 16px;
}

.ec-brand-promo-card {
  position: relative;
  display: block;
  min-height: 245px;
  overflow: hidden;
  border-radius: 4px;
  background: #111111;
  color: #ffffff !important;
}

.ec-brand-promo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.04));
  content: "";
}

.ec-brand-promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ec-brand-promo-card > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
}

.ec-brand-promo-card strong {
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.ec-brand-promo-card small {
  font-size: 12px;
  line-height: 1.45;
}

.ec-brand-promo-card b {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 12px;
  background: var(--ec-red);
  font-size: 12px;
}

.ec-brand-popular-links {
  padding: 17px 18px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #ffffff;
}

.ec-brand-popular-links a,
.ec-brand-popular-links a:link,
.ec-brand-popular-links a:visited {
  display: block;
  padding: 5px 0;
  color: #333333 !important;
  font-size: 13px !important;
}

.ec-brand-popular-links a:hover,
.ec-brand-popular-links a:focus-visible {
  color: var(--ec-red) !important;
  text-decoration: underline;
}

.ec-brand-logo-grid-compact {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.ec-brand-logo-grid > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #ffffff;
}

.ec-brand-logo-grid > a:hover,
.ec-brand-logo-grid > a:focus-visible {
  border-color: var(--ec-red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ec-brand-logo-grid img {
  display: block;
  max-width: 180px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ec-view-all {
  display: inline-block;
  margin-top: 15px;
  color: var(--ec-red) !important;
  font-weight: 700;
}

.ec-mega-promo {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(150px, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: var(--ec-grey-50);
}

.ec-mega-promo img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.ec-mega-promo > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 20px;
}

.ec-mega-promo strong {
  font-size: 18px;
  line-height: 1.2;
}

.ec-mega-promo small {
  color: var(--ec-grey-600);
  font-size: 12px;
}

.ec-mega-promo b {
  color: var(--ec-red);
  font-size: 14px;
}

.ec-service-strip {
  border-bottom: 1px solid #d8d8d8;
  background: #f1f1f1;
}

.ec-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ec-service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 66px;
  padding: 10px 20px;
}

.ec-service-item + .ec-service-item {
  border-left: 1px solid #d1d1d1;
}

.ec-service-item svg {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  fill: none;
  stroke: #5d6265;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.ec-service-item span {
  display: flex;
  flex-direction: column;
}

.ec-service-item strong {
  color: var(--ec-ink);
  font-size: 14px;
  line-height: 1.3;
}

.ec-service-item small {
  margin-top: 2px;
  color: var(--ec-grey-600);
  font-size: 12px;
}

.ec-service-item:hover strong,
.ec-service-item:focus-visible strong {
  text-decoration: underline;
}

.ec-promotion-bar,
.ec-promotion-bar:link,
.ec-promotion-bar:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 39px;
  padding: 7px 20px;
  background: var(--ec-red);
  color: #ffffff !important;
  text-align: center;
}

.ec-promotion-bar strong {
  font-size: 15px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.ec-promotion-bar span {
  font-size: 10px;
  text-decoration: underline;
}

.ec-promotion-bar:hover strong,
.ec-promotion-bar:focus-visible strong {
  text-decoration: underline;
}

@media (max-width: 1500px) {
  .ec-main-header-inner {
    grid-template-columns: 335px minmax(360px, 1fr) auto;
    gap: 16px;
  }

  .ec-header-logo {
    width: 320px;
  }

  .ec-header-basket {
    min-width: 215px;
  }

  .ec-nav-list > li > a {
    padding: 0 10px;
    font-size: 12px !important;
  }
}

@media (max-width: 0px) {
  .ec-header-container {
    width: min(100% - 28px, 1200px);
  }

  .ec-utility-message,
  .ec-utility-links a:nth-last-child(n+4) {
    display: none;
  }

  .ec-utility-inner {
    justify-content: flex-end;
  }

  .ec-main-header-inner {
    min-height: auto;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }

  .ec-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    padding: 4px;
    border: 1px solid var(--ec-grey-300);
    border-radius: 4px;
    background: #ffffff;
    color: var(--ec-ink);
    font: 600 9px Arial, Helvetica, sans-serif;
    cursor: pointer;
  }

  .ec-menu-toggle-lines,
  .ec-menu-toggle-lines::before,
  .ec-menu-toggle-lines::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .ec-menu-toggle-lines {
    position: relative;
  }

  .ec-menu-toggle-lines::before {
    position: absolute;
    top: -6px;
  }

  .ec-menu-toggle-lines::after {
    position: absolute;
    top: 6px;
  }

  .ec-header-logo {
    justify-self: start;
    width: min(230px, 100%);
  }

  .ec-header-actions {
    justify-self: end;
  }

  .ec-header-basket {
    min-width: 48px;
    width: 48px;
    height: 48px;
    justify-content: center;
    padding: 0;
  }

  .ec-basket-copy {
    display: none;
  }

  .ec-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .ec-primary-nav {
    display: none;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .ec-site-header.is-menu-open .ec-primary-nav {
    display: block;
  }

  .ec-primary-nav > .ec-header-container {
    width: 100%;
  }

  .ec-nav-list {
    display: block;
  }

  .ec-nav-list > li {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 50px;
    border-bottom: 1px solid #414141;
  }

  .ec-nav-list > li > a {
    padding: 0 20px;
  }

  .ec-nav-chevron {
    display: none;
  }

  .ec-submenu-toggle {
    position: relative;
    display: block;
    width: 50px;
    min-height: 48px;
    padding: 0;
    border: 0;
    border-left: 1px solid #414141;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
  }

  .ec-submenu-toggle::before,
  .ec-submenu-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%);
  }

  .ec-submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 150ms ease;
  }

  .ec-nav-item.is-open > .ec-submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .ec-mega-menu,
  .ec-nav-item:hover > .ec-mega-menu,
  .ec-nav-item:focus-within > .ec-mega-menu {
    position: static;
    visibility: visible;
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    padding: 22px 20px;
    border: 0;
    border-top: 1px solid #d5d5d5;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .ec-nav-item.is-open > .ec-mega-menu {
    display: grid;
  }

  .ec-brand-logo-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .ec-mega-promo {
    display: none;
  }

  .ec-service-item {
    padding: 10px;
  }

  .ec-service-item svg {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

@media (max-width: 0px) {
  .ec-utility-bar {
    display: none;
  }

  .ec-header-logo {
    width: min(195px, 100%);
  }

  .ec-service-grid {
    grid-template-columns: 1fr;
  }

  .ec-service-item {
    min-height: 48px;
  }

  .ec-service-item + .ec-service-item {
    display: none;
  }

  .ec-promotion-bar {
    display: block;
  }

  .ec-promotion-bar strong,
  .ec-promotion-bar span {
    display: block;
  }

  .ec-promotion-bar strong {
    font-size: 12px;
  }
}
