/* Body reset */
:host {
  display: block;
}

body {
  margin: 0 auto;
}

/* Main container */
.footer-component-container {
  display: flex;
  padding: 40px 24px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
  background: #3e433f;
}

/* Inner wrapper for max-width */
.footer-component-inner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

/* Cookie Banner Styles */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: #fff;
  padding: 15px;
  font-size: 14px;
  text-align: center;
  z-index: 1000;
  display: none;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  font-family: "DM Sans", sans-serif;
}

.cookie-bar.show {
  display: block;
}

.accept-button {
  margin-top: 10px;
  margin-left: 15px;
  padding: 8px 16px;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.accept-button:hover {
  background: #45a049;
}

/* First container - top section */
.footer-component-top-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

/* Logo and links wrapper */
.footer-component-logo-links-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  align-self: stretch;
}

/* Logo styling */
.footer-component-logo {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.48px;
}

/* Navigation container */
.footer-component-nav {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

/* Link styling */
.footer-component-link {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.28px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-component-link:hover {
  opacity: 0.8;
}

/* Second container - bottom section */
.footer-component-bottom-section {
  display: flex;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

/* Copyright text */
.footer-component-copyright {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.28px;
}

/* Info wrapper - payment and delivery */
.footer-component-info-wrapper {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 50px;
}

/* Info block - payment/delivery container */
.footer-component-info-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Info text */
.footer-component-info-text {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.24px;
}

/* Logos container */
.footer-component-logos {
  display: flex;
  align-items: center;
  gap: 13.76px;
  flex-shrink: 0;
}

/* Logo images - payment methods (33x23) */
.footer-component-logo-img {
  width: 39px;
  height: 27px;
  object-fit: contain;
}

/* Logo images - delivery methods (39x27) */
.footer-component-logo-img-large {
  width: 39px;
  height: 27px;
  object-fit: contain;
}

/* Mobile styles - up to 768px */
@media screen and (max-width: 768px) {
  .footer-component-container {
    padding: 40px 16px;
  }

  .footer-component-inner-wrapper {
    max-width: 100%;
    gap: 40px;
  }

  /* First main container */
  .footer-component-top-section {
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Logo and links wrapper - change to column */
  .footer-component-logo-links-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Logo styling - same size */
  .footer-component-logo {
    font-size: 24px;
    letter-spacing: 0.48px;
    word-break: break-word;
  }

  /* Navigation container - two columns */
  .footer-component-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Link styling - same */
  .footer-component-link {
    font-size: 14px;
    letter-spacing: 0.28px;
    word-break: break-word;
  }

  /* Second main container */
  .footer-component-bottom-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Copyright - same */
  .footer-component-copyright {
    font-size: 14px;
    letter-spacing: 0.28px;
    word-break: break-word;
  }

  /* Info wrapper - change layout */
  .footer-component-info-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Info block - centered */
  .footer-component-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Info text - smaller */
  .footer-component-info-text {
    font-size: 9px;
    letter-spacing: normal;
    text-align: center;
    word-break: break-word;
  }

  /* Logos container - smaller gap */
  .footer-component-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  /* All logos same size on mobile - 33x24 */
  .footer-component-logo-img,
  .footer-component-logo-img-large {
    width: 33px;
    height: 24px;
    flex-shrink: 0;
  }
}

/* Extra small screens - below 343px */
@media screen and (max-width: 342px) {
  .footer-component-logos {
    flex-wrap: wrap;
  }
}

/* Responsive scaling for smaller desktop screens */
@media screen and (min-width: 769px) and (max-width: 1440px) {
  .footer-component-container {
    padding: 40px 80px;
  }

  .footer-component-info-wrapper {
    gap: 40px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .footer-component-container {
    padding: 40px 60px;
  }

  .footer-component-nav {
    gap: 16px;
  }

  .footer-component-link {
    font-size: 13px;
  }

  .footer-component-info-wrapper {
    gap: 30px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .footer-component-container {
    padding: 40px 40px;
  }

  .footer-component-nav {
    gap: 12px;
  }

  .footer-component-link {
    font-size: 12px;
  }

  .footer-component-info-wrapper {
    gap: 20px;
  }

  .footer-component-logo-img {
    width: 28px;
    height: 20px;
  }

  .footer-component-logo-img-large {
    width: 33px;
    height: 23px;
  }
}
