/* === FOOTER BASE STYLES === */
footer {
  background-color: black;
  color: white;
  padding: 120px 60px 60px;
  font-family: 'Poppins', sans-serif;
  position: relative;
}
.footer-container-main{
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 80px;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 160px;
}

.footer-column.brand {
  flex: 2 1 300px;
}

/* === NEWSLETTER COLUMN === */
.newsletter-column {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  gap: 20px;
}


.newsletter-column h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #f8e7c1;
}


.footer-newsletter {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2.5px;
  max-width: 100%;
  justify-content: center;
  width: 50%;
}

.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
  outline: none;
  background: #111;
  color: #fff;
}

.footer-newsletter button {
  padding: 14px 24px;
  border: none;
  border-radius: 0 30px 30px 0;
  background: #f94f6d;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-newsletter button:hover {
  background: #c43753;
  transform: translateX(2px);
}

/* === NEWSLETTER SUCCESS MESSAGE === */
.newsletter-success {
  display: none;
  margin-top: 16px;
  color: #4bb543;
  font-size: 0.95rem;
  text-align: center;
  padding: 8px 16px;
  border-radius: 4px;
  background: rgba(75, 181, 67, 0.1);
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === PAYMENT LOGOS === */
.footer-payments {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 0;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.footer-payments img {
  height: 35px;
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-payments img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: transparent;
  color: #fff;
  padding: 12px 14px;
  border-radius: 100%;
  z-index: 999;
  font-size: 1rem;
  transition: all 0.3s;
  display: none;
  cursor: pointer;
  text-decoration: none;
}

.back-to-top.visible {
  display: block;
}

.back-to-top:hover {
  background: white;
  transform: translateY(-3px);
  color: black;
}

/* === GENERAL FOOTER TEXT === */
.footer-column h3 {
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #f94f6d;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  position: relative;
  color: #ccc;
  font-size: 0.8rem;
  text-decoration: none;
}


.footer-column ul li a:hover {
  color: #fff;
}



.brand h1 {
  font-size: 2.8rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.brand p {
  font-size: 1rem;
  color: #aaa;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.footer-social a {
  color: #ccc;
  font-size: 1.3rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  color: #f94f6d;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

.footer-bottom::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(to right, #f94f6d, #f9ca24);
  margin-bottom: 20px;
  opacity: 0.3;
}

/* === COUNTRY SELECT === */
.footer-country {
  margin-top: 30px;
  color: #aaa;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-country select {
  margin-left: 10px;
  padding: 8px 12px;
  background: #111;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  cursor: pointer;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 768px) {
  footer {
    padding: 80px 30px 40px;
  }

  .footer-container {
    flex-direction: column;
    display: flex;
  }

  .footer-column {
    width: 100%;
    text-align: center;
    align-items: center;
  }



  .newsletter-mobile-order {
    margin-top: 20px;
    margin-bottom: 20px;
  }



  .footer-social {
    margin-bottom: 30px;
  }

  .brand h1 {
    font-size: 2.2rem;
  }

  .brand h1,
  .brand p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: center;
  }

  .footer-newsletter input,
  .footer-newsletter button {
    border-radius: 30px;
    width: 100%;
    max-width: 300px;
  }

  .footer-newsletter input {
    border-radius: 30px;
    margin-bottom: 10px;
  }

  .footer-newsletter button {
    border-radius: 30px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-payments {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    padding: 10px 12px;
    font-size: 1rem;
  }

  .desktop-only {
    display: none;
  }

  .footer-mobile-collapse {
    display: block;
  }
}

/* === MOBILE COLLAPSIBLE SECTIONS === */
.footer-mobile-collapse {
  display: none;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 20px;
}

.footer-mobile-collapse details {
  border-top: 1px solid #333;
  padding: 12px 0;
}


.footer-mobile-collapse summary {
  position: relative;
  padding-right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: lighter;
  color: #f8e7c1;
}

.footer-mobile-collapse summary::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #f8e7c1;
}

details[open] summary::after {
  content: '×';
  transform: rotate(180deg);
}

.footer-mobile-collapse ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

details[open] ul {
  max-height: 300px;
  opacity: 1;
}

.footer-mobile-collapse li {
  margin-bottom: 8px;
}

.footer-mobile-collapse ul li a {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #ccc;
  padding: 6px 0;
  display: inline-block;
  text-decoration: none;
}

.footer-mobile-collapse li a {
  text-decoration: none;
}

.footer-mobile-collapse ul li a::after,
.footer-column ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #f94f6d;
  transform: scaleX(0);
  transform-origin: right;
  animation: none;
}

.footer-mobile-collapse ul li a:hover::after,
.footer-column ul li a:hover::after {
  animation: reverseSwipe 0.7s ease forwards;
}

@keyframes reverseSwipe {
  0% {
    transform: scaleX(0);
    transform-origin: right;
  }
  50% {
    transform: scaleX(1);
    transform-origin: right;
  }
  75% {
    transform: scaleX(0.4);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.footer-mobile-collapse ul li a:hover {
  color: #fff;
}

.footer-mobile-collapse ul li a:hover::after {
  width: 100%;
}

/* Collapse animation wrapper */
.footer-section {
  border-bottom: 1px solid #222;
  overflow: hidden;
  margin-bottom: 12px;
}

.footer-section summary {
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: #f94f6d;
  padding: 1rem 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.footer-section summary:hover {
  color: #fff;
}

.footer-section summary::after {
  content: "+";
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.footer-section[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.footer-section ul {
  padding-left: 0;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.footer-section[open] ul {
  max-height: 300px;
  opacity: 1;
  margin-top: 0.5rem;
}

.footer-section li {
  margin: 8px 0;
}

.footer-section li a {
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  color: #ccc;
  transition: color 0.3s;
}

.footer-section li a:hover {
  color: #fff;
}


/* Hide mobile collapsible on desktop */
@media (min-width: 769px) {
  .footer-mobile-collapse {
    display: none !important;
  }
}

/* Show mobile collapsible on small screens */
@media (max-width: 768px) {
  .footer-mobile-collapse {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }
}


