/* Pet City purchase path. Tokens match home-polish / shop-ux. */

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

.pc-trustbar {
  background: var(--pc-navy);
  color: #fff;
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.4rem 0.75rem;
}

.pc-trustbar p {
  margin: 0;
}

.pc-trustbar a {
  color: #fff !important;
  text-decoration: none;
}

.pc-trustbar span {
  margin: 0 0.45rem;
  opacity: 0.55;
}

.pc-shopbar {
  background: var(--pc-wash);
  border-bottom: 1px solid var(--pc-line);
  padding: 0.65rem 1rem 0.75rem;
}

.pc-search,
.pc-hero__search {
  display: flex;
  gap: 0.4rem;
  max-width: 40rem;
  margin: 0 auto 0.55rem;
}

.pc-search input,
.pc-hero__search input,
.pc-price input,
.pc-petform input,
.pc-reorder select {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  padding: 0 0.75rem;
  font-size: 16px;
  background: #fff;
}

.pc-search button,
.pc-hero__search button,
.pc-price button,
.pc-btn,
.pc-reorder button,
.pc-petform button,
.pc-sticky-cart a {
  min-height: 44px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--pc-navy);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pc-btn--primary,
.pc-hero__search button {
  background: var(--pc-orange);
}

.pc-shopnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  overflow: visible;
}

.pc-needs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
}

.pc-hero__needs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  overflow: visible;
}

.pc-shopnav a,
.pc-hero__needs a {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pc-line);
  color: var(--pc-ink) !important;
  text-decoration: none;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.pc-hero {
  background: var(--pc-wash);
  padding: 1.1rem 1rem 1.25rem;
  text-align: center;
}

.pc-hero__kicker {
  margin: 0 0 0.2rem;
  color: var(--pc-teal);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.pc-hero__title {
  margin: 0 0 0.4rem;
  color: var(--pc-navy);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  line-height: 1.2;
}

.pc-hero__promise {
  margin: 0 auto 0.85rem;
  max-width: 38rem;
  color: var(--pc-muted);
  font-size: 0.95rem;
}

.pc-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 0.75rem;
}

.pc-hero__ctas .pc-btn {
  padding: 0 1.1rem;
}

/* Compact the old Elementor “Tienda Online” block so products appear sooner. */
.home.petcity-has-hero .elementor-element-23b5d966,
.home.petcity-has-hero .elementor-element-bf29e1b,
.home.petcity-has-hero .elementor-element-3e38d8c,
.home.petcity-has-hero .elementor-element-d378325,
.home.petcity-has-hero .elementor-element-3c586fa,
.home.petcity-has-hero .elementor-element-84f3e55 {
  display: none !important;
}

.home.petcity-has-hero .elementor-element-f413864 {
  min-height: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.home.petcity-has-hero .elementor-element-f413864 .elementor-background-overlay,
.home.petcity-has-hero .elementor-element-f413864 [class*="sparkle"],
.home.petcity-has-hero .elementor-element-848ee5a {
  display: none !important;
}

/* “Productos” heading: Elementor padded it 120px/110px for an empty band. */
.home .elementor-element-188fed18,
.elementor-246 .elementor-element-188fed18 {
  min-height: 0 !important;
  padding: 0.75rem 1rem 0.25rem !important;
}

.home .elementor-element-188fed18 .elementor-heading-title,
.elementor-246 .elementor-element-188fed18 .elementor-heading-title {
  margin: 0 !important;
}

.pc-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 0.4rem;
  padding: 0;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.products .product {
  position: relative;
}

.pc-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: var(--pc-navy);
  color: #fff;
}

.pc-badge--hoy,
.pc-badge--save {
  background: var(--pc-orange);
}

.pc-badge--vet {
  background: var(--pc-teal);
}

.pc-sizehint {
  display: block;
  font-size: 0.75rem;
  color: var(--pc-muted);
  font-weight: 500;
}

.pc-price {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: end;
  margin: 0 0 1rem;
  font-size: 0.85rem;
}

.pc-needs {
  margin: 0 0 0.75rem;
}

.pc-benefit {
  font-size: 1rem;
  color: var(--pc-ink);
  margin: 0 0 0.5rem;
}

.pc-vet-seal {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--pc-wash);
  color: var(--pc-teal);
  font-size: 0.8rem;
  font-weight: 700;
}

.pc-sizeguide {
  margin: 0.75rem 0;
  border: 1px solid var(--pc-line);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  background: #fff;
}

.pc-sizeguide table {
  width: 100%;
  border-collapse: collapse;
}

.pc-sizeguide th,
.pc-sizeguide td {
  text-align: left;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--pc-line);
}

.pc-fulfill,
.pc-cart-trust {
  margin: 0.85rem 0 1rem;
  padding: 0.75rem 0.9rem;
  background: var(--pc-wash);
  border-radius: 8px;
  color: var(--pc-ink);
  font-size: 0.9rem;
}

.pc-fulfill p,
.pc-cart-trust p {
  margin: 0 0 0.4rem;
}

.pc-wa {
  color: var(--pc-teal) !important;
  font-weight: 600;
}

.pc-stock {
  font-size: 0.85rem;
  color: var(--pc-muted);
}

.pc-reorder {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0;
  border-top: 1px solid var(--pc-line);
  font-size: 0.9rem;
}

.pc-reorder__note,
.pc-complements-kicker {
  color: var(--pc-muted);
  font-size: 0.8rem;
}

.pc-sticky-cart {
  display: none;
}

.pc-stamps {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}

.pc-stamps li {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.pc-stamps li.is-on {
  background: var(--pc-teal);
  color: #fff;
  border-color: var(--pc-teal);
}

.pc-page {
  max-width: 48rem;
  margin: 1.5rem auto 2.5rem;
  padding: 1.5rem 1.25rem 2rem;
}

.pc-page h1 {
  margin: 0 0 0.65rem;
  color: var(--pc-navy);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.2;
}

.pc-page__lead {
  margin: 0 0 1.15rem;
  color: var(--pc-ink);
  font-size: 1.05rem;
  line-height: 1.5;
}

.pc-page p {
  margin: 0 0 1rem;
  color: var(--pc-muted);
  line-height: 1.55;
}

.pc-page a {
  color: var(--pc-teal);
}

.pc-page .pc-hero__ctas {
  justify-content: flex-start;
}

.pc-sucursal,
.pc-services,
.pc-contact {
  background: transparent;
  text-align: left;
}

.page-id-28 .elementor-element-ee7c325,
.page-id-28 .elementor-element-844af86,
.page-id-28 .elementor-element-ad6c8de,
.page-id-28 .elementor-element-0a2fd54,
.page-id-28 .elementor-element-7c4acf9,
.page-id-28 .elementor-element-f813637,
.page-id-28 .elementor-element-d30c4dc,
.page-id-28 .elementor-element-2143a4b {
  display: none !important;
}

.pc-about {
  max-width: 64rem;
  margin: 1.5rem auto 2.5rem;
  padding: 1.5rem 1.25rem 2rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 782px) {
  .pc-about {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    align-items: start;
  }
}

.pc-about__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f4d54a;
  aspect-ratio: 3 / 4;
}

.pc-about__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pc-about__copy {
  min-width: 0;
}

.pc-about h1 {
  margin: 0 0 0.65rem;
  color: var(--pc-navy);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.2;
}

.pc-about__lead {
  margin: 0 0 0.85rem;
  color: var(--pc-ink);
  font-size: 1.05rem;
  line-height: 1.5;
}

.pc-about p {
  margin: 0 0 1rem;
  color: var(--pc-muted);
  line-height: 1.55;
}

.pc-about__facts {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 782px) {
  .pc-about__facts {
    grid-template-columns: 1fr 1fr;
  }
}

.pc-about__facts li {
  background: var(--pc-wash);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.pc-about__facts strong {
  display: block;
  color: var(--pc-navy);
  margin-bottom: 0.15rem;
}

.pc-about__facts span {
  color: var(--pc-muted);
  font-size: 0.92rem;
}

.pc-about .pc-hero__ctas {
  justify-content: flex-start;
}

/* Kit leftover on /nosotros/: lavender hero, stock collage, mint mission, form. */
.page-id-24 .elementor-element-5e5a597b,
.page-id-24 .elementor-element-3cc3cc3f,
.page-id-24 .elementor-element-53e76e8c,
.page-id-24 .elementor-element-375801f4,
.page-id-24 .elementor-element-63b8780,
.page-id-24 .elementor-element-d06dd8,
.page-id-24 .elementor-element-6a534c4f {
  display: none !important;
}

/* Kit photo: tall portrait + cover/center cropped the head. */
.page-id-24 .elementor-element-6a534c4f > .elementor-widget-wrap {
  background-position: center top !important;
}

/* Footer nav: current page used navy text + orange inset underline on navy. */
.elementor-location-footer .elementor-nav-menu a.elementor-item,
.elementor-location-footer .elementor-nav-menu a.elementor-item-active,
.elementor-location-footer .current-menu-item > a,
.elementor-location-footer .current_page_item > a {
  color: #c8c4d0 !important;
  box-shadow: none !important;
}

.elementor-location-footer .elementor-nav-menu a.elementor-item-active {
  color: #fff !important;
}

.elementor-location-footer .e--pointer-underline .elementor-item:after,
.elementor-location-footer .e--pointer-underline .elementor-item:before {
  display: none !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* Hide generic social icons when href is empty or the public homepages. */
.elementor-location-footer a[href="https://www.facebook.com"],
.elementor-location-footer a[href="http://www.facebook.com"],
.elementor-location-footer a[href="www.facebook.com"],
.elementor-location-footer a[href="https://www.instagram.com"],
.elementor-location-footer a[href="http://www.instagram.com"],
.elementor-location-footer a[href="www.instagram.com"],
.elementor-location-footer a[href=""],
.elementor-location-footer a[href="#"] {
  display: none !important;
}

/* Kit leftover shop archive (“OUR STORE”) if Theme Builder still prints it. */
.elementor-248.elementor-location-archive,
.elementor-location-archive.elementor-248 {
  display: none !important;
}

/* Category/tag archives skip Elementor: custom chrome replaces Astra dump. */
.pc-masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.55rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--pc-line);
}

.pc-masthead__logo {
  display: flex;
  align-items: center;
}

.pc-masthead__logo img {
  display: block;
  height: 52px;
  width: auto;
}

.pc-masthead__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
  flex: 1 1 auto;
}

.pc-masthead__nav a,
.pc-masthead__cart {
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  display: inline-flex;
  align-items: center;
  color: var(--pc-navy);
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
}

.pc-masthead__nav a[aria-current="page"] {
  background: var(--pc-wash);
}

.pc-masthead__cart {
  margin-left: auto;
  background: var(--pc-navy);
  color: #fff !important;
}

.pc-masthead a:focus-visible,
.pc-slimfoot a:focus-visible {
  outline: 2px solid var(--pc-teal);
  outline-offset: 2px;
}

.pc-slimfoot {
  background: var(--pc-navy);
  color: #c8c4d0;
  padding: 1.5rem 1rem 2rem;
  text-align: center;
}

.pc-slimfoot a {
  color: #fff;
  text-decoration: none;
}

.pc-slimfoot__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-bottom: 0.85rem;
}

.pc-slimfoot p {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
}

.petcity-slim-chrome .site-header,
.petcity-slim-chrome .site-footer,
.petcity-slim-chrome .ast-header-break-point .main-header-bar-navigation {
  display: none !important;
}

.page-id-26 .elementor-26,
.page-id-28 .elementor-28,
.page-id-30 .elementor-30 {
  display: none !important;
}

/* Astra header when Elementor theme header is skipped (category archives). */
.petcity-catalog .site-header .custom-logo-link img,
.petcity-catalog .site-logo-img img {
  max-height: 64px !important;
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
}

.petcity-catalog .site-header .site-title,
.petcity-catalog .site-header .site-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.petcity-catalog .main-header-bar {
  min-height: 0;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.petcity-catalog .main-header-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.15rem 0.9rem;
}

@media (max-width: 781px) {
  .site-header .main-header-bar,
  .elementor-location-header {
    padding-top: 0;
    padding-bottom: 0;
  }

  .pc-shopbar {
    padding: 0.5rem 0.65rem 0.6rem;
  }

  .pc-sticky-cart {
    display: flex;
    gap: 0.5rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--pc-line);
  }

  .pc-sticky-cart__search {
    background: var(--pc-wash);
    color: var(--pc-navy) !important;
  }

  .pc-sticky-cart__buy {
    flex: 1;
    background: var(--pc-orange);
  }

  body.petcity-product {
    padding-bottom: 4.5rem;
  }

  .joinchat {
    bottom: 4.75rem !important;
  }

  .pc-shopnav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
