/* ==========================================================================
   Footer & Modals
   ========================================================================== */

/* --- Legacy footer wrapper hooks --- */
.pawfect-footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.pawfect-footer-logo {
    width: auto;
}

.pawfect-footer-paw {
    width: 100%;
}

.pawfect-footer-feature-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pawfect-footer-features-heading {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pawfect-footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.pawfect-footer-widgets-heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.pawfect-footer-widget-area {
    min-width: 0;
}

.pawfect-footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--pf-text-sm);
}

/* --- Footer Base & Wave Decoration --- */
.pf-footer,
.pawfect-footer {
  position: relative;
  color: var(--pawfect-text);
  padding-top: 12rem; /* pt-48 */
  padding-bottom: 2.5rem; /* pb-10 */
}

.pf-footer::before,
.pawfect-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background-color: var(--pawfect-background, #fef9f5);
  background: var(--pawfect-background, #fef9f5);
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1439 57' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 57L1439 57V-3.8147e-06C1400.62 -3.8147e-06 1313.56 90.4365 1126.12 20.9833C938.69 -48.4699 829.284 116.882 444.121 20.9833C220.961 -34.5797 28.1238 37.491 0 57Z' fill='%23ffffff'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1439 57' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 57L1439 57V-3.8147e-06C1400.62 -3.8147e-06 1313.56 90.4365 1126.12 20.9833C938.69 -48.4699 829.284 116.882 444.121 20.9833C220.961 -34.5797 28.1238 37.491 0 57Z' fill='%23ffffff'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  transform: rotate(180deg);
  z-index: 1;
  pointer-events: none;
}

.pf-footer__container {
  position: relative;
  z-index: 10;
  max-width: 64rem; /* container-narrow */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

.pf-footer__container > * {
  position: relative;
  z-index: 2;
}

/* Footer Background Paw Watermark */
.pawfect-footer-paw::after {
  content: "";
  position: absolute;
  top: -15rem;
  left: 54%;
  transform: translate(-50%, 50%) rotate(74deg);
  background-image: url('../../images/paw-steps-white.webp');
  background-repeat: no-repeat;
  background-size: contain;
  width: 500px;
  height: 800px;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
}

/* --- Features Row --- */
.pf-footer__features {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}

.pf-footer__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* --- Widgets Row --- */
.pf-footer__widgets-wrap {
  text-align: center;
  margin-bottom: 4rem;
}

.pf-footer__widgets {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* --- Logo Section --- */
.pf-footer__logo-wrap {
  text-align: center;
  margin-bottom: 2rem;
}

.pf-footer__logo {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.pf-footer__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: 0.5rem;
}

/* --- Payments Row --- */
.pf-footer__payments {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* --- Copyright Row --- */
.pf-footer__copyright {
  border-top: 1px solid rgba(128, 128, 128, 0.15);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1rem;
}

/* Grid columns responsive variables (inline styles output dynamic grids, but CSS handles defaults) */
@media (min-width: 768px) {
  /* Dynamic grid columns are usually set inline in PHP utilities */
}

/* ==========================================================================
   Mobile Drawer
   ========================================================================== */
/* --- Mobile Drawer Backdrop --- */
.pawfect-mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99998 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pawfect-mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* /* --- Mobile Drawer Panel (Luxury E-Commerce Redesign) --- */
.pf-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: min(86vw, 360px);
  background: var(--pf-secondary) !important;
  background-color: var(--pf-secondary) !important;
  color: #ffffff !important;
  padding: 0 !important;
  z-index: 99999 !important;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

.pf-mobile-drawer--hidden {
  transform: translateX(-100%) !important;
  pointer-events: none !important;
}

@media (min-width: 1024px) {
  .pf-mobile-drawer { display: none !important; }
  .pawfect-mobile-backdrop { display: none !important; }
}

/* Header */
.pf-mobile-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.25rem 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-mobile-drawer__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.pf-mobile-drawer__logo-img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.pf-mobile-drawer__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-mobile-drawer__title a {
  color: #ffffff !important;
  text-decoration: none;
}

.pf-mobile-drawer__title-dot {
  color: var(--pf-primary, var(--pawfect-primary, #F4A259));
}

.pf-mobile-drawer__close {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0;
}

.pf-mobile-drawer__close:hover {
  background-color: var(--pf-primary, var(--pawfect-primary, #F4A259)) !important;
  border-color: var(--pf-primary, var(--pawfect-primary, #F4A259)) !important;
  transform: rotate(90deg) scale(1.05) !important;
}

.pf-mobile-drawer__close svg {
  width: 1.125rem !important;
  height: 1.125rem !important;
  fill: currentColor !important;
}

/* Instant Search Pill */
.pf-mobile-drawer__search {
  padding: 0.85rem 1.25rem 0.5rem 1.25rem;
}

.pf-mobile-drawer__search-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.pf-mobile-drawer__search-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--pf-primary, var(--pawfect-primary, #F4A259));
  color: #ffffff;
}

.pf-mobile-drawer__search-icon {
  color: var(--pf-primary, var(--pawfect-primary, #F4A259));
  flex-shrink: 0;
}

/* Navigation Menu Body */
.pf-mobile-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 1rem;
}

.pf-mobile-drawer__body::-webkit-scrollbar {
  width: 4px;
}

.pf-mobile-drawer__body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.pf-mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pf-mobile-drawer__item,
.pf-mobile-item,
.pawfect-mobile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.pf-mobile-drawer__item:hover,
.pf-mobile-item:hover,
.pawfect-mobile-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.pf-mobile-drawer__link,
.pf-mobile-link,
.pawfect-mobile-menu-link {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
  flex: 1 !important;
}

.pf-mobile-drawer__link:hover,
.pf-mobile-link:hover,
.pawfect-mobile-menu-link:hover,
.pf-mobile-item--current > .pf-mobile-link {
  color: var(--pf-primary, var(--pawfect-primary, #F4A259)) !important;
}

.pf-mobile-toggle,
.pawfect-mobile-submenu-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.85rem !important;
  height: 1.85rem !important;
  border-radius: 0.35rem !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.7) !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease !important;
}

.pf-mobile-toggle:hover,
.pawfect-mobile-submenu-toggle:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.pf-mobile-toggle.rotated,
.pawfect-mobile-submenu-toggle.rotated,
.pf-mobile-toggle--active {
  transform: rotate(90deg) !important;
  background-color: var(--pf-primary, var(--pawfect-primary, #F4A259)) !important;
  color: #ffffff !important;
}

.pf-mobile-submenu {
  display: none;
  width: 100%;
  padding-left: 0.75rem;
  margin-top: 0.35rem;
  border-left: 2px solid var(--pf-primary, var(--pawfect-primary, #F4A259));
}

.pf-mobile-submenu.active,
.pf-mobile-submenu--open {
  display: block;
}

.pf-mobile-submenu .pf-mobile-item {
  padding: 0.5rem 0.65rem;
}

.pf-mobile-submenu .pf-mobile-link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  opacity: 0.85;
}

/* Footer Cards & Socials */
.pf-mobile-drawer__footer {
  padding: 1rem 1.25rem 1.25rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-mobile-drawer__card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.pf-mobile-drawer__card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-mobile-drawer__card-item:last-child {
  border-bottom: none;
}

.pf-mobile-drawer__card-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--pf-primary, var(--pawfect-primary, #F4A259));
}

.pf-mobile-drawer__card-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pf-mobile-drawer__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pf-primary, var(--pawfect-primary, #F4A259));
}

.pf-mobile-drawer__card-chevron {
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.pf-mobile-drawer__card-item:hover .pf-mobile-drawer__card-chevron {
  opacity: 1;
  transform: translateX(2px);
}

.pf-mobile-drawer__card-badge {
  background-color: var(--pf-primary, var(--pawfect-primary, #F4A259));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-mobile-drawer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.pf-mobile-drawer__social-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.pf-mobile-drawer__social-btn:hover {
  background-color: var(--pf-primary, var(--pawfect-primary, #F4A259));
  transform: translateY(-2px);
}

.pf-mobile-drawer__icon {
  width: 1.125rem;
  height: 1.125rem;
  display: inline-block;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* ==========================================================================
   General Modal Base (Promo / Quick View)
   ========================================================================== */
.pf-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pf-modal--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pf-modal__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
  width: 100%;
}

.pf-modal__content {
  background-color: #ffffff !important;
  color: #111827;
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 56rem; /* max-w-4xl */
  position: relative;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-modal--hidden .pf-modal__content {
  transform: scale(0.95);
}

.pf-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #4b5563;
  padding: 0;
  border-radius: 9999px;
  background-color: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.pf-modal__close svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.pf-modal__close:hover {
  color: #ffffff;
  background-color: #111827;
}

.pf-modal__close:hover svg {
  transform: rotate(180deg);
}

.pf-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.pf-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.pf-modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

/* Loading state inside modal */
.pf-modal__loading {
  text-align: center;
  padding: 3rem 0;
  color: #4b5563;
}
.pf-modal__loading svg {
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  color: #9ca3af;
  animation: pf-spin 1s linear infinite;
}

@keyframes pf-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Quick View modal content (loaded via AJAX)
   ========================================================================== */
.pawfect-quick-view-content .pawfect-main-image {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #f9fafb;
}

.pawfect-quick-view-content .pawfect-main-image img {
  transition: opacity 0.3s ease-in-out;
}

.pawfect-quick-view-content .pawfect-thumbnail-gallery {
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.pawfect-quick-view-content .pawfect-thumbnail-gallery::-webkit-scrollbar {
  height: 4px;
}

.pawfect-quick-view-content .pawfect-thumbnail-gallery::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  border-radius: 9999px;
}

.pawfect-quick-view-content .pawfect-thumb-btn {
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.pawfect-quick-view-content .pawfect-thumb-btn:hover {
  opacity: 0.85;
}

.pawfect-quick-view-content .pawfect-product-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pawfect-quick-view-content .pawfect-product-details h2 {
  font-family: var(--pawfect-font-serif, var(--pf-font-serif, serif));
  line-height: 1.25;
}

.pawfect-quick-view-content .pawfect-product-details .price {
  color: var(--pawfect-primary, var(--pf-primary, #F4A259));
}

.pawfect-quick-view-content .pawfect-add-to-cart-section form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.pawfect-quick-view-content .pawfect-add-to-cart-section form.cart .quantity {
  margin: 0;
}

.pawfect-quick-view-content .pawfect-add-to-cart-section form.cart .qty {
  width: 4.5rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: #111827;
  background-color: #ffffff;
}

.pawfect-quick-view-content .pawfect-add-to-cart-section form.cart .qty:focus {
  outline: none;
  border-color: var(--pawfect-primary, var(--pf-primary, #F4A259));
}

.pawfect-quick-view-content .pawfect-add-to-cart-section .single_add_to_cart_button {
  padding: 0.75rem 1.75rem !important;
}

/* Variations inside quick view */
.pawfect-quick-view-content table.variations {
  margin: 0 0 1rem;
  width: 100%;
}

.pawfect-quick-view-content table.variations td {
  padding: 0.35rem 0;
  vertical-align: middle;
}

.pawfect-quick-view-content table.variations select {
  width: 100%;
  max-width: 16rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #111827;
  font-size: 0.9375rem;
}

.pawfect-quick-view-content .reset_variations {
  font-size: 0.8125rem;
  color: #ef4444;
}

.pawfect-quick-view-content .woocommerce-variation-price {
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--pawfect-primary, var(--pf-primary, #F4A259));
}

.pawfect-quick-view-content .woocommerce-variation-availability {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.pawfect-quick-view-content .woocommerce-variation-availability .in-stock {
  color: #16a34a;
}

@media (max-width: 640px) {
  .pf-modal__body {
    max-height: calc(85vh - 80px);
  }
}

/* ==========================================================================
   Promo Modal specific (Two column layout)
   ========================================================================== */
.pf-promo__grid {
  display: flex;
  flex-direction: column;
  min-height: 25rem;
}

@media (min-width: 768px) {
  .pf-promo__grid {
    flex-direction: row;
  }
}

.pf-promo__media {
  width: 100%;
  position: relative;
}

@media (min-width: 768px) {
  .pf-promo__media {
    width: 50%;
  }
}

.pf-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-promo__media { background-color: var(--pawfect-promo-bg); }
.pf-promo__media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.pf-promo__media-icon {
  width: 8rem;
  height: 8rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--pawfect-primary, #F4A259), #fb923c);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  color: var(--pawfect-text);
}

.pf-promo__info {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .pf-promo__info {
    width: 50%;
  }
}

.pf-promo__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pf-promo__subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  display: block;
}

.pf-promo__desc {
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

.pf-promo__form {
  margin-bottom: 1.5rem;
}

.pf-promo__input-group {
  margin-bottom: 1rem;
}

.pf-promo__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  color: #111827;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.pf-promo__input:focus {
  border-color: var(--pawfect-primary, #F4A259);
  outline: none;
  box-shadow: 0 0 0 2px rgba(244, 162, 89, 0.2);
}

.pf-promo__btn { background-color: var(--pawfect-promo-btn-bg); color: var(--pawfect-promo-btn-text); 
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.pf-promo__btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

.pf-promo__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pf-promo__social a {
  color: #9ca3af;
  font-size: 1.125rem;
  transition: color 0.2s ease;
}

.pf-promo__social a:hover {
  color: #4b5563;
}

.pf-promo__dismiss {
  text-align: center;
}

.pf-promo__dismiss button {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: underline;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pf-promo__dismiss button:hover {
  color: #374151;
}

/* --- Footer Background --- */
.pf-footer {
  background-color: var(--pawfect-secondary, #313134);
  color: var(--pawfect-text);
}

.pf-mobile-drawer__close {
  background-color: var(--pawfect-primary, #F4A259);
}

/* --- Dynamic Grid Columns --- */
.pf-footer__features--cols-mobile-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.pf-footer__features--cols-mobile-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-footer__widgets--cols-mobile-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.pf-footer__widgets--cols-mobile-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .pf-footer__features--cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .pf-footer__features--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-footer__features--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-footer__features--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  
  .pf-footer__widgets--cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .pf-footer__widgets--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-footer__widgets--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-footer__widgets--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* --- Premade Feature Box Widgets (Vanilla CSS) --- */
.pf-footer__feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pf-footer__feature-icon {
    margin-bottom: 0.85rem;
    color: var(--pawfect-primary, #F4A259);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-footer__feature-box:hover .pf-footer__feature-icon {
    transform: translateY(-3px) scale(1.05);
}

.pf-footer__feature-icon svg {
    width: 3.5rem;
    height: 3.5rem;
    stroke-width: 1.8;
}

.pf-footer__feature-title {
    font-family: var(--pawfect-heading-font, "Bricolage Grotesque", sans-serif);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.3;
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
    color: #FFFFFF;
}

.pf-footer__feature-desc,
.pf-footer__widget-text,
.pf-footer__widget-desc,
.pf-footer p {
    font-size: 0.875rem;
    color: #9CA3AF;
    opacity: 1;
    line-height: 1.5;
    margin: 0;
}

/* --- Footer Widgets & Links --- */
.pf-footer__widget-title {
    font-family: var(--pawfect-heading-font, "Bricolage Grotesque", sans-serif);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.pf-footer__widget-list {
    color: #9CA3AF;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.pf-footer__widget-link,
.pf-footer a:not(.pf-footer__widget-social a):not(.pf-footer__logo-wrap a):not(.pf-footer__title),
.pf-footer li a {
    position: relative;
    display: inline-block;
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 1;
}

.pf-footer__widget-link::after,
.pf-footer a:not(.pf-footer__widget-social a):not(.pf-footer__logo-wrap a):not(.pf-footer__title)::after,
.pf-footer li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1.5px;
    bottom: -2px;
    left: 0;
    background-color: #FFFFFF;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pf-footer__widget-link:hover::after,
.pf-footer a:not(.pf-footer__widget-social a):not(.pf-footer__logo-wrap a):not(.pf-footer__title):hover::after,
.pf-footer li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.pf-footer__widget-link:hover,
.pf-footer a:not(.pf-footer__widget-social a):not(.pf-footer__logo-wrap a):not(.pf-footer__title):hover,
.pf-footer li a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.pf-footer__logo-wrap h2,
.pf-footer__title {
    color: #FFFFFF;
    font-family: "Cinzel", "Bricolage Grotesque", serif;
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: block;
}

.pf-footer__copyright,
.pf-footer__copyright p {
    color: #9CA3AF;
    font-size: 0.8125rem;
}

.pf-footer__copyright a {
    color: #E5E7EB;
    text-decoration: none;
    font-weight: 600;
}

.pf-footer__widget-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.pf-footer__widget-social a {
    color: var(--pawfect-primary, #F4A259);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pf-footer__widget-social a:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}
