/* Global branded footer. Content remains editable through Shoptet banners. */
#footer { margin-top: 0; background: #351d0d; color: #f7f1e7; }
#footer .footer-rows { max-width: 1380px; padding: 58px 30px 42px; background: transparent; }
#footer .custom-footer {
  display: grid !important;
  grid-template-columns: 1.05fr .95fr .95fr 1.15fr;
  gap: clamp(34px,4vw,68px);
  align-items: start;
  padding: 0 !important;
}
#footer .custom-footer > [class*="custom-footer__banner"] { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
#footer .custom-footer .banner,
#footer .custom-footer .banner-wrapper { height: 100%; margin: 0; padding: 0; background: transparent; }
#footer .custom-footer h4,
#footer .custom-footer h5,
#footer .custom-footer .topic { margin: 0 0 19px; color: #fff !important; font: inherit; font-size: 18px; font-weight: 800; line-height: 1.25; }
#footer .custom-footer p { color: #d9cabe; }
#footer .custom-footer ul { margin: 0; padding: 0; list-style: none; }
#footer .custom-footer li { margin: 0 0 10px; line-height: 1.4; }
#footer .custom-footer a { color: #e7d8ca !important; text-decoration: none; transition: color .18s ease; }
#footer .custom-footer a:hover { color: #e8ad5f !important; text-decoration: underline; }
#footer .custom-footer__banner5 {
  padding: 24px !important;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}
#footer .custom-footer__banner5 img[alt="Chocolenka"] { width: 145px; max-height: 70px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .96; }
#footer .custom-footer__banner5 strong { color: #fff; }
#footer .custom-footer__banner5 .project-phone,
#footer .custom-footer__banner5 .project-email { color: #fff !important; font-weight: 700; }
#footer .custom-footer__instagram { display: none !important; }
#footer .footer-links-icons {
  max-width: none;
  padding: 28px max(30px,calc((100% - 1320px)/2));
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,.12);
  background: #351d0d;
}
#footer .footer-icons {
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(300px,.75fr);
  gap: 16px;
}
#footer .ch-footer-logo-group {
  min-width: 0;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid #eadbca;
  border-radius: 12px;
  background: #f7f1e7;
}
#footer .ch-footer-logo-title {
  flex: 0 0 auto;
  margin: 0;
  color: #6b3c16;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
#footer .ch-footer-logo-row {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 22px;
}
#footer .footer-icon { margin: 0; display: flex; align-items: center; justify-content: center; }
#footer .footer-icon img { width: auto; max-width: 82px; max-height: 29px; object-fit: contain; }
#footer .ch-footer-logo-group--delivery .footer-icon img { max-width: 96px; }
#footer .footer-bottom { max-width: 1380px; padding: 23px 30px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); background: transparent; color: #cdbbac; }
#footer .footer-bottom a { color: #f1dfcf; }
#footer .footer-bottom .image { filter: brightness(0) invert(1); opacity: .7; }
#footer .ch-footer-creators { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
#footer .ch-footer-coded { display: inline-flex; align-items: center; color: #f1dfcf; white-space: nowrap; }
#footer .ch-footer-coded::before { content: "•"; margin-right: 9px; color: #d27d1d; }

@media (max-width: 991px) {
  #footer .custom-footer { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 34px; }
  #footer .footer-icons { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  #footer .footer-rows { padding: 42px 20px 34px; }
  #footer .custom-footer { grid-template-columns: 1fr; gap: 32px; }
  #footer .custom-footer__banner5 { padding: 22px !important; }
  #footer .footer-links-icons { padding: 22px 18px; }
  #footer .footer-icons { gap: 12px; }
  #footer .ch-footer-logo-group { padding: 18px; align-items: flex-start; flex-direction: column; gap: 15px; }
  #footer .ch-footer-logo-title { white-space: normal; }
  #footer .ch-footer-logo-row { width: 100%; justify-content: flex-start; gap: 16px 20px; }
  #footer .footer-icon img { max-width: 72px; max-height: 27px; }
  #footer .ch-footer-logo-group--delivery .footer-icon img { max-width: 84px; }
  #footer .footer-bottom { padding: 22px 20px; flex-direction: column; align-items: flex-start; gap: 14px; }
  #footer .ch-footer-creators { gap: 5px 8px; }
  #footer .ch-footer-coded::before { margin-right: 8px; }
}
