/* Footer – Cole Hersee design: dark blue main, purple copyright bar */

#footer.footer {
  width: 100%;
  background-color: #002446;
  color: #fff;
  overflow: hidden;
}

#footer .footer_top {
  padding: clamp(48px, 5vw, 64px) 0;
}

#footer .footer_grid {
  display: flex;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 48px);
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Column 1: Brand. Wide enough for the logo + 100Yrs badge to sit
 * side-by-side (270 + 16 + 100 = 386), per Figma 71:2. */
#footer .footer_col_brand {
  max-width: 400px;
}

/* Contact column sized to fit its widest content (address). The flex
 * container's space-between distribution then anchors it to the right
 * edge of the row, matching Figma 71:2. */
#footer .footer_col_contact {
  max-width: 320px;
}

#footer .footer_brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

#footer .footer_logo_link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

#footer .footer_logo_link img {
  display: block;
  width: 270px;       /* matches Figma 71:2 (logo wordmark 269×54) */
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#footer .footer_logo_text {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

#footer .footer_badge img {
  display: block;
  width: 100px;       /* matches Figma 71:2 (100Yrs badge ~99×57) */
  height: auto;
  object-fit: contain;
}

#footer .footer_tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 12px;
  line-height: 1.4;
}

#footer .footer_content {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 24px;
}

#footer .footer_content p {
  margin: 0 0 12px;
  color: inherit;
}

#footer .footer_content p:last-child {
  margin-bottom: 0;
}

#footer .footer_follow_heading {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  text-transform: none;
}

#footer .footer_social_icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#footer .footer_social_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

#footer .footer_social_icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

#footer .footer_social_icon svg {
  width: 18px;
  height: 18px;
}

/* Column headers */
#footer .footer_col_header {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Quick Links – two sub-columns */
/* Single menu, two visual columns. Items flow vertically: top of col 1
 * → bottom of col 1 → top of col 2 → bottom of col 2. `break-inside:
 * avoid` keeps each <li> from being split across columns. */
#footer .footer_menu {
  list-style-type: none !important;
  padding-left: 0 !important;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 32px;
}

#footer .footer_menu li {
  margin-bottom: 10px;
  list-style: none;
  break-inside: avoid;
}

#footer .footer_menu li a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer .footer_menu li a:hover {
  color: #FFEB01;
}

/* Contact Us – yellow icons */
#footer .footer_contact_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#footer .footer_contact_item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#footer .footer_contact_icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFEB01;
}

#footer .footer_contact_icon svg {
  width: 20px;
  height: 20px;
  fill: #FFEB01;
}

#footer .footer_contact_icon svg path {
  fill: #FFEB01;
}

#footer .footer_contact_item a,
#footer .footer_contact_item span {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  word-break: break-word;
}

#footer .footer_contact_item a:hover {
  color: #FFEB01;
}

/* Find a Stockist – search bar + yellow button */
#footer .footer_stockist_form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 280px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
}

#footer .footer_stockist_input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  font-size: 14px;
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
}

#footer .footer_stockist_input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#footer .footer_stockist_btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20.3px;
  height: 20.3px;
  padding: 0;
  border-radius: 50%;
  background: #FFEB01;
  color: #122841;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

#footer .footer_stockist_btn:hover {
  background: #fff;
  color: #122841;
}

#footer .footer_stockist_btn svg {
  width: 12px;
  height: 12px;
}

/* "Find a Stockist" sits below "Contact Us" inside the same column —
   give it generous breathing room from the contact list above it. */
#footer .footer_stockist {
  margin-top: clamp(40px, 4vw, 56px);
}

#footer .footer_stockist_heading {
  margin-top: 0;
}

/* Copyright bar – #1B1788, smaller text, not uppercase */
#footer .footer_bottom {
  width: 100%;
  background-color: #1B1788;
  padding: 16px 0;
}

#footer .footer_bottom_inner {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer .footer_copyright {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  text-transform: none;
  letter-spacing: normal;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 1199px) {
  #footer .footer_grid {
    grid-template-columns: 1fr 1fr;
  }

  #footer .footer_col_brand {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  #footer .footer_top {
    padding: 40px 0;
  }

  #footer .footer_grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #footer .footer_quick_links_inner {
    grid-template-columns: 1fr;
  }

  #footer .footer_stockist_form {
    max-width: 100%;
  }

  #footer .footer_bottom {
    padding: 14px 0;
  }

  #footer .footer_copyright {
    font-size: 12px;
  }
}
