/* ==========================================================================
   Royal Fishing Flies Kenya — premium wave footer (theme: pflat)
   Scoped to .footer-container. Pure CSS restyle of the native footer hook.
   Palette: deep forest #0d2a1b · leaf #6cc24a · orange #fa6900 · cream #c9c6ba
   ========================================================================== */

#page .footer-container {
  position: relative;
  float: left;
  width: 100%;
  margin-top: 100px;
  border: 0;
  color: #c9c6ba;
  background-color: #0d2a1b;
  background-image:
    radial-gradient(1100px 340px at 10% -12%, rgba(108, 194, 74, .16), transparent 60%),
    radial-gradient(900px 320px at 100% 0%, rgba(250, 105, 0, .07), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='90' viewBox='0 0 520 90'%3E%3Cpath d='M0 46 Q 65 16 130 46 T 260 46 T 390 46 T 520 46' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1.2'/%3E%3Cpath d='M0 66 Q 65 36 130 66 T 260 66 T 390 66 T 520 66' fill='none' stroke='%23ffffff' stroke-opacity='.028' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: left top, right top, left bottom;
  background-size: auto, auto, 520px 90px;
}

/* Wave crest that lifts the page into the footer. */
#page .footer-container:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -78px;
  height: 79px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,52 C240,12 480,12 720,52 C960,92 1200,92 1440,52 L1440,90 L0,90 Z' fill='%230d2a1b'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 100% 79px;
  pointer-events: none;
}

#page .footer-container > .container {
  padding-top: 10px;
  padding-bottom: 26px;
}

/* --------------------------------------------------------------------------
   Footer shell
   -------------------------------------------------------------------------- */
#page .footer-container #footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  position: relative;
  text-align: left;
}

/* Wavy divider above the bottom bar. */
#page .footer-container #footer:before {
  content: "";
  order: 5;
  flex: 0 0 100%;
  height: 8px;
  margin: 34px 0 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='8' viewBox='0 0 120 8'%3E%3Cpath d='M0 4 Q 15 0 30 4 T 60 4 T 90 4 T 120 4' fill='none' stroke='%23ffffff' stroke-opacity='.2' stroke-width='1'/%3E%3C/svg%3E") repeat-x center;
  pointer-events: none;
}

#page .footer-container #footer h4 {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Row 1 — follow us + newsletter
   -------------------------------------------------------------------------- */
#page .footer-container #footer #social_block {
  order: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

#page .footer-container #footer #social_block h4 {
  display: block;
  float: none;
  margin: 0;
  padding: 0;
  font-size: 11.5px;
  color: #dfe8d8;
}

#page .footer-container #footer #social_block h4:after {
  display: none;
}

#page .footer-container #footer #social_block ul {
  display: flex;
  float: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#page .footer-container #footer #social_block ul li {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: center;
}

#page .footer-container #footer #social_block ul li a {
  display: block;
  font-size: 0;
  line-height: 0;
  color: #e9efe3;
  text-decoration: none;
}

#page .footer-container #footer #social_block ul li a:before {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  color: #e9efe3;
  font-family: "FontAwesome";
  font-size: 15px;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

#page .footer-container #footer #social_block ul li a:hover:before,
#page .footer-container #footer #social_block ul li a:focus:before {
  background: #6cc24a;
  border-color: #6cc24a;
  color: #0d2a1b;
  transform: translateY(-2px);
}

#page .footer-container #footer #toggle-social {
  display: none !important;
}

/* Newsletter */
#page .footer-container #footer #newsletter_block_left {
  order: 2;
  flex: 0 1 480px;
  float: none;
  width: auto;
  max-width: 480px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  overflow: visible;
}

#page .footer-container #footer #newsletter_block_left h4 {
  float: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 11.5px;
  color: #dfe8d8;
  text-transform: uppercase;
  letter-spacing: .16em;
}

#page .footer-container #footer #newsletter_block_left h4,
#page .footer-container #footer #newsletter_block_left h4 label,
#page .footer-container #footer #newsletter_block_left h4 span {
  color: #dfe8d8;
}

#page .footer-container #footer #newsletter_block_left h4 label {
  font-weight: 700;
  margin: 0;
}

#page .footer-container #footer #newsletter_block_left h4 span {
  display: inline;
}

#page .footer-container #footer #newsletter_block_left .block_content {
  float: none;
  width: auto;
  margin: 0;
  overflow: visible;
}

#page .footer-container #footer #newsletter_block_left form {
  margin: 0;
}

#page .footer-container #footer #newsletter_block_left .form-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0;
}

#page .footer-container #footer #newsletter_block_left .newsletter-input {
  flex: 1 1 190px;
  width: auto;
  max-width: none;
  height: 48px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 12px 0 0 12px;
  background: #ffffff;
  color: #1b2a1f;
  font-size: 13.5px;
  line-height: 48px;
  box-shadow: none;
}

#page .footer-container #footer #newsletter_block_left .newsletter-input::placeholder {
  color: #84938a;
  opacity: 1;
}

#page .footer-container #footer #newsletter_block_left .newsletter-input:focus {
  outline: 2px solid #6cc24a;
  outline-offset: 2px;
  box-shadow: none;
}

#page .footer-container #footer #newsletter_block_left .form-group .button-small {
  flex: 0 0 auto;
  max-width: none;
  height: 48px;
  margin: 0;
  padding: 0 26px;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: #fa6900;
  background-image: none;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 48px;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: none;
  transition: background-color .2s ease;
}

#page .footer-container #footer #newsletter_block_left .form-group .button-small span {
  padding: 0;
}

#page .footer-container #footer #newsletter_block_left .form-group .button-small:hover,
#page .footer-container #footer #newsletter_block_left .form-group .button-small:focus {
  background: #e05e00;
  color: #ffffff;
}

#page .footer-container #footer #newsletter_block_left altcha-widget {
  flex: 0 0 100%;
  width: 100%;
  margin: 10px 0 0 !important;
  --altcha-color-base: #ffffff;
  --altcha-color-text: #1b2a1f;
  --altcha-border-radius: 10px;
}

#page .footer-container #footer #newsletter_block_left .warning_inline,
#page .footer-container #footer #newsletter_block_left .success_inline {
  flex: 0 0 100%;
  position: static;
  margin: 8px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
}

#page .footer-container #footer #newsletter_block_left .warning_inline {
  color: #ffb3a7;
}

#page .footer-container #footer #newsletter_block_left .success_inline {
  color: #bfe3a8;
}

/* Straight hairline between the top row and the link columns. */
#page .footer-container #footer .line {
  order: 3;
  flex: 0 0 100%;
  float: none;
  height: 1px;
  margin: 28px 0 30px;
  padding: 0;
  background: rgba(255, 255, 255, .1);
  border: 0;
}

/* --------------------------------------------------------------------------
   Row 2 — Information / My account / Store information
   -------------------------------------------------------------------------- */
#page .footer-container #footer .footer-block {
  order: 4;
  align-self: flex-start;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 28px 0 0;
  border: 0;
  color: #c9c6ba;
  font-size: 13px;
}

#page .footer-container #footer #block_various_links_footer {
  flex: 1 1 20%;
}

#page .footer-container #footer #blockmyaccount_footer {
  flex: 1 1 20%;
}

#page .footer-container #footer #block_contact_infos {
  flex: 2 1 42%;
  padding-right: 0;
}

#page .footer-container #footer .footer-block h4 {
  position: relative;
  float: none;
  margin: 0 0 18px;
  padding: 0 0 12px;
  font-size: 11.5px;
  color: #ffffff;
}

#page .footer-container #footer .footer-block h4:after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  top: auto;
  bottom: 0;
  display: block;
  width: 26px;
  height: 2px;
  background: #6cc24a;
  border-radius: 2px;
  font-family: inherit;
}

#page .footer-container #footer .footer-block h4 a {
  color: #ffffff;
  text-decoration: none;
}

#page .footer-container #footer .footer-block .toggle-footer {
  margin: 0;
  padding: 0;
  list-style: none;
}

#page .footer-container #footer .footer-block .toggle-footer li {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

#page .footer-container #footer .footer-block .toggle-footer li:before {
  content: "";
  float: none;
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 3px 0;
  border-radius: 50%;
  background: #6cc24a;
  vertical-align: middle;
  line-height: normal;
}

#page .footer-container #footer .footer-block .toggle-footer li a {
  display: inline-block;
  padding: 4px 0;
  color: #c9c6ba;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

#page .footer-container #footer .footer-block .toggle-footer li a:hover,
#page .footer-container #footer .footer-block .toggle-footer li a:focus {
  color: #ffffff;
  transform: translateX(3px);
}

/* Store information — icon-led rows */
#page .footer-container #footer #block_contact_infos > div {
  padding: 0;
}

#page .footer-container #footer #block_contact_infos .toggle-footer li {
  position: relative;
  display: block;
  padding: 0 0 12px 30px;
  color: #c9c6ba;
  font-size: 13px;
  line-height: 1.65;
  overflow: visible;
}

#page .footer-container #footer #block_contact_infos .toggle-footer li:before {
  content: "\f041";
  display: block;
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: auto;
  margin: 0;
  background: none;
  border-radius: 0;
  color: #6cc24a;
  font-family: "FontAwesome";
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

#page .footer-container #footer #block_contact_infos .toggle-footer li:nth-child(2):before {
  content: "\f095";
}

#page .footer-container #footer #block_contact_infos .toggle-footer li:nth-child(3):before {
  content: "\f0e0";
}

#page .footer-container #footer #block_contact_infos .toggle-footer li i {
  display: none;
}

#page .footer-container #footer #block_contact_infos .toggle-footer li span,
#page .footer-container #footer #block_contact_infos .toggle-footer li span a {
  color: #c9c6ba;
}

#page .footer-container #footer #block_contact_infos .toggle-footer li span a {
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, .25);
  transition: color .18s ease, border-color .18s ease;
}

#page .footer-container #footer #block_contact_infos .toggle-footer li span a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .6);
}

/* --------------------------------------------------------------------------
   Row 3 — copyright + payment badge
   -------------------------------------------------------------------------- */
#page .footer-container #footer .ybc-copyright {
  order: 6;
  flex: 1 1 auto;
  align-self: center;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: #9fb0a0;
  font-size: 12px;
  line-height: 1.6;
}

#page .footer-container #footer .ybc-copyright a {
  color: #bfe3a8;
  text-decoration: none;
  transition: color .18s ease;
}

#page .footer-container #footer .ybc-copyright a:hover,
#page .footer-container #footer .ybc-copyright a:focus {
  color: #ffffff;
  text-decoration: underline;
}

#page .footer-container #footer .payment_footer {
  order: 7;
  align-self: center;
  position: static;
  flex: 0 0 auto;
  width: auto;
  margin: 0 0 0 24px;
  padding: 7px 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  text-align: left;
}

#page .footer-container #footer .payment_footer img {
  display: block;
  width: auto;
  height: 24px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  #page .footer-container #footer #social_block {
    flex: 1 1 100%;
    margin-bottom: 22px;
  }

  #page .footer-container #footer #newsletter_block_left {
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }

  #page .footer-container #footer .footer-block {
    flex: 1 1 42% !important;
    padding-right: 24px;
  }

  #page .footer-container #footer #block_contact_infos {
    flex: 1 1 100% !important;
    padding-right: 0;
    margin-top: 26px;
  }

  #page .footer-container #footer .ybc-copyright {
    flex: 1 1 100%;
  }

  #page .footer-container #footer .payment_footer {
    margin: 12px 0 0 auto;
  }
}

@media (max-width: 767px) {
  /* The theme collapses footer link lists into an accordion on phones.
     Keep every column expanded so the footer reads as a complete sitemap. */
  #page .footer-container #footer .footer-block .toggle-footer {
    display: block !important;
    height: auto !important;
  }
}

@media (max-width: 600px) {
  #page .footer-container {
    margin-top: 64px;
  }

  #page .footer-container:before {
    top: -46px;
    height: 47px;
    background-size: 100% 47px;
  }

  #page .footer-container > .container {
    padding-top: 4px;
  }

  #page .footer-container #footer #social_block {
    gap: 12px;
  }

  #page .footer-container #footer #social_block ul {
    gap: 6px;
  }

  #page .footer-container #footer #social_block ul li a:before {
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
  }

  #page .footer-container #footer .footer-block {
    flex: 1 1 100% !important;
    padding-right: 0;
    margin-top: 26px;
  }

  #page .footer-container #footer #block_various_links_footer {
    margin-top: 0;
  }

  #page .footer-container #footer #newsletter_block_left .newsletter-input {
    border-radius: 10px 0 0 10px;
    font-size: 13px;
    padding: 0 14px;
  }

  #page .footer-container #footer #newsletter_block_left .form-group .button-small {
    padding: 0 18px;
    border-radius: 0 10px 10px 0;
  }

  #page .footer-container #footer:before {
    margin-top: 28px;
  }

  #page .footer-container #footer .ybc-copyright {
    flex: 1 1 100%;
    order: 6;
    font-size: 11.5px;
  }

  #page .footer-container #footer .payment_footer {
    order: 7;
    margin: 14px 0 0 auto;
    padding: 6px 10px;
  }

  #page .footer-container #footer .payment_footer img {
    height: 22px;
  }
}
