:root {
  --font-body: 'Satoshi', 'Inter', sans-serif;
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --text-xs: clamp(.75rem,.72rem + .2vw,.875rem);
  --text-sm: clamp(.875rem,.82rem + .25vw,1rem);
  --text-base: clamp(1rem,.96rem + .2vw,1.125rem);
  --text-lg: clamp(1.125rem,1rem + .7vw,1.5rem);
  --text-xl: clamp(1.65rem,1.2rem + 1.5vw,2.6rem);
  --text-2xl: clamp(2.2rem,1.5rem + 3vw,4rem);

  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --color-bg: #f0f0f0;
  --color-surface: #ffffff;
  --color-surface-2: #f5f5f7;
  --color-surface-3: #eceef2;
  --color-text: #292929;
  --color-text-muted: #5f6672;
  --color-border: rgba(41,41,41,.08);
  --color-primary: #0078eb;
  --color-primary-dark: #005fc2;
  --color-orange: #fe8801;
  --color-black: #292929;
  --color-white: #f0f0f0;

  --radius-sm: .5rem;
  --radius-md: .875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;

  --shadow-sm: 0 10px 26px rgba(41,41,41,.05);
  --shadow-md: 0 18px 42px rgba(41,41,41,.10);

  --content: 1240px;
  --transition: 180ms cubic-bezier(.16,1,.3,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  background: var(--color-bg);
  color: var(--color-text);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.eyebrow-light {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: var(--text-2xl);
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: clamp(1.55rem, 1rem + 1vw, 2rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
}

strong {
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  padding: .95rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  border-color: rgba(41,41,41,.10);
  color: var(--color-black);
}

.btn-secondary-light {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

.text-link {
  font-weight: 800;
  color: var(--color-primary);
}

.topbar {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240,240,240,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(41,41,41,.08);
  transition: all var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: 92px;
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo-image {
  max-height: 46px;
  width: auto;
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
}

.main-navigation {
  justify-self: end;
}

.main-navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  font-weight: 700;
  color: var(--color-text-muted);
  position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--color-text);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -.45rem;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
  width: 100%;
}

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

.header-actions .btn,
.header-actions .account-link {
  display: none !important;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(41,41,41,.10);
  position: relative;
}

.cart-link::before {
  content: '🛒';
  font-size: 1.1rem;
  line-height: 1;
}

.cart-link strong {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 .3rem;
  border-radius: 999px;
  background: var(--color-black);
  color: #fff;
  font-size: .72rem;
}

.cart-link span,
.cart-link .label {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

.hero-home--compact {
  padding: clamp(2rem,4vw,3rem) 0 1rem;
}

.hero-copy--full {
  width: 100%;
  max-width: none;
  min-height: clamp(360px, 38vw, 500px);
  padding: clamp(2.5rem, 6vw, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(41,41,41,.06);
  border-radius: 2rem;
  box-shadow: var(--shadow-sm);
}

.hero-copy--full h1 {
  max-width: 14ch;
}

.hero-copy--full p {
  max-width: 62ch;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.hero-slider-section {
  padding-bottom: 2rem;
}

.hero-slider--home {
  position: relative;
  min-height: 620px;
  border-radius: 2rem;
  overflow: hidden;
  background: #dfe2e8;
  border: 1px solid rgba(41,41,41,.06);
  box-shadow: var(--shadow-md);
}

.hero-slides-track,
.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slides-track {
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  min-height: 620px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px) scale(.985);
  transition: opacity 700ms cubic-bezier(.22,1,.36,1),
              transform 900ms cubic-bezier(.22,1,.36,1),
              visibility 0s linear 900ms;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  transition-delay: 0s;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(24,24,24,.64) 0%,rgba(24,24,24,.28) 55%,rgba(24,24,24,.12) 100%);
}

.hero-slide-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem,4vw,3rem);
  color: #fff;
  max-width: 760px;
  animation: criaxisSlideContentIn 700ms cubic-bezier(.22,1,.36,1);
}

.hero-slide:not(.is-active) .hero-slide-content {
  animation: none;
}

.hero-slide-content p,
.hero-slide-content h2 {
  color: #fff;
}

.hero-slide-content h2 {
  font-size: clamp(2rem,2.2vw,3.4rem);
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.5rem;
  display: flex;
  gap: .55rem;
  z-index: 4;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--color-primary);
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  backdrop-filter: blur(10px);
}

.hero-slider-arrow--prev {
  left: 1rem;
}

.hero-slider-arrow--next {
  right: 1rem;
}

.hero-fallback-card {
  padding: var(--space-8);
  display: grid;
  place-items: center;
  text-align: center;
  height: 100%;
  background: #fff;
  border-radius: 2rem;
}

.hero-fallback-logo {
  max-height: 56px;
  width: auto;
  margin-bottom: 1rem;
}

@keyframes criaxisSlideContentIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.section-title--centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.section-title--centered p {
  max-width: 56ch;
  margin-inline: auto;
}

.title-accent-line {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-orange);
  border-radius: 999px;
  margin: 1rem auto 0;
}

.services-showcase {
  background: linear-gradient(180deg,#f0f0f0 0%,#ededf1 100%);
}

.service-category-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}

.service-category-bar {
  width: 4px;
  height: 74px;
  border-radius: 999px;
  flex: 0 0 4px;
}

.service-category-heading--blue .service-category-bar {
  background: var(--color-primary);
}

.service-category-heading--orange .service-category-bar {
  background: var(--color-orange);
}

.service-category-heading h3 {
  font-size: clamp(1.7rem,1rem + 1.3vw,2.4rem);
  text-transform: uppercase;
  margin-bottom: .4rem;
  color: var(--color-black);
}

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

.service-card-grid + .service-card-grid {
  margin-top: 1.8rem;
}

.service-card-grid + .service-category-heading {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.service-card-advanced,
.tech-panel {
  background: #f6f6f7;
  border: 1px solid rgba(41,41,41,.05);
  border-radius: 1.5rem;
  box-shadow: none;
  padding: 2rem;
}

.service-card-icon,
.tech-panel-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.service-card-advanced h4,
.tech-panel h3 {
  font-size: 1.25rem;
  margin-bottom: .75rem;
  color: var(--color-black);
}

.service-card-advanced p,
.tech-panel p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.tech-highlight {
  background: #f4f4f4;
}

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

.tech-panel {
  text-align: center;
  padding: 2rem 1.5rem;
}

.tech-panel-icon {
  font-size: 2.2rem;
}

.tech-panel h3 {
  font-size: 1.15rem;
}

.section-products-home {
  background: linear-gradient(180deg, rgba(0,120,235,.03), #eceff3 100%);
}

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

.section-heading-row--stacked {
  justify-content: center;
  text-align: center;
}

.section-heading-copy {
  max-width: 760px;
  margin-inline: auto;
}

.section-heading-copy .section-intro {
  margin-inline: auto;
}

.section-intro {
  max-width: 62ch;
}

.criaxis-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.criaxis-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(41,41,41,.06);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: 1rem;
}

.criaxis-product-thumb-link {
  display: block;
  width: 100%;
}

.criaxis-product-thumb {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 1rem;
  background: #ececec;
  margin-bottom: 1rem;
}

.criaxis-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.criaxis-product-title {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: .75rem;
  color: var(--color-black);
}

.criaxis-product-title a {
  color: inherit;
}

.criaxis-product-price {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.criaxis-product-price del {
  opacity: .5;
  margin-right: .35rem;
}

.criaxis-product-button {
  width: 100%;
  margin-top: auto;
}

.section-products-home-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn-shop-all {
  min-width: 240px;
}

.cta-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg,#1e1e1e 0%,#292929 50%,#0078eb 100%);
  color: #fff;
  padding: var(--space-8);
  border-radius: 2rem;
  box-shadow: var(--shadow-md);
}

.cta-banner-copy--centered {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.cta-banner-copy--centered p {
  margin-inline: auto;
}

.cta-banner-inner p,
.cta-banner-inner h2 {
  color: #fff;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: center;
}

.page-content-card,
.product-gallery-card,
.product-summary-card,
.product-description-card,
.product-specs-card,
.woocommerce-cart-form,
.woocommerce-checkout form.checkout,
.woocommerce-order,
.woocommerce-account .woocommerce,
.woocommerce-cart .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid rgba(41,41,41,.06);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.page-content-card {
  padding: 2rem;
}

.site-footer {
  background: #000;
  color: #edf0f4;
  padding: var(--space-16) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-6);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo {
  max-height: 44px;
  width: auto;
}

.footer-logo--white {
  filter: brightness(0) invert(1);
}

.site-footer h4,
.site-footer h3 {
  color: #fff;
}

.site-footer p,
.site-footer a,
.footer-contact-list span {
  color: #c7ccd5;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.footer-contact-list {
  display: grid;
  gap: .6rem;
}

.footer-bottom {
  padding-top: var(--space-5);
  margin-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.08);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 18px 36px rgba(37,211,102,.35);
  z-index: 40;
  font-size: 1.65rem;
  animation: whatsappPulse 1.8s infinite;
}

.whatsapp-float span,
.whatsapp-float strong,
.whatsapp-float em {
  display: none !important;
}

.whatsapp-float::before {
  content: '✆';
  transform: translateY(-1px);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37,211,102,.45),0 18px 36px rgba(37,211,102,.35);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37,211,102,0),0 18px 36px rgba(37,211,102,.28);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0),0 18px 36px rgba(37,211,102,.35);
  }
}

@media (max-width: 1024px) {
  .service-card-grid,
  .tech-highlight-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .section-heading-row,
  .cta-banner-inner {
    align-items: start;
    flex-direction: column;
  }

  .section-heading-row--stacked {
    align-items: center;
  }

  .cta-banner-inner,
  .cta-banner-copy--centered,
  .cta-banner-actions {
    text-align: center;
    align-items: center;
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(41,41,41,.08);
    padding: 1rem;
    display: none;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    min-height: 74px;
  }

  .main-navigation {
    justify-self: stretch;
  }

  .hero-copy--full,
  .hero-slide-content,
  .service-card-advanced,
  .tech-panel,
  .page-content-card,
  .criaxis-product-card {
    padding: 1rem;
  }

  .hero-copy--full {
    min-height: 0;
    padding: 2.25rem 1.25rem;
    border-radius: 1.4rem;
  }

  .hero-copy--full h1 {
    max-width: 12ch;
  }

  .service-card-grid + .service-card-grid {
    margin-top: 1rem;
  }

  .hero-slider--home,
  .hero-slides-track,
  .hero-slide {
    min-height: 420px;
  }

  .cta-banner-actions .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .criaxis-products-grid {
    grid-template-columns: 1fr;
  }

  .btn-shop-all {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide-content {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

.about-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 2rem;
  align-items: stretch;
}

.about-hero-copy,
.about-highlight-card,
.about-story-card,
.about-value-card,
.about-location-panel {
  border-radius: 1.75rem;
}

.about-hero-copy {
  background: #fff;
  border: 1px solid rgba(41,41,41,.06);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 3rem);
}

.about-lead {
  font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem);
  line-height: 1.75;
  max-width: 62ch;
}

.about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.about-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: rgba(0,120,235,.08);
  color: var(--color-primary);
  font-weight: 700;
}

.about-highlight-card {
  background: linear-gradient(135deg, #1f1f1f 0%, #292929 55%, #0078eb 100%);
  color: #fff;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}

.about-highlight-card h2,
.about-highlight-card p {
  color: #fff;
}

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

.about-story-card {
  height: 100%;
}

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

.about-value-card {
  background: #fff;
  border: 1px solid rgba(41,41,41,.06);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.about-value-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-location-band {
  background: linear-gradient(135deg, #171717 0%, #292929 45%, #0078eb 100%);
  color: #fff;
}

.about-location-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
}

.about-location-copy h2,
.about-location-copy p {
  color: #fff;
}

.about-location-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  padding: 2rem;
}

.about-location-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-location-panel li {
  color: #fff;
  position: relative;
  padding-left: 1.25rem;
}

.about-location-panel li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-orange);
  position: absolute;
  left: 0;
  top: .6rem;
}

@media (max-width: 1024px) {
  .about-hero-grid,
  .about-story-grid,
  .about-values-grid,
  .about-location-grid {
    grid-template-columns: 1fr;
  }
}

.shop-page-section {
  background: linear-gradient(180deg, rgba(0,120,235,.03), #eceff3 100%);
}

.criaxis-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.criaxis-product-card--shop {
  height: 100%;
}

.criaxis-shop-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.criaxis-shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 .9rem;
  margin: 0 .25rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(41,41,41,.08);
  color: var(--color-text);
  font-weight: 700;
}

.criaxis-shop-pagination .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.shop-empty-state {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: 2rem;
}

.shop-empty-state .btn {
  margin-top: 1rem;
}

@media (max-width: 1024px) {
  .criaxis-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .criaxis-shop-grid {
    grid-template-columns: 1fr;
  }
}

.criaxis-shop-toolbar {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.criaxis-shop-toolbar-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.shop-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #292929;
}

.shop-field input,
.shop-field select {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  border-radius: 14px;
  border: 1px solid rgba(41, 41, 41, 0.12);
  background: #f0f0f0;
  color: #292929;
}

.shop-field-actions {
  display: flex;
  gap: 0.75rem;
}

.criaxis-shop-meta {
  margin-bottom: 1.25rem;
  color: #292929;
  font-weight: 500;
}

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

.criaxis-product-card--shop {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(41, 41, 41, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.criaxis-product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f0f0f0;
}

.criaxis-product-body {
  padding: 1.25rem;
}

.criaxis-product-title {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.criaxis-product-title a {
  color: #292929;
  text-decoration: none;
}

.criaxis-product-price {
  margin-bottom: 1rem;
  color: #0078eb;
  font-weight: 700;
}

.criaxis-shop-pagination {
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .criaxis-shop-toolbar-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .criaxis-shop-toolbar-grid {
    grid-template-columns: 1fr;
  }

  .shop-field-actions {
    flex-direction: column;
  }

  .criaxis-shop-grid {
    grid-template-columns: 1fr;
  }
}

/* SINGLE PRODUCT - CRIAXIS */

body.single-product .product-page {
  width: 100%;
}

body.single-product .product-page > .container {
  width: min(1380px, calc(100% - 48px));
  max-width: 1380px;
  margin: 0 auto;
  padding: 0;
}

body.single-product .product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 32px;
  align-items: start;
}

body.single-product .product-gallery-column,
body.single-product .product-summary-column {
  min-width: 0;
}

body.single-product .product-gallery-card,
body.single-product .product-summary-card,
body.single-product .product-description-card,
body.single-product .product-specs-card {
  background: #fff;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

body.single-product .product-gallery-card .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
}

body.single-product .product-gallery-card .woocommerce-product-gallery__image:first-child {
  border-radius: 20px;
  overflow: hidden;
  background: #f0f0f0;
}

body.single-product .product-gallery-card .woocommerce-product-gallery__image:first-child a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}

body.single-product .product-gallery-card .woocommerce-product-gallery__image:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

body.single-product .product-gallery-card .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px !important;
}

body.single-product .product-gallery-card .flex-control-thumbs li {
  width: 100% !important;
  float: none !important;
  list-style: none;
}

body.single-product .product-gallery-card .flex-control-thumbs img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(41, 41, 41, 0.08);
  background: #f0f0f0;
}

body.single-product .product-title-custom {
  margin: 10px 0 10px;
  font-size: clamp(2.2rem, 1.7rem + 1.8vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #292929;
}

body.single-product .product-benefit {
  margin: 0 0 18px;
  color: #0078eb;
  font-weight: 700;
  line-height: 1.5;
}

body.single-product .product-summary-native .product_title,
body.single-product .product-summary-native .woocommerce-review-link,
body.single-product .product-summary-native .star-rating,
body.single-product .product-summary-native .product_meta {
  display: none !important;
}

body.single-product .product-summary-native .price {
  display: block;
  margin: 0 0 18px !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #0078eb !important;
}

body.single-product .product-summary-native .woocommerce-product-details__short-description {
  color: rgba(41, 41, 41, 0.76);
  line-height: 1.75;
  margin-bottom: 18px;
}

body.single-product .product-summary-native form.cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 0 0 20px !important;
}

body.single-product .product-summary-native .quantity {
  width: 100%;
  margin: 0 !important;
}

body.single-product .product-summary-native .quantity .qty {
  width: 100% !important;
  max-width: 100% !important;
  height: 52px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(41, 41, 41, 0.12) !important;
  background: #f0f0f0 !important;
  padding: 0 14px !important;
}

body.single-product .product-summary-native .single_add_to_cart_button {
  width: 100% !important;
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #0078eb !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 24px rgba(0, 120, 235, 0.2) !important;
}

body.single-product .product-summary-native .single_add_to_cart_button:hover {
  background: #066fd5 !important;
}

body.single-product .product-extra-box {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

body.single-product .product-extra-item {
  padding: 16px;
  border-radius: 18px;
  background: #f7f8fa;
  border: 1px solid rgba(41, 41, 41, 0.06);
}

body.single-product .product-extra-item strong {
  display: block;
  margin-bottom: 4px;
  color: #292929;
}

body.single-product .product-extra-item span {
  color: rgba(41, 41, 41, 0.72);
  line-height: 1.55;
}

body.single-product .product-shipping-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(41, 41, 41, 0.08);
}

body.single-product .product-shipping-box h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #292929;
}

body.single-product .product-shipping-box p {
  margin-bottom: 14px;
  color: rgba(41, 41, 41, 0.72);
  line-height: 1.6;
}

body.single-product .product-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}

body.single-product .product-description-card .entry-content {
  color: rgba(41, 41, 41, 0.76);
  line-height: 1.8;
}

body.single-product .product-description-card .entry-content p + p {
  margin-top: 16px;
}

body.single-product .criaxis-specs-table {
  display: grid;
}

body.single-product .criaxis-specs-table .spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(41, 41, 41, 0.08);
}

body.single-product .criaxis-specs-table .spec-row strong {
  color: #292929;
}

body.single-product .criaxis-specs-table .spec-row span {
  color: rgba(41, 41, 41, 0.72);
  text-align: right;
}

body.single-product .product-bottom-block {
  margin-top: 32px;
}

@media (max-width: 1100px) {
  body.single-product .product-layout,
  body.single-product .product-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.single-product .product-page > .container {
    width: calc(100% - 24px);
  }

  body.single-product .product-gallery-card,
  body.single-product .product-summary-card,
  body.single-product .product-description-card,
  body.single-product .product-specs-card {
    padding: 18px;
    border-radius: 18px;
  }

  body.single-product .product-gallery-card .flex-control-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.single-product .criaxis-specs-table .spec-row {
    flex-direction: column;
  }

  body.single-product .criaxis-specs-table .spec-row span {
    text-align: left;
  }
}

body.single-product .product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(420px, 0.92fr);
  gap: 32px;
  align-items: start;
}

body.single-product .product-gallery-card {
  padding: 18px;
}

body.single-product .product-gallery-card .woocommerce-product-gallery__image:first-child a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  border-radius: 18px;
}

body.single-product .product-gallery-card .woocommerce-product-gallery__image:first-child img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
}

body.single-product .product-gallery-card .flex-viewport {
  border-radius: 18px;
  overflow: hidden;
  background: #f0f0f0;
}

body.single-product .product-gallery-card .woocommerce-product-gallery__wrapper {
  height: 100%;
}

body.single-product .product-gallery-card .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px !important;
}

body.single-product .product-gallery-card .flex-control-thumbs img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 14px;
  border: 1px solid rgba(41, 41, 41, 0.08);
  background: #f0f0f0;
}

body.single-product .product-bottom-block {
  margin-top: 40px;
}

body.single-product .product-bottom-block > h2,
body.single-product .related > h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 1.6rem + 1vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #292929;
}

body.single-product .related ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.single-product .related ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

body.single-product .related ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 18px;
  margin-bottom: 14px !important;
  background: #f0f0f0;
}

body.single-product .related ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem !important;
  line-height: 1.3;
  color: #292929;
  margin: 0 0 10px !important;
}

body.single-product .related ul.products li.product .price {
  display: block;
  margin-bottom: 12px !important;
  color: #0078eb !important;
  font-weight: 800;
  font-size: 1.1rem;
}

body.single-product .related ul.products li.product .button {
  width: 100%;
  min-height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #0078eb !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 700;
  text-decoration: none;
}

body.single-product .related ul.products li.product .button:hover {
  background: #066fd5 !important;
}

@media (max-width: 1100px) {
  body.single-product .related ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.single-product .related ul.products {
    grid-template-columns: 1fr;
  }
}

/* CART + CHECKOUT - CRIAXIS */

body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-page .site-main {
  padding-bottom: 48px;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  width: min(1380px, calc(100% - 48px));
  max-width: 1380px;
  margin: 0 auto;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-cart h1,
body.woocommerce-checkout h1 {
  font-size: clamp(2.8rem, 2.2rem + 2vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: #292929;
  margin-bottom: 24px;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout form.woocommerce-checkout,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout form.woocommerce-checkout,
body.woocommerce-checkout #order_review {
  padding: 24px;
}

body.woocommerce-cart table.shop_table,
body.woocommerce-checkout table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  border: 0 !important;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td,
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
  border-bottom: 1px solid rgba(41, 41, 41, 0.08) !important;
  padding: 18px 14px !important;
  vertical-align: middle;
  color: #292929;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-checkout table.shop_table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0078eb;
  font-weight: 800;
}

body.woocommerce-cart td.product-thumbnail img,
body.woocommerce-checkout td.product-thumbnail img {
  width: 110px !important;
  height: 110px !important;
  object-fit: cover !important;
  border-radius: 18px;
  background: #f0f0f0;
}

body.woocommerce-cart td.product-name a,
body.woocommerce-checkout td.product-name a,
body.woocommerce-cart .product-name,
body.woocommerce-checkout .product-name {
  color: #292929;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
}

body.woocommerce-cart .product-price,
body.woocommerce-cart .product-subtotal,
body.woocommerce-checkout .product-total,
body.woocommerce-checkout .amount {
  color: #0078eb;
  font-weight: 800;
}

body.woocommerce-cart .quantity .qty,
body.woocommerce-checkout .quantity .qty,
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-cart .coupon .input-text {
  width: 100%;
  min-height: 52px;
  border-radius: 16px !important;
  border: 1px solid rgba(41, 41, 41, 0.12) !important;
  background: #f0f0f0 !important;
  color: #292929 !important;
  padding: 0 16px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout textarea {
  min-height: 120px;
  padding-top: 14px !important;
  resize: vertical;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--multiple {
  min-height: 52px;
  border-radius: 16px !important;
  border: 1px solid rgba(41, 41, 41, 0.12) !important;
  background: #f0f0f0 !important;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

body.woocommerce-checkout .select2-container .select2-selection__rendered {
  color: #292929 !important;
  line-height: 52px !important;
  padding-left: 0 !important;
}

body.woocommerce-checkout .select2-container .select2-selection__arrow {
  height: 52px !important;
}

body.woocommerce-cart button.button,
body.woocommerce-cart a.button,
body.woocommerce-cart button[name="update_cart"],
body.woocommerce-cart .checkout-button,
body.woocommerce-checkout button.button,
body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout .button,
body.woocommerce-checkout a.button {
  min-height: 54px;
  padding: 0 22px !important;
  border-radius: 16px !important;
  border: 0 !important;
  background: #0078eb !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 120, 235, 0.2) !important;
}

body.woocommerce-cart button.button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart .checkout-button:hover,
body.woocommerce-checkout button.button:hover,
body.woocommerce-checkout #payment #place_order:hover,
body.woocommerce-checkout .button:hover,
body.woocommerce-checkout a.button:hover {
  background: #066fd5 !important;
  color: #fff !important;
}

body.woocommerce-cart .coupon {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.woocommerce-cart .coupon .input-text {
  flex: 1 1 220px;
  max-width: 320px;
}

body.woocommerce-cart .cart-collaterals {
  margin-top: 24px;
}

body.woocommerce-cart .cart_totals h2,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3,
body.woocommerce-checkout #ship-to-different-address {
  font-size: clamp(1.8rem, 1.5rem + 0.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #292929;
  margin-bottom: 18px;
}

body.woocommerce-checkout .form-row {
  margin-bottom: 16px;
}

body.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 8px;
  color: #292929;
  font-weight: 600;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  margin-bottom: 20px;
}

body.woocommerce-checkout #payment {
  background: transparent !important;
  border: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
  padding: 0 !important;
  border: 0 !important;
  margin: 0 0 18px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  list-style: none;
  padding: 16px 18px !important;
  margin-bottom: 12px;
  background: #f7f8fa;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 18px;
}

body.woocommerce-checkout #payment div.payment_box {
  margin-top: 12px !important;
  background: #fff !important;
  border: 1px solid rgba(41, 41, 41, 0.08) !important;
  border-radius: 16px !important;
  color: rgba(41, 41, 41, 0.76) !important;
  box-shadow: none !important;
}

body.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout,
body.woocommerce-checkout .place-order {
  padding-bottom: 0 !important;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message {
  border: 1px solid rgba(0, 120, 235, 0.15);
  background: rgba(0, 120, 235, 0.06);
  color: #292929;
  border-radius: 16px;
  padding: 16px 18px !important;
}

body.woocommerce-cart .cart-empty,
body.woocommerce-checkout .return-to-shop {
  background: #fff;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 24px;
  padding: 24px;
}

@media (max-width: 1024px) {
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce {
    width: calc(100% - 24px);
  }

  body.woocommerce-cart .coupon {
    flex-direction: column;
    align-items: stretch;
  }

  body.woocommerce-cart .coupon .input-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body.woocommerce-cart table.shop_table_responsive tr,
  body.woocommerce-checkout table.shop_table_responsive tr {
    display: block;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid rgba(41, 41, 41, 0.08);
    border-radius: 18px;
    overflow: hidden;
  }

  body.woocommerce-cart table.shop_table_responsive td,
  body.woocommerce-checkout table.shop_table_responsive td {
    display: flex !important;
    justify-content: space-between;
    gap: 12px;
    text-align: right !important;
  }

  body.woocommerce-cart table.shop_table_responsive td::before,
  body.woocommerce-checkout table.shop_table_responsive td::before {
    color: #292929;
    font-weight: 700;
  }

  body.woocommerce-cart td.product-thumbnail img {
    width: 88px !important;
    height: 88px !important;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-checkout form.checkout_coupon,
  body.woocommerce-checkout form.woocommerce-checkout,
  body.woocommerce-checkout #order_review {
    padding: 18px;
    border-radius: 18px;
  }


}

/* CART + CHECKOUT - CRIAXIS REFINED */

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  width: min(1280px, calc(100% - 64px));
  max-width: 1280px;
  margin: 0 auto;
}

body.woocommerce-cart .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .woocommerce {
  margin-top: 40px;
}

body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  width: min(1280px, calc(100% - 64px));
  max-width: 1280px;
  margin: 0 auto 32px;
  font-size: clamp(3rem, 2.3rem + 2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #292929;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout form.woocommerce-checkout {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.woocommerce-checkout form.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.72fr);
  gap: 32px;
  align-items: start;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
  min-width: 0;
}

body.woocommerce-checkout #customer_details {
  display: grid;
  gap: 24px;
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review {
  padding: 28px;
}

body.woocommerce-checkout .col2-set {
  display: grid;
  gap: 28px;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

body.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 0;
}

body.woocommerce-checkout #order_review {
  position: sticky;
  top: 120px;
}

body.woocommerce-checkout #order_review_heading {
  display: none;
}

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3,
body.woocommerce-checkout #ship-to-different-address {
  margin: 0 0 24px;
  font-size: clamp(2rem, 1.6rem + 0.8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #292929;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
  margin-bottom: 20px;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: rgba(0, 120, 235, 0.06);
  border: 1px solid rgba(0, 120, 235, 0.14);
  border-radius: 18px;
  color: #292929;
  padding: 16px 18px !important;
}

body.woocommerce-checkout .form-row {
  margin: 0 0 18px !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  gap: 2px;
}

body.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 10px;
  color: #292929;
  font-weight: 700;
  font-size: 0.98rem;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--multiple {
  width: 100%;
  min-height: 56px;
  border-radius: 18px !important;
  border: 1px solid rgba(41, 41, 41, 0.12) !important;
  background: #f3f4f6 !important;
  color: #292929 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select {
  padding: 0 18px !important;
}

body.woocommerce-checkout textarea {
  min-height: 140px;
  padding: 18px !important;
  resize: vertical;
}

body.woocommerce-checkout .select2-container .select2-selection__rendered {
  line-height: 56px !important;
  padding-left: 0 !important;
  color: #292929 !important;
}

body.woocommerce-checkout .select2-container .select2-selection__arrow {
  height: 56px !important;
}

body.woocommerce-checkout .woocommerce-shipping-fields {
  margin-top: 8px;
}

body.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 8px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  margin: 0 0 24px;
}

body.woocommerce-checkout table.shop_table {
  border: 0 !important;
  background: transparent;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(41, 41, 41, 0.08) !important;
  vertical-align: top;
}

body.woocommerce-checkout table.shop_table th {
  color: #0078eb;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
}

body.woocommerce-checkout .product-name,
body.woocommerce-checkout .product-total,
body.woocommerce-checkout .amount {
  color: #292929;
  font-weight: 700;
}

body.woocommerce-checkout .product-total .amount,
body.woocommerce-checkout .order-total .amount,
body.woocommerce-checkout .cart-subtotal .amount {
  color: #0078eb;
  font-weight: 800;
  font-size: 1.1rem;
}

body.woocommerce-checkout #payment {
  margin-top: 24px;
  background: transparent !important;
  border: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
  display: grid;
  gap: 14px;
  padding: 0 !important;
  margin: 0 0 24px !important;
  border: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  list-style: none;
  margin: 0 !important;
  padding: 18px 18px 16px !important;
  background: #f7f8fa;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 20px;
}

body.woocommerce-checkout #payment ul.payment_methods li > label {
  font-weight: 700;
  color: #292929;
}

body.woocommerce-checkout #payment div.payment_box {
  margin: 14px 0 0 !important;
  padding: 16px !important;
  background: #fff !important;
  border: 1px solid rgba(41, 41, 41, 0.08) !important;
  border-radius: 16px !important;
  color: rgba(41, 41, 41, 0.76) !important;
  box-shadow: none !important;
}

body.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

body.woocommerce-checkout .place-order {
  padding-top: 8px !important;
}

body.woocommerce-checkout #payment #place_order {
  width: 100%;
  min-height: 56px;
  border: 0 !important;
  border-radius: 18px !important;
  background: #0078eb !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 24px rgba(0, 120, 235, 0.2) !important;
}

body.woocommerce-checkout #payment #place_order:hover {
  background: #066fd5 !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
  background: #fff;
  border: 1px solid rgba(41, 41, 41, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
  padding: 28px;
}

body.woocommerce-cart .woocommerce-cart-form {
  margin-bottom: 28px;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
  padding: 18px 12px !important;
  border-bottom: 1px solid rgba(41, 41, 41, 0.08) !important;
}

body.woocommerce-cart .coupon {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

body.woocommerce-cart .coupon .input-text {
  flex: 1 1 240px;
  min-height: 54px;
  border-radius: 16px !important;
  border: 1px solid rgba(41, 41, 41, 0.12) !important;
  background: #f3f4f6 !important;
  padding: 0 16px !important;
}

body.woocommerce-cart .button,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart button.button {
  min-height: 54px;
  padding: 0 22px !important;
  border-radius: 16px !important;
  border: 0 !important;
  background: #0078eb !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 24px rgba(0, 120, 235, 0.2) !important;
}

body.woocommerce-cart .button:hover,
body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart button.button:hover {
  background: #066fd5 !important;
}

@media (max-width: 1100px) {
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-cart h1,
  body.woocommerce-checkout h1,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title {
    width: calc(100% - 32px);
  }

  body.woocommerce-checkout form.woocommerce-checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout #order_review {
    position: static;
  }
}

@media (max-width: 768px) {
  body.woocommerce-checkout .col2-set,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout #order_review,
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals {
    padding: 20px;
    border-radius: 20px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields > h3,
  body.woocommerce-checkout .woocommerce-additional-fields > h3,
  body.woocommerce-checkout #ship-to-different-address {
    font-size: 2.1rem;
  }

  body.woocommerce-cart .coupon {
    flex-direction: column;
  }
}

body.woocommerce-checkout form.woocommerce-checkout {
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  gap: 28px;
}

body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .woocommerce {
  margin-top: 52px;
}

body.woocommerce-checkout #customer_details {
  gap: 20px;
}

body.woocommerce-checkout #order_review {
  padding: 24px;
}

/* =========================================================
   HOME — VITRINE DE PRODUTOS
   Regras finais: manter no fim do arquivo para prevalecer
   sobre estilos anteriores e estilos do WooCommerce.
   ========================================================= */

.section-products-home .criaxis-products-grid {
  display: grid !important;
  width: 100% !important;
  margin-inline: auto !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

.section-products-home .criaxis-products-grid--count-1 {
  grid-template-columns: minmax(240px, 280px) !important;
}

.section-products-home .criaxis-products-grid--count-2 {
  grid-template-columns: repeat(2, minmax(240px, 280px)) !important;
}

.section-products-home .criaxis-products-grid--count-3 {
  grid-template-columns: repeat(3, minmax(240px, 280px)) !important;
}

.section-products-home .criaxis-products-grid--count-4 {
  grid-template-columns: repeat(4, minmax(220px, 280px)) !important;
}

.section-products-home .criaxis-product-card {
  width: 100% !important;
  max-width: 280px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: center !important;
}

.section-products-home .criaxis-product-body {
  flex: 1 1 auto !important;
  width: 100% !important;
  padding: 0.25rem 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.section-products-home .criaxis-product-title,
.section-products-home .criaxis-product-title a,
.section-products-home .criaxis-product-price,
.section-products-home .criaxis-product-price .amount,
.section-products-home .criaxis-product-price ins,
.section-products-home .criaxis-product-price del {
  width: 100% !important;
  text-align: center !important;
}

.section-products-home .criaxis-product-title {
  margin: 0 0 0.75rem !important;
}

.section-products-home .criaxis-product-price {
  margin: 0 0 1rem !important;
}

.section-products-home .criaxis-product-button {
  width: 100% !important;
  margin-top: auto !important;
}

@media (max-width: 1100px) {
  .section-products-home .criaxis-products-grid--count-3,
  .section-products-home .criaxis-products-grid--count-4 {
    grid-template-columns: repeat(2, minmax(240px, 280px)) !important;
  }
}

@media (max-width: 640px) {
  .section-products-home .criaxis-products-grid,
  .section-products-home .criaxis-products-grid--count-1,
  .section-products-home .criaxis-products-grid--count-2,
  .section-products-home .criaxis-products-grid--count-3,
  .section-products-home .criaxis-products-grid--count-4 {
    grid-template-columns: minmax(0, 320px) !important;
  }

  .section-products-home .criaxis-product-card {
    max-width: 320px !important;
  }
}

/* =========================================================
   PÁGINA DE CONTATO — CRIAXIS
   ========================================================= */

.contact-page {
  background: var(--color-bg);
}

.contact-hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.contact-hero-copy,
.contact-summary-card,
.contact-info-panel,
.contact-form-card {
  border-radius: 1.75rem;
}

.contact-hero-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #fff;
  border: 1px solid rgba(41, 41, 41, .07);
  box-shadow: var(--shadow-sm);
}

.contact-hero-copy h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
}

.contact-hero-copy > p {
  max-width: 60ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.contact-summary-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(145deg, #181818 0%, #292929 55%, #0078eb 130%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.contact-summary-card h2,
.contact-summary-card p,
.contact-summary-card small,
.contact-summary-card strong {
  color: #fff;
}

.contact-summary-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
}

.contact-summary-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  background: rgba(255,255,255,.07);
  transition: transform var(--transition), background var(--transition);
}

a.contact-summary-item:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
}

.contact-summary-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: .85rem;
  background: rgba(255,255,255,.12);
  font-size: 1.2rem;
}

.contact-summary-item strong,
.contact-summary-item small {
  display: block;
}

.contact-summary-item small {
  margin-top: .15rem;
  opacity: .78;
  overflow-wrap: anywhere;
}

.contact-content-section {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.contact-content-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-info-panel,
.contact-form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid rgba(41,41,41,.07);
  box-shadow: var(--shadow-sm);
}

.contact-info-panel {
  position: sticky;
  top: 120px;
}

.contact-steps {
  list-style: none;
  counter-reset: contact-step;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-steps li {
  counter-increment: contact-step;
  position: relative;
  padding-left: 3.4rem;
}

.contact-steps li::before {
  content: counter(contact-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  background: rgba(0,120,235,.1);
  color: var(--color-primary);
  font-weight: 900;
}

.contact-steps strong,
.contact-steps span {
  display: block;
}

.contact-steps span {
  color: var(--color-text-muted);
  margin-top: .2rem;
  line-height: 1.55;
}

.contact-support-note {
  padding: 1.1rem;
  border-radius: 1rem;
  background: rgba(254,136,1,.08);
  border: 1px solid rgba(254,136,1,.18);
}

.contact-support-note p {
  margin: .3rem 0 0;
}

.contact-form-card h2 {
  margin-bottom: .65rem;
}

.contact-form-intro {
  margin-bottom: 1.5rem;
}

.criaxis-contact-form {
  display: grid;
  gap: 1.15rem;
}

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

.contact-field {
  display: grid;
  gap: .5rem;
}

.contact-field label {
  font-weight: 800;
  color: var(--color-text);
}

.contact-field label span {
  color: #d92d20;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 54px;
  padding: .9rem 1rem;
  border: 1px solid rgba(41,41,41,.14);
  border-radius: .9rem;
  background: #f7f8fa;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-field textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0,120,235,.1);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #8a9099;
}

.contact-submit-button {
  width: 100%;
  min-height: 56px;
  margin-top: .25rem;
}

.contact-privacy-note {
  margin: -.25rem 0 0;
  font-size: .86rem;
  text-align: center;
}

.contact-alert {
  padding: 1rem 1.1rem;
  border-radius: .9rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.contact-alert--success {
  background: rgba(18, 183, 106, .1);
  color: #067647;
  border: 1px solid rgba(18, 183, 106, .22);
}

.contact-alert--error {
  background: rgba(217, 45, 32, .08);
  color: #b42318;
  border: 1px solid rgba(217, 45, 32, .18);
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .contact-hero-grid,
  .contact-content-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    position: static;
  }

  .contact-hero-copy h1 {
    max-width: 18ch;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding-top: 2rem;
  }

  .contact-hero-copy,
  .contact-summary-card,
  .contact-info-panel,
  .contact-form-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .contact-hero-actions,
  .contact-hero-actions .btn {
    width: 100%;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   LOJA CRIAXIS — experiência de catálogo
   ========================================================= */

.shop-experience {
  background: var(--color-bg);
}

.shop-hero {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(0,120,235,.14), transparent 32%),
    radial-gradient(circle at 12% 80%, rgba(254,136,1,.08), transparent 26%),
    var(--color-bg);
}

.shop-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.shop-hero-copy,
.shop-hero-highlight {
  border-radius: 2rem;
}

.shop-hero-copy {
  padding: clamp(2rem, 5vw, 4.75rem);
  background: #fff;
  border: 1px solid rgba(41,41,41,.07);
  box-shadow: var(--shadow-sm);
}

.shop-hero-copy h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 2rem + 3vw, 5.1rem);
}

.shop-hero-copy > p {
  max-width: 59ch;
  font-size: clamp(1rem, .95rem + .35vw, 1.22rem);
}

.shop-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.shop-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.75rem;
}

.shop-trust-list span {
  padding: .65rem .9rem;
  border-radius: 999px;
  background: rgba(0,120,235,.08);
  color: var(--color-primary);
  font-size: .88rem;
  font-weight: 800;
}

.shop-hero-highlight {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(145deg, #171717 0%, #292929 58%, #0078eb 145%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.shop-hero-highlight h2,
.shop-hero-highlight p {
  color: #fff;
}

.shop-hero-highlight .btn {
  align-self: flex-start;
  margin-top: .5rem;
}

.shop-categories-section,
.shop-featured-section,
.shop-catalog-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.shop-categories-section {
  background: #fff;
}

.shop-featured-section {
  background: linear-gradient(180deg, #eceff3 0%, #f4f5f7 100%);
}

.shop-catalog-section {
  background: var(--color-bg);
}

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

.shop-section-heading h2 {
  margin-bottom: .55rem;
}

.shop-section-heading p {
  margin-bottom: 0;
}

.shop-section-heading--centered {
  justify-content: center;
  text-align: center;
}

.shop-section-heading--centered > div {
  max-width: 760px;
}

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

.shop-category-card {
  position: relative;
  min-height: 240px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #292929;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.shop-category-card img,
.shop-category-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shop-category-card img {
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.16,1,.3,1);
}

.shop-category-placeholder {
  display: grid;
  place-items: center;
  font-size: 4rem;
  color: rgba(255,255,255,.5);
  background: linear-gradient(145deg, #292929, #0078eb);
}

.shop-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(0,0,0,.78) 100%);
  z-index: 1;
}

.shop-category-content {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.2rem;
  z-index: 2;
  color: #fff;
}

.shop-category-content strong,
.shop-category-content span {
  display: block;
  color: #fff;
}

.shop-category-content strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.shop-category-content span {
  margin-top: .25rem;
  opacity: .78;
}

.shop-category-card:hover img {
  transform: scale(1.06);
}

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

.shop-featured-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid rgba(41,41,41,.07);
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.shop-featured-image {
  aspect-ratio: 1 / .88;
  overflow: hidden;
  background: #e9ebef;
}

.shop-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.16,1,.3,1);
}

.shop-featured-card:hover .shop-featured-image img {
  transform: scale(1.035);
}

.shop-featured-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

.shop-featured-body h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: .55rem 0 .7rem;
}

.shop-product-kicker,
.shop-product-category {
  color: var(--color-primary);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.shop-product-price {
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 900;
}

.shop-featured-body .btn {
  width: 100%;
  margin-top: 1rem;
}

.shop-filter-panel {
  padding: 1.25rem;
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid rgba(41,41,41,.08);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.shop-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(2, minmax(160px, .8fr)) repeat(2, minmax(120px, .55fr));
  gap: 1rem;
  align-items: end;
}

.shop-filter-field {
  display: grid;
  gap: .45rem;
}

.shop-filter-field label {
  color: var(--color-text);
  font-size: .86rem;
  font-weight: 800;
}

.shop-filter-field input,
.shop-filter-field select {
  width: 100%;
  height: 52px;
  padding: 0 .95rem;
  border: 1px solid rgba(41,41,41,.13);
  border-radius: .9rem;
  background: #f7f8fa;
  color: var(--color-text);
  outline: none;
}

.shop-filter-field input:focus,
.shop-filter-field select:focus {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0,120,235,.1);
}

.shop-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: .75rem;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  gap: 1.35rem;
}

.shop-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(41,41,41,.07);
  border-radius: 1.45rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.shop-product-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e9ebef;
}

.shop-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.16,1,.3,1);
}

.shop-product-card:hover .shop-product-image img {
  transform: scale(1.035);
}

.shop-product-badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: var(--color-orange);
  color: #fff;
  font-size: .75rem;
  font-weight: 900;
}

.shop-product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem;
  text-align: center;
}

.shop-product-title {
  width: 100%;
  margin: .45rem 0 .7rem;
  font-size: 1.08rem;
  line-height: 1.28;
  text-align: center;
}

.shop-product-price {
  width: 100%;
  text-align: center;
}

.shop-product-actions {
  width: 100%;
  display: grid;
  gap: .6rem;
  margin-top: auto;
  padding-top: 1rem;
}

.shop-product-actions .btn {
  width: 100%;
}

.shop-quick-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,120,235,.18);
  color: var(--color-primary);
  font-weight: 800;
  transition: all var(--transition);
}

.shop-quick-add:hover {
  background: rgba(0,120,235,.08);
}

.shop-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2.5rem;
}

.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 .9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(41,41,41,.09);
  font-weight: 800;
}

.shop-pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.shop-empty-state {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  background: #fff;
  border: 1px solid rgba(41,41,41,.07);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.shop-empty-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.shop-emotional-cta {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  background: var(--color-bg);
}

.shop-emotional-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2rem;
  background: linear-gradient(135deg, #181818 0%, #292929 52%, #0078eb 130%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.shop-emotional-cta-inner h2,
.shop-emotional-cta-inner p {
  color: #fff;
}

.shop-emotional-cta-inner > div {
  max-width: 760px;
}

@media (max-width: 1100px) {
  .shop-hero-grid {
    grid-template-columns: 1fr;
  }

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

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

  .shop-filter-field--search {
    grid-column: 1 / -1;
  }

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

@media (max-width: 820px) {
  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-emotional-cta-inner,
  .shop-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shop-hero {
    padding-top: 2rem;
  }

  .shop-hero-copy,
  .shop-hero-highlight {
    padding: 1.25rem;
    border-radius: 1.35rem;
  }

  .shop-hero-actions,
  .shop-hero-actions .btn,
  .shop-hero-highlight .btn {
    width: 100%;
  }

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

  .shop-category-card {
    min-height: 210px;
  }

  .shop-filter-actions {
    flex-direction: column;
  }

  .shop-filter-actions .btn,
  .shop-empty-actions .btn,
  .shop-emotional-cta-inner .btn {
    width: 100%;
  }

  .shop-emotional-cta-inner {
    padding: 1.5rem;
    border-radius: 1.35rem;
  }
}

/* LOJA: filtros instantâneos, estética orgânica e grade centralizada */
.shop-categories-section,.shop-featured-section{display:none!important}.shop-catalog-section{padding-top:clamp(3.5rem,7vw,6rem)}
.shop-filter-panel--organic{position:relative;isolation:isolate;overflow:hidden;padding:clamp(1.25rem,3vw,2rem);border:1px solid rgba(255,255,255,.72);border-radius:2.8rem 1.4rem 2.8rem 1.4rem;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(244,248,252,.88));box-shadow:0 24px 60px rgba(41,41,41,.08),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(18px)}
.shop-filter-glow{position:absolute;width:240px;height:240px;border-radius:44% 56% 65% 35%/41% 38% 62% 59%;filter:blur(8px);opacity:.14;z-index:-1;pointer-events:none}.shop-filter-glow--blue{top:-145px;right:10%;background:var(--color-primary);transform:rotate(24deg)}.shop-filter-glow--orange{left:-130px;bottom:-170px;background:var(--color-orange);transform:rotate(-18deg)}
.shop-filter-panel--organic .shop-filter-grid{position:relative;display:grid;grid-template-columns:minmax(260px,1.55fr) minmax(150px,.72fr) minmax(150px,.72fr) minmax(115px,.46fr) minmax(115px,.46fr) auto;gap:.85rem;align-items:end}.shop-filter-panel--organic .shop-filter-field{gap:.42rem}.shop-filter-panel--organic .shop-filter-field label{padding-left:.25rem;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.shop-filter-panel--organic .shop-filter-field input,.shop-filter-panel--organic .shop-filter-field select,.shop-search-control{min-height:54px;border:1px solid rgba(41,41,41,.09);border-radius:999px;background:rgba(255,255,255,.84);box-shadow:0 8px 22px rgba(41,41,41,.04)}.shop-filter-panel--organic .shop-filter-field input,.shop-filter-panel--organic .shop-filter-field select{height:54px;padding-inline:1rem}.shop-search-control{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;padding-left:1rem}.shop-search-control>span{color:var(--color-primary);font-size:1.3rem}.shop-search-control input{min-height:50px!important;height:50px!important;padding-left:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.shop-filter-panel--organic input:focus,.shop-filter-panel--organic select:focus,.shop-search-control:focus-within{border-color:rgba(0,120,235,.45);box-shadow:0 0 0 4px rgba(0,120,235,.09),0 10px 24px rgba(41,41,41,.05)}.shop-clear-filters{min-height:54px;padding:0 1rem;border:0;border-radius:999px;background:rgba(41,41,41,.06);color:var(--color-text);font-weight:800;cursor:pointer}.shop-clear-filters:hover{background:rgba(0,120,235,.1);color:var(--color-primary)}
.shop-product-grid{grid-template-columns:repeat(4,minmax(220px,280px))!important;justify-content:center!important}.shop-product-grid--count-1{grid-template-columns:minmax(220px,280px)!important}.shop-product-grid--count-2{grid-template-columns:repeat(2,minmax(220px,280px))!important}.shop-product-grid--count-3{grid-template-columns:repeat(3,minmax(220px,280px))!important}.shop-product-grid--count-4{grid-template-columns:repeat(4,minmax(220px,280px))!important}.shop-product-grid.is-filtering{opacity:.42;transform:translateY(6px);pointer-events:none;transition:.18s}.shop-product-grid.is-empty{display:none!important}.shop-empty-state.is-hidden{display:none!important}
.shop-infinite-status{display:flex;min-height:72px;align-items:center;justify-content:center;gap:.75rem;margin-top:1.5rem;color:var(--color-text-muted);font-size:.92rem}.shop-loading-spinner{display:none;width:22px;height:22px;border:3px solid rgba(0,120,235,.15);border-top-color:var(--color-primary);border-radius:999px;animation:criaxisShopSpin .75s linear infinite}.shop-infinite-status.is-loading .shop-loading-spinner{display:block}.shop-infinite-sentinel{width:100%;height:1px}@keyframes criaxisShopSpin{to{transform:rotate(360deg)}}
@media(max-width:1180px){.shop-filter-panel--organic .shop-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-filter-field--search{grid-column:1/-1}.shop-clear-filters{width:100%}.shop-product-grid,.shop-product-grid--count-3,.shop-product-grid--count-4{grid-template-columns:repeat(2,minmax(220px,300px))!important}}
@media(max-width:640px){.shop-filter-panel--organic{padding:1rem;border-radius:1.6rem .9rem 1.6rem .9rem}.shop-filter-panel--organic .shop-filter-grid{grid-template-columns:1fr}.shop-filter-field--search{grid-column:auto}.shop-product-grid,.shop-product-grid--count-1,.shop-product-grid--count-2,.shop-product-grid--count-3,.shop-product-grid--count-4{grid-template-columns:minmax(0,320px)!important}}

/* =========================================================
   PRODUTO INDIVIDUAL — CRIAXIS
   ========================================================= */

body.single-product .site-main,
body.single-product main {
  overflow: visible;
}

.cx-product-page {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 84% 8%, rgba(0,120,235,.08), transparent 24%),
    var(--color-bg);
}

.cx-product-breadcrumb {
  margin-bottom: 1.25rem;
}

.cx-product-breadcrumb,
.cx-product-breadcrumb a {
  color: var(--color-text-muted);
  font-size: .9rem;
}

.cx-product-breadcrumb .woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}

.cx-product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.cx-product-gallery,
.cx-product-summary-card,
.cx-product-description,
.cx-product-specifications {
  background: #fff;
  border: 1px solid rgba(41,41,41,.07);
  box-shadow: var(--shadow-sm);
}

.cx-product-gallery {
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: 2rem;
}

.cx-product-stage {
  position: relative;
  aspect-ratio: 1 / .92;
  overflow: hidden;
  border-radius: 1.45rem;
  background: #eef0f3;
}

.cx-product-image-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.cx-product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition:
    transform 260ms cubic-bezier(.16,1,.3,1),
    opacity 150ms ease;
  will-change: transform;
}

.cx-product-main-image.is-zoomed {
  transform: scale(1.8);
}

.cx-product-main-image.is-changing {
  opacity: .25;
}

.cx-product-zoom-hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(20,20,20,.68);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.cx-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(41,41,41,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.cx-gallery-arrow--prev {
  left: .9rem;
}

.cx-gallery-arrow--next {
  right: .9rem;
}

.cx-product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .85rem;
}

.cx-product-thumbnail {
  aspect-ratio: 1 / 1;
  padding: .22rem;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 1rem;
  background: #eef0f3;
  cursor: pointer;
  transition: all var(--transition);
}

.cx-product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .75rem;
}

.cx-product-thumbnail.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0,120,235,.09);
}

.cx-gallery-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: .78rem;
}

.cx-gallery-meta span::before {
  content: '✓';
  margin-right: .35rem;
  color: var(--color-primary);
  font-weight: 900;
}

.cx-product-summary {
  position: sticky;
  top: 116px;
}

.cx-product-summary-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 2rem;
}

.cx-product-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cx-sale-badge {
  display: inline-flex;
  padding: .42rem .7rem;
  border-radius: 999px;
  background: var(--color-orange);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cx-product-title {
  margin: .35rem 0 1rem;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3.45rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.cx-product-benefit {
  margin-bottom: 1.15rem;
  color: var(--color-text-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.cx-product-benefit p {
  margin: 0;
}

.cx-product-price {
  margin: 0 0 .85rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.7rem + 1vw, 2.9rem);
  font-weight: 900;
  line-height: 1;
}

.cx-product-price del {
  display: block;
  margin-bottom: .4rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  opacity: .65;
}

.cx-product-price ins {
  text-decoration: none;
}

.cx-product-status-row {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(41,41,41,.08);
  color: var(--color-text-muted);
  font-size: .84rem;
}

.cx-stock-status {
  font-weight: 800;
}

.cx-stock-status.is-available {
  color: #067647;
}

.cx-stock-status.is-unavailable {
  color: #b42318;
}

.cx-stock-status.is-made-to-order {
  color: #9a5a00;
}

.cx-product-purchase {
  padding: 1.25rem 0;
}

.cx-product-purchase form.cart {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: .75rem;
  margin: 0 !important;
}

.cx-product-purchase form.variations_form {
  grid-template-columns: 1fr;
}

.cx-product-purchase .variations {
  width: 100%;
  margin: 0 0 .75rem;
}

.cx-product-purchase .variations th,
.cx-product-purchase .variations td {
  display: block;
  padding: 0 0 .45rem;
  text-align: left;
}

.cx-product-purchase .variations select,
.cx-product-purchase .quantity .qty {
  width: 100% !important;
  min-height: 54px;
  padding: 0 .9rem;
  border: 1px solid rgba(41,41,41,.12);
  border-radius: 1rem;
  background: #f6f7f9;
  color: var(--color-text);
}

.cx-product-purchase .single_variation_wrap {
  display: grid;
  gap: .75rem;
}

.cx-product-purchase .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: .75rem;
}

.cx-product-purchase .single_add_to_cart_button {
  min-height: 54px !important;
  width: 100% !important;
  padding: 0 1.25rem !important;
  border: 0 !important;
  border-radius: 1rem !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(0,120,235,.22) !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  transition: all var(--transition);
}

.cx-product-purchase .single_add_to_cart_button:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px);
}

.cx-product-purchase .stock {
  margin: 0 0 .75rem;
  font-weight: 800;
}

.cx-product-purchase .product_meta,
.cx-product-purchase .woocommerce-product-details__short-description,
.cx-product-purchase .price {
  display: none !important;
}

.cx-conversion-points {
  display: grid;
  gap: .7rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(41,41,41,.08);
  border-bottom: 1px solid rgba(41,41,41,.08);
}

.cx-conversion-point {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
}

.cx-conversion-point > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: .85rem;
  background: rgba(0,120,235,.09);
  color: var(--color-primary);
  font-weight: 900;
}

.cx-conversion-point strong,
.cx-conversion-point small {
  display: block;
}

.cx-conversion-point small {
  margin-top: .1rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.cx-whatsapp-product {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: rgba(37,211,102,.09);
  color: #128c7e;
  font-weight: 900;
  text-align: center;
}

.cx-product-information {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.cx-product-description,
.cx-product-specifications {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 1.75rem;
}

.cx-product-description h2,
.cx-product-specifications h2 {
  margin-bottom: 1.25rem;
}

.cx-product-content {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.cx-product-content > *:last-child {
  margin-bottom: 0;
}

.cx-spec-list {
  display: grid;
}

.cx-spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(41,41,41,.08);
}

.cx-spec-row span {
  color: var(--color-text-muted);
  text-align: right;
}

.cx-spec-empty {
  padding: 1rem;
  border-radius: 1rem;
  background: #f6f7f9;
  color: var(--color-text-muted);
}

.cx-related-products {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

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

.cx-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.cx-related-grid--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

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

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

.cx-related-grid > .shop-product-card {
  width: 100%;
  max-width: none;
}

/* Se a loja realmente tiver apenas uma alternativa, o card vira uma
   recomendação horizontal e ocupa a seção com uma hierarquia adequada. */
@media (min-width: 701px) {
  .cx-related-grid--count-1 > .shop-product-card {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    min-height: 330px;
  }

  .cx-related-grid--count-1 .shop-product-image {
    height: 100%;
    min-height: 330px;
    aspect-ratio: auto;
  }

  .cx-related-grid--count-1 .shop-product-body {
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    text-align: left;
  }

  .cx-related-grid--count-1 .shop-product-title,
  .cx-related-grid--count-1 .shop-product-title a,
  .cx-related-grid--count-1 .shop-product-price,
  .cx-related-grid--count-1 .shop-product-price .cx-variable-price {
    align-items: flex-start;
    text-align: left;
  }

  .cx-related-grid--count-1 .shop-product-title {
    max-width: 28ch;
    font-size: clamp(1.35rem, 2vw, 2rem);
  }

  .cx-related-grid--count-1 .shop-product-actions {
    width: min(100%, 320px);
    margin-top: 1rem;
  }
}

.cx-product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 4rem;
  background: rgba(5,7,10,.92);
  backdrop-filter: blur(12px);
}

.cx-product-lightbox.is-open {
  display: grid;
}

.cx-product-lightbox img {
  max-width: min(1100px, 88vw);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 1rem;
}

.cx-lightbox-close,
.cx-lightbox-arrow {
  position: fixed;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
}

.cx-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  font-size: 2rem;
}

.cx-lightbox-arrow {
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  font-size: 2.2rem;
}

.cx-lightbox-arrow--prev {
  left: 1rem;
}

.cx-lightbox-arrow--next {
  right: 1rem;
}

body.cx-lightbox-lock {
  overflow: hidden;
}

@media (max-width: 1050px) {
  .cx-product-main,
  .cx-product-information {
    grid-template-columns: 1fr;
  }

  .cx-product-summary {
    position: static;
  }

  .cx-related-grid,
  .cx-related-grid--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cx-related-grid--count-1 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .cx-product-page {
    padding-top: 1rem;
  }

  .cx-product-gallery,
  .cx-product-summary-card,
  .cx-product-description,
  .cx-product-specifications {
    border-radius: 1.25rem;
  }

  .cx-product-stage {
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
  }

  .cx-product-main-image {
    object-fit: cover;
  }

  .cx-product-zoom-hint {
    display: none;
  }

  .cx-gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .cx-product-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: auto;
  }

  .cx-product-purchase form.cart,
  .cx-product-purchase .woocommerce-variation-add-to-cart {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .cx-product-status-row,
  .cx-related-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cx-related-grid,
  .cx-related-grid--count-1,
  .cx-related-grid--count-2,
  .cx-related-grid--count-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .cx-product-lightbox {
    padding: 3.5rem .75rem;
  }

  .cx-lightbox-arrow {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cx-product-main-image,
  .cx-product-thumbnail,
  .shop-product-card {
    transition: none !important;
  }
}

/* =========================================================
   CRIAXIS COMMERCE FLOW — CART, CHECKOUT AND HEADER
   ========================================================= */
.cx-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(41, 41, 41, .1);
  border-radius: 999px;
  color: #292929;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.cx-header-cart:hover { border-color: rgba(0,120,235,.35); color:#0078eb; }
.cx-header-cart svg { width:22px; height:22px; flex:0 0 auto; }
.cx-cart-count {
  display:inline-grid;
  place-items:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#0078eb;
  color:#fff;
  font-size:.72rem;
  line-height:1;
}

.cx-product-purchase form.cart {
  display:grid !important;
  grid-template-columns:70px minmax(0,1fr) !important;
  gap:10px !important;
}
.cx-product-purchase form.cart .quantity { grid-column:1; grid-row:1; }
.cx-product-purchase form.cart .single_add_to_cart_button { grid-column:2; grid-row:1; width:100%; }
.cx-product-purchase .criaxis-add-to-cart-secondary {
  grid-column:1 / -1;
  grid-row:2;
  width:100%;
  min-height:52px;
  border-radius:16px !important;
  border:1px solid rgba(0,120,235,.25) !important;
  background:#fff !important;
  color:#0078eb !important;
  box-shadow:none !important;
  font-weight:800 !important;
}
.cx-product-purchase .criaxis-add-to-cart-secondary:hover { background:rgba(0,120,235,.06) !important; }

.cx-cart-toast {
  position:fixed;
  z-index:99999;
  right:24px;
  top:96px;
  width:min(430px,calc(100% - 32px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px;
  border:1px solid rgba(41,41,41,.1);
  border-radius:20px;
  background:#fff;
  color:#292929;
  box-shadow:0 24px 70px rgba(0,0,0,.16);
  opacity:0;
  transform:translateY(-12px);
  pointer-events:none;
  transition:.25s ease;
}
.cx-cart-toast.is-visible { opacity:1; transform:none; pointer-events:auto; }
.cx-cart-toast div { display:grid; gap:3px; }
.cx-cart-toast strong { font-size:1rem; }
.cx-cart-toast span { color:rgba(41,41,41,.68); font-size:.9rem; }
.cx-cart-toast a { color:#fff; background:#0078eb; padding:11px 14px; border-radius:12px; text-decoration:none; font-weight:800; }

body.woocommerce-cart .page-content-section,
body.woocommerce-checkout .page-content-section { padding-top:24px; }
body.woocommerce-cart .commerce-container,
body.woocommerce-checkout .commerce-container { width:min(1240px,calc(100% - 40px)); max-width:none; }
body.woocommerce-cart .page-content-card.is-woocommerce-page,
body.woocommerce-checkout .page-content-card.is-woocommerce-page {
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
}
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce { width:100% !important; max-width:none !important; }

/* Cart */
body.woocommerce-cart .criaxis-cart-form { padding:0 !important; border:0 !important; box-shadow:none !important; background:transparent !important; }
.criaxis-cart-layout--final { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,.75fr); gap:28px; align-items:start; }
.criaxis-cart-main-column,
.criaxis-summary-card--final { background:#fff; border:1px solid rgba(41,41,41,.08); border-radius:28px; box-shadow:0 16px 50px rgba(0,0,0,.06); }
.criaxis-cart-main-column { padding:26px; }
.criaxis-cart-items { display:grid; gap:16px; }
.criaxis-cart-item { display:grid; grid-template-columns:180px minmax(0,1fr); gap:22px; padding:18px; border:1px solid rgba(41,41,41,.08); border-radius:22px; background:#fbfbfc; }
.criaxis-cart-thumb img { display:block; width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:18px; }
.criaxis-cart-main { min-width:0; display:flex; flex-direction:column; }
.criaxis-cart-topline { display:flex; justify-content:space-between; gap:22px; align-items:flex-start; }
.criaxis-cart-title { margin:0 0 8px; font-size:1.3rem; line-height:1.15; }
.criaxis-cart-title a { color:#292929; text-decoration:none; }
.criaxis-cart-unit-price { color:rgba(41,41,41,.62); }
.criaxis-cart-line-total { color:#0078eb; font-size:1.25rem; font-weight:900; white-space:nowrap; }
.criaxis-cart-meta { color:rgba(41,41,41,.64); font-size:.92rem; }
.criaxis-cart-actions-row { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:18px; }
.criaxis-cart-qty .qty { width:82px !important; min-height:46px !important; }
.criaxis-cart-remove .remove { color:#a33; text-decoration:none; font-weight:700; }
.criaxis-cart-tools { display:flex; justify-content:space-between; gap:20px; align-items:end; margin-top:22px; padding-top:22px; border-top:1px solid rgba(41,41,41,.08); }
.criaxis-coupon-box { flex:1; }
.criaxis-coupon-box label { display:block; margin-bottom:8px; font-weight:800; }
.criaxis-coupon-row { display:flex; gap:10px; }
.criaxis-coupon-row input { min-height:52px; border:1px solid rgba(41,41,41,.12); border-radius:15px; padding:0 16px; background:#f4f5f7; }
.criaxis-summary-card--final { position:sticky; top:110px; padding:28px; }
.criaxis-summary-card--final h2 { margin:8px 0 24px; font-size:2rem; letter-spacing:-.04em; }
.criaxis-summary-list { display:grid; gap:0; }
.summary-row { display:flex; justify-content:space-between; gap:18px; padding:16px 0; border-bottom:1px solid rgba(41,41,41,.08); }
.summary-row.is-total { border-bottom:0; font-size:1.18rem; }
.summary-row.is-total strong { color:#0078eb; font-size:1.35rem; }
.criaxis-summary-card--final .checkout-button { width:100%; margin-top:20px !important; }

/* Checkout */
body.woocommerce-checkout form.cx-checkout { padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
.cx-checkout-progress { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:0 0 24px; }
.cx-checkout-progress span { display:flex; align-items:center; gap:10px; min-height:52px; padding:0 16px; border-radius:16px; background:#fff; border:1px solid rgba(41,41,41,.08); color:rgba(41,41,41,.5); font-weight:900; }
.cx-checkout-progress span.is-active { border-color:rgba(0,120,235,.35); color:#0078eb; background:rgba(0,120,235,.05); }
.cx-checkout-progress span.is-done { color:#292929; }
.cx-checkout-progress small { font-size:.82rem; font-weight:700; }
.cx-checkout-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(380px,.75fr); gap:28px; align-items:start; }
.cx-checkout-customer,
.cx-checkout-order { background:#fff; border:1px solid rgba(41,41,41,.08); border-radius:28px; box-shadow:0 16px 50px rgba(0,0,0,.06); }
.cx-checkout-customer { padding:30px; }
.cx-checkout-order { position:sticky; top:108px; padding:28px; }
.cx-checkout-section-heading { margin-bottom:24px; }
.cx-checkout-section-heading h2 { margin:7px 0 8px; font-size:clamp(2rem,3vw,3rem); letter-spacing:-.05em; }
.cx-checkout-section-heading p { margin:0; color:rgba(41,41,41,.65); }
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review { padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; position:static !important; }
body.woocommerce-checkout #order_review_heading { display:none !important; }
body.woocommerce-checkout .col2-set { display:block !important; padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; }
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 { width:100% !important; float:none !important; }
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields { padding:0 !important; border:0 !important; box-shadow:none !important; background:transparent !important; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #shipping_address_1_field,
body.woocommerce-checkout #shipping_address_2_field { grid-column:1 / -1; }
body.woocommerce-checkout #ship-to-different-address { padding:18px; border-radius:18px; background:#f5f7f9; font-size:1.1rem !important; }
body.woocommerce-checkout .woocommerce-additional-fields { margin-top:24px !important; padding-top:24px !important; border-top:1px solid rgba(41,41,41,.08) !important; }
body.woocommerce-checkout #payment ul.payment_methods li { border:1px solid rgba(41,41,41,.09); border-radius:16px; background:#f7f8fa; }
body.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color:rgba(0,120,235,.4); background:rgba(0,120,235,.045); }
body.woocommerce-checkout #payment #place_order { width:100%; min-height:58px; font-size:1.05rem !important; }
body.woocommerce-checkout .woocommerce-form-login-toggle { display:none; }
body.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom:18px; }

@media (max-width:1050px) {
  .cx-header-cart-label { display:none; }
  .criaxis-cart-layout--final,
  .cx-checkout-grid { grid-template-columns:1fr; }
  .criaxis-summary-card--final,
  .cx-checkout-order { position:static; }
}
@media (max-width:760px) {
  .cx-header-cart { padding:0 9px; }
  .cx-cart-toast { right:16px; top:78px; }
  body.woocommerce-cart .commerce-container,
  body.woocommerce-checkout .commerce-container { width:min(100% - 24px,1240px); }
  .criaxis-cart-main-column,
  .criaxis-summary-card--final,
  .cx-checkout-customer,
  .cx-checkout-order { padding:18px; border-radius:20px; }
  .criaxis-cart-item { grid-template-columns:96px minmax(0,1fr); padding:12px; gap:14px; }
  .criaxis-cart-topline { display:block; }
  .criaxis-cart-line-total { margin-top:8px; }
  .criaxis-cart-tools,
  .criaxis-coupon-row { display:grid; }
  .cx-checkout-progress { grid-template-columns:1fr; }
  .cx-checkout-progress span:not(.is-active) { display:none; }
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns:1fr; }
  body.woocommerce-checkout .form-row { grid-column:1 !important; }
}


/* =========================================================
   CRIAXIS COMMERCE FLOW — CORREÇÕES FINAIS 2
   ========================================================= */
.header-shell {
  grid-template-columns:auto minmax(0,1fr) auto !important;
  gap:clamp(1rem,2.5vw,2.5rem) !important;
}
.main-navigation { justify-self:end; }
.cx-header-cart { justify-self:end; }

.cx-product-purchase button,
.cx-product-purchase .button,
.cx-product-purchase input[type="submit"],
.cx-header-cart,
.criaxis-cart-remove .remove,
.criaxis-empty-cart__button {
  cursor:pointer !important;
}
.cx-product-purchase button:disabled,
.cx-product-purchase .button:disabled {
  cursor:not-allowed !important;
}

/* O formulário antigo tinha grid próprio e quebrava a estrutura do novo checkout. */
body.woocommerce-checkout form.woocommerce-checkout.cx-checkout {
  display:block !important;
  width:100% !important;
  max-width:none !important;
}
body.woocommerce-checkout .cx-checkout-grid {
  display:grid !important;
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.75fr) !important;
  gap:28px !important;
  width:100% !important;
}
body.woocommerce-checkout .cx-checkout-customer,
body.woocommerce-checkout .cx-checkout-order {
  min-width:0 !important;
  width:auto !important;
  float:none !important;
  overflow:visible;
}
body.woocommerce-checkout .cx-checkout-customer #customer_details,
body.woocommerce-checkout .cx-checkout-order #order_review {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
body.woocommerce-checkout .cx-checkout-order .cx-checkout-section-heading h2 {
  font-size:clamp(1.9rem,2.4vw,2.6rem);
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width:100% !important;
  table-layout:fixed;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th:last-child,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td:last-child {
  width:34%;
  text-align:right;
}
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment ul.payment_methods {
  width:100% !important;
}

/* Avisos nativos nunca devem virar uma faixa sem estilo na página do produto. */
body.single-product .woocommerce-notices-wrapper:empty,
body.single-product > .woocommerce-message,
body.single-product .cx-product-page > .woocommerce-message {
  display:none !important;
}

/* Carrinho vazio limpo, central e sem grade de produtos quebrada. */
body.woocommerce-cart .criaxis-empty-cart {
  width:min(720px,100%);
  margin:28px auto 72px;
  padding:clamp(32px,5vw,64px);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  border:1px solid rgba(41,41,41,.08);
  border-radius:30px;
  background:#fff;
  box-shadow:0 18px 55px rgba(0,0,0,.06);
}
.criaxis-empty-cart__icon {
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  margin-bottom:22px;
  border-radius:22px;
  color:#0078eb;
  background:rgba(0,120,235,.08);
}
.criaxis-empty-cart__icon svg { width:34px; height:34px; }
.criaxis-empty-cart h2 {
  margin:8px 0 14px;
  font-size:clamp(2rem,4vw,3.5rem);
  letter-spacing:-.05em;
}
.criaxis-empty-cart p {
  max-width:540px;
  margin:0 auto 26px;
  font-size:1.02rem;
}
.criaxis-empty-cart__button {
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 24px !important;
  border-radius:16px !important;
  background:#0078eb !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800 !important;
}

.cx-cart-toast { padding-right:52px; }
.cx-cart-toast__copy { min-width:0; }
.cx-cart-toast__close {
  position:absolute;
  top:10px;
  right:12px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#292929;
  font-size:1.35rem;
  cursor:pointer;
}
.cx-cart-toast__close:hover { background:rgba(41,41,41,.07); }

@media (max-width:1050px) {
  body.woocommerce-checkout .cx-checkout-grid { grid-template-columns:1fr !important; }
}
@media (max-width:820px) {
  .header-shell { grid-template-columns:auto auto auto !important; gap:10px !important; }
  .main-navigation { grid-column:1 / -1; }
  .cx-header-cart { min-width:44px; justify-content:center; }
}
@media (max-width:560px) {
  .cx-header-cart-label { display:none !important; }
  .cx-cart-toast {
    left:12px;
    right:12px;
    top:auto;
    bottom:18px;
    width:auto;
    align-items:flex-start;
    flex-direction:column;
  }
  .cx-cart-toast a { width:100%; text-align:center; }
}

/* =========================================================
   CRIAXIS COMMERCE FLOW — REFINAMENTO V3
   ========================================================= */
.site-header { background:rgba(248,248,248,.94); backdrop-filter:blur(14px); }
.site-header .header-shell {
  min-height:76px;
  max-width:980px;
  padding-inline:20px;
  grid-template-columns:minmax(180px,1fr) auto auto !important;
  gap:26px !important;
}
.site-logo-image { width:190px; max-height:48px; object-fit:contain; }
.main-navigation ul { gap:24px !important; }
.main-navigation a { font-size:.92rem; font-weight:700; }
.cx-header-cart {
  min-height:40px;
  padding:0 10px 0 11px;
  gap:7px;
  border-color:rgba(41,41,41,.08);
  box-shadow:0 4px 14px rgba(0,0,0,.035);
}
.cx-header-cart svg { width:18px; height:18px; }
.cx-cart-count { min-width:20px; height:20px; font-size:.68rem; }

.cx-cart-toast {
  width:min(390px,calc(100% - 32px));
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:14px;
  padding:16px 46px 16px 16px;
  border-radius:18px;
}
.cx-cart-toast::before {
  content:'✓';
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(20,155,80,.1);
  color:#118548;
  font-size:1.15rem;
  font-weight:900;
}
.cx-cart-toast__copy { align-self:center; }
.cx-cart-toast strong { line-height:1.2; }
.cx-cart-toast span { line-height:1.35; }
.cx-cart-toast a {
  align-self:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 15px;
  white-space:nowrap;
  font-size:.88rem;
}

.criaxis-cart-autosave {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(41,41,41,.58);
  font-size:.86rem;
}
.criaxis-cart-autosave::before { content:'✓'; color:#118548; font-weight:900; }
.criaxis-cart-item { transition:opacity .2s ease, border-color .2s ease, box-shadow .2s ease; }
.criaxis-cart-item.is-updating { opacity:.55; }
.criaxis-cart-item.is-updated { border-color:rgba(17,133,72,.32); box-shadow:0 0 0 3px rgba(17,133,72,.06); }
.criaxis-cart-update .button { display:none !important; }

.criaxis-summary-card--final .checkout-button {
  min-height:66px;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  padding:12px 18px !important;
  border-radius:17px !important;
  box-shadow:0 12px 26px rgba(0,120,235,.22) !important;
}
.criaxis-summary-card--final .checkout-button span { font-size:1rem; font-weight:900; line-height:1.2; }
.criaxis-summary-card--final .checkout-button small { font-size:.72rem; font-weight:600; opacity:.82; line-height:1.25; }
.criaxis-summary-card--final .checkout-button:hover { transform:translateY(-2px); box-shadow:0 16px 30px rgba(0,120,235,.28) !important; }
.criaxis-summary-card--final .checkout-button.is-disabled,
.criaxis-summary-card--final .checkout-button.is-disabled:hover {
    opacity:.48;
    cursor:not-allowed;
    pointer-events:auto;
    transform:none;
    box-shadow:none !important;
    filter:grayscale(.2);
}

@media (max-width:900px) {
  .site-header .header-shell { max-width:100%; grid-template-columns:auto auto auto !important; }
  .site-logo-image { width:165px; }
}
@media (max-width:560px) {
  .cx-cart-toast { grid-template-columns:42px minmax(0,1fr); }
  .cx-cart-toast a { grid-column:1 / -1; width:100%; }
  .site-logo-image { width:145px; }
}

/* =========================================================
   CRIAXIS COMMERCE FLOW — REFINAMENTO V4
   Cabeçalho diagramado e toast de remoção
   ========================================================= */
.site-header {
  min-height:88px;
  background:rgba(250,250,250,.95);
  border-bottom:1px solid rgba(41,41,41,.07);
  box-shadow:0 1px 0 rgba(255,255,255,.8);
}
.site-header.is-scrolled {
  box-shadow:0 10px 32px rgba(20,28,38,.07);
}
.site-header .header-shell {
  width:min(1180px,calc(100% - 48px));
  max-width:1180px;
  min-height:88px;
  margin-inline:auto;
  padding:0;
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr) !important;
  align-items:center;
  gap:32px !important;
}
.header-branding { justify-self:start; }
.site-logo-image {
  width:210px;
  max-height:52px;
  object-fit:contain;
}
.main-navigation {
  justify-self:center;
}
.main-navigation ul {
  gap:6px !important;
  padding:5px;
  border:1px solid rgba(41,41,41,.055);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  box-shadow:0 6px 22px rgba(25,35,48,.035);
}
.main-navigation a {
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:0 14px;
  border-radius:999px;
  font-size:.91rem;
  font-weight:750;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color:#0078eb;
  background:rgba(0,120,235,.075);
}
.cx-header-cart {
  justify-self:end;
  min-height:46px;
  padding:0 10px 0 15px;
  gap:9px;
  border:1px solid rgba(41,41,41,.09);
  background:#fff;
  box-shadow:0 8px 24px rgba(25,35,48,.055);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.cx-header-cart:hover {
  transform:translateY(-1px);
  border-color:rgba(0,120,235,.25);
  box-shadow:0 11px 28px rgba(0,120,235,.10);
}
.cx-header-cart-label { font-size:.92rem; }
.cx-cart-count {
  min-width:24px;
  height:24px;
  padding:0 7px;
  font-size:.7rem;
  box-shadow:0 5px 12px rgba(0,120,235,.22);
}

/* Toast unificado: adição e remoção. */
.cx-cart-toast {
  right:clamp(16px,3vw,42px);
  top:104px;
  width:min(440px,calc(100% - 32px));
  min-height:92px;
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:16px 48px 16px 16px;
  border-radius:20px;
  border:1px solid rgba(41,41,41,.09);
  box-shadow:0 24px 70px rgba(20,28,38,.17);
}
.cx-cart-toast::before { display:none !important; }
.cx-cart-toast__icon {
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:14px;
  font-weight:900;
  font-size:1.18rem;
}
.cx-cart-toast.is-success .cx-cart-toast__icon {
  color:#118548;
  background:rgba(17,133,72,.10);
}
.cx-cart-toast.is-success .cx-cart-toast__icon::before { content:'✓'; }
.cx-cart-toast.is-removed .cx-cart-toast__icon {
  color:#b24b38;
  background:rgba(178,75,56,.10);
}
.cx-cart-toast.is-removed .cx-cart-toast__icon::before { content:'↶'; }
.cx-cart-toast__copy { display:grid; gap:4px; min-width:0; }
.cx-cart-toast__copy strong {
  font-size:1rem;
  line-height:1.2;
}
.cx-cart-toast__copy span {
  display:block;
  overflow:hidden;
  color:rgba(41,41,41,.62);
  font-size:.86rem;
  line-height:1.4;
  text-overflow:ellipsis;
}
.cx-cart-toast__action {
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px !important;
  border-radius:13px !important;
  white-space:nowrap;
  font-size:.86rem !important;
  font-weight:850 !important;
}
.cx-cart-toast.is-removed .cx-cart-toast__action {
  color:#292929;
  background:#f2f3f5;
}
.cx-cart-toast.is-removed .cx-cart-toast__action:hover {
  background:#e8eaed;
}
.cx-cart-toast__close {
  top:9px;
  right:9px;
}

/* A faixa nativa de remoção nunca aparece; o feedback é feito pelo toast. */
body.woocommerce-cart .woocommerce-notices-wrapper:empty,
body.woocommerce-cart .woocommerce-message {
  display:none !important;
}

@media (max-width:1050px) {
  .site-header .header-shell {
    width:min(100% - 32px,920px);
    grid-template-columns:auto 1fr auto !important;
    gap:18px !important;
  }
  .site-logo-image { width:175px; }
  .main-navigation ul { gap:2px !important; }
  .main-navigation a { padding-inline:10px; }
}
@media (max-width:820px) {
  .site-header { min-height:74px; }
  .site-header .header-shell {
    min-height:74px;
    width:calc(100% - 28px);
    grid-template-columns:1fr auto auto !important;
  }
  .header-branding { justify-self:start; }
  .site-logo-image { width:158px; }
  .main-navigation {
    justify-self:stretch;
    grid-column:1 / -1;
  }
  .main-navigation ul {
    border-radius:18px;
    padding:8px;
    background:#fff;
  }
}
@media (max-width:560px) {
  .site-logo-image { width:142px; }
  .cx-header-cart { min-width:44px; padding:0 9px; }
  .cx-cart-toast {
    left:12px;
    right:12px;
    top:auto;
    bottom:18px;
    width:auto;
    min-height:0;
    grid-template-columns:42px minmax(0,1fr);
    padding:14px 44px 14px 14px;
  }
  .cx-cart-toast__icon { width:42px; height:42px; }
  .cx-cart-toast__action {
    grid-column:1 / -1;
    width:100%;
  }
}

/* =========================================================
   CRIAXIS COMMERCE FLOW — REFINAMENTO V5
   ========================================================= */

/* O título da página já informa onde o cliente está. */
body.woocommerce-cart .page-hero .eyebrow { display:none !important; }
body.woocommerce-cart .page-hero.compact { padding-top:42px; }

/* Cabeçalho: carrinho reduzido ao ícone + contador, sem texto redundante. */
.cx-header-cart {
  min-width:52px;
  justify-content:center;
  padding:0 11px;
}
.cx-header-cart-label.screen-reader-text {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* Checkout horizontal: cliente, entrega e resumo dentro de um único card. */
body.woocommerce-checkout .cx-checkout-horizontal-card {
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(340px,.9fr);
  align-items:start;
  overflow:visible;
  border:1px solid rgba(41,41,41,.08);
  border-radius:30px;
  background:#fff;
  box-shadow:0 18px 60px rgba(0,0,0,.07);
}
body.woocommerce-checkout .cx-checkout-customer,
body.woocommerce-checkout .cx-checkout-order {
  min-width:0 !important;
  width:auto !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.woocommerce-checkout .cx-checkout-customer { padding:30px !important; }
body.woocommerce-checkout .cx-checkout-order {
  position:sticky !important;
  top:96px;
  padding:30px !important;
  border-left:1px solid rgba(41,41,41,.08) !important;
  background:#fbfcfd !important;
  border-radius:0 30px 30px 0 !important;
}
body.woocommerce-checkout .cx-billing-columns {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);
  gap:30px;
  align-items:start;
}
body.woocommerce-checkout .cx-checkout-data-column,
body.woocommerce-checkout .cx-checkout-delivery-column { min-width:0; }
body.woocommerce-checkout .cx-checkout-data-column {
  padding-right:30px;
  border-right:1px solid rgba(41,41,41,.08);
}
body.woocommerce-checkout .cx-checkout-column-heading { margin-bottom:22px; }
body.woocommerce-checkout .cx-checkout-column-heading h2 {
  margin:7px 0 8px;
  font-size:clamp(1.75rem,2.2vw,2.45rem);
  line-height:1.03;
  letter-spacing:-.045em;
}
body.woocommerce-checkout .cx-checkout-column-heading p {
  margin:0;
  color:rgba(41,41,41,.62);
  font-size:.94rem;
  line-height:1.5;
}
body.woocommerce-checkout .cx-customer-fields,
body.woocommerce-checkout .cx-delivery-fields {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 14px;
}
body.woocommerce-checkout .cx-customer-fields .form-row-wide,
body.woocommerce-checkout .cx-delivery-fields .form-row-wide,
body.woocommerce-checkout .cx-delivery-fields #billing_address_1_field,
body.woocommerce-checkout .cx-delivery-fields #billing_address_2_field {
  grid-column:1 / -1 !important;
}
body.woocommerce-checkout .cx-checkout-shipping-extra {
  grid-column:1 / -1;
  margin-top:26px;
  padding-top:26px;
  border-top:1px solid rgba(41,41,41,.08);
}
body.woocommerce-checkout #order_review_heading { display:none !important; }
body.woocommerce-checkout .cx-checkout-order .woocommerce-checkout-review-order-table {
  margin-bottom:20px !important;
}
body.woocommerce-checkout #payment #place_order {
  min-height:62px !important;
  border-radius:17px !important;
  font-size:1rem !important;
  font-weight:900 !important;
}
body.woocommerce-checkout #payment #place_order::after {
  content:'Compra segura e confirmação imediata';
  display:block;
  margin-top:3px;
  font-size:.68rem;
  font-weight:700;
  opacity:.82;
}

@media (max-width:1180px) {
  body.woocommerce-checkout .cx-checkout-horizontal-card {
    grid-template-columns:1fr;
  }
  body.woocommerce-checkout .cx-checkout-order {
    position:static !important;
    border-left:0 !important;
    border-top:1px solid rgba(41,41,41,.08) !important;
    border-radius:0 0 30px 30px !important;
  }
}
@media (max-width:820px) {
  body.woocommerce-checkout .cx-billing-columns { grid-template-columns:1fr; }
  body.woocommerce-checkout .cx-checkout-data-column {
    padding-right:0;
    padding-bottom:26px;
    border-right:0;
    border-bottom:1px solid rgba(41,41,41,.08);
  }
  body.woocommerce-checkout .cx-customer-fields,
  body.woocommerce-checkout .cx-delivery-fields { grid-template-columns:1fr; }
  body.woocommerce-checkout .cx-customer-fields .form-row,
  body.woocommerce-checkout .cx-delivery-fields .form-row { grid-column:1 !important; }
}

/* =========================================================
   CRIAXIS — ÁREA DO CLIENTE V6
   ========================================================= */

body.woocommerce-account .page-hero.compact {
  padding:42px 0 26px;
}
body.woocommerce-account .page-hero .eyebrow {
  display:none;
}
body.woocommerce-account .page-content-section {
  padding-top:18px;
}
body.woocommerce-account .page-content-card.is-woocommerce-page {
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
body.woocommerce-account .woocommerce {
  width:100%;
}

/* Login e cadastro */
.cx-account-auth {
  overflow:hidden;
  border:1px solid rgba(41,41,41,.08);
  border-radius:30px;
  background:#fff;
  box-shadow:0 24px 70px rgba(22,30,40,.08);
}
.cx-account-auth__intro {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(340px,.9fr);
  gap:36px;
  align-items:end;
  padding:36px 40px;
  border-bottom:1px solid rgba(41,41,41,.08);
  background:linear-gradient(135deg,#fff 0%,#f4f8fc 100%);
}
.cx-account-auth__intro h2 {
  max-width:760px;
  margin:8px 0 12px;
  font-size:clamp(2rem,3.2vw,3.5rem);
  line-height:1;
  letter-spacing:-.055em;
}
.cx-account-auth__intro p {
  max-width:680px;
  margin:0;
  color:rgba(41,41,41,.64);
  font-size:1rem;
  line-height:1.6;
}
.cx-account-benefits {
  display:grid;
  gap:10px;
}
.cx-account-benefits span {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:48px;
  padding:10px 14px;
  border:1px solid rgba(41,41,41,.07);
  border-radius:15px;
  background:rgba(255,255,255,.78);
  font-weight:750;
}
.cx-account-benefits strong {
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  border-radius:10px;
  color:#087df0;
  background:rgba(8,125,240,.09);
  font-size:.72rem;
}
.cx-account-auth__grid {
  display:grid;
  grid-template-columns:1fr 1fr;
}
.cx-account-auth__grid.login-only {
  grid-template-columns:1fr;
}
.cx-auth-panel {
  min-width:0;
  padding:38px 40px 42px;
}
.cx-auth-panel + .cx-auth-panel {
  border-left:1px solid rgba(41,41,41,.08);
  background:#fbfcfd;
}
.cx-auth-panel__heading {
  margin-bottom:26px;
}
.cx-auth-panel__heading h3 {
  margin:7px 0 8px;
  font-size:clamp(1.7rem,2.2vw,2.35rem);
  line-height:1.05;
  letter-spacing:-.045em;
}
.cx-auth-panel__heading p {
  margin:0;
  color:rgba(41,41,41,.62);
  line-height:1.55;
}
.cx-auth-form {
  display:grid;
  gap:16px;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
.cx-auth-form .form-row {
  display:grid;
  gap:8px;
  margin:0 !important;
  padding:0 !important;
}
.cx-auth-form label {
  color:#292929;
  font-size:.88rem;
  font-weight:800;
}
.cx-auth-form input[type="text"],
.cx-auth-form input[type="email"],
.cx-auth-form input[type="password"] {
  width:100%;
  min-height:54px;
  padding:0 16px;
  border:1px solid rgba(41,41,41,.13);
  border-radius:14px;
  outline:0;
  background:#f7f8fa;
  color:#292929;
  font:inherit;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cx-auth-form input:focus {
  border-color:#087df0;
  background:#fff;
  box-shadow:0 0 0 4px rgba(8,125,240,.10);
}
.cx-password-field {
  position:relative;
  display:block;
}
.cx-password-field input {
  padding-right:82px !important;
}
.cx-password-toggle {
  position:absolute;
  top:50%;
  right:10px;
  min-height:36px;
  padding:0 10px;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#087df0;
  font-size:.78rem;
  font-weight:850;
  cursor:pointer;
  transform:translateY(-50%);
}
.cx-password-toggle:hover {
  background:rgba(8,125,240,.08);
}
.cx-auth-form__options {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-size:.86rem;
}
.cx-auth-form__options label {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:650;
}
.cx-auth-form__options input {
  width:17px;
  height:17px;
  accent-color:#087df0;
}
.cx-auth-form__options a {
  color:#087df0;
  font-weight:800;
}
.cx-auth-submit {
  width:100%;
  min-height:56px !important;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  margin:2px 0 0 !important;
  padding:0 22px !important;
  border:1px solid #087df0 !important;
  border-radius:15px !important;
  background:#087df0 !important;
  color:#fff !important;
  font-size:.96rem !important;
  font-weight:900 !important;
  cursor:pointer !important;
  box-shadow:0 12px 24px rgba(8,125,240,.2);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cx-auth-submit:hover {
  background:#006ddd !important;
  box-shadow:0 16px 28px rgba(8,125,240,.28);
  transform:translateY(-1px);
}
.cx-auth-submit--secondary {
  background:#292929 !important;
  border-color:#292929 !important;
  box-shadow:0 12px 24px rgba(41,41,41,.15);
}
.cx-auth-submit--secondary:hover {
  background:#111 !important;
}
.cx-auth-note,
.cx-auth-privacy {
  margin:0;
  padding:13px 14px;
  border-radius:13px;
  background:#f1f5f9;
  color:rgba(41,41,41,.64);
  font-size:.82rem;
  line-height:1.5;
}
.cx-auth-privacy {
  padding:0;
  background:transparent;
}

/* Conta autenticada */
body.woocommerce-account.logged-in .woocommerce {
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.cx-account-nav {
  float:none !important;
  width:auto !important;
  overflow:hidden;
  border:1px solid rgba(41,41,41,.08);
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 45px rgba(22,30,40,.07);
}
.cx-account-nav__profile {
  display:flex;
  align-items:center;
  gap:12px;
  padding:20px;
  border-bottom:1px solid rgba(41,41,41,.08);
}
.cx-account-nav__profile small,
.cx-account-nav__profile strong {
  display:block;
}
.cx-account-nav__profile small {
  color:rgba(41,41,41,.52);
  font-size:.75rem;
}
.cx-account-nav__profile strong {
  max-width:145px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cx-account-nav__avatar {
  display:grid;
  width:42px;
  height:42px;
  flex:0 0 42px;
  place-items:center;
  border-radius:14px;
  background:#087df0;
  color:#fff;
  font-weight:900;
}
.cx-account-nav ul {
  display:grid;
  gap:4px;
  margin:0 !important;
  padding:10px !important;
  list-style:none;
}
.cx-account-nav li {
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
.cx-account-nav a {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:0 12px;
  border-radius:12px;
  color:#3a414c;
  font-weight:750;
  text-decoration:none;
}
.cx-account-nav a:hover,
.cx-account-nav .is-active a {
  background:#edf6ff;
  color:#087df0;
}
.cx-account-nav__dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:currentColor;
  opacity:.45;
}
.cx-account-nav .is-active .cx-account-nav__dot {
  opacity:1;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  float:none !important;
  width:auto !important;
  min-width:0;
  padding:0 !important;
}
.cx-account-dashboard,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > form,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-notices-wrapper + form,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-orders-table,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > .woocommerce-Addresses,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content > p:not(.woocommerce-info) {
  border:1px solid rgba(41,41,41,.08);
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 45px rgba(22,30,40,.07);
}
.cx-account-dashboard {
  overflow:hidden;
}
.cx-account-dashboard__welcome {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:30px;
  border-bottom:1px solid rgba(41,41,41,.08);
  background:linear-gradient(135deg,#fff,#f4f8fc);
}
.cx-account-dashboard__welcome h2 {
  margin:7px 0 8px;
  font-size:clamp(2rem,3vw,3rem);
  line-height:1;
  letter-spacing:-.05em;
}
.cx-account-dashboard__welcome p {
  margin:0;
  color:rgba(41,41,41,.62);
}
.cx-account-shop-link,
.cx-account-section-heading a,
.cx-account-empty-orders a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:12px;
  background:#087df0;
  color:#fff;
  font-size:.84rem;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}
.cx-account-quick-actions {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:24px 30px;
}
.cx-account-quick-actions a {
  display:grid;
  gap:5px;
  padding:18px;
  border:1px solid rgba(41,41,41,.08);
  border-radius:17px;
  color:#292929;
  text-decoration:none;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cx-account-quick-actions a:hover {
  border-color:rgba(8,125,240,.28);
  box-shadow:0 12px 28px rgba(22,30,40,.07);
  transform:translateY(-2px);
}
.cx-account-quick-actions__icon {
  display:grid;
  width:34px;
  height:34px;
  margin-bottom:8px;
  place-items:center;
  border-radius:11px;
  background:#edf6ff;
  color:#087df0;
  font-size:.72rem;
  font-weight:900;
}
.cx-account-quick-actions small {
  color:rgba(41,41,41,.56);
}
.cx-account-recent-orders {
  padding:0 30px 30px;
}
.cx-account-section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding:24px 0 18px;
  border-top:1px solid rgba(41,41,41,.08);
}
.cx-account-section-heading h3 {
  margin:6px 0 0;
  font-size:1.55rem;
  letter-spacing:-.035em;
}
.cx-account-section-heading a {
  min-height:38px;
  background:#f0f2f5;
  color:#292929;
}
.cx-account-orders-list {
  display:grid;
  gap:10px;
}
.cx-account-order-card {
  display:grid;
  grid-template-columns:.8fr 1fr 1.2fr 1fr auto;
  gap:16px;
  align-items:center;
  padding:16px 18px;
  border:1px solid rgba(41,41,41,.08);
  border-radius:15px;
  color:#292929;
  text-decoration:none;
}
.cx-account-order-card:hover {
  border-color:rgba(8,125,240,.28);
  background:#fbfdff;
}
.cx-account-order-card small,
.cx-account-order-card strong {
  display:block;
}
.cx-account-order-card small {
  margin-bottom:3px;
  color:rgba(41,41,41,.5);
  font-size:.72rem;
}
.cx-account-order-card__arrow {
  color:#087df0;
  font-size:1.25rem;
  font-weight:900;
}
.cx-account-empty-orders {
  padding:28px;
  border:1px dashed rgba(41,41,41,.15);
  border-radius:18px;
  text-align:center;
}
.cx-account-empty-orders h4 {
  margin:0 0 7px;
  font-size:1.25rem;
}
.cx-account-empty-orders p {
  margin:0 0 18px;
  color:rgba(41,41,41,.58);
}

/* Tabelas, formulários e endereços nativos do WooCommerce */
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-info {
  padding:18px 20px 18px 54px !important;
  border:1px solid rgba(8,125,240,.15) !important;
  border-radius:16px;
  background:#edf6ff;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table {
  width:100%;
  overflow:hidden;
  border:1px solid rgba(41,41,41,.08) !important;
  border-collapse:separate !important;
  border-spacing:0;
  border-radius:20px;
  background:#fff;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content td {
  padding:16px !important;
  border-bottom:1px solid rgba(41,41,41,.07) !important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content form {
  padding:26px !important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content input,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content select {
  min-height:50px;
  border:1px solid rgba(41,41,41,.13);
  border-radius:13px;
  background:#f7f8fa;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .button {
  min-height:44px;
  padding:0 16px !important;
  border-radius:12px !important;
  background:#087df0 !important;
  color:#fff !important;
  font-weight:850 !important;
  cursor:pointer !important;
}

@media (max-width:960px) {
  .cx-account-auth__intro {
    grid-template-columns:1fr;
  }
  body.woocommerce-account.logged-in .woocommerce {
    grid-template-columns:1fr;
  }
  .cx-account-nav ul {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .cx-account-nav__profile {
    display:none;
  }
  .cx-account-nav a {
    justify-content:center;
    text-align:center;
  }
  .cx-account-nav__dot {
    display:none;
  }
}
@media (max-width:760px) {
  .cx-account-auth__intro,
  .cx-auth-panel {
    padding:26px 22px;
  }
  .cx-account-auth__grid {
    grid-template-columns:1fr;
  }
  .cx-auth-panel + .cx-auth-panel {
    border-top:1px solid rgba(41,41,41,.08);
    border-left:0;
  }
  .cx-account-dashboard__welcome {
    display:grid;
    align-items:start;
    padding:24px;
  }
  .cx-account-quick-actions {
    grid-template-columns:1fr;
    padding:20px 24px;
  }
  .cx-account-recent-orders {
    padding:0 24px 24px;
  }
  .cx-account-order-card {
    grid-template-columns:1fr 1fr;
  }
  .cx-account-order-card__arrow {
    display:none;
  }
  .cx-account-nav ul {
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:520px) {
  .cx-account-auth {
    border-radius:22px;
  }
  .cx-account-auth__intro h2 {
    font-size:2.15rem;
  }
  .cx-auth-form__options {
    align-items:flex-start;
    flex-direction:column;
  }
  .cx-account-nav ul {
    grid-template-columns:1fr;
  }
}

/* =========================================================
   Recuperação de senha e avisos da área do cliente
   ========================================================= */
body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper:empty {
  display:none;
}
.cx-password-flow {
  width:min(100% - 36px, 980px);
  margin:0 auto 72px;
}
.cx-password-card {
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(380px,1.08fr);
  overflow:hidden;
  border:1px solid rgba(41,41,41,.08);
  border-radius:28px;
  background:#fff;
  box-shadow:0 24px 70px rgba(22,30,40,.09);
}
.cx-password-card__visual,
.cx-password-card__form {
  padding:clamp(32px,4vw,54px);
}
.cx-password-card__visual {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:510px;
  background:linear-gradient(145deg,#eef6ff 0%,#f8fbff 52%,#fff 100%);
  border-right:1px solid rgba(41,41,41,.07);
}
.cx-password-card__eyebrow {
  display:block;
  margin-bottom:16px;
  color:#087df0;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.18em;
}
.cx-password-card__icon {
  display:grid;
  width:64px;
  height:64px;
  margin:4px 0 28px;
  place-items:center;
  border-radius:20px;
  background:#087df0;
  color:#fff;
  box-shadow:0 15px 30px rgba(8,125,240,.23);
}
.cx-password-card__icon svg {
  width:29px;
  height:29px;
}
.cx-password-card__visual h2,
.cx-password-card__form h1,
.cx-password-confirmation h1 {
  margin:0;
  color:#292929;
  font-family:'Cabinet Grotesk','Satoshi',sans-serif;
  letter-spacing:-.055em;
  line-height:.98;
}
.cx-password-card__visual h2 {
  max-width:410px;
  font-size:clamp(2.2rem,3.5vw,3.45rem);
}
.cx-password-card__visual > p {
  max-width:440px;
  margin:20px 0 24px;
  color:rgba(41,41,41,.62);
  line-height:1.65;
}
.cx-password-card__visual ul {
  display:grid;
  gap:11px;
  margin:0;
  padding:0;
  list-style:none;
}
.cx-password-card__visual li {
  position:relative;
  padding-left:28px;
  color:#3b4653;
  font-size:.87rem;
  font-weight:700;
}
.cx-password-card__visual li::before {
  content:'✓';
  position:absolute;
  left:0;
  top:-1px;
  display:grid;
  width:19px;
  height:19px;
  place-items:center;
  border-radius:7px;
  background:#dff1ff;
  color:#087df0;
  font-size:.7rem;
  font-weight:900;
}
.cx-password-card__form {
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.cx-password-card__form h1 {
  font-size:clamp(2.25rem,4vw,3.6rem);
}
.cx-password-card__description {
  margin:16px 0 28px;
  color:rgba(41,41,41,.6);
  line-height:1.6;
}
.cx-password-form {
  display:grid;
  gap:18px;
  margin:0 !important;
}
.cx-password-form .cx-field {
  display:grid;
  gap:9px;
  width:100% !important;
  margin:0 !important;
}
.cx-password-form label {
  color:#292929;
  font-size:.86rem;
  font-weight:850;
}
.cx-password-form input[type='text'],
.cx-password-form input[type='password'],
.cx-password-resend input {
  width:100%;
  min-height:54px;
  padding:0 16px;
  border:1px solid rgba(41,41,41,.14);
  border-radius:14px;
  outline:0;
  background:#f7f8fa;
  color:#292929;
  font:inherit;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cx-password-form input:focus,
.cx-password-resend input:focus {
  border-color:#087df0;
  background:#fff;
  box-shadow:0 0 0 4px rgba(8,125,240,.11);
}
.cx-password-form__actions {
  margin:0 !important;
}
.cx-password-back {
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  margin-top:22px;
  color:#4c5867;
  font-size:.86rem;
  font-weight:800;
  text-decoration:none;
}
.cx-password-back:hover {
  color:#087df0;
}
.cx-password-input__control {
  position:relative;
  display:block;
}
.cx-password-input__control input {
  padding-right:88px !important;
}
.cx-password-toggle {
  position:absolute;
  top:50%;
  right:9px;
  min-height:36px;
  padding:0 11px;
  border:0;
  border-radius:10px;
  background:#e9eef4;
  color:#3f4a57;
  font-size:.75rem;
  font-weight:850;
  cursor:pointer;
  transform:translateY(-50%);
}
.cx-password-confirmation {
  max-width:760px;
  margin:0 auto;
  padding:clamp(32px,5vw,58px);
  border:1px solid rgba(41,41,41,.08);
  border-radius:28px;
  background:#fff;
  box-shadow:0 24px 70px rgba(22,30,40,.09);
  text-align:center;
}
.cx-password-confirmation__status {
  display:grid;
  width:74px;
  height:74px;
  margin:0 auto 24px;
  place-items:center;
  border-radius:24px;
  background:#e9f6ff;
  color:#087df0;
}
.cx-password-confirmation__status svg {
  width:33px;
  height:33px;
}
.cx-password-confirmation h1 {
  font-size:clamp(2.3rem,4.5vw,4rem);
}
.cx-password-confirmation > p {
  max-width:590px;
  margin:18px auto 30px;
  color:rgba(41,41,41,.62);
  line-height:1.65;
}
.cx-password-confirmation__tips {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0 0 26px;
  text-align:left;
}
.cx-password-confirmation__tips > div {
  display:grid;
  gap:9px;
  padding:17px;
  border:1px solid rgba(41,41,41,.08);
  border-radius:16px;
  background:#fbfcfd;
}
.cx-password-confirmation__tips strong {
  color:#087df0;
  font-size:.76rem;
  letter-spacing:.08em;
}
.cx-password-confirmation__tips span {
  color:#46515e;
  font-size:.8rem;
  line-height:1.45;
}
.cx-password-resend {
  padding:22px;
  border:1px solid rgba(8,125,240,.15);
  border-radius:19px;
  background:#f0f7ff;
  text-align:left;
}
.cx-password-resend > div strong,
.cx-password-resend > div span {
  display:block;
}
.cx-password-resend > div strong {
  color:#292929;
  font-size:1.02rem;
}
.cx-password-resend > div span,
.cx-password-resend small {
  color:rgba(41,41,41,.58);
  font-size:.8rem;
}
.cx-password-resend__form {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  margin:16px 0 10px !important;
}
.cx-password-resend__form button {
  min-height:54px;
  padding:0 20px !important;
  border:0 !important;
  border-radius:14px !important;
  background:#087df0 !important;
  color:#fff !important;
  font-weight:900 !important;
  cursor:pointer !important;
}
.cx-password-confirmation .cx-password-back {
  margin:24px auto 0;
}
.cx-account-toast {
  position:fixed;
  z-index:100050;
  top:96px;
  right:24px;
  display:grid;
  grid-template-columns:42px minmax(0,320px) 32px;
  gap:13px;
  align-items:start;
  width:min(calc(100vw - 32px),430px);
  padding:17px;
  border:1px solid rgba(41,41,41,.09);
  border-radius:18px;
  background:#fff;
  box-shadow:0 22px 60px rgba(22,30,40,.18);
  opacity:0;
  transform:translateY(-12px) scale(.98);
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
}
.cx-account-toast.is-visible {
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.cx-account-toast__icon {
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border-radius:13px;
  background:#eaf5ff;
}
.cx-account-toast__icon::before {
  content:'i';
  color:#087df0;
  font-weight:900;
}
.cx-account-toast.is-error .cx-account-toast__icon {
  background:#fff0f0;
}
.cx-account-toast.is-error .cx-account-toast__icon::before {
  content:'!';
  color:#d33b3b;
}
.cx-account-toast.is-success .cx-account-toast__icon {
  background:#eafaf1;
}
.cx-account-toast.is-success .cx-account-toast__icon::before {
  content:'✓';
  color:#15894b;
}
.cx-account-toast__copy {
  display:grid;
  gap:4px;
  min-width:0;
}
.cx-account-toast__copy strong {
  color:#292929;
  font-size:.91rem;
}
.cx-account-toast__copy span {
  color:rgba(41,41,41,.63);
  font-size:.8rem;
  line-height:1.45;
}
.cx-account-toast__close {
  display:grid;
  width:30px;
  height:30px;
  padding:0;
  place-items:center;
  border:0;
  border-radius:9px;
  background:#f0f2f5;
  color:#4c5867;
  font-size:1.15rem;
  cursor:pointer;
}
@media (max-width:760px) {
  .cx-password-card {
    grid-template-columns:1fr;
  }
  .cx-password-card__visual {
    min-height:0;
    border-right:0;
    border-bottom:1px solid rgba(41,41,41,.07);
  }
  .cx-password-confirmation__tips {
    grid-template-columns:1fr;
  }
  .cx-account-toast {
    top:78px;
    right:16px;
    grid-template-columns:38px minmax(0,1fr) 30px;
  }
}
@media (max-width:520px) {
  .cx-password-flow {
    width:min(100% - 20px,980px);
  }
  .cx-password-card,
  .cx-password-confirmation {
    border-radius:22px;
  }
  .cx-password-card__visual,
  .cx-password-card__form,
  .cx-password-confirmation {
    padding:26px 20px;
  }
  .cx-password-resend__form {
    grid-template-columns:1fr;
  }
}

/* =========================================================
   CRIAXIS V8 — Área do cliente completa
   ========================================================= */
.site-header .header-shell {
  grid-template-columns:auto minmax(360px,auto) auto !important;
}
.cx-header-actions {
  display:flex;
  align-items:center;
  justify-self:end;
  gap:10px;
}
.cx-header-account {
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:6px 14px 6px 8px;
  border:1px solid rgba(41,41,41,.08);
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 25px rgba(22,30,40,.07);
  color:#292929;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.cx-header-account:hover {
  border-color:rgba(8,125,240,.28);
  box-shadow:0 12px 30px rgba(22,30,40,.1);
  transform:translateY(-1px);
}
.cx-header-account__icon {
  display:grid;
  width:34px;
  height:34px;
  flex:0 0 34px;
  place-items:center;
  border-radius:12px;
  background:#edf6ff;
  color:#087df0;
}
.cx-header-account__icon svg { width:20px;height:20px; }
.cx-header-account__copy { display:grid;line-height:1.08; }
.cx-header-account__copy small { color:rgba(41,41,41,.5);font-size:.62rem;font-weight:750;text-transform:uppercase;letter-spacing:.08em; }
.cx-header-account__copy strong { max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem; }
.cx-header-account__status { position:absolute;right:8px;top:8px;width:7px;height:7px;border:2px solid #fff;border-radius:50%;background:#25b86b; }

body.woocommerce-account.logged-in .page-content-card.is-woocommerce-page {
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.woocommerce-account.logged-in .woocommerce {
  grid-template-columns:240px minmax(0,1fr) !important;
  gap:20px !important;
}
.cx-account-nav { position:sticky;top:96px; }
.cx-account-nav a { position:relative; }
.cx-account-nav a::after { content:'›';margin-left:auto;color:rgba(41,41,41,.28);font-size:1.2rem; }
.cx-account-nav .is-active a::after { color:#087df0; }

.cx-account-section {
  overflow:hidden;
  border:1px solid rgba(41,41,41,.08);
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 45px rgba(22,30,40,.07);
}
.cx-account-section__header {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  padding:28px 30px;
  border-bottom:1px solid rgba(41,41,41,.08);
  background:linear-gradient(135deg,#fff 0%,#f4f8fc 100%);
}
.cx-account-section__header h2 { margin:6px 0 7px;font-size:clamp(1.9rem,3vw,2.65rem);line-height:1;letter-spacing:-.045em; }
.cx-account-section__header p { margin:0;color:rgba(41,41,41,.58); }
.cx-account-primary-link,
.cx-account-empty-state a,
.cx-address-card__heading a {
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;background:#087df0;color:#fff;font-size:.82rem;font-weight:850;text-decoration:none;white-space:nowrap;
}
.cx-account-orders-grid { display:grid;gap:14px;padding:26px 30px 30px; }
.cx-order-summary-card { padding:20px;border:1px solid rgba(41,41,41,.09);border-radius:18px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease; }
.cx-order-summary-card:hover { border-color:rgba(8,125,240,.25);box-shadow:0 12px 28px rgba(22,30,40,.06); }
.cx-order-summary-card__top,.cx-order-summary-card__meta,.cx-order-summary-card__actions { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.cx-order-summary-card__top small,.cx-order-summary-card__meta small { display:block;margin-bottom:3px;color:rgba(41,41,41,.48);font-size:.7rem;text-transform:uppercase;letter-spacing:.08em; }
.cx-order-summary-card__top strong { font-size:1.15rem; }
.cx-order-status { padding:7px 11px;border-radius:999px;background:#eef3f8;color:#425066;font-size:.72rem;font-weight:850; }
.cx-order-status.is-completed { background:#e9f8f0;color:#178653; }
.cx-order-status.is-processing { background:#edf6ff;color:#087df0; }
.cx-order-status.is-on-hold { background:#fff6db;color:#9a6c00; }
.cx-order-status.is-cancelled,.cx-order-status.is-failed { background:#fff0f0;color:#b33a3a; }
.cx-order-summary-card__meta { margin:18px 0;padding:16px 0;border-top:1px solid rgba(41,41,41,.07);border-bottom:1px solid rgba(41,41,41,.07); }
.cx-order-summary-card__meta span { flex:1; }
.cx-order-summary-card__actions { justify-content:flex-end; }
.cx-order-summary-card__actions .button { min-height:40px !important; }

.cx-account-empty-state { margin:28px 30px 30px;padding:40px 24px;border:1px dashed rgba(41,41,41,.15);border-radius:20px;text-align:center; }
.cx-account-empty-state__icon { display:grid;width:48px;height:48px;margin:0 auto 16px;place-items:center;border-radius:16px;background:#edf6ff;color:#087df0;font-weight:900; }
.cx-account-empty-state h3 { margin:0 0 8px;font-size:1.35rem; }
.cx-account-empty-state p { max-width:540px;margin:0 auto 20px;color:rgba(41,41,41,.58); }

.cx-address-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:28px 30px 30px; }
.cx-address-card { padding:22px;border:1px solid rgba(41,41,41,.09);border-radius:19px;background:#fff; }
.cx-address-card__icon { display:grid;width:42px;height:42px;margin-bottom:18px;place-items:center;border-radius:13px;background:#edf6ff;color:#087df0;font-size:1.05rem;font-weight:900; }
.cx-address-card__heading { display:flex;align-items:flex-start;justify-content:space-between;gap:16px; }
.cx-address-card__heading small { color:#087df0;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em; }
.cx-address-card__heading h3 { margin:4px 0 0;font-size:1.22rem; }
.cx-address-card__heading a { min-height:36px;padding-inline:13px;background:#f0f2f5;color:#292929; }
.cx-address-card__content { margin-top:20px;padding-top:18px;border-top:1px solid rgba(41,41,41,.07);color:rgba(41,41,41,.68);line-height:1.65; }
.cx-address-card__content p { margin:0; }

.cx-account-fields-form { padding:28px 30px 30px !important; }
.cx-account-fields-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
.cx-account-fields-grid .form-row { float:none !important;width:auto !important;margin:0 !important; }
.cx-account-fields-grid .form-row-wide,.cx-account-fields-grid #billing_country_field,.cx-account-fields-grid #shipping_country_field,.cx-account-fields-grid #billing_state_field,.cx-account-fields-grid #shipping_state_field { grid-column:1 / -1; }
.cx-account-fields-grid label { display:block;margin:0 0 7px;color:#333b46;font-size:.78rem;font-weight:800; }
.cx-account-fields-grid input,.cx-account-fields-grid select,.cx-account-fields-grid textarea { width:100% !important;min-height:52px !important;padding:0 15px !important;border:1px solid rgba(41,41,41,.12) !important;border-radius:13px !important;background:#f7f8fa !important;box-shadow:none !important; }
.cx-account-fields-grid input:focus,.cx-account-fields-grid select:focus,.cx-account-fields-grid textarea:focus { border-color:rgba(8,125,240,.55) !important;background:#fff !important;outline:3px solid rgba(8,125,240,.09); }
.cx-field-help { display:block;margin-top:7px;color:rgba(41,41,41,.5);font-size:.74rem; }
.cx-password-fieldset { margin:28px 0 0;padding:22px;border:1px solid rgba(41,41,41,.09);border-radius:18px;background:#fbfcfd; }
.cx-password-fieldset legend { padding:0 8px;font-size:1.15rem;font-weight:850; }
.cx-fieldset-intro { margin:0 0 18px;color:rgba(41,41,41,.55); }
.cx-account-form-actions { display:flex;align-items:center;gap:14px;margin-top:24px;padding-top:22px;border-top:1px solid rgba(41,41,41,.08); }
.cx-account-form-actions a { color:rgba(41,41,41,.58);font-weight:750;text-decoration:none; }
.cx-account-form-actions .button { min-height:48px !important;padding-inline:22px !important; }

@media (max-width:1120px) {
  .site-header .header-shell { grid-template-columns:auto 1fr auto !important; }
  .cx-header-account__copy { display:none; }
  .cx-header-account { width:46px;padding:6px;justify-content:center; }
}
@media (max-width:960px) {
  .cx-header-actions { margin-left:auto; }
  .cx-account-nav { position:static; }
  body.woocommerce-account.logged-in .woocommerce { grid-template-columns:1fr !important; }
  .cx-account-nav ul { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .cx-account-section__header { display:grid;align-items:start;padding:24px; }
  .cx-account-orders-grid,.cx-address-grid,.cx-account-fields-form { padding:22px 24px 24px !important; }
  .cx-address-grid,.cx-account-fields-grid { grid-template-columns:1fr; }
  .cx-account-fields-grid .form-row-wide,.cx-account-fields-grid #billing_country_field,.cx-account-fields-grid #shipping_country_field,.cx-account-fields-grid #billing_state_field,.cx-account-fields-grid #shipping_state_field { grid-column:auto; }
  .cx-order-summary-card__meta { display:grid;grid-template-columns:repeat(3,1fr); }
  .cx-header-actions { gap:6px; }
}
@media (max-width:520px) {
  .cx-account-nav ul { grid-template-columns:1fr 1fr; }
  .cx-order-summary-card__top,.cx-order-summary-card__actions { align-items:flex-start;flex-direction:column; }
  .cx-order-summary-card__meta { grid-template-columns:1fr 1fr; }
  .cx-header-account { display:none; }
}


/* ==========================================================
   CRIAXIS V11 — autenticação e recuperação de senha
   ========================================================== */
body.woocommerce-account .show-password-input,
body.woocommerce-account .password-input > .show-password-input,
body.woocommerce-account span.show-password-input {
    display: none !important;
}

.cx-password-field,
.cx-password-input__control {
    position: relative;
    display: block;
    width: 100%;
}

.cx-password-field input,
.cx-password-input__control input {
    width: 100% !important;
    min-height: 52px;
    padding-right: 88px !important;
}

.cx-password-field .cx-password-toggle,
.cx-password-input__control .cx-password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 3;
    width: auto !important;
    min-width: 68px;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #edf5ff !important;
    color: #087df0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.cx-password-field .cx-password-toggle:hover,
.cx-password-input__control .cx-password-toggle:hover {
    background: #dcecff !important;
    transform: translateY(-50%) !important;
}

body.woocommerce-account .woocommerce-notices-wrapper:empty {
    display: none;
}

.cx-account-toast {
    width: min(430px, calc(100vw - 32px));
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    border: 1px solid rgba(20, 35, 55, .10);
    border-left: 4px solid #087df0;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 50px rgba(20, 35, 55, .18);
}
.cx-account-toast.is-error { border-left-color: #d63232; }
.cx-account-toast.is-success { border-left-color: #17a967; }
.cx-account-toast__copy span { line-height: 1.45; }

.cx-account-auth .cx-auth-form button,
.cx-password-flow button,
.cx-account-form-page button {
    cursor: pointer;
}

.cx-account-auth__grid,
.cx-password-card,
.cx-password-confirmation {
    overflow: hidden;
}

.cx-password-flow {
    width: min(920px, calc(100% - 32px));
    margin-inline: auto;
}

.cx-password-card__form form,
.cx-password-resend__form {
    width: 100%;
}

.cx-password-form .form-row-first,
.cx-password-form .form-row-last {
    float: none !important;
    width: 100% !important;
}

.cx-password-form__actions .cx-auth-submit {
    width: 100%;
    min-height: 50px;
}

@media (max-width: 700px) {
    .cx-password-flow { width: min(100% - 20px, 560px); }
    .cx-password-field input,
    .cx-password-input__control input { padding-right: 76px !important; }
    .cx-password-field .cx-password-toggle,
    .cx-password-input__control .cx-password-toggle { min-width: 58px; padding-inline: 9px !important; }
}


/* ==========================================================
   CRIAXIS V12 — recuperação de senha estável e diagramada
   ========================================================== */
body.woocommerce-account.woocommerce-lost-password .site-main,
body.woocommerce-account.woocommerce-lost-password main,
body.woocommerce-account.woocommerce-lost-password .page-content {
    overflow: visible !important;
}

body.woocommerce-account.woocommerce-lost-password .woocommerce {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-account.woocommerce-lost-password .woocommerce-notices-wrapper {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto 18px;
}

.cx-password-flow {
    width: min(860px, calc(100% - 32px)) !important;
    margin: 0 auto 72px !important;
}

.cx-password-card {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    width: 100%;
    min-height: 0;
    border-radius: 26px !important;
}

.cx-password-card__visual,
.cx-password-card__form {
    min-width: 0;
    padding: clamp(34px, 4vw, 48px) !important;
}

.cx-password-card__visual {
    min-height: 470px !important;
}

.cx-password-card__form {
    justify-content: center;
    background: #fff;
}

.cx-password-card__form h1 {
    max-width: 440px;
    font-size: clamp(2.25rem, 4vw, 3.25rem) !important;
}

.cx-password-form {
    width: 100%;
    gap: 20px !important;
}

.cx-password-form .cx-field {
    position: relative;
    width: 100% !important;
}

.cx-password-input__control {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.cx-password-input__control input {
    display: block !important;
    width: 100% !important;
    min-height: 56px !important;
    padding: 0 86px 0 16px !important;
    margin: 0 !important;
}

.cx-password-input__control .cx-password-toggle {
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    min-width: 66px !important;
    min-height: 36px !important;
}

.cx-password-form .password-strength,
.cx-password-form .woocommerce-password-strength,
.cx-password-form .woocommerce-password-hint {
    margin-top: 8px !important;
    font-size: .78rem !important;
    line-height: 1.35 !important;
}

.cx-password-form__actions {
    display: block !important;
    width: 100% !important;
}

.cx-password-form__actions .cx-auth-submit {
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.cx-password-confirmation {
    width: min(760px, 100%) !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    padding: clamp(34px, 5vw, 54px) !important;
    overflow: visible !important;
}

.cx-password-confirmation__tips {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.cx-password-resend {
    text-align: left;
}

.cx-password-resend__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
}

.cx-password-resend__form input {
    min-width: 0;
}

.cx-password-resend__form button {
    min-height: 54px !important;
    padding: 0 18px !important;
    white-space: nowrap;
    cursor: pointer !important;
}

@media (max-width: 760px) {
    .cx-password-card {
        grid-template-columns: 1fr !important;
    }
    .cx-password-card__visual {
        min-height: 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(41,41,41,.07);
    }
    .cx-password-confirmation__tips {
        grid-template-columns: 1fr !important;
    }
    .cx-password-resend__form {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 520px) {
    .cx-password-flow {
        width: min(100% - 20px, 520px) !important;
    }
    .cx-password-card__visual,
    .cx-password-card__form,
    .cx-password-confirmation {
        padding: 28px 22px !important;
    }
}

/* ==========================================================
   CRIAXIS V36 — conta sem cabeçalho externo redundante
   ========================================================== */
body.woocommerce-account .page-content-section {
    padding-top: 32px !important;
}

@media (max-width: 760px) {
    body.woocommerce-account .page-content-section {
        padding-top: 20px !important;
    }
}

/* ==========================================================
   CRIAXIS V34 — endereço canônico, CEP funcional e alinhamento
   ========================================================== */

/* Os cabeçalhos ocupam a largura inteira antes de centralizar o conteúdo. */
body.woocommerce-account .cx-account-dashboard__welcome,
body.woocommerce-account .cx-account-section__header,
body.woocommerce-account .cx-account-section-heading,
body.woocommerce-account .cx-profile-form__heading {
    display: flex !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    text-align: center !important;
}

body.woocommerce-account .cx-account-dashboard__welcome > div,
body.woocommerce-account .cx-account-section__header > div,
body.woocommerce-account .cx-account-section-heading > div,
body.woocommerce-account .cx-profile-form__heading > div {
    width: min(760px, 100%) !important;
    margin-inline: auto !important;
    text-align: center !important;
}

body.woocommerce-account .cx-account-dashboard__welcome h2,
body.woocommerce-account .cx-account-dashboard__welcome p,
body.woocommerce-account .cx-account-section__header h2,
body.woocommerce-account .cx-account-section__header h3,
body.woocommerce-account .cx-account-section__header p,
body.woocommerce-account .cx-account-section-heading h2,
body.woocommerce-account .cx-account-section-heading h3,
body.woocommerce-account .cx-account-section-heading p,
body.woocommerce-account .cx-profile-form__heading h2,
body.woocommerce-account .cx-profile-form__heading h3,
body.woocommerce-account .cx-profile-form__heading p,
body.woocommerce-account .cx-profile-form__heading .eyebrow {
    max-width: 760px !important;
    margin-inline: auto !important;
    text-align: center !important;
}

body.woocommerce-account .cx-account-section__header .cx-account-primary-link,
body.woocommerce-account .cx-account-section-heading > a {
    margin: 16px auto 0 !important;
}

/* O país é uma regra da loja, não uma escolha que possa ficar vazia. */
.cx-address-country-fixed {
    display: grid;
    min-width: 0;
    min-height: 72px;
    padding: 14px 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(0, 120, 235, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, #f4f9ff, #fff);
}

.cx-address-country-fixed__flag {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: var(--cx-blue);
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .05em;
}

.cx-address-country-fixed small,
.cx-address-country-fixed strong {
    display: block;
}

.cx-address-country-fixed small {
    margin-bottom: 2px;
    color: rgba(41, 41, 41, .52);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.cx-address-country-fixed strong {
    color: var(--cx-black);
    font-size: 1rem;
}

.cx-address-country-fixed__note {
    color: rgba(41, 41, 41, .54);
    font-size: .78rem;
    text-align: right;
}

/* Cada etapa é um bloco completo, sem campos órfãos abaixo do formulário. */
.cx-address-form-page .cx-smart-address-form {
    gap: 18px !important;
    background: #f7f9fc !important;
}

.cx-address-recipient-fields,
.cx-address-lookup,
.cx-address-details {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 26px !important;
    border: 1px solid rgba(41, 41, 41, .085) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-sizing: border-box;
}

.cx-address-recipient-fields .cx-profile-form__heading,
.cx-address-lookup .cx-profile-form__heading,
.cx-address-details .cx-profile-form__heading {
    margin: 0 auto 22px !important;
}

body.woocommerce-account .cx-account-fields-grid {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.woocommerce-account .cx-account-fields-grid .form-row,
body.woocommerce-account .cx-account-fields-grid .woocommerce-form-row {
    display: block !important;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-account .cx-account-fields-grid .form-row-wide {
    grid-column: 1 / -1 !important;
}

body.woocommerce-account .cx-account-fields-grid .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.woocommerce-account .cx-account-fields-grid label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    color: #333b46 !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

.cx-postcode-tools {
    display: grid !important;
    width: min(720px, 100%) !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: end !important;
    gap: 12px !important;
}

.cx-postcode-tools .form-row,
.cx-postcode-tools .woocommerce-input-wrapper {
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.cx-postcode-tools label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #333b46 !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
}

.cx-postcode-tools input {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 15px !important;
    border: 1px solid rgba(41, 41, 41, .13) !important;
    border-radius: 13px !important;
    background: #f5f7fa !important;
    box-sizing: border-box !important;
}

.cx-postcode-search {
    width: auto !important;
    min-width: 150px;
}

.cx-address-lookup > .cx-lookup-status {
    width: min(720px, 100%);
    min-height: 20px;
    margin: 10px auto 0;
    text-align: center;
}

.cx-manual-address-toggle.is-active {
    border-bottom: 0;
    color: #168653;
    cursor: default;
}

.cx-address-details.is-manual {
    border-color: rgba(36, 171, 105, .28) !important;
    box-shadow: 0 12px 30px rgba(36, 171, 105, .07);
}

.cx-smart-address-form.is-saving .cx-account-form-actions .button[aria-busy="true"] {
    opacity: .78;
    cursor: progress;
}

@media (max-width: 780px) {
    .cx-address-country-fixed {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .cx-address-country-fixed__note {
        grid-column: 1 / -1;
        text-align: left;
    }

    .cx-address-recipient-fields,
    .cx-address-lookup,
    .cx-address-details {
        padding: 20px 16px !important;
    }

    body.woocommerce-account .cx-account-fields-grid,
    .cx-postcode-tools {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.woocommerce-account .cx-account-fields-grid .form-row-wide {
        grid-column: 1 !important;
    }

    .cx-postcode-search {
        width: 100% !important;
    }
}


/* ==========================================================
   CRIAXIS V13 — controle de visualização de senha
   ========================================================== */
body.woocommerce-account .cx-password-field input,
body.woocommerce-account .cx-password-input__control input {
    padding-right: 62px !important;
}

body.woocommerce-account .cx-password-field .cx-password-toggle,
body.woocommerce-account .cx-password-input__control .cx-password-toggle {
    top: 50% !important;
    right: 8px !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 1px solid rgba(8, 125, 240, .10) !important;
    border-radius: 12px !important;
    background-color: #eef6ff !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23087df0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    transform: translateY(-50%) !important;
}

body.woocommerce-account .cx-password-field .cx-password-toggle.is-revealing,
body.woocommerce-account .cx-password-input__control .cx-password-toggle.is-revealing {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23087df0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 3 18 18'/%3E%3Cpath d='M10.6 10.6a2 2 0 0 0 2.8 2.8'/%3E%3Cpath d='M9.9 4.2A10.8 10.8 0 0 1 12 4c6.5 0 10 8 10 8a17 17 0 0 1-2.1 3.2'/%3E%3Cpath d='M6.6 6.6C3.6 8.4 2 12 2 12s3.5 8 10 8a9.8 9.8 0 0 0 4.1-.9'/%3E%3C/svg%3E") !important;
}

body.woocommerce-account .cx-password-field .cx-password-toggle:hover,
body.woocommerce-account .cx-password-input__control .cx-password-toggle:hover {
    background-color: #dcecff !important;
    border-color: rgba(8, 125, 240, .22) !important;
    transform: translateY(-50%) !important;
}

body.woocommerce-account .cx-password-field .cx-password-toggle:focus-visible,
body.woocommerce-account .cx-password-input__control .cx-password-toggle:focus-visible {
    outline: 3px solid rgba(8, 125, 240, .20) !important;
    outline-offset: 2px !important;
}

/* ==========================================================
   CRIAXIS V15 — visualização de pedido estável
   ========================================================== */
body.woocommerce-account.woocommerce-view-order .commerce-container {
  width:min(1240px,calc(100% - 40px)) !important;
  max-width:none !important;
}
body.woocommerce-account.woocommerce-view-order .page-content-card.is-woocommerce-page {
  width:100% !important;
  max-width:none !important;
}
body.woocommerce-account.woocommerce-view-order.logged-in .woocommerce {
  width:100% !important;
  max-width:none !important;
  grid-template-columns:240px minmax(0,1fr) !important;
  gap:24px !important;
}
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content {
  width:100% !important;
  max-width:none !important;
}
.cx-view-order { display:grid;gap:18px;min-width:0; }
.cx-view-order__hero {
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;
  padding:28px 30px;border:1px solid rgba(41,41,41,.08);border-radius:24px;
  background:linear-gradient(135deg,#fff 0%,#f4f8fc 100%);box-shadow:0 16px 45px rgba(22,30,40,.07);
}
.cx-view-order__eyebrow { display:block;color:#087df0;font-size:.69rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase; }
.cx-view-order__hero h2,.cx-view-order__card-heading h3 { margin:7px 0 6px;letter-spacing:-.04em;line-height:1.05; }
.cx-view-order__hero h2 { font-size:clamp(2rem,3.2vw,3rem); }
.cx-view-order__hero p { margin:0;color:rgba(41,41,41,.58); }
.cx-view-order__status { display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;background:#eef3f8;color:#425066;font-size:.76rem;font-weight:900;white-space:nowrap; }
.cx-view-order__status.is-completed,.cx-view-order__status.is-processing { background:#e9f8f0;color:#178653; }
.cx-view-order__status.is-on-hold,.cx-view-order__status.is-pending { background:#fff6db;color:#8d6500; }
.cx-view-order__status.is-cancelled,.cx-view-order__status.is-failed,.cx-view-order__status.is-refunded { background:#fff0f0;color:#b33a3a; }
.cx-view-order__summary { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid rgba(41,41,41,.08);border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(22,30,40,.05); }
.cx-view-order__summary > div { padding:18px 20px;border-right:1px solid rgba(41,41,41,.07); }
.cx-view-order__summary > div:last-child { border-right:0; }
.cx-view-order__summary small,.cx-view-order__addresses small { display:block;margin-bottom:5px;color:rgba(41,41,41,.48);font-size:.68rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase; }
.cx-view-order__summary strong { font-size:.95rem; }
.cx-view-order__actions { display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end; }
.cx-view-order__action { display:inline-flex!important;align-items:center;justify-content:center;min-height:44px!important;padding:0 17px!important;border-radius:12px!important;background:#eef2f6!important;color:#292929!important;font-weight:850!important;text-decoration:none!important;cursor:pointer!important; }
.cx-view-order__action.is-primary { background:#087df0!important;color:#fff!important; }
.cx-view-order__grid { display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:18px;align-items:start; }
.cx-view-order__main,.cx-view-order__aside { display:grid;gap:18px;min-width:0; }
.cx-view-order__aside { position:sticky;top:96px; }
.cx-view-order__card { overflow:hidden;border:1px solid rgba(41,41,41,.08);border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(22,30,40,.06); }
.cx-view-order__card-heading { padding:22px 24px;border-bottom:1px solid rgba(41,41,41,.07);background:#fbfcfd; }
.cx-view-order__card-heading h3 { font-size:1.45rem; }
.cx-view-order__items { display:grid; }
.cx-view-order__item { display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px 22px;border-bottom:1px solid rgba(41,41,41,.07); }
.cx-view-order__item:last-child { border-bottom:0; }
.cx-view-order__item-image img { display:block;width:82px;height:82px;object-fit:cover;border-radius:14px;background:#f2f3f5; }
.cx-view-order__item-copy h4 { margin:0 0 7px;font-size:1rem;line-height:1.3; }
.cx-view-order__item-copy > span,.cx-view-order__item-meta { color:rgba(41,41,41,.56);font-size:.8rem; }
.cx-view-order__item-meta p { margin:0 0 4px; }
.cx-view-order__item-total { color:#087df0;white-space:nowrap; }
.cx-view-order__totals dl { margin:0;padding:8px 22px 18px; }
.cx-view-order__totals dl > div { display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid rgba(41,41,41,.07); }
.cx-view-order__totals dl > div:last-child { border-bottom:0; }
.cx-view-order__totals dt { color:rgba(41,41,41,.58); }
.cx-view-order__totals dd { margin:0;text-align:right;font-weight:800; }
.cx-view-order__totals .is-total { padding-top:18px;font-size:1.08rem; }
.cx-view-order__totals .is-total dt,.cx-view-order__totals .is-total dd { color:#087df0;font-weight:900; }
.cx-view-order__addresses { display:grid;gap:18px;padding:22px 24px 25px; }
.cx-view-order__addresses > div + div { padding-top:18px;border-top:1px solid rgba(41,41,41,.07); }
.cx-view-order__addresses address { margin:0;color:rgba(41,41,41,.7);font-style:normal;line-height:1.65; }
.cx-view-order__addresses p { margin:7px 0 0;color:rgba(41,41,41,.58);font-size:.82rem;overflow-wrap:anywhere; }
.cx-view-order__timeline { display:grid;gap:0;margin:0;padding:8px 24px 22px;list-style:none; }
.cx-view-order__timeline li { position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;padding:18px 0;border-bottom:1px solid rgba(41,41,41,.07); }
.cx-view-order__timeline li:last-child { border-bottom:0; }
.cx-view-order__timeline-dot { width:10px;height:10px;margin-top:5px;border:3px solid #dcecff;border-radius:50%;background:#087df0;box-sizing:content-box; }
.cx-view-order__timeline time { display:block;margin-bottom:7px;color:rgba(41,41,41,.48);font-size:.74rem;font-weight:800; }
.cx-view-order__timeline p { margin:0;color:rgba(41,41,41,.68);line-height:1.55; }
@media (max-width:980px) {
  body.woocommerce-account.woocommerce-view-order.logged-in .woocommerce { grid-template-columns:1fr!important; }
  .cx-view-order__aside { position:static; }
  .cx-view-order__grid { grid-template-columns:1fr; }
  .cx-view-order__summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cx-view-order__summary > div:nth-child(2) { border-right:0; }
  .cx-view-order__summary > div:nth-child(-n+2) { border-bottom:1px solid rgba(41,41,41,.07); }
}
@media (max-width:620px) {
  body.woocommerce-account.woocommerce-view-order .commerce-container { width:min(100% - 20px,1240px)!important; }
  .cx-view-order__hero { align-items:flex-start;flex-direction:column;padding:22px; }
  .cx-view-order__summary { grid-template-columns:1fr; }
  .cx-view-order__summary > div { border-right:0!important;border-bottom:1px solid rgba(41,41,41,.07)!important; }
  .cx-view-order__summary > div:last-child { border-bottom:0!important; }
  .cx-view-order__item { grid-template-columns:68px minmax(0,1fr);padding:16px; }
  .cx-view-order__item-image img { width:68px;height:68px; }
  .cx-view-order__item-total { grid-column:2; }
  .cx-view-order__actions { justify-content:stretch; }
  .cx-view-order__action { flex:1; }
}

/* ==========================================================
   CRIAXIS V16 — checkout linear em etapas horizontais
   ========================================================== */
body.woocommerce-checkout .commerce-container,
body.woocommerce-checkout .page-content-card.is-woocommerce-page {
    width: min(1180px, calc(100% - 40px)) !important;
    max-width: none !important;
}
body.woocommerce-checkout .page-content-card.is-woocommerce-page {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.cx-checkout-linear { width: 100%; }
.cx-checkout-linear-stack { display: grid; gap: 20px; margin-top: 18px; }
.cx-checkout-step {
    overflow: hidden;
    border: 1px solid rgba(41,41,41,.08);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(22,30,40,.07);
}
.cx-checkout-step__header {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(41,41,41,.07);
    background: linear-gradient(135deg,#fff 0%,#f7faff 100%);
}
.cx-checkout-step__header .eyebrow {
    align-self: start;
    color: #087df0;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .15em;
    white-space: nowrap;
}
.cx-checkout-step__header h2 { margin: 0 0 5px; font-size: clamp(1.5rem,2.3vw,2rem); letter-spacing: -.04em; }
.cx-checkout-step__header p { margin: 0; color: rgba(41,41,41,.58); }
.cx-checkout-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(8,125,240,.18);
    border-radius: 12px;
    background: #eef7ff;
    color: #087df0;
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}
.cx-checkout-edit-link:hover { transform: translateY(-1px); background: #e1f0ff; }
.cx-checkout-product-list { padding: 0 28px 24px; }
.cx-checkout-product-row {
    display: grid;
    grid-template-columns: 96px minmax(0,1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(41,41,41,.07);
}
.cx-checkout-product-image img { display:block;width:96px;height:96px;object-fit:cover;border-radius:16px;background:#f2f4f6; }
.cx-checkout-product-copy h3 { margin:0 0 8px;font-size:1.05rem;line-height:1.3; }
.cx-checkout-product-copy span,.cx-checkout-product-copy .variation { color:rgba(41,41,41,.56);font-size:.82rem; }
.cx-checkout-product-price { color:#087df0;font-size:1.05rem;font-weight:900;white-space:nowrap; }
.cx-checkout-totals { width:min(520px,100%);margin:18px 0 0 auto;padding:8px 0 0; }
.cx-checkout-totals > div,.cx-checkout-totals .woocommerce-shipping-totals { display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid rgba(41,41,41,.07); }
.cx-checkout-totals .woocommerce-shipping-totals th,.cx-checkout-totals .woocommerce-shipping-totals td { padding:0!important;border:0!important;background:transparent!important; }
.cx-checkout-totals .woocommerce-shipping-totals { display:grid;grid-template-columns:1fr auto; }
.cx-checkout-totals .woocommerce-shipping-methods { margin:0;list-style:none;text-align:right; }
.cx-checkout-totals .is-total { padding-top:18px;border-bottom:0;color:#087df0;font-size:1.15rem; }
.cx-checkout-readonly { padding-bottom: 26px; }
.cx-checkout-readonly-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:24px 28px 16px; }
.cx-checkout-readonly-card { padding:18px;border:1px solid rgba(41,41,41,.08);border-radius:16px;background:#fbfcfd; }
.cx-checkout-readonly-card small,.cx-checkout-address-summary small { display:block;margin-bottom:7px;color:rgba(41,41,41,.48);font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase; }
.cx-checkout-readonly-card strong { display:block;overflow-wrap:anywhere;font-size:.95rem; }
.cx-checkout-address-summary { display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin:0 28px;padding:22px;border:1px solid rgba(41,41,41,.08);border-radius:18px;background:#f8fafc; }
.cx-checkout-address-summary h3 { margin:0 0 10px;font-size:1.15rem; }
.cx-checkout-address-summary address { color:rgba(41,41,41,.68);font-style:normal;line-height:1.65; }
.cx-checkout-hidden-fields { position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important; }
.cx-checkout-shipping-choice { padding-bottom: 24px; }
.cx-different-address-toggle { display:flex;gap:14px;align-items:flex-start;margin:24px 28px 0;padding:18px 20px;border:1px solid rgba(8,125,240,.14);border-radius:16px;background:#f5faff;cursor:pointer; }
.cx-different-address-toggle input { position:absolute;opacity:0;pointer-events:none; }
.cx-toggle-box { flex:0 0 22px;width:22px;height:22px;margin-top:2px;border:2px solid #b8c5d3;border-radius:7px;background:#fff; }
.cx-different-address-toggle input:checked + .cx-toggle-box { border-color:#087df0;background:#087df0;box-shadow:inset 0 0 0 5px #fff; }
.cx-different-address-toggle strong,.cx-different-address-toggle small { display:block; }
.cx-different-address-toggle small { margin-top:4px;color:rgba(41,41,41,.58); }
.cx-alternate-address-form { margin:18px 28px 0;padding:24px;border:1px solid rgba(41,41,41,.08);border-radius:18px;background:#fbfcfd; }
.cx-alternate-address-heading h3 { margin:0 0 5px; }
.cx-alternate-address-heading p { margin:0 0 20px;color:rgba(41,41,41,.58); }
.cx-alternate-address-form .woocommerce-shipping-fields__field-wrapper { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px; }
.cx-alternate-address-form .form-row { width:100%!important;margin:0!important; }
.cx-alternate-address-form .form-row-wide { grid-column:1/-1; }
.cx-order-notes { padding: 0 28px 24px; }
.cx-order-notes .form-row { margin:0!important; }
.cx-checkout-payment-wrap { padding:24px 28px 28px; }
.cx-checkout-payment-wrap #payment { margin:0!important;padding:0!important;background:transparent!important; }
.cx-checkout-payment-wrap .wc_payment_methods { display:grid;gap:12px;margin:0!important;padding:0!important;list-style:none; }
.cx-checkout-payment-wrap .wc_payment_method { overflow:hidden;border:1px solid rgba(41,41,41,.1)!important;border-radius:18px!important;background:#fff!important; }
.cx-checkout-payment-wrap .wc_payment_method > label { display:flex!important;align-items:center;gap:10px;min-height:58px;padding:0 18px!important;font-weight:850!important;cursor:pointer!important; }
.cx-checkout-payment-wrap .payment_box { margin:0!important;padding:20px!important;border-top:1px solid rgba(41,41,41,.08)!important;background:#f8fafc!important; }
.cx-checkout-payment-wrap .place-order { display:grid;gap:15px;margin-top:20px!important;padding:20px!important;border-radius:18px;background:#f5f8fb!important; }
.cx-checkout-payment-wrap #place_order { width:100%!important;min-height:56px!important;border:0!important;border-radius:14px!important;background:#087df0!important;color:#fff!important;font-size:1rem!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 12px 28px rgba(8,125,240,.24)!important;transition:transform .2s ease,box-shadow .2s ease!important; }
.cx-checkout-payment-wrap #place_order:hover { transform:translateY(-2px)!important;box-shadow:0 16px 34px rgba(8,125,240,.32)!important; }
@media (max-width:820px) {
    .cx-checkout-step__header { grid-template-columns:1fr;gap:10px;padding:22px; }
    .cx-checkout-step__header .eyebrow { order:-1; }
    .cx-checkout-edit-link { justify-self:start; }
    .cx-checkout-readonly-grid { grid-template-columns:1fr;padding:20px 22px 12px; }
    .cx-checkout-address-summary { flex-direction:column;margin:0 22px; }
    .cx-checkout-product-list { padding:0 22px 22px; }
    .cx-checkout-product-row { grid-template-columns:76px minmax(0,1fr); }
    .cx-checkout-product-image img { width:76px;height:76px; }
    .cx-checkout-product-price { grid-column:2; }
    .cx-different-address-toggle,.cx-alternate-address-form { margin-left:22px;margin-right:22px; }
    .cx-alternate-address-form .woocommerce-shipping-fields__field-wrapper { grid-template-columns:1fr; }
    .cx-order-notes,.cx-checkout-payment-wrap { padding-left:22px;padding-right:22px; }
}
@media (max-width:560px) {
    body.woocommerce-checkout .commerce-container,body.woocommerce-checkout .page-content-card.is-woocommerce-page { width:min(100% - 20px,1180px)!important; }
    .cx-checkout-product-row { grid-template-columns:64px minmax(0,1fr);gap:12px; }
    .cx-checkout-product-image img { width:64px;height:64px; }
}

/* ==========================================================
   CRIAXIS V17 — checkout contínuo, coeso e sem blocos soltos
   ========================================================== */
body.woocommerce-checkout .commerce-container,
body.woocommerce-checkout .page-content-card.is-woocommerce-page {
    width: min(1040px, calc(100% - 40px)) !important;
    max-width: none !important;
}
body.woocommerce-checkout .page-content-card.is-woocommerce-page {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.cx-checkout-v17 { width: 100%; }
.cx-checkout-v17 .cx-checkout-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}
.cx-checkout-v17 .cx-checkout-progress span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(29, 43, 58, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .8);
    color: rgba(41, 41, 41, .48);
    font-weight: 800;
}
.cx-checkout-v17 .cx-checkout-progress b {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #edf1f5;
    font-size: .74rem;
}
.cx-checkout-v17 .cx-checkout-progress small { font-size: .76rem; }
.cx-checkout-v17 .cx-checkout-progress .is-done,
.cx-checkout-v17 .cx-checkout-progress .is-active {
    color: #087df0;
}
.cx-checkout-v17 .cx-checkout-progress .is-active {
    border-color: rgba(8, 125, 240, .32);
    background: #f0f7ff;
}
.cx-checkout-v17 .cx-checkout-progress .is-active b,
.cx-checkout-v17 .cx-checkout-progress .is-done b {
    background: #087df0;
    color: #fff;
}
.cx-checkout-flow {
    display: grid;
    gap: 18px;
}
.cx-checkout-panel {
    overflow: hidden;
    border: 1px solid rgba(24, 38, 52, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(26, 38, 51, .07);
}
.cx-checkout-panel__header {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(29, 43, 58, .07);
    background: linear-gradient(135deg, #fff 0%, #f7faff 100%);
}
.cx-checkout-panel__number {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #eaf5ff;
    color: #087df0;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
}
.cx-checkout-panel__title > span {
    display: block;
    margin-bottom: 4px;
    color: #087df0;
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.cx-checkout-panel__title h2 {
    margin: 0 0 4px;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}
.cx-checkout-panel__title p {
    margin: 0;
    color: rgba(41, 41, 41, .56);
    font-size: .92rem;
}
.cx-checkout-v17 .cx-checkout-edit-link,
.cx-checkout-v17 .cx-checkout-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(8, 125, 240, .2);
    border-radius: 12px;
    background: #eef7ff;
    color: #087df0;
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}
.cx-checkout-v17 .cx-checkout-edit-link:hover,
.cx-checkout-v17 .cx-checkout-text-link:hover {
    transform: translateY(-1px);
    background: #deefff;
}

/* Pedido */
.cx-checkout-order-review { padding: 0 28px 28px; }
.cx-checkout-items { display: grid; }
.cx-checkout-v17 .cx-checkout-product-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid rgba(29, 43, 58, .07);
}
.cx-checkout-v17 .cx-checkout-product-image { position: relative; }
.cx-checkout-v17 .cx-checkout-product-image img {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 16px;
    background: #f1f4f7;
}
.cx-checkout-v17 .cx-checkout-product-image > span {
    position: absolute;
    top: -8px;
    right: -8px;
    display: grid;
    place-items: center;
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #087df0;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
}
.cx-checkout-v17 .cx-checkout-product-copy h3 {
    margin: 0 0 7px;
    font-size: 1rem;
    line-height: 1.3;
}
.cx-checkout-v17 .cx-checkout-product-copy small,
.cx-checkout-v17 .cx-checkout-product-copy .variation {
    display: block;
    color: rgba(41, 41, 41, .52);
    font-size: .79rem;
}
.cx-checkout-v17 .cx-checkout-product-price {
    color: #087df0;
    font-size: 1.05rem;
    font-weight: 900;
    white-space: nowrap;
}
.cx-checkout-v17 .cx-checkout-totals {
    width: min(480px, 100%);
    margin: 18px 0 0 auto;
    padding: 18px 20px;
    border-radius: 17px;
    background: #f7f9fb;
}
.cx-checkout-v17 .cx-checkout-totals > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(29, 43, 58, .06);
}
.cx-checkout-v17 .cx-checkout-totals > div:last-child { border-bottom: 0; }
.cx-checkout-v17 .cx-checkout-totals span small {
    display: block;
    margin-top: 3px;
    color: rgba(41, 41, 41, .48);
    font-size: .7rem;
}
.cx-checkout-v17 .cx-checkout-totals .is-total {
    margin-top: 4px;
    padding-top: 15px;
    color: #087df0;
    font-size: 1.12rem;
}

/* Cliente e entrega */
.cx-checkout-identity-body { padding: 26px 28px 28px; }
.cx-checkout-readonly { display: grid; gap: 14px; }
.cx-checkout-subsection {
    padding: 22px;
    border: 1px solid rgba(29, 43, 58, .08);
    border-radius: 18px;
    background: #fbfcfd;
}
.cx-checkout-subsection__heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.cx-checkout-subsection__heading span {
    color: #087df0;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.cx-checkout-subsection__heading h3 {
    margin: 5px 0 0;
    font-size: 1.2rem;
}
.cx-checkout-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.cx-checkout-facts > div {
    padding: 15px 16px;
    border-radius: 14px;
    background: #fff;
}
.cx-checkout-facts small {
    display: block;
    margin-bottom: 6px;
    color: rgba(41, 41, 41, .46);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cx-checkout-facts strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: .9rem;
}
.cx-checkout-address {
    margin: 0;
    color: rgba(41, 41, 41, .68);
    font-style: normal;
    line-height: 1.65;
}
.cx-checkout-missing-data {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 14px;
    background: #fff4f4;
    color: #9b2b2b;
}
.cx-checkout-hidden-fields {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.cx-checkout-shipping-choice { margin-top: 14px; }
.cx-different-address-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(8, 125, 240, .16);
    border-radius: 17px;
    background: #f4f9ff;
    cursor: pointer;
}
.cx-different-address-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.cx-toggle-control {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: #cbd5df;
    transition: background .2s ease;
}
.cx-toggle-control i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 9px rgba(20, 35, 50, .18);
    transition: transform .2s ease;
}
.cx-different-address-toggle input:checked + .cx-toggle-control { background: #087df0; }
.cx-different-address-toggle input:checked + .cx-toggle-control i { transform: translateX(18px); }
.cx-toggle-copy strong,
.cx-toggle-copy small { display: block; }
.cx-toggle-copy small {
    margin-top: 3px;
    color: rgba(41, 41, 41, .54);
    font-size: .78rem;
}
.cx-alternate-address-form[hidden] { display: none !important; }
.cx-alternate-address-form {
    margin-top: 14px;
    padding: 22px;
    border: 1px solid rgba(29, 43, 58, .08);
    border-radius: 18px;
    background: #f8fafc;
}
.cx-alternate-address-heading > span {
    color: #087df0;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cx-alternate-address-heading h3 { margin: 5px 0 5px; }
.cx-alternate-address-heading p {
    margin: 0 0 18px;
    color: rgba(41, 41, 41, .56);
}
.cx-alternate-address-form .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.cx-alternate-address-form .form-row {
    width: 100% !important;
    margin: 0 !important;
}
.cx-alternate-address-form .form-row-wide { grid-column: 1 / -1; }
.cx-order-notes { margin-top: 14px; }
.cx-order-notes-details {
    border: 1px solid rgba(29, 43, 58, .08);
    border-radius: 16px;
    background: #fff;
}
.cx-order-notes-details summary {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 18px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.cx-order-notes-details summary::-webkit-details-marker { display: none; }
.cx-order-notes-details summary span {
    color: rgba(41, 41, 41, .45);
    font-size: .72rem;
    text-transform: uppercase;
}
.cx-order-notes-details .woocommerce-additional-fields__field-wrapper { padding: 0 18px 18px; }

/* Pagamento */
.cx-checkout-payment-wrap { padding: 24px 28px 28px; }
.cx-payment { margin: 0 !important; padding: 0 !important; background: transparent !important; }
.cx-payment-methods {
    display: grid;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
.cx-payment-methods .wc_payment_method {
    overflow: hidden;
    border: 1px solid rgba(29, 43, 58, .1) !important;
    border-radius: 17px !important;
    background: #fff !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.cx-payment-methods .wc_payment_method:has(input:checked) {
    border-color: rgba(8, 125, 240, .5) !important;
    box-shadow: 0 0 0 3px rgba(8, 125, 240, .08);
}
.cx-payment-methods .wc_payment_method > input {
    position: absolute !important;
    opacity: 0 !important;
}
.cx-payment-methods .wc_payment_method > label {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 0 18px 0 52px !important;
    font-weight: 850 !important;
    cursor: pointer !important;
}
.cx-payment-methods .wc_payment_method > label::before {
    content: '';
    position: absolute;
    left: 19px;
    width: 20px;
    height: 20px;
    border: 2px solid #b8c3ce;
    border-radius: 999px;
    background: #fff;
}
.cx-payment-methods .wc_payment_method > input:checked + label::before {
    border-color: #087df0;
    box-shadow: inset 0 0 0 5px #fff;
    background: #087df0;
}
.cx-payment-methods .payment_box {
    margin: 0 !important;
    padding: 22px !important;
    border-top: 1px solid rgba(29, 43, 58, .07) !important;
    background: #f8fafc !important;
}
.cx-payment-methods .wc_payment_method:not(:has(input:checked)) .payment_box {
    display: none !important;
}
.cx-payment-methods .payment_box::before { display: none !important; }
.cx-payment-methods .payment_box input,
.cx-payment-methods .payment_box select,
.cx-payment-methods .payment_box textarea {
    max-width: 100% !important;
}
.cx-place-order {
    display: grid;
    gap: 14px;
    margin: 18px 0 0 !important;
    padding: 20px !important;
    border-radius: 18px;
    background: #f4f8fc;
}
.cx-final-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(29, 43, 58, .08);
}
.cx-final-total span { font-weight: 800; }
.cx-final-total strong {
    color: #087df0;
    font-size: 1.35rem;
    font-weight: 950;
}
.cx-place-order #place_order {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: #087df0 !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 13px 30px rgba(8, 125, 240, .25) !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.cx-place-order #place_order::after { content: none !important; }
.cx-place-order #place_order:hover {
    transform: translateY(-2px);
    background: #006dd8 !important;
    box-shadow: 0 17px 35px rgba(8, 125, 240, .32) !important;
}
.cx-checkout-security {
    margin: 0;
    color: rgba(41, 41, 41, .52);
    font-size: .76rem;
    text-align: center;
}
.cx-place-order .woocommerce-privacy-policy-text { color: rgba(41, 41, 41, .56); font-size: .8rem; }

/* Preferências de marketing geradas por integrações */
.cx-checkout-identity-body > p.form-row,
.cx-checkout-identity-body .woocommerce-mailchimp-opt-in {
    margin: 14px 0 0 !important;
    padding: 14px 16px;
    border: 1px solid rgba(29, 43, 58, .08);
    border-radius: 14px;
    background: #fff;
}

@media (max-width: 760px) {
    body.woocommerce-checkout .commerce-container,
    body.woocommerce-checkout .page-content-card.is-woocommerce-page {
        width: min(100% - 20px, 1040px) !important;
    }
    .cx-checkout-v17 .cx-checkout-progress small { display: none; }
    .cx-checkout-v17 .cx-checkout-progress span { justify-content: center; padding: 0; }
    .cx-checkout-panel__header {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 20px;
    }
    .cx-checkout-panel__number { width: 42px; height: 42px; }
    .cx-checkout-panel__header .cx-checkout-edit-link {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
    .cx-checkout-order-review,
    .cx-checkout-identity-body,
    .cx-checkout-payment-wrap { padding: 0 20px 22px; }
    .cx-checkout-v17 .cx-checkout-product-row {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
    }
    .cx-checkout-v17 .cx-checkout-product-image img { width: 72px; height: 72px; }
    .cx-checkout-v17 .cx-checkout-product-price { grid-column: 2; }
    .cx-checkout-subsection__heading { flex-direction: column; }
    .cx-checkout-facts,
    .cx-alternate-address-form .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
    .cx-alternate-address-form .form-row-wide { grid-column: auto; }
}

/* CRIAXIS V21 — cabeçalho do checkout e menu de pagamento */
body.criaxis-checkout-page .page-hero--checkout {
    padding: clamp(42px, 5vw, 68px) 0 32px !important;
    text-align: center;
}
body.criaxis-checkout-page .page-hero--checkout .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
body.criaxis-checkout-page .page-hero--checkout h1 {
    max-width: 820px;
    margin: 0 auto !important;
    text-align: center;
}
body.criaxis-checkout-page .page-hero--checkout p {
    max-width: 680px;
    margin: 15px auto 0 !important;
    color: rgba(41, 41, 41, .62);
    font-size: clamp(.98rem, 1.5vw, 1.08rem);
    line-height: 1.65;
    text-align: center;
}
body.criaxis-checkout-page .page-content-section {
    padding-top: 22px;
}

.cx-payment-prompt {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px !important;
    padding: 12px 15px;
    border: 1px solid rgba(8, 125, 240, .12);
    border-radius: 13px;
    background: #f4f9ff;
    color: #42566b;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.45;
}
.cx-payment-prompt::before {
    content: '';
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #087df0;
    box-shadow: 0 0 0 4px rgba(8, 125, 240, .1);
}
.cx-payment-prompt.is-error {
    border-color: rgba(207, 51, 51, .24);
    background: #fff5f5;
    color: #a32828;
}
.cx-payment-prompt.is-error::before {
    background: #d33d3d;
    box-shadow: 0 0 0 4px rgba(211, 61, 61, .1);
}

.cx-payment-methods {
    gap: 8px !important;
}
.cx-payment-methods .wc_payment_method {
    overflow: hidden !important;
    border: 1px solid #dfe6ed !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.cx-payment-methods .wc_payment_method:hover {
    border-color: #b9d8f7 !important;
    background: #fbfdff !important;
}
.cx-payment-methods .wc_payment_method.is-selected,
.cx-payment-methods .wc_payment_method:has(> input:checked) {
    border-color: #087df0 !important;
    background: #f8fbff !important;
    box-shadow: 0 0 0 3px rgba(8, 125, 240, .08) !important;
}
.cx-payment-methods .wc_payment_method > input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}
.cx-payment-methods .wc_payment_method > label {
    position: relative;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 58px !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 9px 14px 9px 49px !important;
    color: #1f2c39 !important;
    font-family: var(--font-body) !important;
    font-size: .94rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    cursor: pointer !important;
}
.cx-payment-methods .wc_payment_method > label::before {
    left: 16px !important;
    width: 19px !important;
    height: 19px !important;
    border: 2px solid #afbcc8 !important;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.cx-payment-methods .wc_payment_method > input:focus-visible + label {
    outline: 3px solid rgba(8, 125, 240, .22);
    outline-offset: -3px;
}
.cx-payment-methods .wc_payment_method > input:checked + label::before {
    border-color: #087df0 !important;
    background: #087df0 !important;
    box-shadow: inset 0 0 0 4px #fff !important;
}
.cx-payment-method-label {
    min-width: 0;
    flex: 1 1 auto;
}
.cx-payment-methods .wc_payment_method > label img {
    display: block !important;
    flex: 0 0 auto !important;
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    object-fit: contain !important;
    box-shadow: none !important;
}
.cx-payment-methods .wc_payment_method > label svg {
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-left: auto;
}
.cx-payment-methods .payment_box {
    margin: 0 !important;
    padding: 18px !important;
    border-top: 1px solid #e5ebf1 !important;
    border-radius: 0 !important;
    background: #f7f9fc !important;
    color: #415064 !important;
    font-size: .9rem !important;
    line-height: 1.55 !important;
}
.cx-payment-methods .payment_box[hidden],
.cx-payment-methods .wc_payment_method:not(.is-selected):not(:has(> input:checked)) .payment_box {
    display: none !important;
}
.cx-payment-methods .payment_box p {
    margin: 0 0 12px !important;
}
.cx-payment-methods .payment_box p:last-child {
    margin-bottom: 0 !important;
}
.cx-payment-methods .payment_box label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #24364a !important;
    font-family: var(--font-body) !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}
.cx-payment-methods .payment_box input:not([type="checkbox"]):not([type="radio"]),
.cx-payment-methods .payment_box select,
.cx-payment-methods .payment_box textarea {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 1px solid #cfd9e3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #1f2c39 !important;
    font-family: var(--font-body) !important;
    font-size: .92rem !important;
    box-shadow: none !important;
}
.cx-payment-methods .payment_box input:focus,
.cx-payment-methods .payment_box select:focus,
.cx-payment-methods .payment_box textarea:focus {
    border-color: #087df0 !important;
    outline: 3px solid rgba(8, 125, 240, .12) !important;
}
.cx-payment-methods .payment_box .form-row {
    width: 100% !important;
    margin: 0 0 13px !important;
}

@media (max-width: 600px) {
    body.criaxis-checkout-page .page-hero--checkout {
        padding: 34px 0 22px !important;
    }
    body.criaxis-checkout-page .page-hero--checkout h1 {
        font-size: clamp(2rem, 11vw, 2.7rem);
    }
    .cx-payment-methods .wc_payment_method > label {
        min-height: 56px !important;
        padding-right: 12px !important;
        font-size: .88rem !important;
    }
    .cx-payment-methods .wc_payment_method > label img {
        width: 30px !important;
        height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
    }
}

/* CRIAXIS V26 — produção sob demanda e ficha técnica */
.cx-spec-row.is-made-to-order span,
.cx-spec-row.is-production-time span {
    color: #9a5a00;
    font-weight: 800;
}

/* CRIAXIS V22 — home, navegação e contato */
.main-navigation a::after {
    content: none !important;
    display: none !important;
}

.hero-copy--full h1 {
    max-width: 16ch;
}
.hero-copy--full > p {
    max-width: 68ch;
    color: rgba(41, 41, 41, .66);
    font-size: clamp(1rem, 1.45vw, 1.14rem);
    line-height: 1.65;
}

.whatsapp-float::before {
    content: none !important;
    display: none !important;
}
.whatsapp-float svg {
    display: block;
    width: 34px;
    height: 34px;
    color: #fff;
}
.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.03);
}

@media (max-width: 768px) {
    .hero-home--compact {
        padding: 20px 0 12px;
    }
    .hero-copy--full {
        min-height: auto;
        padding: 38px 22px !important;
        border-radius: 24px;
    }
    .hero-copy--full .eyebrow {
        max-width: 30ch;
        line-height: 1.45;
    }
    .hero-copy--full h1 {
        max-width: 13ch;
        margin: 12px auto 16px;
        font-size: clamp(2.35rem, 11vw, 3.35rem);
        line-height: .98;
    }
    .hero-copy--full > p {
        margin: 0 auto 24px;
        font-size: .98rem;
        line-height: 1.58;
    }

    .hero-slider-section {
        padding: 0 0 28px;
    }
    .hero-slider-section > .container {
        width: calc(100% - 24px);
    }
    .hero-slider--home,
    .hero-slides-track,
    .hero-slide {
        min-height: 520px;
    }
    .hero-slider--home {
        border-radius: 24px;
        touch-action: pan-y;
    }
    .hero-slide {
        background-position: center;
        transform: translateX(14px) scale(.99);
    }
    .hero-slide-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(20, 20, 20, .12) 0%,
                rgba(20, 20, 20, .28) 35%,
                rgba(15, 15, 15, .9) 100%
            );
    }
    .hero-slide-content {
        inset: auto 0 0;
        width: 100%;
        max-width: none;
        padding: 96px 20px 76px !important;
        text-align: left;
    }
    .hero-slide-content .eyebrow {
        display: block;
        margin: 0 0 11px;
        font-size: .67rem;
        line-height: 1.35;
    }
    .hero-slide-content h2 {
        max-width: 100%;
        margin: 0 0 15px;
        font-size: clamp(1.85rem, 8.4vw, 2.55rem);
        line-height: 1.02;
        overflow-wrap: break-word;
    }
    .hero-slide-content p {
        display: -webkit-box;
        max-width: 34ch;
        margin: 0 0 20px;
        overflow: hidden;
        font-size: .95rem;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .hero-slide-content .btn {
        min-height: 50px;
        max-width: 100%;
        margin: 0;
        padding: 0 20px;
        white-space: normal;
        text-align: center;
    }
    .hero-slider-arrow {
        top: 18px;
        width: 44px;
        height: 44px;
        transform: none;
        background: rgba(18, 18, 18, .52);
        backdrop-filter: blur(12px);
    }
    .hero-slider-arrow--prev {
        right: 70px;
        left: auto;
    }
    .hero-slider-arrow--next {
        right: 18px;
    }
    .hero-slider-dots {
        bottom: 22px;
        gap: 8px;
    }
    .hero-dot {
        width: 9px;
        height: 9px;
        padding: 0;
    }
    .hero-dot.is-active {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .hero-copy--full .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    .hero-copy--full .hero-actions .btn {
        width: 100%;
    }
    .hero-slider--home,
    .hero-slides-track,
    .hero-slide {
        min-height: 540px;
    }
    .hero-slide-content {
        padding-inline: 18px !important;
    }
    .whatsapp-float {
        width: 58px;
        height: 58px;
    }
    .whatsapp-float svg {
        width: 31px;
        height: 31px;
    }
}

/* ==========================================================
   CRIAXIS V29 — Minha conta compacta e títulos centralizados
   ========================================================== */
body.woocommerce-account .page-hero--account {
    padding: 34px 0 20px;
}

body.woocommerce-account .page-hero--account > .container {
    display: grid;
    justify-items: center;
    text-align: center;
}

body.woocommerce-account .page-hero--account h1 {
    width: 100%;
    margin: 0;
    text-align: center;
}

body.woocommerce-account .page-content-section {
    padding-top: 14px;
}

.cx-account-auth {
    width: min(1120px, 100%);
    margin-inline: auto;
}

.cx-account-auth__grid {
    align-items: stretch;
}

.cx-auth-panel {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 36px 40px 40px;
}

.cx-auth-panel__heading {
    width: min(520px, 100%);
    margin: 0 auto 26px;
    text-align: center;
}

.cx-auth-panel__heading .eyebrow {
    display: block;
}

.cx-auth-panel .cx-auth-form {
    width: min(540px, 100%);
    margin-inline: auto !important;
}

.cx-registration-confirmation {
    display: grid;
    width: min(540px, 100%);
    min-height: 100%;
    margin: auto;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.cx-registration-confirmation__icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 18px;
    background: #e9f8f0;
    color: #178653;
    font-size: 1.35rem;
    font-weight: 900;
}

.cx-registration-confirmation h3 {
    margin: 8px 0 12px;
    font-size: clamp(1.75rem, 2.6vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.cx-registration-confirmation p {
    max-width: 48ch;
    margin: 0;
    color: rgba(41, 41, 41, .64);
    line-height: 1.6;
}

.cx-registration-confirmation__help {
    margin-top: 10px !important;
}

.cx-registration-confirmation__link {
    display: inline-flex;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #087df0;
    color: #fff;
    font-size: .84rem;
    font-weight: 850;
    text-decoration: none;
}

.cx-account-dashboard__welcome,
.cx-account-section__header {
    display: grid;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.cx-account-dashboard__welcome > div,
.cx-account-section__header > div {
    width: min(720px, 100%);
}

.cx-account-dashboard__welcome p,
.cx-account-section__header p {
    margin-inline: auto;
}

.cx-account-dashboard__welcome .cx-account-shop-link,
.cx-account-section__header .cx-account-primary-link {
    margin-top: 4px;
}

.cx-account-quick-actions a {
    justify-items: center;
    text-align: center;
}

.cx-account-section-heading {
    display: grid;
    justify-items: center;
    align-items: center;
    text-align: center;
}

.cx-account-section-heading > div {
    width: 100%;
}

.cx-account-fields-form {
    scroll-margin-top: 110px;
}

.cx-password-fieldset legend {
    margin-inline: auto;
    text-align: center;
}

.cx-fieldset-intro {
    text-align: center;
}

.cx-account-form-actions {
    justify-content: center;
}

@media (max-width: 760px) {
    body.woocommerce-account .page-hero--account {
        padding: 26px 0 14px;
    }

    body.woocommerce-account .page-hero--account h1 {
        font-size: clamp(2.35rem, 13vw, 3.4rem);
        line-height: 1;
    }

    .cx-account-auth {
        border-radius: 22px;
    }

    .cx-auth-panel {
        padding: 28px 22px 30px;
    }

    .cx-account-dashboard__welcome,
    .cx-account-section__header {
        padding: 24px 20px;
    }

    .cx-account-dashboard__welcome h2,
    .cx-account-section__header h2 {
        overflow-wrap: anywhere;
    }

    .cx-account-form-actions .button {
        width: 100%;
    }
}

/* ==========================================================
   CRIAXIS V30 — área do cliente sem moldura e vazios laterais
   ========================================================== */
body.woocommerce-account:not(.logged-in) .page-content-section > .commerce-container {
    width: min(1480px, calc(100% - 48px)) !important;
    max-width: none !important;
}

body.woocommerce-account:not(.logged-in) .page-content-card.is-woocommerce-page,
body.woocommerce-account:not(.logged-in) .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in) .cx-account-auth {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

body.woocommerce-account:not(.logged-in) .cx-account-auth__grid {
    align-items: start;
}

body.woocommerce-account:not(.logged-in) .cx-auth-panel {
    min-height: 0;
    align-self: start;
}

body.woocommerce-account:not(.logged-in) .cx-auth-panel .cx-auth-form {
    width: min(620px, 100%);
}

body.woocommerce-account:not(.logged-in) .cx-auth-panel--register .woocommerce-privacy-policy-text {
    display: none !important;
}

@media (max-width: 760px) {
    body.woocommerce-account:not(.logged-in) .page-content-section > .commerce-container {
        width: calc(100% - 20px) !important;
    }

    body.woocommerce-account:not(.logged-in) .cx-account-auth__grid {
        align-items: stretch;
    }
}

/* ==========================================================
   CRIAXIS V28 — trava do viewport exclusiva do checkout
   ========================================================== */

html.criaxis-checkout-root,
html.criaxis-checkout-root body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
}

html.criaxis-checkout-root body,
html.criaxis-checkout-root #page,
html.criaxis-checkout-root .site-main,
html.criaxis-checkout-root .page-hero--checkout,
html.criaxis-checkout-root .page-content-section,
html.criaxis-checkout-root .site-footer {
    position: relative;
    left: 0 !important;
    right: auto !important;
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: none !important;
}

html.criaxis-checkout-root #page,
html.criaxis-checkout-root .site-main {
    overflow-x: hidden !important;
}

html.criaxis-checkout-root .site-header .header-shell,
html.criaxis-checkout-root .page-hero--checkout > .container,
html.criaxis-checkout-root .page-content-section > .commerce-container,
html.criaxis-checkout-root .site-footer > .container {
    margin-left: auto !important;
    margin-right: auto !important;
}

html.criaxis-checkout-root .cx-checkout-v17 iframe,
html.criaxis-checkout-root .cx-checkout-v17 canvas,
html.criaxis-checkout-root .cx-checkout-v17 object,
html.criaxis-checkout-root .cx-checkout-v17 embed {
    min-width: 0 !important;
    max-width: 100% !important;
}

html.criaxis-checkout-root .cx-payment-methods .payment_box iframe {
    width: 100% !important;
}

@media (max-width: 760px) {
    html.criaxis-checkout-root .site-header .header-shell {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
    }

    html.criaxis-checkout-root .page-hero--checkout > .container,
    html.criaxis-checkout-root .page-content-section > .commerce-container {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }

    html.criaxis-checkout-root .site-footer > .container {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
    }
}

/* ==========================================================
   CRIAXIS V23 — frete integrado, endereço e variações
   ========================================================== */

/* Carrinho e cálculo de entrega */
.criaxis-cart-layout--final > .woocommerce-cart-form {
    min-width: 0;
    margin: 0;
}
.cx-cart-shipping {
    display: grid;
    gap: 16px;
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid rgba(8, 125, 240, .14);
    border-radius: 18px;
    background: #f6faff;
}
.cx-cart-shipping__heading h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}
.cx-cart-shipping__heading p {
    margin: 0;
    color: rgba(41, 41, 41, .58);
    font-size: .78rem;
    line-height: 1.5;
}
.cx-shipping-calculator {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    gap: 10px;
    margin: 0;
}
.cx-shipping-field {
    display: grid;
    gap: 5px;
    min-width: 0;
}
.cx-shipping-field > span {
    color: #34465a;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.cx-shipping-field > span small {
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.cx-shipping-field--city,
.cx-shipping-calculator > button,
.cx-shipping-status {
    grid-column: 1 / -1;
}
.cx-shipping-calculator input,
.cx-shipping-calculator select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #ccd7e2;
    border-radius: 11px;
    background: #fff;
    color: #202c38;
    font-family: var(--font-body);
    font-size: .88rem;
    outline: none;
}
.cx-shipping-calculator input:focus,
.cx-shipping-calculator select:focus {
    border-color: #087df0;
    box-shadow: 0 0 0 3px rgba(8, 125, 240, .1);
}
.cx-shipping-calculator > button {
    min-height: 46px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: #087df0 !important;
    color: #fff !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}
.cx-shipping-calculator.is-loading > button {
    cursor: wait;
    opacity: .72;
}
.cx-shipping-status {
    min-height: 18px;
    margin: -2px 0 0;
    color: #526579;
    font-size: .72rem;
    line-height: 1.45;
}
.cx-shipping-status.is-error {
    color: #a42b2b;
}

/* Métodos retornados pelo WooCommerce/Melhor Envio */
.cx-cart-shipping-methods,
.cx-checkout-shipping-methods {
    display: grid;
    gap: 12px;
}
.cx-shipping-methods {
    display: grid;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.cx-shipping-methods legend {
    width: 100%;
    margin: 0 0 2px;
    padding: 0;
    color: #24374b;
    font-size: .77rem;
    font-weight: 900;
}
.cx-shipping-option {
    position: relative;
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-height: 62px;
    padding: 11px 13px;
    border: 1px solid #dce5ed;
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.cx-shipping-option:hover {
    border-color: #acd3fa;
}
.cx-shipping-option:has(input:checked) {
    border-color: #087df0;
    background: #f7fbff;
    box-shadow: 0 0 0 3px rgba(8, 125, 240, .08);
}
.cx-shipping-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.cx-shipping-option__control {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #aebbc7;
    border-radius: 999px;
    background: #fff;
}
.cx-shipping-option input:checked + .cx-shipping-option__control {
    border-color: #087df0;
    background: #087df0;
    box-shadow: inset 0 0 0 4px #fff;
}
.cx-shipping-option input:focus-visible + .cx-shipping-option__control {
    outline: 3px solid rgba(8, 125, 240, .2);
    outline-offset: 3px;
}
.cx-shipping-option__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.cx-shipping-option__copy strong {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 7px;
    color: #1f2b38;
    font-size: .82rem;
    line-height: 1.35;
}
.cx-shipping-option__copy strong .woocommerce-Price-amount {
    color: #087df0;
    white-space: nowrap;
}
.cx-shipping-option__copy small {
    color: rgba(41, 41, 41, .5);
    font-size: .68rem;
    line-height: 1.4;
}
.cx-shipping-option.is-pickup {
    border-color: rgba(25, 158, 91, .25);
}
.cx-shipping-option.is-pickup:has(input:checked) {
    border-color: #199e5b;
    background: #f4fcf7;
    box-shadow: 0 0 0 3px rgba(25, 158, 91, .08);
}
.cx-shipping-option.is-pickup input:checked + .cx-shipping-option__control {
    border-color: #199e5b;
    background: #199e5b;
}
.cx-shipping-empty {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px dashed #bfd0df;
    border-radius: 12px;
    background: rgba(255, 255, 255, .62);
    color: #42566b;
}
.cx-shipping-empty strong {
    font-size: .82rem;
}
.cx-shipping-empty span {
    color: rgba(41, 41, 41, .55);
    font-size: .72rem;
}
.cx-shipping-empty.is-error {
    border-color: rgba(180, 51, 51, .28);
    background: #fff7f7;
    color: #9c2c2c;
}

/* Frete dentro do checkout */
.cx-checkout-shipping-box {
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
    gap: 22px;
    margin: 22px 0 0;
    padding: 20px;
    border: 1px solid rgba(8, 125, 240, .13);
    border-radius: 18px;
    background: #f6faff;
}
.cx-checkout-shipping-box__heading > span {
    color: #087df0;
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.cx-checkout-shipping-box__heading h3 {
    margin: 5px 0 7px;
    font-size: 1.12rem;
    line-height: 1.2;
}
.cx-checkout-shipping-box__heading p {
    margin: 0;
    color: rgba(41, 41, 41, .56);
    font-size: .77rem;
    line-height: 1.5;
}
.cx-checkout-shipping-methods .cx-shipping-option {
    min-height: 68px;
}
.cx-checkout-shipping-methods .cx-shipping-option__copy strong {
    font-size: .88rem;
}

/* Campos de cliente/endereço: visíveis para o cálculo por CEP */
.cx-checkout-customer-fields {
    display: grid;
    gap: 14px;
}
.cx-checkout-prefill-note {
    max-width: 220px;
    color: #477086;
    font-size: .72rem;
    font-weight: 750;
    line-height: 1.4;
    text-align: right;
}
.cx-checkout-address-help {
    margin: -3px 0 17px;
    padding: 11px 13px;
    border-radius: 11px;
    background: #eef7ff;
    color: #3f607c;
    font-size: .79rem;
    line-height: 1.5;
}
.cx-checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.cx-checkout-field-grid .form-row {
    width: 100% !important;
    margin: 0 !important;
}
.cx-checkout-field-grid .form-row-wide,
.cx-checkout-field-grid #billing_email_field,
.cx-checkout-field-grid #billing_address_1_field,
.cx-checkout-field-grid #billing_address_2_field {
    grid-column: 1 / -1;
}
.cx-checkout-field-grid label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #34475a !important;
    font-size: .77rem !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
}
.cx-checkout-field-grid .required {
    color: #c53434 !important;
}
.cx-checkout-field-grid input.input-text,
.cx-checkout-field-grid select,
.cx-checkout-field-grid .select2-selection {
    width: 100% !important;
    min-height: 48px !important;
    border: 1px solid #ccd7e1 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #1f2c38 !important;
    font-family: var(--font-body) !important;
    font-size: .9rem !important;
    box-shadow: none !important;
}
.cx-checkout-field-grid input.input-text {
    padding: 0 13px !important;
}
.cx-checkout-field-grid select {
    padding: 0 11px !important;
}
.cx-checkout-field-grid .select2-selection__rendered {
    padding: 9px 34px 9px 13px !important;
    line-height: 28px !important;
}
.cx-checkout-field-grid .select2-selection__arrow {
    top: 11px !important;
    right: 8px !important;
}
.cx-checkout-field-grid input:focus,
.cx-checkout-field-grid select:focus,
.cx-checkout-field-grid .select2-container--focus .select2-selection {
    border-color: #087df0 !important;
    outline: 3px solid rgba(8, 125, 240, .1) !important;
}
.cx-checkout-subsection--extra {
    background: #fff;
}

/* Variações de cor no produto */
.cx-product-purchase .cx-variation-native-select {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.cx-variation-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
}
.cx-variation-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    padding: 8px 11px;
    border: 1px solid #d9e1e8;
    border-radius: 13px;
    background: #fff;
    color: #263442;
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.cx-variation-option:hover {
    border-color: #abd3fa;
    background: #fbfdff;
}
.cx-variation-option.is-selected {
    border-color: #087df0;
    background: #f3f9ff;
    box-shadow: 0 0 0 3px rgba(8, 125, 240, .08);
}
.cx-variation-option:focus-visible {
    outline: 3px solid rgba(8, 125, 240, .22);
    outline-offset: 2px;
}
.cx-variation-option:disabled {
    cursor: not-allowed;
    opacity: .42;
}
.cx-variation-option__swatch {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(31, 44, 56, .2);
}
.cx-variation-option__swatch.is-mixed {
    border-radius: 8px;
}
.cx-variation-option__label {
    min-width: 0;
    overflow-wrap: anywhere;
}
.cx-product-gallery.has-variation-image .cx-product-thumbnail.is-active {
    border-color: rgba(41, 41, 41, .12);
    box-shadow: none;
}

@media (max-width: 760px) {
    .cx-checkout-shipping-box {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 17px;
    }
    .cx-checkout-field-grid {
        grid-template-columns: 1fr;
    }
    .cx-checkout-field-grid .form-row {
        grid-column: auto !important;
    }
    .cx-checkout-prefill-note {
        max-width: none;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .cx-cart-shipping {
        padding: 15px;
    }
    .cx-shipping-calculator {
        grid-template-columns: 1fr;
    }
    .cx-shipping-field,
    .cx-shipping-field--city,
    .cx-shipping-calculator > button,
    .cx-shipping-status {
        grid-column: auto;
    }
    .cx-variation-options {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   CRIAXIS V24 — checkout brasileiro e pedido recebido
   ========================================================== */

/* A cotação do Melhor Envio permanece no carrinho e no checkout. */
body.single-product .cx-product-purchase .containerCalculator {
    display: none !important;
}

/* Campos brasileiros sem número/complemento desalinhados. */
.cx-checkout-field-grid--contact #billing_email_field,
.cx-checkout-field-grid--contact #billing_persontype_field,
.cx-checkout-field-grid--contact #billing_cpf_field,
.cx-checkout-field-grid--contact #billing_cnpj_field,
.cx-checkout-field-grid--contact #billing_rg_field,
.cx-checkout-field-grid--contact #billing_ie_field,
.cx-checkout-field-grid--contact #billing_phone_field,
.cx-checkout-field-grid--contact #billing_cellphone_field,
.cx-checkout-field-grid--address #billing_country_field,
.cx-checkout-field-grid--address #billing_postcode_field,
.cx-checkout-field-grid--address #billing_number_field,
.cx-checkout-field-grid--address #billing_address_2_field,
.cx-checkout-field-grid--address #billing_neighborhood_field,
.cx-checkout-field-grid--address #billing_city_field,
.cx-checkout-field-grid--address #billing_state_field {
    grid-column: auto !important;
}

.cx-checkout-field-grid--address #billing_address_1_field {
    grid-column: 1 / -1 !important;
}

.cx-alternate-address-form #shipping_country_field,
.cx-alternate-address-form #shipping_postcode_field,
.cx-alternate-address-form #shipping_number_field,
.cx-alternate-address-form #shipping_address_2_field,
.cx-alternate-address-form #shipping_neighborhood_field,
.cx-alternate-address-form #shipping_city_field,
.cx-alternate-address-form #shipping_state_field {
    grid-column: auto !important;
}

.cx-alternate-address-form #shipping_address_1_field {
    grid-column: 1 / -1 !important;
}

.cx-checkout-document-help {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 14px 0 0 !important;
    padding: 11px 13px;
    border: 1px solid rgba(8, 125, 240, .12);
    border-radius: 11px;
    background: #f5faff;
    color: #49647a;
    font-size: .76rem;
    line-height: 1.5;
}

.cx-checkout-document-help::before {
    content: "i";
    display: grid;
    flex: 0 0 19px;
    place-items: center;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border-radius: 999px;
    background: #087df0;
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
}

/* Confirmação de compra: não herda a largura estreita do checkout. */
body.criaxis-order-received-page .site-main {
    overflow: visible;
    padding-bottom: 0;
}

body.criaxis-order-received-page .page-content-section--order-received {
    padding: clamp(30px, 5vw, 64px) 0 clamp(56px, 8vw, 96px);
    background:
        radial-gradient(circle at 82% 4%, rgba(8, 125, 240, .08), transparent 28%),
        #f4f5f6;
}

body.criaxis-order-received-page .commerce-container,
body.criaxis-order-received-page .page-content-card.is-order-received-page,
body.criaxis-order-received-page .woocommerce,
body.criaxis-order-received-page .woocommerce-order {
    width: min(1160px, calc(100% - 40px)) !important;
    max-width: 1160px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.criaxis-order-received-page .page-content-card.is-order-received-page {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.criaxis-order-received-page .woocommerce,
body.criaxis-order-received-page .woocommerce-order {
    width: 100% !important;
}

.cx-thankyou {
    display: grid;
    gap: 22px;
    color: #202b36;
}

.cx-thankyou__hero {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(8, 125, 240, .12);
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 12%, rgba(8, 125, 240, .14), transparent 30%),
        #fff;
    box-shadow: 0 22px 60px rgba(23, 38, 54, .08);
}

.cx-thankyou__status-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 999px;
    background: #eaf7ef;
    color: #168852;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
}

.cx-thankyou__eyebrow,
.cx-thankyou__section-heading > span {
    color: #087df0;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.cx-thankyou__hero h1 {
    max-width: 760px;
    margin: 7px 0 12px !important;
    color: #202020;
    font-size: clamp(2.45rem, 6vw, 4.5rem) !important;
    line-height: .98 !important;
    letter-spacing: -.055em;
}

.cx-thankyou__hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(32, 43, 54, .62);
    font-size: 1rem;
    line-height: 1.65;
}

.cx-thankyou__summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(31, 46, 61, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(23, 38, 54, .055);
}

.cx-thankyou__summary > div {
    min-width: 0;
    padding: 20px 22px;
    border-right: 1px solid rgba(31, 46, 61, .08);
}

.cx-thankyou__summary > div:last-child {
    border-right: 0;
}

.cx-thankyou__summary small,
.cx-thankyou__addresses small {
    display: block;
    margin-bottom: 5px;
    color: rgba(32, 43, 54, .5);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cx-thankyou__summary strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: .97rem;
}

.cx-thankyou__card {
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid rgba(31, 46, 61, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(23, 38, 54, .06);
}

.cx-thankyou__section-heading {
    margin-bottom: 22px;
}

.cx-thankyou__section-heading h2 {
    margin: 5px 0 0 !important;
    color: #202020;
    font-size: clamp(1.45rem, 3vw, 2rem) !important;
    line-height: 1.08 !important;
}

.cx-thankyou__content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 22px;
    align-items: start;
}

.cx-thankyou__items {
    display: grid;
}

.cx-thankyou__item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(31, 46, 61, .08);
}

.cx-thankyou__item-image img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 13px;
    object-fit: cover;
}

.cx-thankyou__item-copy h3 {
    margin: 0 0 5px !important;
    font-size: .97rem !important;
    line-height: 1.35 !important;
}

.cx-thankyou__item-copy > span,
.cx-thankyou__item-copy .wc-item-meta {
    margin: 0;
    color: rgba(32, 43, 54, .55);
    font-size: .76rem;
    line-height: 1.45;
}

.cx-thankyou__item-copy .wc-item-meta {
    padding: 0;
    list-style: none;
}

.cx-thankyou__totals {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
}

.cx-thankyou__totals > div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(31, 46, 61, .07);
}

.cx-thankyou__totals dt,
.cx-thankyou__totals dd {
    margin: 0;
}

.cx-thankyou__totals .is-total {
    color: #087df0;
    font-size: 1.08rem;
    font-weight: 900;
}

.cx-thankyou__addresses {
    display: grid;
    gap: 22px;
}

.cx-thankyou__addresses address,
.cx-thankyou__addresses p {
    margin: 0;
    color: #34485c;
    font-style: normal;
    font-size: .9rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.cx-thankyou__primary-action,
.cx-thankyou__secondary-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px !important;
    border-radius: 12px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}

.cx-thankyou__primary-action {
    border: 0 !important;
    background: #087df0 !important;
    color: #fff !important;
}

.cx-thankyou__secondary-action {
    border: 1px solid #bdd8f2 !important;
    background: #f5faff !important;
    color: #087df0 !important;
}

/* Saída do Pix/Mercado Pago dentro de um cartão previsível. */
.cx-thankyou__gateway {
    overflow: hidden;
}

.cx-thankyou__gateway-content {
    width: 100%;
    min-width: 0;
    color: #34485c;
    font-size: .9rem;
    line-height: 1.6;
}

.cx-thankyou__gateway-content > * {
    max-width: 100%;
}

.cx-thankyou__gateway-content img,
.cx-thankyou__gateway-content canvas {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: min(100%, 340px) !important;
    max-height: 340px !important;
    margin: 18px auto !important;
    object-fit: contain;
}

.cx-thankyou__gateway-content ol,
.cx-thankyou__gateway-content ul {
    display: grid;
    gap: 9px;
    margin: 14px 0 !important;
    padding-left: 22px !important;
}

.cx-thankyou__gateway-content li {
    margin: 0 !important;
    padding: 0 !important;
}

.cx-thankyou__gateway-content input[type="text"],
.cx-thankyou__gateway-content input[type="email"],
.cx-thankyou__gateway-content textarea {
    width: min(100%, 620px) !important;
    min-height: 46px;
    padding: 10px 12px !important;
    border: 1px solid #cbd7e2 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #243648 !important;
    font-family: var(--font-body) !important;
    font-size: .83rem !important;
}

.cx-thankyou__gateway-content button,
.cx-thankyou__gateway-content .button {
    min-height: 46px !important;
    margin: 7px 0 !important;
    padding: 9px 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #087df0 !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 850 !important;
}

.cx-thankyou__integrations {
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px;
    margin: 20px auto 0;
}

.cx-thankyou--failed,
.cx-thankyou--empty {
    justify-items: center;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(36px, 7vw, 72px);
    border-radius: 28px;
    background: #fff;
    text-align: center;
}

.cx-thankyou--failed .cx-thankyou__status-icon,
.cx-thankyou--empty .cx-thankyou__status-icon {
    background: #fff0f0;
    color: #b52e2e;
}

.cx-thankyou__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 820px) {
    body.criaxis-order-received-page .commerce-container,
    body.criaxis-order-received-page .page-content-card.is-order-received-page {
        width: min(100% - 22px, 1160px) !important;
    }

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

    .cx-thankyou__summary > div:nth-child(2) {
        border-right: 0;
    }

    .cx-thankyou__summary > div:nth-child(-n+2) {
        border-bottom: 1px solid rgba(31, 46, 61, .08);
    }

    .cx-thankyou__content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cx-checkout-field-grid--contact,
    .cx-checkout-field-grid--address {
        grid-template-columns: 1fr;
    }

    .cx-thankyou__hero {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        border-radius: 22px;
    }

    .cx-thankyou__status-icon {
        width: 54px;
        height: 54px;
        font-size: 1.45rem;
    }

    .cx-thankyou__hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.1rem) !important;
    }

    .cx-thankyou__summary {
        grid-template-columns: 1fr;
    }

    .cx-thankyou__summary > div {
        border-right: 0;
        border-bottom: 1px solid rgba(31, 46, 61, .08);
    }

    .cx-thankyou__summary > div:last-child {
        border-bottom: 0;
    }

    .cx-thankyou__item {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .cx-thankyou__item-image img {
        width: 60px;
        height: 60px;
    }

    .cx-thankyou__item > strong {
        grid-column: 2;
    }

    .cx-thankyou__gateway-content img,
    .cx-thankyou__gateway-content canvas {
        max-width: min(100%, 280px) !important;
        max-height: 280px !important;
    }
}

/* ==========================================================
   CRIAXIS V27 — checkout editável e correção mobile
   ========================================================== */

body.criaxis-checkout-page {
    overflow-x: clip;
}
body.criaxis-checkout-page #page,
body.criaxis-checkout-page .site-main,
body.criaxis-checkout-page .page-hero--checkout,
body.criaxis-checkout-page .page-content-section,
body.criaxis-checkout-page .commerce-container,
body.criaxis-checkout-page .page-content-card,
body.criaxis-checkout-page .cx-checkout-v17,
body.criaxis-checkout-page .cx-checkout-flow,
body.criaxis-checkout-page .cx-checkout-panel,
body.criaxis-checkout-page .cx-checkout-order-review,
body.criaxis-checkout-page .cx-checkout-product-list,
body.criaxis-checkout-page .cx-checkout-product-row,
body.criaxis-checkout-page .cx-checkout-product-copy,
body.criaxis-checkout-page .cx-checkout-identity-body,
body.criaxis-checkout-page .cx-checkout-payment-wrap,
body.criaxis-checkout-page .cx-payment,
body.criaxis-checkout-page .cx-payment-methods,
body.criaxis-checkout-page .cx-place-order {
    min-width: 0;
    max-width: 100%;
}
body.criaxis-checkout-page iframe,
body.criaxis-checkout-page canvas,
body.criaxis-checkout-page table,
body.criaxis-checkout-page .select2-container {
    max-width: 100% !important;
}

.cx-checkout-cart-status {
    display: none;
    margin: 16px 28px 0 !important;
    padding: 11px 14px;
    border: 1px solid rgba(8, 125, 240, .16);
    border-radius: 12px;
    background: #f2f8ff;
    color: #365a78;
    font-size: .79rem;
    font-weight: 750;
    line-height: 1.45;
}
.cx-checkout-cart-status.is-visible {
    display: block;
}
.cx-checkout-cart-status.is-error {
    border-color: rgba(190, 45, 45, .2);
    background: #fff5f5;
    color: #9b2b2b;
}
.cx-checkout-panel--order.is-updating .cx-checkout-order-review {
    opacity: .56;
    pointer-events: none;
}
.cx-checkout-panel--order .cx-checkout-order-review {
    transition: opacity .18s ease;
}

.cx-checkout-product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 13px;
}
.cx-checkout-quantity {
    display: inline-grid;
    grid-template-columns: 36px 46px 36px;
    align-items: center;
    overflow: hidden;
    height: 38px;
    border: 1px solid #ced9e3;
    border-radius: 11px;
    background: #fff;
}
.cx-checkout-quantity button,
.cx-checkout-quantity input {
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #253648 !important;
    font-family: var(--font-body) !important;
    font-size: .9rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    text-align: center;
    box-shadow: none !important;
}
.cx-checkout-quantity button {
    cursor: pointer;
}
.cx-checkout-quantity button:hover:not(:disabled) {
    background: #edf6ff !important;
    color: #087df0 !important;
}
.cx-checkout-quantity button:disabled {
    cursor: not-allowed;
    opacity: .35;
}
.cx-checkout-quantity input {
    border-inline: 1px solid #e1e7ed !important;
    appearance: textfield;
    -moz-appearance: textfield;
}
.cx-checkout-quantity input::-webkit-inner-spin-button,
.cx-checkout-quantity input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}
.cx-checkout-quantity input:focus {
    position: relative;
    outline: 2px solid rgba(8, 125, 240, .38) !important;
    outline-offset: -2px;
}
.cx-checkout-remove-item {
    min-height: 38px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid rgba(176, 52, 52, .16);
    border-radius: 11px;
    background: #fff8f8;
    color: #a33b3b;
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 850;
    cursor: pointer;
}
.cx-checkout-remove-item:hover {
    border-color: rgba(176, 52, 52, .3);
    background: #fff0f0;
}
.cx-checkout-fixed-quantity {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
    border-radius: 10px;
    background: #f3f5f7;
    color: #536171;
    font-size: .74rem;
    font-weight: 800;
}

body.criaxis-checkout-page .cx-payment-methods .wc_payment_method {
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.criaxis-checkout-page .cx-payment-methods .wc_payment_method > label {
    height: auto !important;
    max-width: 100% !important;
}
body.criaxis-checkout-page .cx-payment-methods .payment_box,
body.criaxis-checkout-page .cx-payment-methods .payment_box * {
    max-width: 100%;
    overflow-wrap: anywhere;
}

@supports not (overflow: clip) {
    body.criaxis-checkout-page {
        overflow-x: hidden;
    }
}

@media (max-width: 760px) {
    body.criaxis-checkout-page .page-hero--checkout .container,
    body.criaxis-checkout-page .commerce-container {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin-inline: auto !important;
    }
    body.criaxis-checkout-page .page-content-card.is-woocommerce-page {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
    }
    body.criaxis-checkout-page .page-hero--checkout {
        padding: 28px 0 18px !important;
    }
    body.criaxis-checkout-page .page-hero--checkout h1 {
        max-width: 11ch;
        margin-inline: auto !important;
        font-size: clamp(2.15rem, 11vw, 2.85rem) !important;
        line-height: .98;
        overflow-wrap: normal;
    }
    body.criaxis-checkout-page .page-hero--checkout p {
        max-width: 34ch;
        margin-top: 14px !important;
        font-size: .92rem;
        line-height: 1.55;
    }
    body.criaxis-checkout-page .page-content-section {
        padding: 10px 0 56px !important;
    }
    .cx-checkout-v17 .cx-checkout-progress {
        gap: 7px;
        margin-bottom: 12px;
    }
    .cx-checkout-v17 .cx-checkout-progress span {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        min-height: 64px;
        padding: 7px 4px;
        text-align: center;
    }
    .cx-checkout-v17 .cx-checkout-progress small {
        display: block;
        max-width: 100%;
        font-size: .61rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
    .cx-checkout-panel {
        border-radius: 19px;
    }
    .cx-checkout-panel__header {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 16px;
    }
    .cx-checkout-panel__number {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    .cx-checkout-panel__title h2 {
        font-size: 1.45rem;
        line-height: 1.04;
    }
    .cx-checkout-panel__title p {
        font-size: .8rem;
        line-height: 1.48;
    }
    .cx-checkout-cart-status {
        margin: 13px 16px 0 !important;
        padding: 10px 12px;
        font-size: .74rem;
    }
    .cx-checkout-order-review,
    .cx-checkout-identity-body,
    .cx-checkout-payment-wrap {
        padding: 0 16px 18px !important;
    }
    .cx-checkout-v17 .cx-checkout-product-row {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 18px 0;
    }
    .cx-checkout-v17 .cx-checkout-product-image img {
        width: 64px;
        height: 64px;
        border-radius: 13px;
    }
    .cx-checkout-v17 .cx-checkout-product-copy h3 {
        margin-bottom: 5px;
        font-size: .91rem;
        overflow-wrap: anywhere;
    }
    .cx-checkout-v17 .cx-checkout-product-copy small,
    .cx-checkout-v17 .cx-checkout-product-copy .variation {
        font-size: .71rem;
    }
    .cx-checkout-v17 .cx-checkout-product-price {
        grid-column: 2;
        font-size: .94rem;
    }
    .cx-checkout-product-actions {
        gap: 7px;
        margin-top: 11px;
    }
    .cx-checkout-quantity {
        grid-template-columns: 34px 42px 34px;
        height: 36px;
    }
    .cx-checkout-remove-item,
    .cx-checkout-fixed-quantity {
        min-height: 36px;
    }
    .cx-checkout-v17 .cx-checkout-totals {
        width: 100%;
        margin-top: 14px;
        padding: 14px 15px;
    }
    .cx-checkout-v17 .cx-checkout-totals > div,
    .cx-final-total {
        gap: 12px;
    }
    .cx-checkout-v17 .cx-checkout-totals strong,
    .cx-final-total strong {
        text-align: right;
        overflow-wrap: anywhere;
    }
    .cx-checkout-subsection {
        padding: 17px 15px;
        border-radius: 15px;
    }
    .cx-checkout-subsection__heading {
        gap: 8px;
        margin-bottom: 14px;
    }
    .cx-checkout-subsection__heading h3 {
        font-size: 1.12rem;
    }
    .cx-checkout-address-help,
    .cx-checkout-document-help {
        font-size: .73rem;
    }
    .cx-checkout-field-grid input.input-text,
    .cx-checkout-field-grid select,
    .cx-checkout-field-grid .select2-selection {
        max-width: 100% !important;
    }
    .cx-checkout-shipping-box {
        margin-top: 18px;
        padding: 15px;
        border-radius: 15px;
    }
    .cx-shipping-option__copy strong {
        display: grid;
        justify-content: stretch;
        gap: 3px;
    }
    .cx-shipping-option__copy strong .woocommerce-Price-amount {
        justify-self: start;
    }
    body.criaxis-checkout-page .cx-payment-methods .wc_payment_method > label {
        min-height: 60px !important;
        padding: 10px 12px 10px 46px !important;
        font-size: .86rem !important;
        line-height: 1.25 !important;
    }
    body.criaxis-checkout-page .cx-payment-methods .wc_payment_method > label::before {
        left: 14px !important;
    }
    body.criaxis-checkout-page .cx-payment-methods .wc_payment_method > label img {
        width: 29px !important;
        height: 29px !important;
        max-width: 29px !important;
        max-height: 29px !important;
    }
    body.criaxis-checkout-page .cx-payment-methods .payment_box {
        padding: 15px !important;
    }
    .cx-place-order {
        gap: 12px;
        padding: 16px !important;
        border-radius: 15px;
    }
    .cx-place-order #place_order {
        min-height: 56px !important;
        padding: 10px 14px !important;
        font-size: .94rem !important;
        line-height: 1.2 !important;
    }
    .cx-place-order .woocommerce-privacy-policy-text {
        font-size: .73rem;
        line-height: 1.55;
    }
    body.woocommerce-cart .whatsapp-float,
    body.criaxis-checkout-page .whatsapp-float {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: 50px;
        height: 50px;
        opacity: .88;
    }
}

@media (max-width: 480px) {
    body.woocommerce-cart .commerce-container {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-inline: auto !important;
    }
    body.woocommerce-cart .page-content-card.is-woocommerce-page {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
    }
    .criaxis-cart-layout--final,
    .criaxis-cart-layout--final > .woocommerce-cart-form,
    .criaxis-cart-main-column,
    .criaxis-cart-item,
    .criaxis-cart-main,
    .criaxis-cart-tools,
    .criaxis-cart-summary,
    .criaxis-summary-card--final {
        min-width: 0;
        max-width: 100%;
    }
    .criaxis-cart-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 11px;
        padding: 11px;
    }
    .criaxis-cart-title {
        font-size: 1.02rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }
    .criaxis-coupon-row input,
    .criaxis-coupon-row button {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
   V31 — LOJA: grade fluida conforme a quantidade de produtos
   ========================================================= */
@media (min-width: 1181px) {
    .shop-product-grid {
        width: 100%;
        grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
        gap: clamp(1rem, 1.7vw, 1.5rem) !important;
        justify-content: stretch !important;
    }

    .shop-product-grid > .shop-product-card {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .shop-product-grid--count-1 > .shop-product-card { grid-column: 1 / -1; }
    .shop-product-grid--count-2 > .shop-product-card { grid-column: span 6; }
    .shop-product-grid--count-3 > .shop-product-card { grid-column: span 4; }
    .shop-product-grid--count-4 > .shop-product-card { grid-column: span 3; }
    .shop-product-grid--count-5 > .shop-product-card:nth-child(-n + 3) { grid-column: span 4; }
    .shop-product-grid--count-5 > .shop-product-card:nth-child(n + 4) { grid-column: span 6; }
    .shop-product-grid--count-many > .shop-product-card { grid-column: span 3; }
}

@media (min-width: 641px) and (max-width: 1180px) {
    .shop-product-grid,
    .shop-product-grid--count-1,
    .shop-product-grid--count-2,
    .shop-product-grid--count-3,
    .shop-product-grid--count-4,
    .shop-product-grid--count-5,
    .shop-product-grid--count-many {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 1rem !important;
        justify-content: stretch !important;
    }

    .shop-product-grid > .shop-product-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        grid-column: span 1;
    }

    .shop-product-grid--count-1 > .shop-product-card,
    .shop-product-grid--count-3 > .shop-product-card:last-child,
    .shop-product-grid--count-5 > .shop-product-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .shop-product-grid,
    .shop-product-grid--count-1,
    .shop-product-grid--count-2,
    .shop-product-grid--count-3,
    .shop-product-grid--count-4,
    .shop-product-grid--count-5,
    .shop-product-grid--count-many {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
        justify-content: stretch !important;
    }

    .shop-product-grid > .shop-product-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        grid-column: 1 / -1;
    }
}

/* =========================================================
   V33 — LOJA: linhas completas e última linha centralizada
   ========================================================= */
.shop-product-grid {
    --shop-grid-gap: clamp(1rem, 1.7vw, 1.5rem);
    --shop-card-basis: calc((100% - (3 * var(--shop-grid-gap))) / 4);
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center !important;
    gap: var(--shop-grid-gap) !important;
    width: 100%;
}

.shop-product-grid--cols-1 {
    --shop-card-basis: 100%;
}

.shop-product-grid--cols-2 {
    --shop-card-basis: calc((100% - var(--shop-grid-gap)) / 2);
}

.shop-product-grid--cols-3 {
    --shop-card-basis: calc((100% - (2 * var(--shop-grid-gap))) / 3);
}

.shop-product-grid--cols-4 {
    --shop-card-basis: calc((100% - (3 * var(--shop-grid-gap))) / 4);
}

.shop-product-grid > .shop-product-card {
    flex: 1 0 var(--shop-card-basis);
    width: var(--shop-card-basis);
    max-width: 100%;
    min-width: 0;
    grid-column: auto !important;
}

/* Uma única sobra permanece no tamanho dos demais cards e fica centralizada. */
.shop-product-grid--remainder-1 > .shop-product-card:last-child {
    flex-grow: 0;
}

@media (min-width: 641px) and (max-width: 1180px) {
    .shop-product-grid {
        --shop-grid-gap: 1rem;
        --shop-card-basis: calc((100% - var(--shop-grid-gap)) / 2);
    }

    .shop-product-grid > .shop-product-card {
        flex-basis: var(--shop-card-basis);
        width: var(--shop-card-basis);
    }

    .shop-product-grid > .shop-product-card:last-child:nth-child(odd) {
        flex-grow: 0;
    }
}

@media (max-width: 640px) {
    .shop-product-grid {
        --shop-card-basis: 100%;
    }

    .shop-product-grid > .shop-product-card {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* V32 — cadastro com nome civil para comunicações personalizadas */
.cx-auth-name-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.cx-auth-name-grid .form-row {
    width: 100%;
    margin: 0;
}

@media (max-width: 640px) {
    .cx-auth-name-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: .85rem;
    }
}

/* ==========================================================
   CRIAXIS V33 — conta brasileira, onboarding e endereço por CEP
   ========================================================== */

body.woocommerce-account {
    --cx-blue: #0078eb;
    --cx-orange: #fe8801;
    --cx-black: #292929;
    --cx-soft: #f5f8fb;
    overflow-x: hidden;
}

body.woocommerce-account.logged-in .commerce-container {
    width: min(1280px, calc(100% - 40px)) !important;
    max-width: none !important;
}

body.woocommerce-account.logged-in .page-content-card,
body.woocommerce-account.logged-in .woocommerce,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content,
body.woocommerce-account.logged-in .cx-account-section,
body.woocommerce-account.logged-in .cx-account-fields-form,
body.woocommerce-account.logged-in .cx-account-fields-form > *,
body.woocommerce-account.logged-in .cx-account-fields-grid,
body.woocommerce-account.logged-in .cx-account-fields-grid > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

body.woocommerce-account.logged-in .page-content-card,
body.woocommerce-account.logged-in .woocommerce {
    overflow: visible;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    overflow: hidden;
}

body.woocommerce-account.logged-in .cx-account-section,
body.woocommerce-account.logged-in .cx-account-dashboard {
    width: 100%;
    margin-inline: auto;
}

/* Navegação: o item atual vira texto e a saída recebe hierarquia própria. */
.cx-account-nav .cx-account-nav__item {
    position: relative;
    display: flex;
    min-height: 48px;
    padding: 0 12px;
    align-items: center;
    gap: 10px;
    border-radius: 13px;
    color: #3a414c;
    font-weight: 780;
    line-height: 1.15;
    text-decoration: none;
}

.cx-account-nav span.cx-account-nav__item.is-current {
    background: #eaf4ff;
    color: var(--cx-blue);
    cursor: default;
}

.cx-account-nav .cx-account-nav__icon {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 9px;
    background: rgba(41, 41, 41, .055);
    color: currentColor;
}

.cx-account-nav .cx-account-nav__icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.cx-account-nav .is-active .cx-account-nav__icon {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 120, 235, .12);
}

.cx-account-nav .cx-account-nav__item::after {
    content: '›';
    margin-left: auto;
    color: rgba(41, 41, 41, .28);
    font-size: 1.2rem;
}

.cx-account-nav span.cx-account-nav__item.is-current::after {
    content: '•';
    color: var(--cx-blue);
    font-size: 1rem;
}

.cx-account-nav li.is-logout {
    margin-top: 7px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(41, 41, 41, .08) !important;
}

.cx-account-nav li.is-logout .cx-account-nav__item {
    background: #292929;
    color: #fff;
}

.cx-account-nav li.is-logout .cx-account-nav__item:hover {
    background: #171717;
    color: #fff;
    transform: translateY(-1px);
}

.cx-account-nav li.is-logout .cx-account-nav__icon {
    background: rgba(254, 136, 1, .16);
    color: #ff9d2f;
}

.cx-account-nav li.is-logout .cx-account-nav__item::after {
    color: rgba(255, 255, 255, .55);
}

/* Centralização real da visão geral e de compras recentes. */
.cx-account-dashboard__welcome {
    justify-items: center !important;
    text-align: center !important;
}

.cx-account-dashboard__welcome > div,
.cx-account-section__header > div,
.cx-account-section-heading > div {
    width: min(760px, 100%);
    margin-inline: auto;
    text-align: center;
}

.cx-account-dashboard__welcome p,
.cx-account-section__header p,
.cx-account-section-heading h3 {
    margin-inline: auto;
    text-align: center;
}

.cx-account-section-heading {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.cx-account-section-heading a {
    margin-top: 12px;
}

.cx-account-orders-list,
.cx-account-empty-orders {
    width: 100%;
    margin-inline: auto;
}

.cx-account-quick-actions {
    align-items: stretch;
}

.cx-account-quick-actions a {
    align-content: start;
    justify-items: center;
    text-align: center;
}

/* Cabeçalhos e progresso do onboarding. */
.cx-account-section__header {
    justify-items: center !important;
    border-bottom-color: rgba(0, 120, 235, .11);
    background:
        radial-gradient(circle at 50% 0, rgba(0, 120, 235, .1), transparent 44%),
        linear-gradient(135deg, #fff 0%, #f5f9fd 100%);
    text-align: center;
}

.cx-account-section__header .eyebrow,
.cx-profile-form__heading .eyebrow {
    color: var(--cx-blue);
}

.cx-onboarding-progress {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 22px 30px 0;
}

.cx-onboarding-progress span {
    display: flex;
    min-height: 52px;
    padding: 9px 14px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(41, 41, 41, .09);
    border-radius: 15px;
    background: #fff;
    color: rgba(41, 41, 41, .58);
    font-size: .82rem;
    font-weight: 800;
    text-align: center;
}

.cx-onboarding-progress b {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: #edf1f5;
    color: #687383;
    font-size: .75rem;
}

.cx-onboarding-progress .is-active {
    border-color: rgba(0, 120, 235, .28);
    background: #f2f8ff;
    color: var(--cx-blue);
}

.cx-onboarding-progress .is-active b {
    background: var(--cx-blue);
    color: #fff;
}

.cx-onboarding-progress .is-complete {
    border-color: rgba(36, 171, 105, .22);
    background: #f2fbf6;
    color: #168653;
}

.cx-onboarding-progress .is-complete b {
    background: #20a969;
    color: #fff;
}

/* Formulário de perfil B2C/B2B. */
.cx-profile-form,
.cx-smart-address-form {
    display: grid;
    gap: 22px;
}

.cx-profile-form__section,
.cx-address-lookup,
.cx-address-details {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(41, 41, 41, .085);
    border-radius: 20px;
    background: #fff;
}

.cx-profile-form__heading {
    width: min(720px, 100%);
    margin: 0 auto 22px;
    text-align: center;
}

.cx-profile-form__heading .eyebrow {
    display: block;
    margin-bottom: 7px;
}

.cx-profile-form__heading h3 {
    margin: 0 0 7px;
    color: var(--cx-black);
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.cx-profile-form__heading p {
    max-width: 62ch;
    margin: 0 auto;
    color: rgba(41, 41, 41, .58);
    line-height: 1.55;
}

.cx-person-type-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cx-person-type-card {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 112px;
    padding: 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 2px solid rgba(41, 41, 41, .09);
    border-radius: 18px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cx-person-type-card:hover {
    border-color: rgba(0, 120, 235, .28);
    transform: translateY(-1px);
}

.cx-person-type-card.is-selected {
    border-color: var(--cx-blue);
    background: #f0f7ff;
    box-shadow: 0 12px 28px rgba(0, 120, 235, .09);
}

.cx-person-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cx-person-type-card__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    color: var(--cx-blue);
    box-shadow: 0 7px 20px rgba(20, 35, 50, .08);
    font-size: .76rem;
    font-weight: 900;
}

.cx-person-type-card strong,
.cx-person-type-card small {
    display: block;
}

.cx-person-type-card small {
    margin-top: 4px;
    color: rgba(41, 41, 41, .56);
    font-size: .76rem;
}

.cx-person-type-card i {
    width: 20px;
    height: 20px;
    border: 2px solid #aeb8c3;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 4px #fff;
}

.cx-person-type-card.is-selected i {
    border-color: var(--cx-blue);
    background: var(--cx-blue);
}

.cx-person-fields[hidden],
.cx-person-type-card[hidden],
.cx-account-form-page [hidden] {
    display: none !important;
}

.cx-field-with-action > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.cx-inline-action {
    display: inline-flex;
    min-height: 52px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 13px;
    background: var(--cx-blue);
    color: #fff;
    font: inherit;
    font-size: .8rem;
    font-weight: 850;
    white-space: nowrap;
    cursor: pointer;
}

.cx-inline-action:hover {
    background: #0067cb;
}

.cx-inline-action:disabled {
    opacity: .58;
    cursor: wait;
}

.cx-lookup-status {
    display: block;
    min-height: 1.25em;
    margin-top: 8px;
    color: rgba(41, 41, 41, .58);
    font-size: .76rem;
    line-height: 1.45;
}

.cx-lookup-status.is-loading { color: #8b5a00; }
.cx-lookup-status.is-success { color: #168653; }
.cx-lookup-status.is-error { color: #b23838; }

/* Endereço: CEP primeiro e campos editáveis. */
.cx-address-form-page .cx-account-fields-form {
    background: #f8fafc;
}

.cx-address-recipient-fields {
    padding: 24px;
    border: 1px solid rgba(41, 41, 41, .085);
    border-radius: 20px;
    background: #fff;
}

.cx-postcode-tools {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.cx-postcode-tools .form-row {
    min-width: 0;
    margin: 0 !important;
}

.cx-smart-address-grid .form-row-wide {
    grid-column: 1 / -1 !important;
}

.cx-smart-address-grid .is-autofilled input,
.cx-smart-address-grid .is-autofilled select,
.cx-smart-address-grid [data-cx-locked="1"] {
    border-color: rgba(0, 120, 235, .16) !important;
    background: #eef7ff !important;
    color: #415268 !important;
}

.cx-smart-address-grid select[data-cx-locked="1"] {
    pointer-events: none;
}

.cx-manual-address-toggle {
    display: block;
    margin: 16px auto 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: rgba(41, 41, 41, .58);
    font: inherit;
    font-size: .76rem;
    font-weight: 750;
    cursor: pointer;
}

/* Campos: dimensões seguras e tratamento consistente das cores. */
body.woocommerce-account .cx-account-fields-grid input,
body.woocommerce-account .cx-account-fields-grid select,
body.woocommerce-account .cx-account-fields-grid textarea,
body.woocommerce-account .select2-container,
body.woocommerce-account .select2-selection {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.woocommerce-account .cx-account-fields-grid input,
body.woocommerce-account .cx-account-fields-grid select,
body.woocommerce-account .cx-account-fields-grid textarea {
    border-color: rgba(41, 41, 41, .13) !important;
    background: #f5f7fa !important;
}

body.woocommerce-account .cx-account-fields-grid input:focus,
body.woocommerce-account .cx-account-fields-grid select:focus,
body.woocommerce-account .cx-account-fields-grid textarea:focus {
    border-color: var(--cx-blue) !important;
    background: #fff !important;
    outline: 3px solid rgba(0, 120, 235, .09) !important;
}

body.woocommerce-account .select2-container--open .select2-dropdown {
    max-width: calc(100vw - 32px);
}

.cx-account-form-actions .button {
    border: 0 !important;
    background: var(--cx-blue) !important;
    box-shadow: 0 10px 26px rgba(0, 120, 235, .18);
}

/* Checkout herda a mesma lógica visual de PF/PJ e CEP. */
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_persontype_field,
body.woocommerce-checkout #billing_cpf_field,
body.woocommerce-checkout #billing_cnpj_field {
    grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .cx-checkout-postcode-status {
    margin-top: 7px;
}

@media (max-width: 960px) {
    body.woocommerce-account.logged-in .commerce-container {
        width: min(100% - 24px, 900px) !important;
    }

    .cx-account-nav .cx-account-nav__item {
        justify-content: flex-start;
        text-align: left;
    }

    .cx-account-nav .cx-account-nav__item::after {
        display: none;
    }

    .cx-account-nav li.is-logout {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-top: 0 !important;
    }
}

@media (max-width: 780px) {
    body.woocommerce-account.logged-in .commerce-container {
        width: calc(100% - 16px) !important;
    }

    body.woocommerce-account.logged-in .woocommerce {
        gap: 14px !important;
    }

    .cx-account-nav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px;
    }

    .cx-account-nav .cx-account-nav__item {
        min-height: 52px;
        padding: 7px 9px;
        font-size: .78rem;
    }

    .cx-account-nav .cx-account-nav__icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .cx-account-nav li.is-logout {
        grid-column: 1 / -1;
    }

    .cx-account-dashboard__welcome,
    .cx-account-section__header {
        padding: 24px 18px !important;
    }

    .cx-account-quick-actions {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
    }

    .cx-account-recent-orders {
        padding: 0 18px 20px !important;
    }

    .cx-account-order-card {
        grid-template-columns: 1fr 1fr !important;
        text-align: center;
    }

    .cx-onboarding-progress {
        padding: 18px 18px 0;
    }

    .cx-account-fields-form {
        padding: 18px !important;
    }

    .cx-profile-form__section,
    .cx-address-lookup,
    .cx-address-details,
    .cx-address-recipient-fields {
        padding: 20px 16px;
        border-radius: 17px;
    }

    .cx-person-type-options,
    .cx-account-fields-grid,
    .cx-postcode-tools {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cx-person-type-card {
        min-height: 96px;
    }

    .cx-field-with-action > div {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-inline-action,
    .cx-postcode-search {
        width: 100%;
    }

    .cx-smart-address-grid .form-row,
    .cx-smart-address-grid .form-row-wide {
        grid-column: 1 !important;
    }
}

@media (max-width: 520px) {
    .cx-onboarding-progress {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-account-nav ul {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cx-account-nav li.is-logout {
        grid-column: auto;
    }

    .cx-person-type-card {
        grid-template-columns: auto minmax(0, 1fr) auto;
        padding: 14px;
    }

    .cx-account-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cx-account-form-actions .button,
    .cx-account-form-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================
   CRIAXIS V37 — mobile, compra rápida, CEP e carregamento
   ========================================================== */
.cx-site-loader {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(41, 41, 41, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease, visibility .3s ease;
}

.cx-site-loader.is-leaving,
html:not(.cx-loading) .cx-site-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cx-site-loader__mark {
    width: clamp(150px, 18vw, 240px);
    height: auto;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .32));
    animation: criaxisLoaderPulse 1.05s ease-in-out infinite alternate;
}

@keyframes criaxisLoaderPulse {
    from { opacity: .5; transform: scale(.94); }
    to { opacity: 1; transform: scale(1.035); }
}

@media (max-width: 520px) {
    .cx-site-loader__mark {
        width: clamp(138px, 48vw, 190px);
    }
}

.cx-card-cart-action {
    font: inherit;
    cursor: pointer;
}

button.cx-card-cart-action {
    width: 100%;
}

.cx-card-cart-action.is-loading {
    gap: 10px;
    opacity: .82;
    cursor: wait;
    border-color: #0078eb !important;
    background: #0078eb !important;
    color: #fff !important;
}

.cx-card-cart-action.is-loading::after {
    content: '';
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 2px solid rgba(255, 255, 255, .42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: criaxisShopSpin .7s linear infinite;
}

.cx-card-cart-action.is-added {
    border-color: #118548 !important;
    background: #118548 !important;
    color: #fff !important;
}

.cx-card-cart-action.is-unavailable {
    border-color: rgba(41, 41, 41, .08) !important;
    background: #e9edf1 !important;
    color: rgba(41, 41, 41, .5) !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

.cx-header-cart.is-item-added {
    animation: criaxisCartAdded .68s cubic-bezier(.2, .86, .25, 1);
}

.cx-header-cart.is-item-added .cx-cart-count {
    animation: criaxisCartCountAdded .68s cubic-bezier(.2, .86, .25, 1);
}

@keyframes criaxisCartAdded {
    0%, 100% { transform: translateY(0) scale(1); }
    38% { transform: translateY(-5px) scale(1.08); box-shadow: 0 14px 32px rgba(8, 125, 240, .24); }
}

@keyframes criaxisCartCountAdded {
    0%, 100% { transform: scale(1); }
    42% { transform: scale(1.34) rotate(8deg); background: #fe8801; }
}

.cx-shipping-calculator.is-loading .cx-shipping-field input,
.cx-shipping-calculator.is-loading .cx-shipping-field select {
    opacity: .68;
}

@media (max-width: 520px) {
    .cx-header-account {
        display: flex !important;
        width: 42px;
        min-height: 42px;
        padding: 5px;
        justify-content: center;
        border-radius: 15px;
    }

    .cx-header-account__icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 10px;
    }

    .cx-header-account__icon svg {
        width: 18px;
        height: 18px;
    }

    .cx-header-account__status {
        top: 5px;
        right: 5px;
    }

    .site-header .header-shell {
        width: calc(100% - 20px);
        gap: 8px !important;
    }

    .cx-header-actions {
        gap: 5px;
    }
}

@media (max-width: 380px) {
    .site-logo-image {
        width: 124px;
    }

    .cx-header-cart {
        min-width: 42px;
        padding-inline: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-site-loader__mark,
    .cx-header-cart.is-item-added,
    .cx-header-cart.is-item-added .cx-cart-count,
    .cx-card-cart-action.is-loading::after {
        animation: none !important;
    }
}

/* ==========================================================
   CRIAXIS 7.27.2 — hierarquia para preços variáveis
   ========================================================== */
.cx-variable-price {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 5px;
}

.cx-variable-price__primary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--color-primary);
    line-height: 1;
}

.cx-variable-price__primary small {
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.cx-variable-price__primary strong,
.cx-variable-price__primary .amount {
    color: var(--color-primary);
    font: inherit;
    font-weight: 900;
}

.cx-variable-price__range {
    display: block;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

.shop-product-price .cx-variable-price,
.criaxis-product-price .cx-variable-price,
.woocommerce ul.products li.product .cx-variable-price,
.cx-related-grid .cx-variable-price {
    align-items: center;
    text-align: center;
}

.cx-product-price .cx-variable-price {
    align-items: flex-start;
    text-align: left;
}

.cx-product-price .cx-variable-price__primary small {
    font-size: .74rem;
}

.cx-product-price .cx-variable-price__range {
    margin-top: 2px;
    font-size: .84rem;
}

.cx-product-price.is-variation-selected .price {
    display: inline-flex;
    align-items: baseline;
    color: var(--color-primary);
    font: inherit;
    line-height: inherit;
}

.cx-product-price.is-variation-selected .amount {
    color: inherit;
    font: inherit;
    font-weight: inherit;
}

@media (max-width: 520px) {
    .cx-product-price .cx-variable-price__primary {
        align-items: baseline;
        flex-direction: row;
        gap: 6px;
    }
}

/* ==========================================================
   CRIAXIS V39 — carrinho instantâneo e variações responsivas
   ========================================================== */
.cx-card-cart-action.is-confirming {
    cursor: wait;
}

body.single-product .cx-product-summary,
body.single-product .cx-product-summary-card,
body.single-product .cx-product-purchase,
body.single-product .cx-product-purchase form.variations_form,
body.single-product .cx-product-purchase .single_variation_wrap,
body.single-product .cx-product-purchase .woocommerce-variation-add-to-cart {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* A tabela de opções ocupa a largura total. Ela não pode herdar a grade
   70px + botão destinada exclusivamente aos produtos simples. */
body.single-product .cx-product-purchase form.cart.variations_form {
    display: block !important;
    grid-template-columns: none !important;
}

body.single-product .cx-product-purchase form.variations_form table.variations,
body.single-product .cx-product-purchase form.variations_form table.variations tbody,
body.single-product .cx-product-purchase form.variations_form table.variations tr,
body.single-product .cx-product-purchase form.variations_form table.variations th,
body.single-product .cx-product-purchase form.variations_form table.variations td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.single-product .cx-product-purchase form.variations_form table.variations {
    margin: 0 0 14px !important;
}

body.single-product .cx-product-purchase form.variations_form table.variations tr + tr {
    margin-top: 16px;
}

body.single-product .cx-product-purchase form.variations_form table.variations th {
    padding: 0 0 8px !important;
}

body.single-product .cx-product-purchase form.variations_form table.variations th label {
    display: block;
    margin: 0;
    color: #263442;
    font-size: .92rem;
    font-weight: 850;
    line-height: 1.3;
}

body.single-product .cx-product-purchase form.variations_form table.variations td {
    position: relative;
    padding: 0 !important;
}

body.single-product .cx-product-purchase .cx-variation-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.single-product .cx-product-purchase .cx-variation-option {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    overflow: hidden;
}

body.single-product .cx-product-purchase .cx-variation-option__label {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

body.single-product .cx-product-purchase .reset_variations {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 10px;
    color: #657180;
    font-size: .78rem;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.single-product .cx-product-purchase .single_variation {
    margin: 0 0 10px;
}

body.single-product .cx-product-purchase form.variations_form .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    align-items: stretch;
    gap: 10px !important;
}

body.single-product .cx-product-purchase form.variations_form .quantity {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

body.single-product .cx-product-purchase form.variations_form .quantity .qty {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100%;
    min-height: 58px;
    margin: 0 !important;
    text-align: center;
}

body.single-product .cx-product-purchase form.variations_form .single_add_to_cart_button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0;
    min-height: 58px !important;
    margin: 0 !important;
}

body.single-product .cx-product-purchase form.variations_form .criaxis-add-to-cart-secondary {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    min-height: 54px !important;
    margin: 0 !important;
}

@media (max-width: 520px) {
    body.single-product .cx-product-purchase {
        padding-inline: 0;
    }

    body.single-product .cx-product-purchase .cx-variation-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.single-product .cx-product-purchase .cx-variation-option {
        min-height: 54px;
        gap: 8px;
        padding: 8px 9px;
        font-size: .78rem;
    }

    body.single-product .cx-product-purchase .cx-variation-option__swatch {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    body.single-product .cx-product-purchase form.variations_form .woocommerce-variation-add-to-cart {
        grid-template-columns: 68px minmax(0, 1fr) !important;
        gap: 8px !important;
    }
}

@media (max-width: 350px) {
    body.single-product .cx-product-purchase .cx-variation-options {
        grid-template-columns: minmax(0, 1fr);
    }
}
