@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;600;700&display=swap');

  #footerr {
    --sun: #FFC81E;
    --orange: #F5921E;
    --outline: #E4572E;

    position: relative;
    background: linear-gradient(180deg, #D4491F 0%, #B93A18 100%);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    padding-top: 8px;
  }
  #footerr *, #footerr *::before, #footerr *::after { box-sizing: border-box; }

  /* Дъга най-горе, като в хедъра */
  #footerr::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
    background: linear-gradient(90deg,
      #D93A3A 0 14.28%, #F5921E 0 28.56%, #FFC81E 0 42.84%,
      #2E9B4F 0 57.12%, #4FB3E8 0 71.4%, #2B4FA8 0 85.68%, #8A5CC0 0);
  }

  #footerr .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

  /* Анулира старите ширини/float от CSS-а на сайта */
  #footerr .col,
  #footerr .grid3,
  #footerr .grid9 {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Колони */
  #footerr .bottom > .container:first-child {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.5fr 1.2fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 44px;
    overflow: visible;
  }
  #footerr h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--sun);
    margin: 0 0 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  #footerr h3::after { content: none; }
  #footerr p { margin: 0 0 14px; }
  #footerr .small { font-size: 1rem; }
  #footerr strong { color: var(--sun); font-weight: 700; }

  #footerr a {
    color: #fff;
    text-decoration: none;
    transition: color .2s;
  }
  #footerr .small a:hover { color: var(--sun); }

  /* Линковете в "Страници" */
  #footerr .grid3:nth-child(2) .small a {
    display: inline-block;
    padding: 2px 0;
    transition: color .2s, transform .2s;
  }
  #footerr .grid3:nth-child(2) .small a:hover { transform: translateX(6px); }

  /* Иконки в контактите */
  #footerr iconify-icon { vertical-align: -3px; color: var(--sun); margin-right: 4px; font-size: 1.15em; }
  #footerr h3 iconify-icon { margin: 0; font-size: 1.3em; }

  /* Бутон "Виж повече" */
  #footerr .button {
    display: inline-block;
    padding: 10px 26px;
    background: #fff;
    color: var(--outline);
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    border-radius: 30px;
    border: 3px solid var(--sun);
    box-shadow: 0 4px 0 var(--sun);
    transition: transform .2s, background .2s;
  }
  #footerr .button:hover { background: var(--sun); color: var(--outline); transform: translateY(-2px); }

  /* Разделител */
  #footerr .sep {
    height: 4px;
    max-width: 1160px;
    margin: 0 auto;
    border-radius: 4px;
    background: rgba(255,255,255,.25);
  }

  /* Долна лента */
  #footerr .bottom > .container:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 26px;
  }
  #footerr .copyright { margin: 0; font-size: .9rem; opacity: .95; }
  #footerr .copyright a { text-decoration: underline; text-underline-offset: 3px; }
  #footerr .copyright a:hover { color: var(--sun); }

  /* Социални иконки */
  #footerr .right-side { margin: 0; display: flex; gap: 10px; justify-content: flex-end; }
  #footerr .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--sun);
    transition: transform .2s, background .2s;
  }
  #footerr .social-link iconify-icon { margin: 0; font-size: 1.3rem; color: var(--outline); vertical-align: 0; }
  #footerr .social-link:hover { background: var(--sun); transform: translateY(-3px) rotate(-6deg); }

  /* Адаптивност */
  @media (max-width: 1000px) {
    #footerr .bottom > .container:first-child { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 620px) {
    #footerr .bottom > .container:first-child { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
    #footerr .bottom > .container:last-child { flex-direction: column; text-align: center; }
    #footerr .right-side { justify-content: center; }
  }