/* ==========================================================================
   JOOY Pet Wellness — Shared components
   Header/nav, footer, buttons, badges, icon strips, cards, banners.
   Reused as-is across index / chi-siamo / la-nostra-qualita / prodotto.
   ========================================================================== */

/* --- Logo -------------------------------------------------------------- */
.jooy-logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.35rem;
  line-height: 1;
}

.jooy-logo__dots {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 6px;
}

.jooy-logo__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--jooy-yellow-500);
  display: block;
}

.jooy-logo__dots span:nth-child(2) { margin-left: 4px; }
.jooy-logo__dots span:nth-child(3) { margin-left: 8px; }

.jooy-logo__word {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--jooy-yellow-500);
  letter-spacing: 0.01em;
}

.jooy-logo__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  color: var(--jooy-yellow-500);
  opacity: 0.85;
  margin-top: 2px;
  text-transform: uppercase;
}

.jooy-logo--flex {
  display: inline-flex;
  flex-direction: column;
}

/* --- Header / navbar ----------------------------------------------------*/
.site-header {
  background-color: var(--jooy-green-800);
  padding-block: 0.85rem;
  z-index: 1030;
}

.site-header .navbar-nav .nav-link {
  color: var(--jooy-white);
  font-weight: 600;
  font-size: 0.96rem;
  padding-inline: 0.9rem;
  transition: color 0.15s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
  color: var(--jooy-yellow-500);
}

.site-header .navbar-nav .nav-link.active {
  color: var(--jooy-yellow-500);
}

.site-header .nav-item.dropdown .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  margin-top: 0.75rem;
}

.site-header .dropdown-item {
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--jooy-text);
  padding: 0.55rem 0.9rem;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  background-color: var(--jooy-yellow-100);
  color: var(--jooy-green-800);
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.header-icon-link {
  position: relative;
  color: var(--jooy-yellow-500);
  font-size: 1.3rem;
  display: inline-flex;
}

.header-icon-link .cart-badge {
  position: absolute;
  top: -6px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--jooy-yellow-500);
  color: var(--jooy-green-800);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header .navbar-toggler {
  border: none;
  color: var(--jooy-yellow-500);
  padding: 0.25rem 0.4rem;
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid var(--jooy-yellow-500);
  outline-offset: 2px;
}

.site-header .navbar-toggler .icon {
  width: 1.6rem;
  height: 1.6rem;
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--jooy-green-800);
    margin-top: 0.85rem;
    padding: 0.5rem 0 0.25rem;
    border-top: 1px solid var(--jooy-green-700);
  }

  .site-header .navbar-nav .nav-link {
    padding-block: 0.6rem;
  }

  .site-header .nav-item.dropdown .dropdown-menu {
    background: transparent;
    box-shadow: none;
    padding-left: 0.75rem;
    margin-top: 0;
  }

  .site-header .dropdown-item {
    color: var(--jooy-white);
  }

  .site-header .dropdown-item:hover,
  .site-header .dropdown-item:focus {
    background-color: var(--jooy-green-700);
    color: var(--jooy-yellow-500);
  }
}

/* --- Mega menu (Prodotti) -------------------------------------------------
   Reuses .dropdown-item (color/hover/focus states), .product-card and
   .btn-jooy-dark as-is; only adds the layout this needs on top of them. */
.mega-menu__heading {
  margin-bottom: 0.65rem;
}

.mega-menu__cat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.mega-menu__cta {
  width: 100%;
  justify-content: center;
  font-size: 0.76rem;
  padding: 0.75rem 1rem;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

/* Product cards reused as full-card links inside the menu: strip the
   default .dropdown-item box model, keep only its color/hover/focus logic. */
.mega-menu a.product-card.dropdown-item {
  padding: 0;
  width: auto;
  white-space: normal;
  border-radius: var(--radius-md);
}

.mega-menu a.product-card.dropdown-item:hover,
.mega-menu a.product-card.dropdown-item:focus-visible {
  border-color: var(--jooy-yellow-500);
  box-shadow: var(--shadow-sm);
  background-color: var(--jooy-cream-50);
}

.product-card--compact .product-card__media {
  padding: 0.75rem;
}

.product-card--compact .product-card__body {
  padding: 0 0.75rem 0.75rem;
}

.product-card--compact .product-card__title {
  font-size: 0.82rem;
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.product-card--compact .product-card__meta {
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}

.product-card--compact .product-card__price {
  font-size: 0.92rem;
}

@media (min-width: 992px) {
  .site-header .navbar {
    position: relative;
  }

  .nav-item--megamenu {
    position: static;
  }

  /* Specificity must beat Bootstrap's .dropdown-menu[data-bs-popper] (which
     matches here too: data-bs-display="static" sets data-bs-popper="static",
     not no-attribute-at-all) so our own top/left/width/transform win. */
  .site-header .dropdown-menu.mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    width: min(760px, calc(100vw - 3rem));
    padding: 1.75rem;
    margin: 0;
  }

  .mega-menu__inner {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.75rem;
  }

  .mega-menu__products {
    border-left: 1px solid var(--jooy-cream-200);
    padding-left: 1.75rem;
  }
}

@media (max-width: 991.98px) {
  .mega-menu {
    width: 100%;
  }

  .mega-menu__products {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jooy-green-700);
  }

  .site-header .mega-menu__heading {
    color: var(--jooy-yellow-500);
  }

  .mega-menu .mega-menu__cta {
    background-color: var(--jooy-yellow-500);
    color: var(--jooy-green-800);
    box-shadow: none;
  }

  .mega-menu .mega-menu__cta:hover,
  .mega-menu .mega-menu__cta:focus {
    background-color: var(--jooy-yellow-600);
    color: var(--jooy-green-800);
  }

  .mega-menu a.product-card.dropdown-item {
    background-color: var(--jooy-cream-50);
  }
}

/* --- Buttons ------------------------------------------------------------*/
.btn-jooy-dark,
.btn-jooy-yellow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  border: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-jooy-dark .icon,
.btn-jooy-yellow .icon {
  width: 0.9em;
  height: 0.9em;
  stroke-width: 3;
}

.btn-jooy-dark {
  background-color: var(--jooy-green-800);
  color: var(--jooy-white);
}

.btn-jooy-dark:hover,
.btn-jooy-dark:focus {
  background-color: var(--jooy-green-900);
  color: var(--jooy-white);
  transform: translateY(-1px);
}

.btn-jooy-yellow {
  background-color: var(--jooy-yellow-500);
  color: var(--jooy-green-800);
  box-shadow: var(--shadow-btn);
}

.btn-jooy-yellow:hover,
.btn-jooy-yellow:focus {
  background-color: var(--jooy-yellow-600);
  color: var(--jooy-green-800);
  transform: translateY(-1px);
}

.btn-jooy-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--jooy-green-800);
  color: var(--jooy-green-800);
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-jooy-outline:hover {
  background-color: var(--jooy-green-800);
  color: var(--jooy-white);
}

/* --- Badge / pill label ---------------------------------------------------*/
.badge-jooy {
  display: inline-block;
  background-color: var(--jooy-yellow-500);
  color: var(--jooy-green-800);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

/* --- Eyebrow + heading blocks are in base.css --------------------------- */

/* --- Icon feature strip (circular icon + 2-line label) ------------------ */
.icon-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

.icon-strip__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-inline: clamp(0.65rem, 2vw, 1.85rem);
  position: relative;
  flex: 1 1 0;
  min-width: 150px;
  justify-content: center;
}

.icon-strip__item + .icon-strip__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 42px;
  background: var(--jooy-cream-200);
}

.icon-strip__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.6px solid var(--jooy-green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jooy-green-800);
  flex-shrink: 0;
}

.icon-strip__icon .icon {
  width: 24px;
  height: 24px;
}

.icon-strip__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jooy-green-800);
  line-height: 1.3;
}

@media (max-width: 767.98px) {
  .icon-strip {
    justify-content: flex-start;
  }

  .icon-strip__item {
    flex: 1 1 50%;
    justify-content: flex-start;
    padding-inline: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .icon-strip__item + .icon-strip__item::before {
    display: none;
  }

  .icon-strip__icon {
    width: 46px;
    height: 46px;
  }

  .icon-strip__icon .icon {
    width: 20px;
    height: 20px;
  }

  .icon-strip__label {
    font-size: 0.8rem;
  }
}

/* --- Trust badges (icon + text, no circle) ------------------------------ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badges__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-inline: clamp(0.9rem, 2.6vw, 2.25rem);
  padding-block: 0.65rem;
  position: relative;
}

.trust-badges__item + .trust-badges__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 38px;
  background: var(--jooy-cream-200);
}

.trust-badges__item .icon {
  width: 30px;
  height: 30px;
  color: var(--jooy-green-800);
  flex-shrink: 0;
}

.trust-badges__text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jooy-green-800);
  line-height: 1.3;
}

.trust-badges--on-dark .trust-badges__item + .trust-badges__item::before {
  background: rgba(255, 255, 255, 0.2);
}

.trust-badges--on-dark .trust-badges__item .icon {
  color: var(--jooy-white);
}

.trust-badges--on-dark .trust-badges__text {
  color: var(--jooy-white);
}

@media (max-width: 767.98px) {
  .trust-badges__item {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .trust-badges__item + .trust-badges__item::before {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .trust-badges__item {
    flex: 1 1 45%;
  }

  .trust-badges__item:nth-child(2)::before {
    display: none;
  }
}

/* --- Homepage hero (solid yellow, product shot right) --------------------*/
.hero-home {
  background: var(--jooy-yellow-500);
  position: relative;
  overflow: hidden;
}

.hero-home__decor {
  position: absolute;
  color: var(--jooy-green-800);
  opacity: 0.1;
}

.hero-home__body {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  z-index: 1;
}

.hero-home__kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--jooy-green-800);
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.hero-home h1 {
  margin-bottom: 1.1rem;
}

.hero-home p {
  color: var(--jooy-green-800);
  opacity: 0.85;
  max-width: 30rem;
  margin-bottom: 1.75rem;
}

.hero-home__media {
  position: relative;
  z-index: 1;
}

.hero-home__media img {
  width: 100%;
  height: auto;
}

/* --- Photo hero (full-bleed photo + gradient, page top) -------------------
   Shared by chi-siamo.html and la-nostra-qualita.html. */
.hero-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: clamp(360px, 46vw, 560px);
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 46, 32, 0.9) 0%,
    rgba(11, 46, 32, 0.65) 38%,
    rgba(11, 46, 32, 0.15) 68%,
    rgba(11, 46, 32, 0.02) 85%
  );
  z-index: 0;
}

.hero-photo__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding-block: 3rem;
}

.hero-photo__content h1 {
  color: var(--jooy-white);
}

.hero-photo__content p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

@media (max-width: 991.98px) {
  .hero-photo::before,
  .cta-banner::before {
    background: linear-gradient(
      180deg,
      rgba(11, 46, 32, 0.82) 0%,
      rgba(11, 46, 32, 0.88) 100%
    );
  }
}

/* --- Promo card (Cibo umido / Croccantini highlight cards) ---------------*/
.promo-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.promo-card--yellow {
  background: var(--jooy-yellow-500);
}

.promo-card--green {
  background: var(--jooy-green-800);
  color: var(--jooy-white);
}

.promo-card--green h3 {
  color: var(--jooy-white);
}

.promo-card__eyebrow {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.promo-card--yellow .promo-card__eyebrow,
.promo-card--yellow h3 {
  color: var(--jooy-green-800);
}

.promo-card p {
  max-width: 22rem;
  margin-bottom: 1.5rem;
}

.promo-card--green p {
  color: var(--jooy-text-on-green-muted);
}

.promo-card__media {
  margin-top: auto;
  align-self: center;
  max-width: 78%;
}

@media (min-width: 768px) {
  .promo-card__media {
    align-self: flex-end;
    margin-right: -1.5rem;
    margin-bottom: -1.5rem;
    max-width: 62%;
  }
}

/* --- Polaroid decoration (homepage "Chi siamo" teaser) --------------------*/
.polaroid {
  background: var(--jooy-white);
  padding: 8px 8px 22px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  width: 128px;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
}

.polaroid-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--jooy-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* --- Split section (image + text, alternating) --------------------------*/
.split-section__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.split-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split-section__media--tall img {
  aspect-ratio: 3 / 4;
}

.split-section__body {
  padding: clamp(0.5rem, 3vw, 2.5rem);
}

.split-section__body p {
  margin-bottom: 1.75rem;
}

/* --- Feature card with image (3-col) -------------------------------------*/
.feature-card-img__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 4 / 3;
}

.feature-card-img__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card-img h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card-img p {
  color: var(--jooy-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- CTA banner (full-bleed photo + gradient + heading) ------------------*/
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(320px, 42vw, 460px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 46, 32, 0.94) 0%,
    rgba(11, 46, 32, 0.75) 32%,
    rgba(11, 46, 32, 0.25) 60%,
    rgba(11, 46, 32, 0.05) 78%
  );
  z-index: 0;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  max-width: 560px;
}

.cta-banner__content h2 {
  color: var(--jooy-white);
  margin-bottom: 1.25rem;
}

.cta-banner__content p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

/* --- Icon line list (icon circle + bold 1-2 line label) -------------------
   Reused for the product feature list and the homepage quality checklist. */
.icon-line-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.icon-line-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--jooy-text);
}

.icon-line-list .icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--jooy-green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jooy-green-800);
  flex-shrink: 0;
}

.icon-line-list .icon-circle .icon {
  width: 16px;
  height: 16px;
}

/* --- Seal badge (Grain Free / Gluten Free circular seal) -----------------*/
.seal-badge {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--jooy-green-800);
  color: var(--jooy-yellow-500);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.seal-badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px dashed var(--jooy-yellow-500);
  opacity: 0.85;
}

.seal-badge svg {
  width: 100%;
  height: 100%;
}

.seal-badge .icon {
  width: 26px;
  height: 26px;
}

/* --- Product card (related products) -------------------------------------*/
.product-card {
  background: var(--jooy-cream-50);
  border: 1px solid var(--jooy-cream-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card__media {
  aspect-ratio: 1 / 1;
  background: var(--jooy-white);
  padding: 1.25rem;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__body {
  padding: 0 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--jooy-green-800);
  margin-bottom: 0.15rem;
}

.product-card__meta {
  font-size: 0.85rem;
  color: var(--jooy-text-muted);
  margin-bottom: 0.75rem;
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--jooy-green-800);
}

.product-card__add {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--jooy-yellow-500);
  color: var(--jooy-green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.product-card__add:hover {
  background: var(--jooy-yellow-600);
}

.product-card__add .icon {
  width: 20px;
  height: 20px;
}

/* --- Horizontal scroller (related products) with side arrows -------------*/
.scroller {
  position: relative;
}

.scroller__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.scroller__track::-webkit-scrollbar {
  display: none;
}

.scroller__track > * {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(230px, 42vw);
}

.scroller__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--jooy-cream-200);
  background: var(--jooy-white);
  color: var(--jooy-green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.scroller__nav:hover {
  background: var(--jooy-yellow-100);
}

.scroller__nav .icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-top-wave {
  display: block;
  width: 100%;
  background: var(--jooy-cream-100);
}

.footer-pillars {
  background: var(--jooy-cream-100);
}

.site-footer {
  background: var(--jooy-green-800);
  color: var(--jooy-white);
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.site-footer a {
  color: var(--jooy-text-on-green-muted);
  transition: color 0.15s ease;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--jooy-yellow-500);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jooy-yellow-500);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.92rem;
}

.footer-about p {
  color: var(--jooy-text-on-green-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--jooy-white);
}

.footer-social a:hover {
  background: var(--jooy-yellow-500);
  border-color: var(--jooy-yellow-500);
  color: var(--jooy-green-800);
}

.footer-social .icon {
  width: 18px;
  height: 18px;
}

.newsletter-title {
  color: var(--jooy-white);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.newsletter-form .input-group {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.3rem;
}

.newsletter-form input[type="email"] {
  background: transparent;
  border: none;
  color: var(--jooy-white);
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  box-shadow: none;
}

.newsletter-form .newsletter-submit {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--jooy-yellow-500);
  color: var(--jooy-green-800);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-form .newsletter-submit .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--jooy-text-on-green-muted);
}

.newsletter-consent input {
  margin-top: 0.2rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.14);
  margin-block: clamp(1.5rem, 3vw, 2.25rem);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  font-size: 0.85rem;
  color: var(--jooy-text-on-green-muted);
}

.footer-legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0;
  margin: 0;
}

.footer-legal-links a {
  font-size: 0.85rem;
}

.payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-chip {
  background: var(--jooy-white);
  color: var(--jooy-green-800);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.footer-decor {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
  color: var(--jooy-white);
}

.footer-decor--paw-tl { top: 12%; left: 30%; width: 70px; }
.footer-decor--bone { top: 8%; right: 6%; width: 90px; }
.footer-decor--paw-br { bottom: 6%; left: 4%; width: 110px; }

.site-footer .row > [class*="col-"] {
  position: relative;
  z-index: 1;
}

.footer-dog {
  position: absolute;
  right: clamp(-40px, -2vw, 0px);
  bottom: -32px;
  width: clamp(150px, 15vw, 220px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1199.98px) {
  .footer-dog {
    display: none;
  }
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb-jooy {
  --bs-breadcrumb-divider: '›';
  font-size: 0.85rem;
  margin-bottom: 0;
}

.breadcrumb-jooy a {
  color: var(--jooy-text-muted);
  font-weight: 600;
}

.breadcrumb-jooy a:hover {
  color: var(--jooy-green-800);
}

.breadcrumb-jooy .breadcrumb-item.active {
  color: var(--jooy-text);
  font-weight: 700;
}

/* ==========================================================================
   Product page — gallery, variant selector, tabs
   ========================================================================== */
.product-gallery__main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jooy-white);
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

.product-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--jooy-white);
  box-shadow: var(--shadow-sm);
  color: var(--jooy-green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__arrow--prev { left: 14px; }
.product-gallery__arrow--next { right: 14px; }

.product-gallery__thumbs {
  display: flex;
  gap: 0.85rem;
}

.product-gallery__thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--jooy-cream-200);
  background: var(--jooy-white);
  padding: 0.35rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 4px);
}

.product-gallery__thumb.is-active {
  border-color: var(--jooy-green-800);
}

.product-feature-list {
  margin-bottom: 1.75rem;
}

.variant-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.variant-option {
  border: 1.5px solid var(--jooy-cream-200);
  background: var(--jooy-cream-50);
  color: var(--jooy-text);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.variant-option:hover {
  border-color: var(--jooy-green-800);
}

.btn-check:checked + .variant-option {
  background: var(--jooy-yellow-500);
  border-color: var(--jooy-yellow-500);
  color: var(--jooy-green-800);
}

.product-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--jooy-green-800);
  margin-bottom: 1.5rem;
}

.product-tabs.nav-tabs {
  border-bottom: 1px solid var(--jooy-cream-200);
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-tabs.nav-tabs::-webkit-scrollbar {
  display: none;
}

.product-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--jooy-text-muted);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.1rem;
  white-space: nowrap;
  background: transparent;
}

.product-tabs .nav-link.active {
  color: var(--jooy-green-800);
  border-bottom-color: var(--jooy-green-800);
  background: transparent;
}

.product-tab-content {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
