/* Petshop hero: Alfie-style split (image | text), no arrows by default, pill bullets */

.t1-hero--petshop {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--theme-header-nav-bg, #15233f) 0%, var(--theme-header-bg, #263457) 45%, var(--theme-hero-banner-bg, #3b5190) 100%);
  --hero-media-size: min(100%, 400px);
}

/* Height (class from template + data-hero-height from renderer) */
.t1-hero--petshop.large,
.t1-hero--petshop[data-hero-height="large"] {
  height: 600px;
}

.t1-hero--petshop.medium,
.t1-hero--petshop[data-hero-height="medium"] {
  height: 470px;
}

.t1-hero--petshop.small,
.t1-hero--petshop[data-hero-height="small"] {
  height: 340px;
}

.t1-hero--petshop .t1-hero-track {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Split slide */
.t1-hero--petshop .t1-hero-slide--petshop {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  text-decoration: none;
  padding: 24px 20px;
  box-sizing: border-box;
}

.t1-hero--petshop .t1-hero-media {
  position: relative;
  min-height: 0;
  width: var(--hero-media-size);
  aspect-ratio: 14 / 16;
  justify-self: center;
  align-self: start;
  border-radius: var(--theme-hero-media-radius, var(--theme-radius, 22px));
  overflow: hidden;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 6px 12px rgba(0, 0, 0, 0.16);
  transform: translateY(0);
  animation: t1-hero-float-wobble 5.5s ease-in-out infinite;
  will-change: transform;
}

.t1-hero--petshop .t1-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes t1-hero-float-wobble {
  0%,
  100% {
    transform: translateY(0) rotate(-1.2deg);
  }

  25% {
    transform: translateY(-6px) rotate(0.9deg);
  }

  50% {
    transform: translateY(-10px) rotate(-0.4deg);
  }

  75% {
    transform: translateY(-5px) rotate(1.1deg);
  }
}

/* Text column — editable panel background (theme colors.heroTextPanelBg) */
.t1-hero--petshop .t1-hero-text-panel {
  position: static;
  inset: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  pointer-events: none;
  padding: 28px 32px;
  border-radius: var(--theme-radius, 12px);
}

.t1-hero--petshop .t1-hero-text-panel::before {
  display: none;
}

.t1-hero--petshop .t1-hero-text-panel.overlay-dark {
  color: var(--theme-text-inverse, #fff);
}

.t1-hero--petshop .t1-hero-title {
  font-family: var(--theme-font-serif, Georgia, serif) !important;
  font-size: clamp(26px, 4.6vw, 68px);
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--theme-hero-title-color, #fff);
  line-height: 1.15;
}

.t1-hero--petshop .t1-hero-subtitle {
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0;
  color: var(--theme-hero-subtitle-color, rgba(200, 228, 215, .8)) !important;
  line-height: 1.65;
  max-width: 380px !important;
}

.t1-hero--petshop a.t1-hero-cta,
.t1-hero--petshop a.t1-hero-cta:link,
.t1-hero--petshop a.t1-hero-cta:visited,
.t1-hero--petshop a.t1-hero-cta:focus,
.t1-hero--petshop a.t1-hero-cta:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 12px 26px;
  position: absolute;
  left: calc(25% - (var(--hero-media-size) / 2));
  bottom: 42px;
  background: var(--theme-hero-cta-bg, var(--theme-primary, #16a34a));
  color: var(--theme-hero-cta-color) !important;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
  transform: none;
  z-index: 3;
}
/* Promotion badge (price bubble) */
.offer-circle {
  position: absolute;
  top: 16px;
  left: 14px;
  width: min(112px, 27vw);
  min-width: 100px;
  padding: 23px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--theme-primary, #28a745) 0%, var(--theme-accent-dark, #16a34a) 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-align: center;
  line-height: 1;
  z-index: 4;
}

.offer-circle > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
}

.offer-circle .small {
  font-size: 9.5px !important;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.9;
  font-weight: 700;
}

.offer-circle .big {
  font-size: 9px !important;
  font-weight: 700;
  line-height: 1.1;
}

.offer-circle .pct {
  font-size: 24px !important;
  font-weight: 800;
  line-height: 1;
}

.reward-pill,
.hero-controls .t1-hero-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border-radius: 25px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#iu2tj {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center !important;
}
.reward-pill {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.95) !important;
    padding: 9px 14px !important;
}

.hero-controls .t1-hero-cta {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  background: var(--theme-hero-cta-bg, var(--theme-primary, #16a34a)) !important;
  color: var(--theme-hero-cta-color, #fff) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24) !important;
  padding: 14px 23px !important;
}

.hero-controls .t1-hero-cta:hover,
.hero-controls .t1-hero-cta:focus {
  background: var(--theme-accent-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34) !important;
}

/* --- Shop category cards --- */
.shop-card{
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.shop-card:hover{
  border-color: var(--theme-border, #d9e9dd);
}
.shop-card .label{
  font-size:16px;
  line-height:1.08;
}
#iim4n
 {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
/* --- Promo tiles --- */
.promo-tile{
  transition: transform .12s ease, box-shadow .12s ease;
}
.promo-tile:hover{
  transform: translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.promo-tile .btn:hover{
  background: var(--theme-accent-dark);
}

.t1-hero--petshop a.t1-hero-cta:hover,
.t1-hero--petshop a.t1-hero-cta:focus {
  background: var(--theme-accent-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25) !important;
}

/* Arrows: hidden by default via SSR (showArrows false); keep styles if enabled */
.t1-hero--petshop .t1-hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: var(--theme-radius);
  border: none;
  background: var(--theme-control-bg);
  color: var(--theme-text-inverse);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
}

.t1-hero--petshop .t1-hero-prev {
  left: 16px;
}

.t1-hero--petshop .t1-hero-next {
  right: 16px;
}

/* Bullets — inactive: small circle; active: green pill (colors.heroBullet*) */
.t1-hero--petshop .t1-hero-bullets {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 8;
}

.t1-hero--petshop .t1-hero-bullets button {
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition:
    width 0.25s ease,
    height 0.25s ease,
    border-radius 0.25s ease,
    background 0.25s ease,
    transform 0.2s ease;
}
.pt-btnz-control{
   display:flex !important;
   gap:10px !important;
   align-items:center !important;
   justify-content: center !important;
}
/* Inactive dot */
.t1-hero--petshop .t1-hero-bullets button:not([data-active="true"]) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-hero-bullet-inactive, rgba(255, 255, 255, 0.28));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Active pill (matches storefront controller: data-active, not .active) */
.t1-hero--petshop .t1-hero-bullets button[data-active="true"] {
  width: 28px;
  height: 10px;
  border-radius: 999px;
  background: var(--theme-hero-bullet-active, var(--theme-primary, #00b72f));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.t1-hero--petshop .t1-hero-bullets button:hover:not([data-active="true"]) {
  transform: scale(1.15);
}

/* Responsive stack */
@media (max-width: 768px) {
  .t1-hero--petshop {
    --hero-media-size: min(calc(100vw - 32px), 320px);
  }

  .t1-hero--petshop.large,
  .t1-hero--petshop[data-hero-height="large"] {
     height: auto;
     min-height: 520px;
  }

  .t1-hero--petshop .t1-hero-slide--petshop {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .t1-hero--petshop .t1-hero-media {
    width: var(--hero-media-size);
    min-height: 0;
    align-self: start;
    aspect-ratio: 8 / 7;
  }

  .t1-hero--petshop .t1-hero-text-panel {
    padding: 8px 4px 24px;
    align-items: center;
    text-align: center;
  }

  .t1-hero--petshop a.t1-hero-cta,
  .t1-hero--petshop a.t1-hero-cta:link,
  .t1-hero--petshop a.t1-hero-cta:visited,
  .t1-hero--petshop a.t1-hero-cta:hover,
  .t1-hero--petshop a.t1-hero-cta:focus,
  .t1-hero--petshop a.t1-hero-cta:active {
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .t1-hero--petshop .t1-hero-arrow {
    width: 32px;
    height: 32px;
  }

  .t1-hero--petshop .t1-hero-bullets {
    bottom: 18px;
    z-index: 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t1-hero--petshop .t1-hero-media {
    animation: none;
  }
}

@media (max-width: 700px){
  .reward-pill {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    padding: 13px 99px !important;
    width: 100% !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    text-align: center !important;
    order: -1 !important;
  }
 .t1-hero--petshop a.t1-hero-cta{
    color: rgba(255, 255, 255, 0.95) !important;
    padding: 13px 99px !important;
    width: 100% !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    text-align: center !important;
    order: -1 !important;
  }
  #irmaj {
    display: grid !important;
    row-gap: 10px !important;
    column-gap: 10px !important;
    align-items: center;
    justify-content: center;
  }
  .pt-btnz-control {
    display: inline-grid !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-controls{
    text-align: center !important;
    margin-bottom: 35px;
  }
}