/**
 * Pet City homepage + chrome polish.
 * Scoped so Elementor layouts and WooCommerce checkout stay intact.
 * Brand: navy / orange / teal from the Pet City logo. No kit lavender, no beige slop.
 */

:root {
  --pc-navy: #180a32;
  --pc-ink: #1a2744;
  --pc-orange: #f08a24;
  --pc-gold: #fbab2a;
  --pc-teal: #2a9d8f;
  --pc-wash: #e7f2f0;
  --pc-paper: #ffffff;
  --pc-line: #d7e3df;
  --pc-muted: #4b5568;
}

/* ---------- Header ---------- */
.site-header .main-header-menu > .menu-item > .menu-link {
  letter-spacing: 0.01em;
}

.site-header .main-header-menu .current-menu-item > .menu-link,
.site-header .main-header-menu .current_page_item > .menu-link {
  color: var(--pc-orange);
}

/* ---------- Homepage hero ---------- */
.home.page-id-246 .elementor-element-f413864,
.home .elementor-element-f413864 {
  background-color: var(--pc-wash) !important;
}

.home .elementor-element-23b5d966,
.home .elementor-element-23b5d966.elementor-invisible,
.elementor-246 .elementor-element-23b5d966,
.elementor-246 .elementor-element-23b5d966.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

.home .elementor-element-23b5d966 .elementor-heading-title,
.home .elementor-element-23b5d966 h1,
.elementor-246 .elementor-element-23b5d966 .elementor-heading-title,
.elementor-246 .elementor-element-23b5d966 h1.elementor-heading-title {
  color: #180a32 !important;
  -webkit-text-fill-color: #180a32 !important;
  opacity: 1 !important;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.home .elementor-element-bf29e1b .elementor-heading-title {
  color: var(--pc-ink);
  font-weight: 700;
  line-height: 1.15;
}

.home .elementor-element-3e38d8c .elementor-heading-title {
  color: var(--pc-ink);
}

.home .elementor-element-d378325 {
  color: var(--pc-muted);
  max-width: 40rem;
  margin-inline: auto;
}

.home .elementor-element-d378325 p {
  margin: 0;
}

/* Search bar: hide leftover "Categorías" label and center the field */
.home .elementor-element-84f3e55,
.elementor-246 .elementor-element-84f3e55 {
  display: none !important;
}

.home .elementor-element-d7c0000,
.home .elementor-element-d7c0000.e-con,
.elementor-246 .elementor-element-d7c0000 {
  justify-content: center !important;
}

.home .elementor-element-d7c0000 > .e-con-inner {
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.home .elementor-element-3c586fa {
  width: min(100%, 36rem) !important;
  max-width: 36rem !important;
  margin-inline: auto !important;
}

.home .elementor-element-848ee5a {
  align-items: center;
}

.home .elementor-search input[type="search"],
.home .elementor-search .elementor-search__input {
  min-height: 44px;
  font-size: 16px;
  border-color: var(--pc-line);
}

/* Category chips — kit had tabs as a left column; keep them on top */
.home .elementor-element-bd2d237,
.elementor-246 .elementor-element.elementor-element-bd2d237 {
  --n-tabs-direction: column !important;
  --n-tabs-heading-direction: row !important;
  --n-tabs-heading-width: 100% !important;
  --n-tabs-heading-justify-content: center !important;
  --n-tabs-heading-wrap: wrap !important;
  --n-tabs-heading-grow: 0 !important;
}

.home .elementor-element-bd2d237 .e-n-tabs,
.home .elementor-element-bd2d237 .e-n-tabs.e-activated {
  flex-direction: column !important;
  display: flex !important;
}

.home .elementor-element-bd2d237 .e-n-tabs-heading {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  gap: 8px;
  order: 0;
}

.home .elementor-element-bd2d237 .e-n-tabs-content {
  width: 100% !important;
  flex: 1 1 auto !important;
}

.home .e-n-tabs-heading .e-n-tab-title {
  min-height: 44px;
  border-radius: 999px;
}

/* Product cards: inherit catalog plugin styles; only guarantee tap size + hover */
.home .elementor-widget-woocommerce-products .button,
.home .elementor-widget-woocommerce-products a.button,
.home .elementor-widget-woocommerce-products .add_to_cart_button {
  min-height: 44px;
}

/* Catalog CTA injected by mu-plugin */
.pc-home-catalog-cta {
  display: flex;
  justify-content: center;
  padding: 8px 16px 40px;
}

.pc-home-catalog-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--pc-navy);
  color: #fff !important;
  font-family: Archivo, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.pc-home-catalog-cta a:hover {
  background: var(--pc-orange);
}

/* ---------- Promo banners ---------- */
.home .elementor-element-136f3e7 .elementor-heading-title,
.home .elementor-element-37a74e2 .elementor-heading-title {
  color: var(--pc-ink);
}

.home .elementor-element-5a5fb19 .elementor-button,
.home .elementor-element-146b7b0 .elementor-button {
  background-color: var(--pc-orange) !important;
  min-height: 44px;
}

/* ---------- FAQ: drop the nested-card feel ---------- */
.home .elementor-element-43e8957c .elementor-accordion {
  background: transparent;
  box-shadow: none;
}

.home .elementor-element-43e8957c .elementor-accordion-item {
  border: 0;
  border-bottom: 1px solid var(--pc-line);
  background: transparent;
}

.home .elementor-element-43e8957c .elementor-tab-title {
  color: var(--pc-ink);
  font-weight: 600;
}

.home .elementor-element-43e8957c .elementor-tab-content {
  color: var(--pc-muted);
}

.home .elementor-element-16161ac6 .elementor-button {
  background-color: var(--pc-orange) !important;
  min-height: 44px;
}

/* ---------- Footer ---------- */
.site-footer a:focus-visible,
.elementor-location-footer a:focus-visible,
.home a:focus-visible,
.home button:focus-visible,
.home input:focus-visible {
  outline: 3px solid var(--pc-navy);
  outline-offset: 3px;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile-first spacing: don't let Elementor sections collapse */
@media (max-width: 767px) {
  .home .elementor-element-bf29e1b .elementor-heading-title {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .pc-home-catalog-cta {
    padding-bottom: 28px;
  }
}
