/*
Theme Name: Moi Pet
Theme URI: https://www.moipet.com.br
Author: Codex
Description: Tema WooCommerce premium para bandanas e lacos para pets de porte grande.
Version: 1.0.0
Text Domain: moipet
Tags: e-commerce, custom-logo, woocommerce, responsive-layout
*/

:root {
  --moipet-bg: #fbefe3;
  --moipet-bg-2: #f4e2d1;
  --moipet-surface: rgba(255, 250, 244, 0.9);
  --moipet-surface-2: rgba(255, 244, 232, 0.96);
  --moipet-border: rgba(161, 118, 62, 0.1);
  --moipet-border-strong: rgba(161, 118, 62, 0.2);
  --moipet-text: #3f2a1c;
  --moipet-muted: #7a614f;
  --moipet-gold: #cfaa67;
  --moipet-gold-2: #efe0be;
  --moipet-gold-deep: #a8742d;
  --moipet-shadow: 0 16px 34px rgba(111, 74, 38, 0.08);
  --moipet-radius: 28px;
  --moipet-radius-sm: 18px;
  --moipet-max: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--moipet-text);
  background:
    radial-gradient(circle at top left, rgba(201, 156, 82, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.46), transparent 18%),
    linear-gradient(180deg, #fbefe3 0%, #f7ebde 48%, #f2e0cf 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color-scheme: light;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--moipet-gold-2);
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75rem;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
  color: #4f3422;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

::selection {
  background: rgba(201, 156, 82, 0.28);
  color: #fff;
}

.site {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 2rem), var(--moipet-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(251, 239, 227, 0.9), rgba(251, 239, 227, 0.68));
  border-bottom: 1px solid rgba(161, 118, 62, 0.08);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}

.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(207, 170, 103, 0.6) 18%, rgba(168, 116, 45, 0.75) 50%, rgba(207, 170, 103, 0.6) 82%, transparent 100%);
}

.topbar {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, rgba(207, 170, 103, 0.06), rgba(255, 255, 255, 0.3));
  color: #8b622b;
  border-bottom: 1px solid rgba(161, 118, 62, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.topbar strong {
  font-weight: 700;
}

.topbar-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 180px;
}

.brand--icon {
  min-width: 0;
  gap: 0;
}

.brand--icon .brand-text {
  display: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 72px;
  height: 72px;
  padding: 7px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(215, 179, 118, 0.22), rgba(255, 250, 244, 0.88)),
    rgba(255, 250, 244, 0.92);
  border: 1px solid rgba(165, 119, 61, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 20px rgba(111, 74, 38, 0.08);
  overflow: hidden;
}

.brand-logo::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 18px;
  border: 2px dotted rgba(129, 90, 43, 0.5);
  pointer-events: none;
}

.brand-logo::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(242, 226, 199, 0.9);
  pointer-events: none;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-tagline {
  color: var(--moipet-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(161, 118, 62, 0.1);
  background: rgba(255, 250, 244, 0.75);
  color: #5b3b24;
}

.menu-toggle span {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: #6d5240;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  background: linear-gradient(180deg, rgba(207, 170, 103, 0.16), rgba(207, 170, 103, 0.08));
  color: #4f3422;
  box-shadow: inset 0 0 0 1px rgba(161, 118, 62, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 118, 62, 0.1);
  background: rgba(255, 250, 244, 0.88);
  color: #4f3422;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.action-link:hover {
  transform: translateY(-1px);
}

.action-link--gold {
  background: linear-gradient(135deg, #d7b16d, #b17b34);
  border-color: transparent;
  color: #fffaf4;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(168, 116, 45, 0.16);
}

.action-link--gold:hover {
  color: #fffaf4;
  transform: translateY(-1px);
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 0.35rem;
  border-radius: 999px;
  background: rgba(121, 82, 35, 0.12);
  font-size: 0.75rem;
}

.hero {
  padding: 4rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.panel,
.section-panel,
.testimonial-card,
.promo-card,
.newsletter-panel,
.content-card,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--moipet-border);
  background: linear-gradient(180deg, var(--moipet-surface), var(--moipet-surface-2));
  box-shadow: var(--moipet-shadow);
}

.hero-copy {
  padding: clamp(1.5rem, 4vw, 4rem);
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(209, 170, 102, 0.1), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.5), transparent 28%);
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 118, 62, 0.14);
  background: rgba(209, 170, 102, 0.08);
  color: #8a5f25;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy .lead {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: #715848;
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 0.4rem;
}

.button,
button,
input[type="submit"],
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 118, 62, 0.12);
  background: linear-gradient(135deg, #dfc07f, #b58039);
  color: #4f3422 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 20px rgba(153, 108, 53, 0.1);
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
  box-shadow: 0 12px 24px rgba(153, 108, 53, 0.14);
}

.button.is-secondary,
.button--secondary,
.button.secondary {
  background: rgba(255, 250, 244, 0.92);
  color: #5c3a22 !important;
  border-color: rgba(161, 118, 62, 0.12);
  box-shadow: none;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  padding: 0.9rem 1rem;
  border-radius: var(--moipet-radius-sm);
  border: 1px solid rgba(161, 118, 62, 0.1);
  background: rgba(255, 250, 244, 0.78);
  color: #705646;
}

.hero-benefits strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #4f3422;
  font-size: 0.96rem;
}

.hero-visual {
  border-radius: 36px;
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
  align-content: stretch;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(209, 170, 102, 0.07), transparent 24%),
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.4), transparent 14%),
    radial-gradient(circle at 20% 80%, rgba(209, 170, 102, 0.09), transparent 22%);
  pointer-events: none;
}

.hero-visual > * {
  position: relative;
  z-index: 1;
}

.stat-card {
  border-radius: 28px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(161, 118, 62, 0.14);
  background: rgba(255, 250, 244, 0.78);
}

.stat-card + .stat-card {
  margin-top: 0.8rem;
}

.hero-card {
  border-radius: 32px;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 233, 219, 0.98)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(161, 118, 62, 0.12);
  display: grid;
  gap: 1rem;
}

.hero-card .badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(209, 170, 102, 0.12);
  color: #8a5f25;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats div {
  padding: 0.95rem;
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.74);
  border: 1px solid rgba(161, 118, 62, 0.1);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #4f3422;
  font-size: 1rem;
}

.hero-stats span {
  color: #705646;
  font-size: 0.88rem;
}

.section {
  padding: 2rem 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.section-heading p {
  max-width: 60ch;
  color: var(--moipet-muted);
}

.section-heading .eyebrow {
  margin-bottom: 0.6rem;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 0 1rem;
}

.promo-card {
  grid-column: span 4;
  border-radius: 28px;
  padding: 1.3rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 170, 102, 0.14), transparent 60%);
  pointer-events: none;
}

.promo-card--wide {
  grid-column: span 5;
}

.promo-card--tall {
  grid-column: span 3;
}

.promo-meta {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(209, 170, 102, 0.1);
  color: #8a5f25;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0 1.6rem;
}

.shop-filter {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 118, 62, 0.12);
  background: rgba(255, 250, 244, 0.86);
  color: #64422d;
}

.shop-filter:hover {
  color: #fff8ef;
  background: linear-gradient(135deg, var(--moipet-gold), var(--moipet-gold-deep));
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.trust-bar div {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(161, 118, 62, 0.08);
}

.trust-bar strong {
  display: block;
  margin-bottom: 0.2rem;
}

.trust-bar span {
  color: var(--moipet-muted);
  font-size: 0.9rem;
}

.promo-card h3 {
  margin-top: 0.5rem;
  max-width: 12ch;
  font-size: clamp(1.5rem, 2.4vw, 2.45rem);
}

.promo-card p {
  max-width: 28ch;
  color: var(--moipet-muted);
}

.promo-card .button {
  width: fit-content;
}

.content-card,
.panel,
.section-panel {
  border-radius: 32px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.products-shell,
.woocommerce .products {
  margin-top: 1.3rem;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem !important;
  padding: 0;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  border-radius: 28px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.97), rgba(246, 233, 219, 0.97));
  border: 1px solid rgba(161, 118, 62, 0.14);
  box-shadow: var(--moipet-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-3px);
  border-color: rgba(161, 118, 62, 0.3);
}

.woocommerce ul.products li.product a {
  color: inherit;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: grid;
  gap: 0.85rem;
}

.woocommerce ul.products li.product img {
  border-radius: 22px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: rgba(255, 250, 244, 0.8);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.08rem;
  min-height: 2.3em;
}

.woocommerce ul.products li.product .price {
  color: #9a6b2d;
  font-weight: 700;
}

.woocommerce ul.products li.product .button {
  width: 100%;
}

.woocommerce span.onsale {
  top: 1rem;
  left: 1rem;
  min-height: 0;
  min-width: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--moipet-gold), var(--moipet-gold-deep));
  color: #fff8ef;
  font-size: 0.78rem;
  line-height: 1;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-item,
.testimonial-card,
.newsletter-panel {
  border-radius: 30px;
  padding: 1.4rem;
}

.benefit-item {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 233, 219, 0.98));
  border: 1px solid rgba(161, 118, 62, 0.1);
}

.benefit-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  margin-bottom: 1rem;
  background: rgba(209, 170, 102, 0.12);
  color: #8a5f25;
  font-size: 1.1rem;
}

.benefit-item p {
  color: var(--moipet-muted);
}

.fit-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fit-card {
  padding: 1.3rem;
  border-radius: 28px;
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(161, 118, 62, 0.08);
}

.fit-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #7b5325;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.99), rgba(247, 235, 223, 0.99));
}

.testimonial-card .rating {
  color: #9a6b2d;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.testimonial-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: #4f3422;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.99), rgba(247, 235, 223, 0.99)),
    rgba(255, 255, 255, 0.06);
}

.newsletter-panel form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-panel input[type="email"],
.newsletter-panel input[type="text"],
.newsletter-panel input[type="search"],
.newsletter-panel input[type="tel"],
.newsletter-panel input[type="url"],
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce textarea,
.woocommerce select,
input[type="email"],
input[type="text"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(161, 118, 62, 0.1);
  background: rgba(255, 250, 244, 0.94);
  color: #4f3422;
  outline: none;
}

.newsletter-panel input::placeholder,
input::placeholder,
textarea::placeholder {
  color: #9a7d6a;
}

.newsletter-panel input:focus,
.woocommerce input:focus,
.woocommerce textarea:focus,
.woocommerce select:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(161, 118, 62, 0.38);
  box-shadow: 0 0 0 3px rgba(201, 156, 82, 0.12);
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(161, 118, 62, 0.08);
  background: rgba(251, 239, 227, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}

.footer-card {
  padding: 1.1rem 0;
}

.footer-card h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-card li + li {
  margin-top: 0.5rem;
}

.footer-note {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(161, 118, 62, 0.08);
  color: var(--moipet-muted);
  font-size: 0.92rem;
}

.page-hero,
.archive-hero,
.single-hero,
.woocommerce-products-header {
  padding: 3rem 0 1.5rem;
}

.page-hero .container,
.archive-hero .container,
.single-hero .container,
.woocommerce-products-header .container {
  display: grid;
  gap: 0.7rem;
}

.page-content,
.entry-content,
.archive-description,
.woocommerce-Tabs-panel,
.woocommerce-product-details__short-description {
  color: var(--moipet-muted);
}

.post-card,
.page-card {
  border-radius: 28px;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 233, 219, 0.98));
  border: 1px solid rgba(161, 118, 62, 0.1);
  box-shadow: var(--moipet-shadow);
}

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

.archive-grid article,
.blog-grid article {
  border-radius: 28px;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 233, 219, 0.98));
  border: 1px solid rgba(161, 118, 62, 0.1);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  color: var(--moipet-muted);
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  margin-top: 1.5rem;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  margin: 0 0.2rem;
  background: rgba(255, 250, 244, 0.88);
  color: #4f3422;
  border: 1px solid rgba(161, 118, 62, 0.08);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: linear-gradient(135deg, var(--moipet-gold), var(--moipet-gold-deep));
  color: #fff8ef;
}

.woocommerce div.product .product_title {
  margin-bottom: 1rem;
}

.woocommerce div.product .summary {
  color: var(--moipet-muted);
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  border-radius: 30px;
  overflow: hidden;
}

.woocommerce div.product div.images img {
  border-radius: 30px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: #4f3422;
}

.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce #reviews {
  padding: 1.4rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 233, 219, 0.98));
  border: 1px solid rgba(161, 118, 62, 0.1);
}

.woocommerce .cart-collaterals,
.woocommerce .woocommerce-checkout-review-order,
.woocommerce form.checkout,
.woocommerce .cart_totals {
  padding: 1.4rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 233, 219, 0.98));
  border: 1px solid rgba(161, 118, 62, 0.1);
}

.wp-block-separator {
  border-color: rgba(161, 118, 62, 0.1);
  opacity: 1;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 1rem;
  background: #fff;
  color: #000;
}

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

  .primary-nav {
    justify-self: end;
  }

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

  .promo-card,
  .promo-card--wide,
  .promo-card--tall {
    grid-column: span 6;
  }

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

  .benefit-grid,
  .fit-guide,
  .testimonial-grid,
  .archive-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .topbar-inner,
  .section-heading,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    display: grid;
  }

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

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding-bottom: 0.8rem;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 250, 244, 0.98);
    padding: 0.75rem;
    border-radius: 24px;
    border: 1px solid rgba(161, 118, 62, 0.12);
  }

  .primary-nav a {
    justify-content: center;
  }

  .header-actions {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-benefits,
  .hero-stats,
  .benefit-grid,
  .fit-guide,
  .testimonial-grid,
  .archive-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .promo-card,
  .promo-card--wide,
  .promo-card--tall {
    grid-column: span 1;
    min-height: 200px;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.1rem), var(--moipet-max));
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .hero-copy,
  .hero-visual,
  .content-card,
  .panel,
  .section-panel,
  .benefit-item,
  .testimonial-card,
  .newsletter-panel,
  .post-card,
  .page-card,
  .woocommerce ul.products li.product {
    border-radius: 22px;
  }

  .hero-actions,
  .newsletter-panel form {
    flex-direction: column;
  }

  .button,
  button,
  input[type="submit"],
  .action-link,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    width: 100%;
  }
}

.launch-screen {
  min-height: 100vh;
  padding: 1.5rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(201, 156, 82, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.45), transparent 22%),
    linear-gradient(180deg, #fbefe3 0%, #f5e7d8 100%);
}

.launch-shell {
  width: min(1180px, 100%);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 36px;
  border: 1px solid rgba(161, 118, 62, 0.12);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.99), rgba(247, 235, 223, 0.99));
  box-shadow: var(--moipet-shadow);
}

.launch-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.launch-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.launch-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 60px;
  height: 60px;
  padding: 6px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid rgba(161, 118, 62, 0.14);
}

.launch-logo::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 14px;
  border: 2px dotted rgba(129, 90, 43, 0.45);
  z-index: 2;
  pointer-events: none;
}

.launch-logo::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 11px;
  border: 1px solid rgba(242, 226, 199, 0.9);
  z-index: 2;
  pointer-events: none;
}

.launch-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
}

.launch-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.launch-tag {
  color: var(--moipet-muted);
  font-size: 0.88rem;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 118, 62, 0.12);
  color: #8a5f25;
  background: rgba(209, 170, 102, 0.1);
}

.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.launch-copy,
.launch-card {
  border-radius: 32px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 233, 219, 0.98));
  border: 1px solid rgba(161, 118, 62, 0.1);
}

.launch-copy h1 {
  margin-top: 0.6rem;
  max-width: 11ch;
}

.launch-lead {
  max-width: 56ch;
  color: #705646;
  font-size: 1.08rem;
}

.launch-content {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--moipet-text);
}

.launch-content > * {
  margin: 0;
}

.launch-content > * + * {
  margin-top: 0.25rem;
}

.launch-content .wp-block-group.moipet-launch-layout > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1rem;
}

.launch-content .wp-block-group.launch-notes > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.launch-content .wp-block-group.launch-steps > .wp-block-group__inner-container {
  display: grid;
  gap: 0.8rem;
}

.launch-content .wp-block-group.launch-copy,
.launch-content .wp-block-group.launch-card,
.launch-content .wp-block-group.launch-notes,
.launch-content .wp-block-group.launch-steps {
  min-width: 0;
}

.launch-content .wp-block-buttons {
  margin-top: 0.5rem;
}

.launch-content .wp-block-button__link {
  color: #4f3422 !important;
}

.launch-notes,
.launch-steps {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.launch-notes {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.launch-notes div,
.launch-steps div {
  padding: 1.05rem 1.1rem;
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(161, 118, 62, 0.12);
}

.launch-notes strong,
.launch-steps strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #4f3422;
}

.launch-steps strong {
  color: #9a6b2d;
}

.launch-card h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

body.moipet-launch-page {
  min-height: 100vh;
}

body.moipet-mode-maintenance .launch-badge {
  background: rgba(209, 170, 102, 0.12);
}

body.moipet-mode-maintenance .eyebrow {
  background: rgba(209, 170, 102, 0.12);
  border-color: rgba(161, 118, 62, 0.18);
}

body.moipet-mode-maintenance .launch-copy,
body.moipet-mode-maintenance .launch-card {
  border-color: rgba(161, 118, 62, 0.1);
}

@media (max-width: 860px) {
  .launch-top,
  .launch-grid,
  .launch-content .wp-block-group.moipet-launch-layout > .wp-block-group__inner-container,
  .launch-content .wp-block-group.launch-notes > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }

  .launch-top {
    display: grid;
  }

  .launch-badge {
    width: fit-content;
  }
}
