.pet-hero {
  position: relative;
  isolation: isolate;
  padding: 56px 0 64px;
  color: #fff;
}
.pet-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink);
}
.pet-hero h1 {
  color: #fff;
}
.pet-hero h1 em {
  color: #ff6a5c;
}
.pet-hero .eyebrow {
  color: #ff8d82;
}
.pet-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.pet-lead {
  max-width: 48ch;
  margin: 20px 0 28px;
  color: #d6d6db;
  font-size: 17px;
  line-height: 1.65;
}
.pet-hero .button-dark {
  background: var(--brand, #b4231c);
}
.pet-link {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}
.pet-hero-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pet-hero-photos img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.pet-hero-photos img:nth-child(even) {
  transform: translateY(18px);
}
.pet-models {
  padding-block: 56px 24px;
}
.pet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.pet-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 12px 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(13, 13, 15, 0.07);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.pet-card:hover,
.pet-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(13, 13, 15, 0.16);
}
.pet-card-photo {
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 14px;
}
.pet-card-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s;
}
.pet-card:hover img {
  transform: scale(1.06);
}
.pet-card strong {
  padding-inline: 6px;
  font: 700 17px var(--display);
}
.pet-card-meta {
  padding-inline: 6px;
  color: var(--muted);
  font-size: 13px;
}
.pet-card-price {
  padding-inline: 6px;
  color: var(--brand, #b4231c);
  font: 800 16px var(--display);
}
.steps-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pet-extras {
  padding-block: 56px 8px;
}
.pet-extras h2 {
  margin-bottom: 20px;
  font-size: clamp(24px, 3vw, 32px);
}
.pet-extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pet-extras-grid article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(13, 13, 15, 0.07);
}
.pet-extras-grid strong {
  font: 700 17px var(--display);
}
.pet-extras-grid span {
  color: var(--brand, #b4231c);
  font: 800 18px var(--display);
}
.pet-extras-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.pet-product {
  padding-block: 32px 40px;
}
.pet-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.pet-main-photo {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(13, 13, 15, 0.1);
}
.pet-main-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.pet-info h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 44px);
}
.pet-price {
  margin: 0 0 14px;
  font: 800 30px var(--display);
}
.pet-price small {
  color: var(--muted);
  font: 500 14px var(--sans);
}
.pet-desc {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  white-space: pre-line;
}
.pet-specs {
  display: grid;
  gap: 8px;
  margin: 18px 0 24px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
}
.pet-specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
}
.pet-specs dt {
  color: var(--muted);
}
.pet-specs dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.pet-form {
  display: grid;
  gap: 18px;
}
.pet-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.pet-form legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 14.5px;
}
.pet-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pet-swatch {
  position: relative;
  cursor: pointer;
}
.pet-swatch input {
  position: absolute;
  opacity: 0;
}
.pet-swatch span {
  display: block;
  width: 38px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.pet-swatch:hover span {
  transform: scale(1.1);
}
.pet-swatch input:checked + span {
  box-shadow: 0 0 0 2px var(--ink);
}
.pet-swatch input:focus-visible + span {
  outline: 2px solid var(--brand, #b4231c);
  outline-offset: 3px;
}
.pet-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 14.5px;
}
.pet-check label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.pet-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand, #b4231c);
}
.pet-check b {
  color: var(--brand, #b4231c);
}
.pet-collar-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pet-collar-options[hidden] {
  display: none;
}
.pet-collar-options select,
.pet-fields input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 400 15px var(--sans);
}
.pet-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.pet-fields label {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
}
.pet-fields label:first-child {
  grid-column: 1 / -1;
}
.pet-fields small {
  color: var(--muted);
  font-weight: 400;
}
.pet-fields input:focus,
.pet-collar-options select:focus {
  outline: none;
  border-color: var(--brand, #b4231c);
}
.pet-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  padding: 4px 0;
}
.pet-total strong {
  font: 800 22px var(--display);
}
.pet-submit {
  justify-content: center;
  width: 100%;
  background: var(--brand, #b4231c);
  font-size: 14px;
  min-height: 40px;
  padding: 10px 16px;
}
.pet-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.pet-related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.pet-related-card {
  display: grid;
  gap: 8px;
  padding: 8px 8px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(13, 13, 15, 0.07);
  font: 600 13.5px var(--sans);
  text-align: center;
  transition: transform 0.25s;
}
.pet-related-card:hover {
  transform: translateY(-4px);
}
.pet-related-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
@media (max-width: 900px) {
  .pet-hero-inner,
  .pet-product-grid {
    grid-template-columns: 1fr;
  }
  .pet-main-photo {
    position: static;
  }
  .pet-extras-grid,
  .steps-three {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .pet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pet-card strong {
    font-size: 15px;
  }
  .pet-fields {
    grid-template-columns: 1fr;
  }
  .pet-hero-photos {
    display: none;
  }
}
.pet-card-price.is-consult {
  color: var(--muted);
  font: 700 14px var(--sans);
}
.pet-shop-link {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}
.pet-shop-link a {
  color: var(--brand, #b4231c);
  font-weight: 600;
}
.pet-more {
  padding-top: 24px;
}
.pet-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.pet-thumbs button {
  width: 76px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.pet-thumbs button:hover,
.pet-thumbs button:focus-visible {
  border-color: var(--brand, #b4231c);
}
.pet-thumbs img {
  display: block;
  width: 100%;
  height: auto;
}
.pet-form .text-link {
  justify-self: start;
}
.pet-extras-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pet-extras-grid article img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
}
@media (max-width: 1000px) {
  .pet-extras-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .pet-extras-four {
    grid-template-columns: 1fr;
  }
}
.pet-fields {
  align-items: end;
}
.pet-field-label {
  display: block;
  min-height: 20px;
}
.pet-field-label small {
  display: inline;
}
.pet-fields input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.pet-fields select,
.pet-filters select {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.pet-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-block: 24px 12px;
}
.pet-filters label {
  display: grid;
  flex: 1 1 150px;
  gap: 6px;
  font-size: 14px;
}
.pet-filters .text-link {
  align-self: center;
}
.pet-empty {
  padding-block: 28px;
}
.pet-kit-options {
  margin-top: 20px;
}
.pet-order-result {
  display: grid;
  gap: 12px;
}
.pet-order-result[hidden] {
  display: none;
}
.pet-order-result label {
  display: grid;
  gap: 8px;
}
.pet-order-result textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: 14px / 1.6 var(--sans);
  resize: none;
  min-height: 180px;
}
.pet-form :is(input, select):focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  background: color-mix(in srgb, var(--brand-soft) 25%, var(--paper));
}
.pet-form [aria-invalid="true"] {
  border-color: var(--brand);
}
.pet-thumbs {
  flex-wrap: wrap;
}
@media (prefers-reduced-motion: reduce) {
  .pet-card,
  .pet-card img,
  .pet-related-card,
  .pet-swatch span {
    transition: none;
    transform: none;
  }
}
.pet-hero {
  padding-bottom: 48px;
}
.pet-models {
  padding-block: 40px 8px;
}
.pet-more {
  padding-top: 24px;
}
.pet-extras {
  padding-top: 32px;
}
.pet-more {
  padding-top: 40px;
}
.pet-extras {
  padding-top: 48px;
}

.pet-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  background: transparent;
}
.pet-specs div {
  display: grid;
  gap: 2px;
}
.pet-specs div:last-child {
  grid-column: 1 / -1;
}
.pet-specs dt {
  font-size: 12px;
}
.pet-specs dd {
  text-align: left;
  font-size: 14px;
}
.pet-check {
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
}
.pet-engraving {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pet-form .pet-engraving-side {
  display: grid;
  align-content: start;
  gap: 8px;
}
.pet-engraving-side legend {
  font-weight: 700;
}
.pet-engraving-side label {
  display: grid;
  gap: 4px;
  font-size: 13px;
}
.pet-engraving-side small {
  font-weight: 400;
  color: var(--muted);
}
.pet-engraving-side input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 400 14px var(--sans);
}
.pet-collar-options select,
.pet-fields input,
.pet-fields select {
  height: 38px;
  font-size: 14px;
}
.pet-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
}
.pet-form .laser-feedback:empty {
  display: none;
}
@media (max-width: 560px) {
  .pet-engraving {
    grid-template-columns: 1fr;
  }
}

.pet-form {
  gap: 12px;
}
.pet-check {
  padding-block: 4px;
}

.pet-photo-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
.pet-main-photo.pet-photo-frame {
  top: 0;
}
@media (min-width: 981px) {
  .pet-main-photo.pet-photo-frame {
    position: sticky;
    top: 96px;
  }
}
.pet-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pet-card:hover .pet-photo-frame img {
  transform: none;
}
.pet-hero-photos .pet-photo-frame {
  border-radius: 20px;
}

.pet-addons {
  border: 0;
  padding: 0;
  margin: 12px 0;
  min-width: 0;
}
.pet-addons legend {
  font-size: 17px;
  font-weight: 700;
  padding: 0;
}
.pet-addon {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  align-items: start;
}
.pet-addon-photo {
  display: block;
}
.pet-addon-photo .pet-photo-frame {
  display: block;
  border-radius: 10px;
  background: #fff;
}
.pet-addon-choice {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.pet-addon-choice input {
  accent-color: var(--brand);
  flex: none;
}
.pet-addon-choice b {
  white-space: nowrap;
}
.pet-addon .pet-note {
  font-size: 12px;
  margin: 7px 0;
}
.pet-addon-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.pet-addon-options[hidden] {
  display: none;
}
.pet-addon-options select {
  width: 100%;
  min-width: 0;
  font-size: 13px;
  padding: 9px;
}
.pet-photo-notice {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 8px 0 0;
}
.pet-photo-notice strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
  font-size: 13px;
}
@media (max-width: 560px) {
  .pet-addon {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }
}
.pet-gallery {
  align-self: start;
}
.pet-gallery .pet-main-photo.pet-photo-frame {
  position: relative;
  top: auto;
}
@media (min-width: 981px) {
  .pet-gallery {
    position: sticky;
    top: 96px;
  }
}

.pet-selected-addons {
  margin-top: 16px;
}
.pet-selected-addon {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 12px 0;
}
.pet-selected-addon .pet-photo-frame {
  display: block;
  border-radius: 10px;
}
.pet-selected-addon figcaption {
  font-size: 13px;
  line-height: 1.5;
}
.pet-selected-addon figcaption span,
.pet-selected-addon figcaption small {
  display: block;
  margin-top: 5px;
}
.pet-selected-addon figcaption small {
  color: var(--muted);
}
.pet-selected-addons[hidden],
.pet-selected-addon[hidden] {
  display: none;
}

.pet-cart {
  margin-top: 24px;
  scroll-margin-top: 84px;
}
.pet-cart-item {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.pet-cart-summary {
  white-space: pre-line;
  overflow-wrap: normal;
}
.pet-cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.pet-cart-actions button {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.pet-hero .material-actions,
.pet-form .pet-help-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}
.pet-cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(480px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 28px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
}
.pet-cart-drawer::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
.pet-cart-drawer .pet-cart {
  margin: 0;
  padding: 20px 0;
  width: 100%;
}
.pet-cart-drawer h2 {
  font-size: 25px;
  padding-right: 30px;
}
.pet-cart-drawer h3 {
  font-size: 18px;
}
.pet-cart-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 30px;
  cursor: pointer;
}
.pet-cart-drawer .button {
  width: 100%;
  margin-top: 18px;
}
.pet-cart-drawer button.text-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 10px 0;
}
@media (max-width: 560px) {
  .pet-hero .material-actions {
    gap: 20px;
  }
  .pet-cart-drawer {
    padding: 24px 20px;
  }
}

.pet-cart-actions {
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}
.pet-cart-action {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 14px var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.pet-cart-item h3 {
  margin: 8px 0 12px;
}
.pet-cart-pet-name {
  font-weight: 600;
  margin: 8px 0 4px;
}
.pet-cart-phones {
  margin: 0 0 10px;
  overflow-wrap: normal;
}
.pet-cart-price {
  margin: 10px 0;
  font-weight: 600;
}
.pet-cart-drawer .pet-cart-continue {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-block: 8px 16px;
}
.pet-main-photo {
  position: relative;
}
.pet-photo-measures {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--ink);
  font: 500 12px var(--sans);
}
.pet-photo-measures[hidden] {
  display: none;
}
.pet-measure-width,
.pet-measure-height {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  white-space: nowrap;
}
.pet-measure-width {
  left: calc((100% - var(--pet-object-width)) / 2);
  top: calc((100% + var(--pet-object-height)) / 2 + 5%);
  width: var(--pet-object-width);
  border-top: 1px solid currentColor;
  padding-top: 8px;
}
.pet-measure-height {
  top: calc((100% - var(--pet-object-height)) / 2);
  right: calc((100% + var(--pet-object-width)) / 2 + 5%);
  height: var(--pet-object-height);
  align-items: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-left: 1px solid currentColor;
  padding-left: 8px;
}
.pet-measure-width::before,
.pet-measure-width::after,
.pet-measure-height::before,
.pet-measure-height::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.pet-measure-width::before,
.pet-measure-width::after {
  top: -4px;
  width: 1px;
  height: 7px;
}
.pet-measure-width::before {
  left: 0;
}
.pet-measure-width::after {
  right: 0;
}
.pet-measure-height::before,
.pet-measure-height::after {
  left: -4px;
  width: 7px;
  height: 1px;
}
.pet-measure-height::before {
  top: 0;
}
.pet-measure-height::after {
  bottom: 0;
}

.pet-cart-product {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.pet-cart-product:not(:has(img)) {
  grid-template-columns: 1fr;
}
.pet-cart-product .pet-photo-frame {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: var(--paper);
}
.pet-cart-product-info h3 {
  margin: 4px 0;
  font-size: 16px;
  line-height: 1.4;
}
.pet-cart-quantity-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-block: 16px;
}
.pet-cart-quantity {
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.pet-cart-stepper {
  display: flex;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.pet-cart-stepper button {
  width: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
}
.pet-cart-stepper button:disabled {
  opacity: 0.4;
  cursor: default;
}
.pet-cart-stepper input {
  width: 48px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
  font: inherit;
  appearance: textfield;
}
.pet-cart-stepper input::-webkit-inner-spin-button {
  appearance: none;
}
.pet-cart-engraving summary {
  font-size: 14px;
  cursor: pointer;
  padding-block: 8px;
}
.pet-cart-engraving p {
  font-size: 14px;
  white-space: pre-line;
}

.pet-cart-item {
  padding-block: 14px;
}
.pet-cart-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-top: 8px;
}
.pet-cart-item-meta .pet-cart-price {
  flex-shrink: 0;
  font-size: 14px;
  margin: 8px 0;
}
.pet-cart-item .pet-cart-actions {
  margin-top: 2px;
  gap: 18px;
}
.pet-cart-item .pet-cart-action {
  min-height: 36px;
  font-size: 13px;
}
.pet-cart-product {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
}
.pet-cart-product .pet-photo-frame {
  width: 64px;
  height: 64px;
}
.pet-cart-engraving summary {
  font-size: 13px;
}

.pet-added-actions {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.pet-added-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
}
.pet-added-title svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
}
.pet-added-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pet-added-buttons .button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
  text-align: center;
}
.pet-added-buttons .pet-add-another,
.pet-added-buttons .pet-other-model {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
@media (max-width: 560px) {
  .pet-added-buttons {
    display: grid;
  }
}
.pet-added-actions[hidden] {
  display: none;
}

.pet-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px 12px;
  padding: 6px;
  margin-top: 2px;
  color: var(--muted);
}
.pet-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font: 500 11px var(--sans);
  line-height: 1.25;
}
.pet-indicator svg {
  width: 30px;
  height: 30px;
}
.pet-indicator-weight {
  margin-left: auto;
  align-self: center;
}
.pet-indicator-weight:not(:has(svg)) {
  padding-top: 10px;
}
.pet-indication-text {
  font-size: 12px;
}
@media (max-width: 560px) {
  .pet-indicators {
    gap: 8px;
    padding-inline: 2px;
  }
  .pet-indicator svg {
    width: 26px;
    height: 26px;
  }
}

.pet-indicator svg {
  width: 32px;
  height: 32px;
}
.pet-indicators {
  align-items: center;
  gap: 10px;
}
@media (max-width: 560px) {
  .pet-indicator svg {
    width: 30px;
    height: 30px;
  }
}

.pet-indicators {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: end;
}
.pet-indicator-face {
  display: inline-flex;
}
.pet-indicator-face .pet-face-drawing {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 40px;
  width: 38px;
}
.pet-indicator-face svg {
  width: var(--pet-face-size);
  height: var(--pet-face-size);
}
.pet-indicator-weight {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-left: 0;
}
.pet-indicator-weight svg {
  width: 24px;
  height: 24px;
}
.pet-indicators {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: end;
}
.pet-indicator-weight {
  margin-left: auto;
  flex-shrink: 0;
}
.pet-indicator-face .pet-face-drawing {
  width: var(--pet-face-size);
}
.pet-indicator-face {
  flex-shrink: 0;
}

.pet-indicators {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 10px;
}
.pet-fit-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  min-width: 0;
}
.pet-indicator-weight {
  margin: 0;
  width: 32px;
}

.pet-weight-placeholder {
  display: block;
  min-height: 40px;
}

.pet-engraving-side [data-engraving-line] {
  position: relative;
  padding-bottom: 0;
}
.pet-engraving-side [data-engraving-line][hidden],
.pet-add-line[hidden] {
  display: none;
}
.pet-line-counter {
  position: absolute;
  right: 8px;
  bottom: 3px;
  font: 400 11px var(--sans);
  color: var(--muted);
  visibility: hidden;
}
.pet-engraving-side .pet-line-counter.is-over-recommended {
  color: var(--public-brand);
  font-weight: 700;
  visibility: visible;
}
.pet-engraving-side input {
  padding-right: 46px;
}
.pet-engraving-side [data-engraving-line]:focus-within .pet-line-counter,
.pet-engraving-side [data-engraving-line]:has(input[aria-invalid="true"]) .pet-line-counter {
  visibility: visible;
}
.pet-text-preview[hidden] {
  display: none;
}
.pet-add-line {
  justify-self: start;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 500 12px var(--sans);
  cursor: pointer;
}

.pet-card-dimensions {
  display: block;
  padding-inline: 6px;
  color: var(--muted);
  font: 400 12px var(--sans);
}
.pet-collar-choice {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.pet-collar-choice > label:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.pet-collar-addon[hidden],
[data-collar-type-wrap][hidden] {
  display: none;
}
.pet-collar-addon .pet-addon-choice {
  display: flex;
}
.pet-collar-addon .pet-addon-options {
  margin-top: 10px;
}
.pet-checkout {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.pet-checkout label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.pet-checkout input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.pet-checkout input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.pet-checkout [hidden] {
  display: none;
}
.pet-logo-file[hidden] {
  display: none;
}
.pet-logo-file {
  margin-block: 12px;
}
.pet-logo-file input[type="file"] {
  display: block;
  width: 100%;
  min-width: 0;
  margin-block: 8px;
}

.pet-card-photo .pet-photo-measures {
  font-size: 10px;
}
.pet-card-photo .pet-measure-width {
  padding-top: 4px;
}
.pet-card-photo .pet-measure-height {
  padding-left: 4px;
}
.pet-card:has(.pet-photo-measures):hover .pet-card-photo img {
  transform: none;
}
@media (max-width: 560px) {
  .pet-card-photo .pet-photo-measures {
    font-size: 10px;
  }
}

.pet-filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pet-filter-actions .button {
  min-height: 46px;
  padding: 10px 16px;
  font-size: 13px;
}
.pet-filter-actions .pet-filter-clear {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
@media (max-width: 680px) {
  .pet-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pet-filter-actions {
    grid-column: 1 / -1;
  }
  .pet-filter-actions .button {
    flex: 1;
  }
}

.pet-filters [hidden] {
  display: none;
}
.pet-text-preview {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-site, 12px);
  background: var(--paper);
}
.pet-text-preview pre,
.pet-cart-phones,
.pet-cart-pet-name {
  white-space: pre-wrap;
  overflow-wrap: normal;
}
.pet-text-preview pre {
  margin: 12px 0 0;
  font: 500 16px/1.6 var(--sans);
  color: var(--ink);
  text-align: center;
}
.pet-text-preview pre:empty {
  display: none;
}
.pet-engraving-side .pet-line-error {
  color: var(--brand);
}
.pet-engraving-side input[aria-invalid="true"] {
  border-color: var(--brand);
}

.pet-cart-mobile {
  display: none;
}
@media (max-width: 760px) {
  .has-pet-cart {
    padding-bottom: 72px;
  }
  .pet-cart-mobile {
    position: fixed;
    z-index: 40;
    left: 16px;
    right: 16px;
    bottom: max(14px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: var(--radius-site, 8px);
    background: var(--public-brand);
    color: var(--surface);
    font-weight: 700;
    text-decoration: none;
  }
  .pet-cart-mobile b {
    margin-left: auto;
    min-width: 24px;
    text-align: center;
  }
  .pet-cart-mobile:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }
  .has-pet-cart .whatsapp-float {
    bottom: 84px;
  }
}

/* Cada linha compartilha as alturas de foto, título, medidas e preço. */
.pet-grid > .pet-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 6px; }
.pet-grid > .pet-card > .pet-card-price { align-self: end; }
