/* ==========================================================================
   Prime Optik - Editorial Charcoal Footer (Kadence Native & Customizer Ready)
   ========================================================================== */
.po-footer,
.site-footer,
#colophon {
  background: var(--po-gradient-dark) !important;
  color: #D8C7AF !important;
  font-family: var(--po-font-sans) !important;
  position: relative;
  overflow: hidden;
}

.site-footer a {
  color: #CDBB9F;
  text-decoration: none;
  transition: color var(--po-transition-fast), transform var(--po-transition-fast);
}

.site-footer a:hover {
  color: var(--po-champagne);
}

/* Middle Footer Row / Main Content */
.site-middle-footer-wrap {
  padding-top: clamp(4rem, 7vw, 6.5rem) !important;
  padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-middle-footer-inner-wrap {
  gap: 2.5rem !important;
}

@media (min-width: 1024px) {
  .site-middle-footer-inner-wrap.site-footer-row-columns-5 {
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr !important;
    gap: 3rem !important;
  }
}

/* Footer Section Headers & Titles */
.site-footer .widget-title,
.site-footer .footer-widget-area .widgettitle,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.po-footer-col-title {
  font-family: var(--po-font-sans) !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--po-white) !important;
  margin-bottom: 1.25rem !important;
}

/* Brand block inside footer */
.po-footer-brand-title {
  font-family: var(--po-font-serif) !important;
  font-size: 1.85rem !important;
  font-weight: 400 !important;
  color: var(--po-white) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.2 !important;
}

.po-footer-brand-sub {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  color: var(--po-champagne) !important;
  margin-bottom: 1rem !important;
}

.po-footer-tagline {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: #BFAE94 !important;
  max-width: 32ch !important;
  margin-bottom: 1.5rem !important;
}

/* Lists & Links in Footer Widgets */
.site-footer ul.wp-block-list,
.site-footer .footer-navigation ul,
.po-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
}

.site-footer ul.wp-block-list li,
.site-footer .footer-navigation ul li,
.po-footer-links li {
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer ul.wp-block-list li a,
.site-footer .footer-navigation ul li a,
.po-footer-link {
  font-size: 0.875rem !important;
  color: #CDBB9F !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: color var(--po-transition-fast), transform var(--po-transition-fast) !important;
}

.site-footer ul.wp-block-list li a:hover,
.site-footer .footer-navigation ul li a:hover,
.po-footer-link:hover {
  color: var(--po-champagne) !important;
  transform: translateX(3px) !important;
}

/* Social icons in Kadence Footer */
.site-footer .element-social-inner-wrap {
  display: flex;
  gap: 0.75rem;
}

.site-footer a.social-button {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #c9c5bd !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform var(--po-transition-fast), background-color var(--po-transition-fast), color var(--po-transition-fast), border-color var(--po-transition-fast) !important;
}

.site-footer a.social-button:hover {
  background: var(--po-gradient-gold) !important;
  color: var(--po-charcoal) !important;
  border-color: var(--po-champagne) !important;
  transform: translateY(-2px) !important;
}

/* Bottom Footer Row / Copyright */
.site-bottom-footer-wrap {
  padding: 1.75rem 0 !important;
  font-size: 0.75rem !important;
  color: #9F8C72 !important;
}

.po-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: #9F8C72;
  width: 100%;
}

@media (min-width: 768px) {
  .po-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.po-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.po-footer-legal-link {
  color: #9F8C72 !important;
  text-decoration: none !important;
  transition: color var(--po-transition-fast) !important;
}

.po-footer-legal-link:hover {
  color: var(--po-champagne) !important;
}

/* ==========================================================================
   Fixed Mobile Quick Action Bar
   ========================================================================== */
.po-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--po-gradient-ivory);
  border-top: 1px solid var(--po-line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: calc(var(--po-z-header) - 1);
  padding: 0 0.5rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .po-mobile-bar {
    display: none !important;
  }
}

.po-mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all var(--po-transition-fast);
}

.po-mobile-bar-btn--phone,
.po-mobile-bar-btn:first-child {
  background: var(--po-mob-btn1-bg, #181714);
  color: var(--po-mob-btn1-color, #FFFFFF);
}

.po-mobile-bar-btn--whatsapp,
.po-mobile-bar-btn.is-whatsapp {
  background: var(--po-mob-btn2-bg, #C5A880);
  color: var(--po-mob-btn2-color, #181714);
}
