/* ============================================================================
   FOOTER MODULE - MODULAR AND REUSABLE
   ============================================================================ */

/* Footer Main Container */
.footer-area {
  padding-top: var(--_sizes---space--space-80) !important;
  padding-bottom: var(--_sizes---space--space-24) !important;
  background-color: var(--dark--100) !important;
  position: relative;
  z-index: 10;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Footer Top Section */
.footer-area .footer-top {
  grid-column-gap: 120px;
  grid-row-gap: 60px;
  grid-template-rows: auto;
  grid-template-columns: 1.2fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
  margin-bottom: 50px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Footer Widget */
.footer-widget {
  display: flex;
  flex-direction: column;
}

/* Footer Logo */
.footer-logo {
  opacity: 0.95;
  transition: opacity 0.3s ease;
  filter: brightness(0) invert(1);
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.footer-logo:hover {
  opacity: 1;
}

/* Footer Logo Wrapper */
.footer-logo-wrapper {
  margin-bottom: 30px;
}

/* Footer Heading */
.footer-area .heading-five {
  color: var(--white--100);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 1;
}

/* Footer Description Text */
.footer-area .section-content {
  color: var(--white--100);
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 500px;
}

/* Footer Navigation */
.footer-nav {
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
  opacity: 1;
}

.nav-item-two {
  margin-bottom: var(--_sizes---space--space-16);
  padding-bottom: var(--_sizes---space--space-16);
  border-bottom: 1px solid var(--gray--500);
}

.footer-link {
  color: var(--white--100);
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  display: flex;
  font-weight: bold;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.footer-link:hover {
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.footer-link.w--current {
  color: var(--color-primary);
}

.nav-link-two {
  color: inherit;
  transition: color 0.3s ease;
}

.arrow-right {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-link:hover .arrow-right {
  opacity: 1;
  transform: translateX(-3px);
}

/* Footer Bottom Section */
.footer-btm {
  margin-top: var(--_sizes---space--space-60);
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  border-bottom: 1px solid var(--gray--100);
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  display: flex;
  opacity: 1;
}

.footer-img {
  border-radius: var(--_sizes---radius--radius-16);
  opacity: 1;
}

.footer-btm-right {
  display: flex;
  align-items: center;
}

.footer-btm-right img {
  width: auto;
  height: auto;
  max-width: 60px;
  object-fit: contain;
  opacity: 1;
  filter: brightness(0) invert(1);
}

/* Footer Copyright Section */
.footer-area .footer-copyright {
  justify-content: center;
  align-items: center;
  display: flex !important;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  opacity: 1 !important;
}

.copyright-text {
  color: var(--gray--300);
  margin-bottom: 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Search Form in Footer */
.footer-area .search {
  margin-top: var(--_sizes---space--space-30);
  border-radius: var(--_sizes---radius--radius-100);
  background-color: var(--dark--200);
  align-items: center;
  padding: 4px 8px 4px 0;
  display: flex;
  opacity: 1;
}

.footer-area .search-input {
  border-top-left-radius: var(--_sizes---radius--radius-100);
  border-bottom-left-radius: var(--_sizes---radius--radius-100);
  background-color: var(--global-class--transparent);
  color: var(--white--100);
  border: 1px var(--color-black);
  height: auto;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
}

.footer-area .search-input:focus {
  background-color: var(--global-class--transparent);
}

.btn-search {
  color: var(--global-class--transparent);
  background-color: #0000;
  background-image: url("https://cdn.prod.website-files.com/68c7aacd7c9fdb902f73c74d/68d282d180fbbb090ea3d882_search.svg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: auto;
  max-width: 40px;
}

/* Remove Utility Links */
.footer-area .nav-two {
  display: none !important;
}

/* Override shop-inline.css footer styles */
.footer-area .footer-wrapper {
  display: none !important;
}

/* Ensure footer structure matches across all pages */
.footer-area .w-layout-blockcontainer {
  max-width: 1312px;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .footer-area .footer-top {
    grid-column-gap: 60px;
    grid-row-gap: 40px;
    grid-template-columns: 1fr;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .footer-area {
    padding-top: 60px !important;
    padding-bottom: 20px !important;
  }
  
  .footer-area .footer-btm {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

@media screen and (max-width: 767px) {
  .footer-area .footer-top {
    grid-column-gap: 40px;
    grid-row-gap: 30px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .footer-area .footer-logo {
    max-width: 150px;
  }
  
  .footer-area .heading-five {
    font-size: 1.2rem;
  }
  
  .footer-area .section-content {
    font-size: 0.9rem;
    max-width: 100%;
  }
  
  .footer-area .footer-copyright {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

