:root {
  --bg: #f8f7f2;
  --surface: #ffffff;
  --surface-soft: #f1f5eb;
  --ink: #20352d;
  --muted: #65746d;
  --line: #dfe7e1;
  --primary: #276749;
  --primary-dark: #174d36;
  --primary-soft: #dff1e5;
  --accent: #f2a65a;
  --accent-soft: #fff0dc;
  --danger: #b94b4b;
  --shadow-sm: 0 10px 30px rgba(38, 71, 56, 0.08);
  --shadow-md: 0 20px 60px rgba(38, 71, 56, 0.16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

body.no-scroll {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

.announcement {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 20px;
  background: var(--primary-dark);
  color: #f4fff8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.announcement-dot {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 231, 225, 0.9);
}

.header-main {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 21px;
  transform: rotate(-5deg);
  box-shadow: 0 8px 18px rgba(39, 103, 73, 0.22);
}

.brand-mark-image {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.location-button {
  padding: 9px 12px;
  border-radius: 12px;
  text-align: left;
}

.location-button:hover,
.icon-button:hover {
  background: var(--surface-soft);
}

.location-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.location-button small,
.location-button strong,
.action-copy small,
.action-copy strong {
  display: block;
}

.location-button small,
.action-copy small {
  color: var(--muted);
  font-size: 10px;
}

.location-button strong,
.action-copy strong {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}

.search input {
  width: 100%;
  height: 48px;
  padding: 0 52px 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7faf8;
  color: var(--ink);
  outline: none;
  transition: 0.2s ease;
}

.search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(39, 103, 73, 0.12);
  background: white;
}

.search > .search-submit {
  position: absolute;
  right: 6px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: var(--primary);
  color: white;
  font-size: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-button {
  position: relative;
  min-height: 48px;
  padding: 7px 10px;
  border-radius: 13px;
}

.icon-button > span:first-child {
  font-size: 21px;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--accent);
  color: #4a2b09;
  font-size: 10px;
  font-weight: 800;
}

.main-nav {
  border-top: 1px solid var(--line);
}

.nav-scroll {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.nav-scroll a {
  flex: 0 0 auto;
  color: #43574e;
  font-size: 13px;
  font-weight: 700;
}

.nav-scroll a:hover {
  color: var(--primary);
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
  padding-block: 72px 62px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #b7f0c9;
}

.hero h1,
.section-heading h2,
.benefit-copy h2,
.subscription-card h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(42px, 5vw, 68px);
}

.hero-copy > p {
  max-width: 610px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 22px rgba(39, 103, 73, 0.2);
}

.button-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  box-shadow: 0 14px 28px rgba(39, 103, 73, 0.26);
}

.button-secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button-secondary:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.full-width {
  width: 100%;
}

.hero-proof {
  display: flex;
  gap: 28px;
  margin-top: 36px;
}

.hero-proof > div {
  position: relative;
  padding-right: 28px;
}

.hero-proof > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: 34px;
  background: var(--line);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 18px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 42px 42px 42px 150px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.7), transparent 30%),
    linear-gradient(135deg, #dbeedc, #f6d9ae);
  box-shadow: var(--shadow-md);
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 42px;
  height: 38px;
  border-radius: 50%;
  background: rgba(36, 73, 55, 0.15);
  filter: blur(8px);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.18);
}

.hero-orb-one {
  width: 220px;
  height: 220px;
  top: -70px;
  right: 40px;
}

.hero-orb-two {
  width: 130px;
  height: 130px;
  bottom: 30px;
  left: 10px;
}

.pet-card {
  position: absolute;
  z-index: 3;
  width: 180px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.pet-card strong,
.pet-card small {
  display: block;
}

.pet-card strong {
  margin-top: 4px;
  font-size: 14px;
}

.pet-card small {
  color: var(--muted);
  font-size: 10px;
}

.pet-emoji {
  display: block;
  font-size: 54px;
  line-height: 1;
}

.pet-dog {
  left: 38px;
  bottom: 62px;
  transform: rotate(-3deg);
}

.pet-cat {
  right: 34px;
  top: 46px;
  transform: rotate(4deg);
}

.floating-bag {
  position: absolute;
  z-index: 4;
  width: 190px;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  border-radius: 18px 18px 34px 34px;
  color: white;
  filter: drop-shadow(0 20px 22px rgba(31, 63, 47, 0.22));
}

.floating-bag::before {
  content: "🐾";
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 54px;
  opacity: .9;
}

.floating-bag::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px 12px 26px 26px;
}

.bag-one {
  top: 74px;
  left: 42%;
  background: linear-gradient(160deg, #1e6d4a, #0f4531);
  transform: translateX(-50%) rotate(-7deg);
}

.bag-two {
  right: 72px;
  bottom: 50px;
  background: linear-gradient(160deg, #81583e, #4f2d1f);
  transform: rotate(8deg) scale(.88);
}

.bag-label,
.bag-title,
.bag-detail,
.bag-weight {
  position: relative;
  z-index: 2;
}

.bag-label {
  margin-bottom: 8px;
  color: #d4f3df;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.bag-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.bag-detail {
  margin-top: 5px;
  font-size: 10px;
  opacity: .8;
}

.bag-weight {
  margin-top: 15px;
  font-size: 13px;
  font-weight: 800;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
}

.trust-grid article:not(:last-child) {
  border-right: 1px solid var(--line);
}

.trust-grid article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-soft);
  font-size: 19px;
}

.trust-grid strong,
.trust-grid small {
  display: block;
}

.trust-grid strong {
  font-size: 13px;
}

.trust-grid small {
  color: var(--muted);
  font-size: 10px;
}

.section {
  padding-block: 90px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading h2,
.benefit-copy h2,
.subscription-card h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.category-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -40px;
  bottom: -45px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

.category-dog {
  background: #dcebd6;
}

.category-cat {
  background: #f5ddc7;
}

.category-premium {
  background: #203f34;
  color: white;
}

.category-illustration {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,.55);
  font-size: 42px;
}

.category-premium .category-illustration {
  background: rgba(255,255,255,.12);
  color: #f7d19c;
}

.category-card strong,
.category-card small {
  display: block;
}

.category-card strong {
  font-size: 17px;
}

.category-card small {
  margin-top: 5px;
  color: inherit;
  font-size: 11px;
  opacity: .72;
}

.category-card .arrow {
  position: relative;
  z-index: 2;
  font-size: 24px;
}

.products-section {
  background: #eef2eb;
}

.products-heading {
  align-items: center;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(218, 226, 220, 0.9);
  border-radius: 22px;
  background: white;
  box-shadow: 0 8px 24px rgba(38, 71, 56, 0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #4e2f11;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.favorite-button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.84);
  color: #7a8c84;
  font-size: 17px;
}

.favorite-button.active {
  color: #c24c5a;
}

.product-image {
  position: relative;
  height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f7f1, #e3ebe2);
}

.product-image::before,
.product-image::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.product-image::before {
  width: 140px;
  height: 140px;
  right: -44px;
  top: -40px;
  background: rgba(255,255,255,.65);
}

.product-image::after {
  width: 90px;
  height: 90px;
  left: -30px;
  bottom: -20px;
  background: rgba(39, 103, 73, .08);
}

.product-package {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 166px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 13px;
  border-radius: 11px 11px 23px 23px;
  color: white;
  filter: drop-shadow(0 16px 14px rgba(34, 62, 49, .19));
  transform: rotate(-3deg);
}

.product-package::before {
  content: attr(data-icon);
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 38px;
}

.product-package::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 7px 7px 16px 16px;
}

.package-brand,
.package-name,
.package-weight {
  position: relative;
  z-index: 2;
  display: block;
}

.package-brand {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}

.package-name {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.05;
}

.package-weight {
  margin-top: 8px;
  font-size: 9px;
  opacity: .8;
}

.product-content {
  padding: 18px;
}

.product-brand {
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-content h3 {
  min-height: 42px;
  margin: 7px 0 8px;
  font-size: 14px;
  line-height: 1.45;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #e79b3c;
  font-size: 11px;
}

.rating span:last-child {
  color: var(--muted);
}

.product-pricing {
  margin-top: 15px;
}

.old-price {
  display: block;
  min-height: 16px;
  color: #8b9892;
  font-size: 10px;
  text-decoration: line-through;
}

.current-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.current-price strong {
  font-size: 23px;
  letter-spacing: -0.04em;
}

.current-price span {
  color: var(--muted);
  font-size: 10px;
}

.installments {
  color: var(--muted);
  font-size: 10px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 16px;
}

.add-button,
.quick-add {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
}

.add-button {
  background: var(--primary);
  color: white;
}

.add-button:hover {
  background: var(--primary-dark);
}

.quick-add {
  width: 42px;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 19px;
}

.empty-state {
  max-width: 420px;
  margin: 20px auto 0;
  padding: 50px 20px;
  text-align: center;
}

.empty-state > span {
  font-size: 44px;
}

.empty-state h3 {
  margin: 12px 0 6px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.benefit-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 50px;
  align-items: center;
  overflow: hidden;
  padding: 58px;
  border-radius: 32px;
  background: linear-gradient(135deg, #153f2e, #2c7652);
  color: white;
  box-shadow: var(--shadow-md);
}

.benefit-banner::before {
  content: "🐾";
  position: absolute;
  right: -35px;
  top: -65px;
  font-size: 220px;
  opacity: .05;
  transform: rotate(-16deg);
}

.benefit-copy {
  position: relative;
  z-index: 1;
}

.benefit-copy p {
  max-width: 650px;
  color: rgba(255,255,255,.76);
}

.benefit-copy ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-copy li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.benefit-copy li span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #b7f0c9;
}

.nutrition-card {
  position: relative;
  z-index: 1;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}

.nutrition-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.16);
  font-size: 30px;
}

.nutrition-meter {
  height: 8px;
  margin: 28px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.nutrition-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f4ca94;
}

.nutrition-card strong {
  display: block;
  font-size: 17px;
}

.nutrition-card p {
  margin-bottom: 0;
  color: rgba(255,255,255,.65);
  font-size: 12px;
}

.subscription-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 60px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.subscription-card p {
  max-width: 570px;
  color: var(--muted);
}

.subscription-form label,
.stack-form label,
.checkout-form label {
  display: block;
  margin-bottom: 7px;
  color: #43574e;
  font-size: 11px;
  font-weight: 800;
}

.subscription-form > div {
  display: flex;
  gap: 9px;
}

.subscription-form input,
.stack-form input,
.checkout-form input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfb;
  color: var(--ink);
  outline: none;
}

.subscription-form input:focus,
.stack-form input:focus,
.checkout-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(39, 103, 73, .11);
  background: white;
}

.subscription-form small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.site-footer {
  padding-top: 62px;
  background: #182c24;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 44px;
  padding-bottom: 48px;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--primary);
}

.footer-brand small {
  color: rgba(255,255,255,.55);
}

.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 13px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
}

.footer-grid a:hover {
  color: white;
}

.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.payment-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  font-size: 8px;
  font-weight: 800;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  font-size: 10px;
}

.overlay {
  position: fixed;
  z-index: 60;
  inset: 0;
  visibility: hidden;
  background: rgba(12, 25, 19, .55);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity .25s ease, visibility .25s ease;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: white;
  box-shadow: -20px 0 70px rgba(20, 44, 33, .25);
  transform: translateX(105%);
  transition: transform .3s ease;
}

.cart-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-header small,
.modal > small,
.checkout-step > small,
.success-modal > small {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.drawer-header h2,
.modal h2,
.checkout-step h2 {
  margin: 2px 0 0;
  font-size: 27px;
  letter-spacing: -.035em;
}

.close-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 23px;
}

.close-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.empty-cart {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.empty-cart-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--surface-soft);
  font-size: 35px;
}

.empty-cart h3 {
  margin: 18px 0 4px;
}

.empty-cart p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-soft);
  font-size: 35px;
}

.cart-item h3 {
  margin: 0 0 3px;
  font-size: 12px;
  line-height: 1.35;
}

.cart-item small {
  color: var(--muted);
  font-size: 9px;
}

.cart-item-price {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 800;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.quantity-control button,
.quantity-control span {
  width: 29px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 0;
  background: white;
  font-size: 11px;
}

.quantity-control button:hover {
  background: var(--surface-soft);
}

.remove-item {
  align-self: start;
  border: 0;
  background: transparent;
  color: #97a39e;
  font-size: 18px;
}

.remove-item:hover {
  color: var(--danger);
}

.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: #fbfcfb;
}

.shipping-progress {
  margin-bottom: 18px;
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
}

.progress-copy strong {
  color: var(--ink);
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe7e1;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width .3s ease;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7px 0;
  color: var(--muted);
  font-size: 11px;
}

.summary-line strong {
  color: var(--ink);
}

.summary-line.total {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}

.summary-line.total strong {
  font-size: 21px;
}

.checkout-button {
  width: 100%;
  margin-top: 16px;
}

.demo-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.modal {
  position: fixed;
  z-index: 80;
  top: 50%;
  left: 50%;
  width: min(500px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: 34px;
  overflow-y: auto;
  visibility: hidden;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, -46%) scale(.97);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.modal.active {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.modal-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--surface-soft);
  font-size: 29px;
}

.modal > p,
.checkout-step > p {
  margin: 7px 0 22px;
  color: var(--muted);
  font-size: 12px;
}

.stack-form {
  display: grid;
  gap: 8px;
}

.field-action {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
}

.form-message {
  min-height: 19px;
  color: var(--muted);
  font-size: 10px;
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--primary);
}

.text-button {
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 11px;
  font-weight: 800;
}

.checkout-modal {
  width: min(780px, calc(100% - 30px));
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 60px 28px;
}

.checkout-steps span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7ece9;
  color: #84928c;
  font-size: 10px;
  font-weight: 800;
}

.checkout-steps span.active {
  background: var(--primary);
  color: white;
}

.checkout-steps i {
  flex: 1;
  height: 2px;
  background: #e7ece9;
}

.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.address-grid {
  grid-template-columns: .65fr 1.8fr .5fr;
}

.address-grid > div:nth-child(4),
.address-grid > div:nth-child(5),
.address-grid > div:nth-child(6) {
  grid-column: span 1;
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payment-option {
  display: grid !important;
  grid-template-columns: auto auto 1fr;
  gap: 11px;
  align-items: center;
  margin: 0 !important;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.payment-option.active {
  border-color: var(--primary);
  background: var(--surface-soft);
}

.payment-option input {
  width: 15px;
  height: 15px;
}

.payment-option > span {
  font-size: 25px;
}

.payment-option strong,
.payment-option small {
  display: block;
}

.payment-option small {
  color: var(--muted);
  font-size: 9px;
}

.card-fields {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 15px;
  background: #f7f9f7;
}

.checkout-summary-box,
.review-content {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfb;
}

.checkout-summary-box .summary-line:last-child {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.checkout-navigation {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.review-group + .review-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-group h3 {
  margin: 0 0 8px;
  font-size: 12px;
}

.review-group p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 11px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 7px 0;
  font-size: 11px;
}

.review-total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.success-modal {
  width: min(430px, calc(100% - 30px));
  text-align: center;
}

.success-check {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 34px;
  font-weight: 800;
}

.success-modal h2 {
  margin-top: 4px;
}

.success-modal > p {
  margin: 10px 0 20px;
}

.success-info {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 14px;
  background: var(--surface-soft);
  font-size: 11px;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 26px;
  max-width: calc(100% - 30px);
  padding: 12px 18px;
  border-radius: 12px;
  background: #182c24;
  color: white;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .2s ease, transform .2s ease;
  font-size: 11px;
  font-weight: 700;
}

.toast.active {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1050px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
  }

  .location-button {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 450px;
  }

  .pet-card {
    transform: scale(.87);
  }

  .pet-dog {
    left: 12px;
  }

  .bag-two {
    right: 22px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-premium {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 28px, 700px);
  }

  .announcement-dot,
  .announcement span:last-child {
    display: none;
  }

  .header-main {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .brand small,
  .action-copy {
    display: none;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .search input {
    height: 42px;
  }

  .search > .search-submit {
    width: 33px;
    height: 33px;
    font-size: 20px;
  }

  .icon-button {
    padding: 7px;
  }


  .hero {
    grid-template-columns: 1fr;
    padding-block: 54px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    min-height: 470px;
    border-radius: 34px 34px 34px 100px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid article:nth-child(2) {
    border-right: 0;
  }

  .trust-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .products-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .benefit-banner,
  .subscription-card {
    grid-template-columns: 1fr;
  }

  .benefit-banner {
    padding: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  :root {
    --container: calc(100% - 22px);
  }

  .header-main {
    grid-template-columns: auto 1fr auto;
  }

  .brand strong {
    display: none;
  }

  .brand-mark {
    margin-right: -3px;
  }

  .cart-trigger > span:first-child {
    font-size: 19px;
  }

  .nav-scroll {
    gap: 20px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-actions .button {
    flex: 1;
    padding-inline: 14px;
  }

  .hero-proof {
    gap: 12px;
  }

  .hero-proof > div {
    padding-right: 12px;
  }

  .hero-proof strong {
    font-size: 15px;
  }

  .hero-proof span {
    font-size: 9px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .floating-bag {
    width: 145px;
    min-height: 220px;
  }

  .bag-one {
    left: 47%;
    top: 60px;
  }

  .bag-two {
    right: 22px;
    bottom: 42px;
  }

  .pet-card {
    width: 145px;
    padding: 13px;
  }

  .pet-emoji {
    font-size: 42px;
  }

  .pet-dog {
    left: 4px;
    bottom: 18px;
  }

  .pet-cat {
    right: 0;
    top: 12px;
  }

  .trust-grid article {
    min-height: 92px;
    justify-content: flex-start;
    padding: 14px;
  }

  .trust-grid article > span {
    width: 36px;
    height: 36px;
  }

  .section {
    padding-block: 64px;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-premium {
    grid-column: auto;
  }

  .product-image {
    height: 240px;
  }

  .filter-row {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-chip {
    flex: 0 0 auto;
  }

  .benefit-banner,
  .subscription-card {
    padding: 28px;
  }

  .subscription-form > div {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom span:last-child {
    display: none;
  }

  .modal {
    padding: 28px 20px 22px;
  }

  .checkout-modal {
    inset: auto 0 0;
    width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    transform: translateY(105%);
  }

  .checkout-modal.active {
    transform: translateY(0);
  }

  .checkout-steps {
    margin-inline: 45px;
  }

  .two-columns,
  .address-grid,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .checkout-navigation {
    grid-template-columns: 1fr;
  }

  .checkout-navigation .button-secondary {
    order: 2;
  }

  .field-action {
    grid-template-columns: 1fr;
  }
}


/* Busca inteligente */
.search-suggestions {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  max-height: min(430px, 65vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.search-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 13px;
}

.search-suggestion + .search-suggestion {
  border-top: 1px solid var(--line);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.search-suggestion:hover,
.search-suggestion:focus-within {
  background: var(--surface-soft);
}

.search .suggestion-product,
.search .suggestion-add {
  position: static;
  width: auto;
  height: auto;
  border: 0;
  font-size: inherit;
}

.search .suggestion-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 4px;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.suggestion-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: 23px;
}

.suggestion-copy {
  min-width: 0;
}

.suggestion-copy strong,
.suggestion-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-copy strong {
  font-size: 12px;
  line-height: 1.35;
}

.suggestion-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.suggestion-price {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.search .suggestion-add {
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.search .suggestion-add:hover {
  background: var(--primary-dark);
}

.search-no-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--muted);
}

.search-no-result > span {
  font-size: 24px;
}

.search-no-result strong,
.search-no-result small {
  display: block;
}

.search-no-result strong {
  color: var(--ink);
  font-size: 12px;
}

.search-no-result small {
  margin-top: 2px;
  font-size: 10px;
}

.product-card:focus {
  outline: none;
}

.product-highlight {
  animation: product-highlight 1.8s ease;
}

@keyframes product-highlight {
  0%, 100% {
    box-shadow: var(--shadow-sm);
    transform: translateY(0);
  }
  35% {
    box-shadow: 0 0 0 5px rgba(242, 166, 90, 0.34), var(--shadow-md);
    transform: translateY(-6px);
  }
}

/* Página de erro da hospedagem */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 15%, rgba(242, 166, 90, 0.2), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(39, 103, 73, 0.18), transparent 32%),
    var(--bg);
}

.error-card {
  width: min(620px, 100%);
  padding: clamp(34px, 7vw, 64px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.error-paw {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 26px;
  background: var(--primary-soft);
  font-size: 40px;
  transform: rotate(-7deg);
}

.error-card h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.error-card p {
  max-width: 480px;
  margin: 0 auto 28px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .search-suggestions {
    position: fixed;
    top: 82px;
    right: 14px;
    left: 14px;
    max-height: min(470px, calc(100vh - 102px));
  }
}

@media (max-width: 560px) {
  .search-suggestion {
    grid-template-columns: minmax(0, 1fr);
  }

  .search .suggestion-product {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .suggestion-icon {
    width: 42px;
    height: 42px;
  }

  .suggestion-price {
    grid-column: 2;
  }

  .search .suggestion-add {
    width: 100%;
    padding: 9px;
  }
}

/* Estado de carregamento e falha da API */
.system-message {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 32px;
  border: 1px solid var(--border, #dde6e1);
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.system-message > span {
  font-size: 2rem;
}

.system-message p {
  max-width: 620px;
  margin: 0;
  color: var(--muted, #64706b);
}

.system-message-error {
  border-color: #efc9c9;
  background: #fff9f9;
}

/* Conta e autenticação — atualização 3.0 */
.profile-account { position: relative; }
.header-avatar, .profile-menu-avatar { overflow: hidden; display: grid; place-items: center; border-radius: 50%; background: #e8f1eb; color: #174f3a; font-weight: 800; }
.header-avatar { width: 31px; height: 31px; font-size: 16px; }
.header-avatar img, .profile-menu-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-menu { position: absolute; top: calc(100% + 14px); right: 0; z-index: 95; width: 265px; overflow: hidden; border: 1px solid #dce6df; border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(20,55,42,.2); }
.profile-menu::before { content: ""; position: absolute; top: -7px; right: 32px; width: 14px; height: 14px; border-left: 1px solid #dce6df; border-top: 1px solid #dce6df; background: #fff; transform: rotate(45deg); }
.profile-menu-user { position: relative; display: flex; align-items: center; gap: 11px; padding: 16px; border-bottom: 1px solid #edf1ee; }
.profile-menu-avatar { flex: 0 0 42px; width: 42px; height: 42px; }
.profile-menu-user strong, .profile-menu-user small { display: block; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-menu-user strong { color: #173127; font-size: 12px; }
.profile-menu-user small { margin-top: 2px; color: #748179; font-size: 9px; }
.profile-menu > a, .profile-menu > button { width: 100%; min-height: 45px; display: flex; align-items: center; gap: 11px; padding: 0 16px; border: 0; border-bottom: 1px solid #f0f3f1; background: #fff; color: #2d453a; text-decoration: none; text-align: left; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.profile-menu > a:hover, .profile-menu > button:hover { background: #f4f8f5; color: #174f3a; }
.profile-menu > button { color: #b24242; }
.profile-menu > a span, .profile-menu > button span { width: 24px; font-size: 17px; text-align: center; }
.auth-modal { width: min(520px, calc(100% - 28px)); padding-top: 30px; }
.auth-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.auth-brand > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff; font-size: 21px; overflow: hidden; box-shadow: 0 8px 18px rgba(39, 103, 73, 0.16); }
.auth-brand > span img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auth-brand strong, .auth-brand small { display: block; }
.auth-brand strong { font-size: 16px; }
.auth-brand small { margin-top: 2px; color: #7a877f; font-size: 9px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 23px; padding: 5px; border-radius: 14px; background: #edf3ef; }
.auth-tabs button { min-height: 41px; border: 0; border-radius: 10px; background: transparent; color: #6d7d73; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.auth-tabs button.active { background: #fff; color: #174f3a; box-shadow: 0 5px 16px rgba(29,70,53,.1); }
.auth-panel { display: none; }
.auth-panel.active { display: block; animation: authPanelIn .22s ease; }
@keyframes authPanelIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.auth-panel > small { color: #267153; font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.auth-panel h2 { margin: 5px 0 6px; }
.auth-panel > p { margin: 0 0 18px; color: #718077; font-size: 11px; line-height: 1.55; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form-grid > div { display: flex; flex-direction: column; gap: 7px; }
.auth-password-field { position: relative; }
.auth-password-field input { padding-right: 48px; }
.auth-password-field button { position: absolute; top: 50%; right: 7px; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; transform: translateY(-50%); cursor: pointer; }
#authMessage { display: block; min-height: 18px; margin-top: 12px; text-align: center; }

@media (max-width: 640px) {
  .profile-menu { position: fixed; top: auto; right: 12px; bottom: 82px; left: 12px; width: auto; }
  .profile-menu::before { display: none; }
  .auth-form-grid { grid-template-columns: 1fr; }
}

/* Produtos administráveis: foto real, descrição e estoque. */
.product-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-description {
  display: -webkit-box;
  min-height: 34px;
  margin: 0 0 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.stock-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #8d2f39;
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.product-card:has(.product-badge) .stock-badge {
  top: 46px;
}

.product-out-of-stock .product-image {
  filter: grayscale(.25);
  opacity: .82;
}

.add-button:disabled,
.quick-add:disabled {
  cursor: not-allowed;
  background: #dfe5e1;
  color: #7e8a84;
}
.search-suggestions .suggestion-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.search-suggestions .suggestion-add:disabled { cursor: not-allowed; opacity: .55; }

/* Loja completa, categorias ampliadas e galeria de produtos */
.category-card { text-decoration: none; }
.product-image-link { color: inherit; text-decoration: none; }
.product-content h3 a { color: inherit; text-decoration: none; }
.product-content h3 a:hover { color: var(--primary); }
.product-meta-line { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 700; }
.product-type-chip { display: inline-flex; padding: 4px 7px; border-radius: 999px; background: #e5f1eb; color: var(--primary); font-weight: 800; }
.product-gallery-count { position: absolute; z-index: 3; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 999px; background: rgba(20,48,37,.82); color: #fff; font-size: 9px; font-weight: 800; }
.product-actions { grid-template-columns: .9fr 1.15fr auto; }
.details-button { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--primary); background: #fff; font-size: 11px; font-weight: 800; text-decoration: none; }
.details-button:hover { border-color: var(--primary); background: var(--surface-soft); }

.shop-page-main { background: #f4f6f2; }
.shop-hero { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-block: 58px 42px; }
.shop-hero h1 { max-width: 760px; margin-top: 8px; font-size: clamp(34px, 5vw, 58px); }
.shop-hero p { max-width: 680px; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.shop-catalog { padding-top: 20px; }
.shop-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 28px; align-items: start; }
.shop-filters { position: sticky; top: 125px; display: grid; gap: 16px; }
.shop-filter-block { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.shop-filter-block > strong { margin-bottom: 5px; font-size: 12px; }
.shop-filter-block .filter-chip, .shop-filter-button { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid transparent; border-radius: 11px; background: #f4f7f5; color: var(--muted); text-align: left; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.shop-filter-block .filter-chip.active, .shop-filter-block .filter-chip:hover, .shop-filter-button.active, .shop-filter-button:hover { border-color: var(--primary); background: #e4f1ea; color: var(--primary); }
.shop-products-area { min-width: 0; }
.shop-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.shop-toolbar h2 { margin: 5px 0 3px; font-size: clamp(25px, 3.5vw, 38px); }
.shop-toolbar small { color: var(--muted); }
.shop-toolbar label { display: grid; gap: 6px; min-width: 180px; color: var(--muted); font-size: 10px; font-weight: 800; }
.shop-toolbar select { min-height: 43px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; color: var(--ink); font: inherit; }
.shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; margin-top: 34px; }
.catalog-pagination button { min-width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
.catalog-pagination button.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.catalog-pagination button:disabled { cursor: not-allowed; opacity: .4; }
.catalog-pagination span { color: var(--muted); }

.product-page-main { background: #f6f8f5; }
.product-breadcrumb { display: flex; align-items: center; gap: 9px; padding-top: 28px; color: var(--muted); font-size: 11px; overflow: hidden; white-space: nowrap; }
.product-breadcrumb a { color: var(--primary); text-decoration: none; }
.product-breadcrumb strong { overflow: hidden; text-overflow: ellipsis; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr); gap: 58px; padding-block: 38px 76px; align-items: start; }
.product-detail-gallery { min-width: 0; }
.product-main-visual { position: relative; min-height: 540px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-sm); }
.product-main-visual > img { width: 100%; height: 540px; object-fit: contain; padding: 28px; }
.product-detail-package { width: 230px; height: 330px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 28px; border-radius: 18px 18px 42px 42px; color: #fff; box-shadow: 0 25px 55px rgba(21,57,42,.2); }
.product-detail-package > span { margin: auto; font-size: 70px; }
.product-detail-package strong { font-size: 18px; }
.product-detail-package small { opacity: .8; }
.detail-gallery-count { position: absolute; right: 18px; bottom: 18px; padding: 7px 11px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; }
.product-thumbnails { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.product-thumbnails button { aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; border-radius: 14px; padding: 0; background: #fff; cursor: pointer; }
.product-thumbnails button.active { border-color: var(--primary); }
.product-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { padding-top: 10px; }
.product-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.product-detail-tags span { padding: 6px 9px; border-radius: 999px; background: #e5f1eb; color: var(--primary); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.product-detail-info h1 { margin: 9px 0 13px; font-size: clamp(30px, 4vw, 48px); line-height: 1.12; }
.product-detail-description { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.product-detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.product-detail-specs > div { padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.product-detail-specs dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.product-detail-specs dd { margin: 5px 0 0; font-size: 12px; font-weight: 750; }
.product-detail-price { display: flex; flex-direction: column; padding: 20px 0; border-block: 1px solid var(--line); }
.product-detail-price del { color: var(--muted); font-size: 12px; }
.product-detail-price strong { font-size: 36px; letter-spacing: -.04em; }
.product-detail-price small { color: var(--muted); }
.product-detail-buy { display: grid; grid-template-columns: 126px 1fr; gap: 12px; margin-top: 22px; }
.quantity-selector { display: grid; grid-template-columns: 36px 1fr 36px; border: 1px solid var(--line); border-radius: 13px; background: #fff; overflow: hidden; }
.quantity-selector button { border: 0; background: #eef4f0; color: var(--primary); font-size: 18px; font-weight: 800; cursor: pointer; }
.quantity-selector input { width: 100%; border: 0; text-align: center; font: inherit; font-weight: 800; -moz-appearance: textfield; }
.quantity-selector input::-webkit-outer-spin-button, .quantity-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.detail-shipping-button { width: 100%; margin-top: 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--primary); font-weight: 800; cursor: pointer; }
.product-not-found { min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.product-not-found > span { font-size: 60px; }
.product-not-found h1 { margin-top: 15px; font-size: 40px; }
.product-not-found p { margin: 8px 0 22px; color: var(--muted); }

@media (max-width: 1080px) {
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-layout { gap: 32px; }
  .product-main-visual, .product-main-visual > img { min-height: 460px; height: 460px; }
}
@media (max-width: 820px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; grid-template-columns: 1fr 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-info { padding-top: 0; }
}
@media (max-width: 620px) {
  .shop-hero, .shop-toolbar { align-items: stretch; flex-direction: column; }
  .shop-hero { padding-top: 36px; }
  .shop-filters { grid-template-columns: 1fr; }
  .shop-filter-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-filter-block > strong { grid-column: 1 / -1; }
  .shop-product-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .shop-product-grid .product-content { padding: 13px; }
  .shop-product-grid .product-image { height: 170px; }
  .shop-product-grid .product-actions { grid-template-columns: 1fr auto; }
  .shop-product-grid .details-button { grid-column: 1 / -1; }
  .product-detail-layout { padding-top: 24px; }
  .product-main-visual, .product-main-visual > img { min-height: 350px; height: 350px; }
  .product-main-visual > img { padding: 14px; }
  .product-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-detail-specs { grid-template-columns: 1fr; }
  .product-detail-buy { grid-template-columns: 1fr; }
  .quantity-selector { min-height: 45px; }
  .product-actions { grid-template-columns: 1fr auto; }
  .details-button { grid-column: 1 / -1; }
}
