/*
Theme Name: Casa Paganini
Theme URI: https://casapaganini.com.br
Author: Casa Paganini
Description: Tema de luxo para moda artesanal brasileira com WooCommerce
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: casapaganini
*/

/*
  Casa Paganini - Raízes de Luxo
  Custom CSS layer (Animations & JS-Toggled States)
*/

:root {
  --color-primary: #171211;
  --color-secondary: #e8ab30;
  --color-alternative: #876a64;
  --color-light: #ece3d6;
  --color-light-soft: #e5d9c8;
  --color-paper: #f4ece1;
  --color-dark: #120f10;
  --product-media-surface: #faf8f4;
}

/* Global Typography System */
body,
input,
textarea,
select,
button {
  font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading,
.entry-title,
.product_title,
.woocommerce-loop-product__title {
  font-family: "Bodoni Moda", serif;
}

@keyframes navSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Product Filters Sidebar */
#filter-sidebar {
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
}

#filter-overlay {
  backdrop-filter: blur(4px);
}

/* Filter Toggle Button */
#filter-toggle {
  transition: all 0.3s ease;
}

#filter-toggle:hover {
  transform: translateX(2px);
}

/* Checkbox Custom Styles */
input[type="checkbox"]:checked {
  background-color: #e8ab30;
  border-color: #e8ab30;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #e8ab30;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #e8ab30;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Size Selection */
input[type="checkbox"]:checked+span {
  color: #e8ab30;
  font-weight: 600;
}

/* Product Grid Animations */
.group {
  transition: transform 0.3s ease;
}



/* Loading States */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive Sidebar */
@media (max-width: 768px) {
  #filter-sidebar {
    width: 100%;
    max-width: 320px;
  }
}

/* MEGA MENU / DROPDOWN REFINEMENTS */
.dropdown {
  backdrop-filter: blur(20px);
}

/* HERO SLIDE TEXT ANIMATIONS */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

.slide-in {
  animation: slideInUp 0.6s cubic-bezier(0.2, 1, 0.3, 1) forwards;
  position: absolute;
  left: 0;
  white-space: nowrap;
}

.slide-out {
  animation: slideOutUp 0.6s cubic-bezier(0.2, 1, 0.3, 1) forwards;
  position: absolute;
  left: 0;
  white-space: nowrap;
}

/* ARTISTIC HERO STYLES */
.hero-editorial {
  perspective: 1000px;
}

.root-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawRoot 3s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.5s;
}

.root-path-secondary {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawRoot 4s cubic-bezier(0.2, 1, 0.3, 1) forwards 0.8s;
}

@keyframes drawRoot {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-visual-container {
  clip-path: ellipse(100% 100% at 50% 100%);
  animation: clipReveal 2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes clipReveal {
  from {
    clip-path: ellipse(0% 0% at 50% 100%);
  }

  to {
    clip-path: ellipse(100% 100% at 50% 100%);
  }
}

/* WARM ROOTS DESIGN SYSTEM */
.bg-noise {
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  filter: contrast(120%) brightness(100%) sepia(20%);
}

.hero-warm {
  perspective: 2000px;
}

.hero-roots-underlay-warm {
  font-size: clamp(15rem, 25vw, 30rem);
  line-height: 0.8;
  filter: blur(2px);
  mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-image-wrapper {
  transition: clip-path 1.5s var(--ease-out-expo), transform 1.5s var(--ease-out-expo);
}

.ease-out-expo {
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

/* REFINED REVEAL SENSITIVITY */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1), transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* RESPONSIVE TRICKS */
@media (max-width: 1024px) {

  .nav-center,
  .nav-right {
    display: none !important;
  }
}

/* TAILWIND UTILITIES OVERRIDE / EXTENSION */
.glass-nav {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 171, 48, 0.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  color: #171211;
}

body:not(.home) .glass-nav {
  background: linear-gradient(160deg, rgba(244, 236, 225, 0.82) 0%, rgba(229, 217, 200, 0.58) 100%);
  border: 1px solid rgba(120, 89, 63, 0.2);
  box-shadow:
    0 14px 34px -26px rgba(33, 24, 18, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  color: rgba(29, 21, 16, 0.96);
}

.glass-nav a,
.glass-nav span,
.glass-nav .material-symbols-outlined {
  color: inherit;
}

.glass-nav img {
  filter: none;
}

/* Home overrides */
.home .glass-nav {
  background: rgba(26, 22, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.home .glass-nav img {
  filter: invert(1);
}

.home .glass-nav .cart-contents {
  background: rgba(255, 255, 255, 0.1);
}

.home .cp-header-shell,
.home .xoo-wsc-basket {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.2, 1, 0.3, 1),
    visibility 0s linear 0.32s;
}

.home.cp-home-header-revealed .cp-header-shell,
.home.cp-home-header-revealed .xoo-wsc-basket {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.2, 1, 0.3, 1),
    visibility 0s linear 0s;
}

.glass-nav .cart-contents {
  background: rgba(0, 0, 0, 0.05);
}

body:not(.home) .glass-nav .cart-contents {
  background: rgba(88, 64, 46, 0.09);
  border: 1px solid rgba(120, 89, 63, 0.18);
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* HOME HERO STABILITY */
.cp-hero {
  position: relative;
  height: min(100vh, 100svh);
  min-height: clamp(540px, 88vh, 920px);
  background: #000;
}

@supports (height: 100dvh) {
  .cp-hero {
    height: 100dvh;
  }
}

.cp-hero .cp-hero__content {
  min-height: 100%;
}

.cp-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: #000;
}

.cp-hero__video-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100vw, 177.78vh);
  height: min(100vh, 56.25vw);
  transform: translate(-50%, -50%);
}

.cp-hero__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.92) contrast(1.04) brightness(0.74);
}

.cp-hero__veil,
.cp-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cp-hero__veil {
  background:
    linear-gradient(180deg, rgba(18, 15, 16, 0.3) 0%, rgba(18, 15, 16, 0.18) 22%, rgba(18, 15, 16, 0.62) 74%, rgba(18, 15, 16, 0.84) 100%),
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 44%);
  z-index: 1;
}

.cp-hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.32) 0%, rgba(8, 7, 6, 0) 30%, rgba(8, 7, 6, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 30%);
  mix-blend-mode: multiply;
  z-index: 2;
}

.cp-hero__mobile-slider {
  display: none;
}

.cp-hero__mobile-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.9s step-end;
  will-change: opacity;
}

.cp-hero__mobile-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear;
}

.cp-hero__mobile-slide-image,
.cp-hero__mobile-slide-veil {
  position: absolute;
  inset: 0;
}

.cp-hero__mobile-slide-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.075);
  filter: saturate(0.94) contrast(1.02);
  transition:
    transform 6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, filter;
}

.cp-hero__mobile-slide-veil {
  background:
    linear-gradient(180deg, rgba(10, 8, 7, 0.08) 0%, rgba(10, 8, 7, 0.16) 24%, rgba(10, 8, 7, 0.62) 72%, rgba(10, 8, 7, 0.84) 100%),
    linear-gradient(90deg, rgba(18, 15, 16, 0.12) 0%, rgba(18, 15, 16, 0) 48%, rgba(18, 15, 16, 0.18) 100%);
  opacity: 0.92;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-hero__mobile-slide.is-active .cp-hero__mobile-slide-image {
  transform: scale(1.015);
  filter: saturate(1) contrast(1);
}

.cp-hero__mobile-slide.is-active .cp-hero__mobile-slide-veil {
  opacity: 1;
}

.cp-hero__content-panel--mobile {
  display: none;
}

.cp-hero__shop-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 46px;
  margin-bottom: 2.1rem;
  padding: 0.82rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 10, 10, 0.14);
  color: rgba(255, 255, 255, 0.94);
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition:
    border-color 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease,
    transform 0.28s ease;
}

.cp-hero__shop-cta:hover {
  border-color: rgba(232, 171, 48, 0.7);
  background: rgba(232, 171, 48, 0.9);
  color: #120f10;
  transform: translateY(-1px);
}

.cp-hero__shop-cta--disabled,
.cp-hero__shop-cta--disabled:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(10, 10, 10, 0.14);
  color: rgba(255, 255, 255, 0.94);
  transform: none;
  cursor: default;
  pointer-events: none;
}

.cp-hero__scroll-cue {
  margin-bottom: clamp(-3.9rem, -5.6vw, -2.5rem);
  gap: 0.35rem;
}

.cp-hero__scroll-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.28);
  font-family: "Bodoni Moda", serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cp-hero__scroll-label--coming-soon {
  text-transform: none;
}

.cp-hero__scroll-line {
  width: 1px;
  height: 1.9rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

@media (max-width: 767px) {
  .cp-hero {
    --cp-hero-mobile-height: 95vh;
    height: var(--cp-hero-mobile-height) !important;
    min-height: var(--cp-hero-mobile-height) !important;
    aspect-ratio: auto;
  }

  .cp-hero--coming-soon {
    --cp-hero-mobile-height: 100vh;
    height: var(--cp-hero-mobile-height) !important;
    min-height: var(--cp-hero-mobile-height) !important;
  }

  .cp-hero__video-shell {
    width: max(100vw, calc(var(--cp-hero-mobile-height) * 0.6667));
    height: 100%;
    min-width: 0;
    min-height: 100%;
    aspect-ratio: 2 / 3;
  }

  .cp-hero--has-mobile-slider .cp-hero__media {
    background: #120f10;
  }

  .cp-hero--has-mobile-slider .cp-hero__video-shell,
  .cp-hero--has-mobile-slider .cp-hero__veil,
  .cp-hero--has-mobile-slider .cp-hero__shade {
    display: none;
  }

  .cp-hero--has-mobile-slider .cp-hero__mobile-slider {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
  }

  .cp-hero__content-panel--desktop {
    display: none;
  }

  .cp-hero__content-panel--mobile {
    display: block;
  }

  .cp-hero__shop-cta {
    min-width: 152px;
    min-height: 42px;
    margin-bottom: 2.1rem;
    padding: 0.78rem 1.35rem;
    font-size: 0.56rem;
    letter-spacing: 0.24em;
  }

  .cp-hero__scroll-cue {
    display: flex !important;
    margin-bottom: 1.15rem;
  }

  .cp-hero__scroll-label {
    font-size: 0.5rem;
    letter-spacing: 0.14em;
  }

  .cp-hero__scroll-line {
    height: 2.05rem;
  }
}

@media (min-width: 768px) {
  .cp-hero__content-panel--desktop {
    display: block;
  }

  .cp-hero__content-panel--mobile {
    display: none;
  }
}

/* HOME HERO -> EDITORIAL FILM TRANSITION */
.home .cp-hero {
  --cp-film-seam: #120f10;
  position: relative;
  isolation: isolate;
}

.home .cp-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(100px, 16vh, 180px);
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(
    to bottom,
    rgba(18, 15, 16, 0) 0%,
    rgba(18, 15, 16, 0.18) 58%,
    rgba(18, 15, 16, 0.72) 84%,
    var(--cp-film-seam) 100%
  );
}

/* HOME - EDITORIAL FILM */
.cp-editorial-film {
  --cp-film-seam: #120f10;
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 4.6vw, 4.5rem) 0;
  background: linear-gradient(180deg, var(--cp-film-seam) 0%, #171311 100%);
}

.cp-editorial-film::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.12) 100%);
}

.cp-editorial-film__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.4vw, 2.2rem);
}

.cp-editorial-film__grid {
  display: grid;
  grid-template-columns: minmax(250px, 34%) minmax(0, 66%);
  gap: clamp(1.1rem, 2.7vw, 2.6rem);
  align-items: center;
}

.cp-editorial-film__content {
  max-width: 36ch;
}

.cp-editorial-film__kicker {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-secondary, #e8ab30) 90%, #fbe3b6 10%);
}

.cp-editorial-film__title {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: #f4ece0;
}

.cp-editorial-film__lead {
  margin: 0.8rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.97rem;
  line-height: 1.66;
  letter-spacing: 0.01em;
  color: rgba(236, 227, 214, 0.78);
}

.cp-editorial-film__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 650px);
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow:
    0 34px 60px -44px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(208, 174, 130, 0.14);
}

.cp-editorial-film__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cp-editorial-film__grain,
.cp-editorial-film__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cp-editorial-film__grain {
  opacity: 0.22;
  mix-blend-mode: overlay;
}

.cp-editorial-film__shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.36) 100%),
    radial-gradient(100% 80% at 70% 18%, rgba(255, 178, 108, 0.06) 0%, rgba(255, 178, 108, 0) 70%);
}

/* HOME - PRODUCT MOSAIC v2 */
.cp-product-mosaic {
  padding: 0;
  background: #120f10;
}

.cp-product-mosaic__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.cp-product-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(23, 18, 17, 0.14);
}

.cp-mosaic-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  background: var(--product-media-surface);
}

.cp-mosaic-card__link,
.cp-mosaic-media {
  display: block;
  width: 100%;
  height: 100%;
}

.cp-mosaic-media {
  position: relative;
  isolation: isolate;
  background: var(--product-media-surface);
}

.cp-mosaic-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.35s ease;
}

.cp-mosaic-media__img--hover {
  opacity: 0;
}

.cp-mosaic-card--has-hover:hover .cp-mosaic-media__img--main {
  opacity: 0;
  transform: scale(1.03);
}

.cp-mosaic-card--has-hover:hover .cp-mosaic-media__img--hover {
  opacity: 1;
  transform: scale(1.03);
}

.cp-mosaic-media__img--alpha {
  object-fit: contain;
  padding: clamp(0.9rem, 2.6vw, 2.3rem);
}

.cp-mosaic-card__meta {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.85rem;
  z-index: 2;
  pointer-events: none;
}

.cp-mosaic-card__title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8f5ef;
}

.cp-mosaic-card__price {
  margin: 0.12rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6f1e8;
}

.cp-mosaic-card__price ins,
.cp-mosaic-card__price bdi {
  color: inherit;
  text-decoration: none;
}

.cp-mosaic-card--has-hover:hover .cp-mosaic-card__meta {
  mix-blend-mode: difference;
}

.cp-mosaic-card--empty {
  background: var(--color-light-soft, #e5d9c8);
}

.cp-mosaic-media__empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(23, 18, 17, 0.52);
}

/* SHOP - FULL SCREEN CATALOG GRID */
.cp-shop-catalog__products {
  width: 100%;
  padding-inline: 1px !important;
}

.cp-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

@media (min-width: 768px) {
  .cp-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .cp-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cp-shop-product-card {
  position: relative;
}

.cp-shop-product-card__link {
  color: inherit;
  text-decoration: none;
}

.cp-shop-product-card__media {
  position: relative;
  background: var(--product-media-surface);
}

.cp-shop-product-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(10, 8, 7, 0.58) 0%, rgba(10, 8, 7, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.cp-shop-product-card__image {
  z-index: 1;
  filter: drop-shadow(0 18px 24px rgba(94, 79, 63, 0.08));
  transition: opacity 0.42s ease, transform 0.68s cubic-bezier(0.2, 1, 0.3, 1);
  will-change: transform, opacity;
}

.cp-shop-product-card__image--hover {
  opacity: 0;
}

.cp-shop-product-card:hover .cp-shop-product-card__image--main {
  opacity: 0;
  transform: scale(1.02);
}

.cp-shop-product-card:hover .cp-shop-product-card__image--hover {
  opacity: 1;
  transform: scale(1.02);
}

.cp-shop-product-card__badge {
  letter-spacing: 0.16em;
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.cp-shop-product-card__meta {
  min-height: 0;
}

.cp-shop-product-card__meta--overlay {
  position: absolute;
  left: 0.62rem;
  right: 0.62rem;
  bottom: 0.58rem;
  z-index: 3;
  pointer-events: none;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.52);
}

.cp-shop-product-card__title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.16;
  color: rgba(247, 241, 233, 0.96);
}

.cp-shop-product-card__price {
  margin: 0.08rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 238, 227, 0.9);
}

.cp-shop-product-card__price ins,
.cp-shop-product-card__price bdi {
  text-decoration: none;
}

.cp-shop-load-more-wrap {
  display: flex;
  justify-content: center;
}

.cp-shop-load-more {
  min-width: min(100%, 280px);
  min-height: 48px;
  padding: 0.82rem 1.75rem;
  border: 1px solid rgba(35, 25, 18, 0.72);
  background: transparent;
  color: rgba(35, 25, 18, 0.94);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
  cursor: pointer;
}

.cp-shop-load-more:hover {
  background: rgba(35, 25, 18, 0.92);
  color: #f4ece1;
  border-color: rgba(35, 25, 18, 0.92);
}

.cp-shop-load-more[disabled] {
  opacity: 0.56;
  cursor: not-allowed;
}

.cp-shop-load-more.is-hidden {
  display: none;
}

.cp-shop-load-more.is-error {
  border-color: rgba(130, 45, 35, 0.52);
  color: rgba(109, 36, 28, 0.92);
}

.cp-shop-load-more--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 0.7rem;
}

/* YITH FILTER DROPDOWN (class-based, reusable) */
.yith-wcan-dropdown,
.yith-wcan-dropdown * {
  font-family: "Manrope", sans-serif !important;
}

.yith-wcan-dropdown {
  position: relative;
  min-height: 44px;
  border: 1px solid rgba(104, 77, 56, 0.24);
  background: rgba(244, 236, 225, 0.76);
  color: rgba(31, 23, 18, 0.9);
  outline: none;
}

.yith-wcan-dropdown:focus-visible {
  border-color: rgba(120, 86, 58, 0.64);
  box-shadow: 0 0 0 2px rgba(120, 86, 58, 0.16);
}

.yith-wcan-dropdown .dropdown-label {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 0.72rem 2rem 0.72rem 0.88rem;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(31, 23, 18, 0.9);
  background-image: none !important;
}

.yith-wcan-dropdown::before,
.yith-wcan-dropdown .dropdown-label::before,
.yith-wcan-dropdown .dropdown-label::after {
  content: none !important;
}

.yith-wcan-dropdown .dropdown-label i,
.yith-wcan-dropdown .dropdown-label svg {
  display: none !important;
}

.yith-wcan-dropdown::after {
  content: "▾";
  position: absolute;
  right: 0.86rem;
  top: 50%;
  width: auto;
  height: auto;
  border: 0;
  font-size: 12px;
  line-height: 1;
  transform: translateY(-50%);
  opacity: 0.78;
  pointer-events: none;
  transition: none;
}

.yith-wcan-dropdown.open::after {
  content: "▴";
  transform: translateY(-50%);
}

.yith-wcan-dropdown .dropdown-wrapper {
  margin-top: 0 !important;
  border-top: 1px solid rgba(104, 77, 56, 0.2);
  background: #f4ece1;
}

.yith-wcan-dropdown .filter-items,
.yith-wcan-dropdown .matching-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yith-wcan-dropdown .filter-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(104, 77, 56, 0.12);
  outline: none;
}

.yith-wcan-dropdown .filter-item:last-child {
  border-bottom: 0;
}

.yith-wcan-dropdown .filter-item a {
  display: block;
  padding: 0.66rem 0.88rem;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.34;
  letter-spacing: 0.05em;
  text-transform: none;
  color: rgba(31, 23, 18, 0.84);
  text-decoration: none;
}

.yith-wcan-dropdown .filter-item:hover a,
.yith-wcan-dropdown .filter-item:focus-within a {
  background: transparent !important;
  color: rgba(31, 23, 18, 0.84);
}

.yith-wcan-dropdown .filter-item.active a {
  font-weight: 650;
  background: transparent !important;
  color: rgba(24, 18, 14, 0.98);
}

.yith-wcan-dropdown .filter-item.active,
.yith-wcan-dropdown .filter-item.active a *,
.yith-wcan-dropdown .filter-item.active * {
  background: transparent !important;
}

.yith-wcan-dropdown .show-more {
  display: block;
  padding: 0.64rem 0.88rem 0.72rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(120, 86, 58, 0.9);
}

/* HOME - MANIFESTO */
.cp-manifesto__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16em;
  font-family: "Bodoni Moda", serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cp-manifesto__line {
  display: block;
}

.cp-manifesto__title br {
  display: block;
  content: "";
  margin-block: 0.16em;
}

.cp-manifesto__text {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  margin-inline: auto;
  max-width: min(78ch, 94vw);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-transform: none;
  color: rgba(246, 246, 246, 0.9);
}

.cp-manifesto__text-line {
  display: block;
}

.cp-manifesto__text br {
  display: block;
  margin-block: 0.35em;
}

/* HOME - ATELIER CALLOUT */
.cp-home-atelier {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  min-height: clamp(560px, 76vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #f2ece4;
}

.cp-home-atelier__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cp-home-atelier__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.cp-home-atelier__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.16) 0%, rgba(10, 9, 8, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 9, 8, 0.82) 0%, rgba(10, 9, 8, 0.55) 36%, rgba(10, 9, 8, 0.24) 72%, rgba(10, 9, 8, 0.36) 100%);
}

.cp-home-atelier::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: clamp(72px, 10vh, 130px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(23, 18, 17, 0.88) 0%,
    rgba(23, 18, 17, 0.44) 46%,
    rgba(23, 18, 17, 0) 100%
  );
}

.cp-home-atelier::after {
  content: none;
}

.cp-home-atelier__inner {
  position: relative;
  z-index: 3;
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.3rem, 2.5vw, 2.4rem) clamp(4.1rem, 8vw, 6.7rem);
}

.cp-home-atelier__panel {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
}

.cp-home-atelier__kicker {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(238, 215, 178, 0.82);
}

.cp-home-atelier__title {
  margin: clamp(0.85rem, 1.7vw, 1.25rem) 0 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 520;
  line-height: 0.95;
  letter-spacing: 0;
  color: #f7f2ea;
}

.cp-home-atelier__lead {
  margin-top: clamp(1.25rem, 3vw, 2.15rem);
  max-width: 39ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 1.18vw, 1.08rem);
  line-height: 1.68;
  letter-spacing: 0.01em;
  color: rgba(245, 235, 221, 0.9);
}

.cp-home-atelier__lead p {
  margin: 0;
}

.cp-home-atelier__lead p + p {
  margin-top: 0.95rem;
}

.cp-home-atelier__meta {
  margin-top: clamp(1.7rem, 3vw, 2.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1rem, 2.5vw, 2.1rem);
}

.cp-home-atelier__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.3vw, 0.95rem);
}

.cp-home-atelier__fact {
  min-height: 90px;
  padding: 0.05rem 0 0.7rem;
  border-bottom: 1px solid rgba(245, 235, 220, 0.24);
  background: transparent;
}

.cp-home-atelier__fact-title {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(236, 219, 191, 0.8);
}

.cp-home-atelier__fact-text {
  margin: 0.5rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(245, 236, 225, 0.84);
}

.cp-home-atelier__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.7rem;
  border: 1px solid rgba(239, 221, 195, 0.52);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f4ebdd;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
  width: fit-content;
  white-space: nowrap;
  background: rgba(8, 7, 6, 0.35);
}

.cp-home-atelier__cta:hover {
  border-color: rgba(248, 239, 226, 0.82);
  color: #fff;
  background: rgba(8, 7, 6, 0.58);
}

@media (max-width: 1024px) {
  .cp-hero {
    height: clamp(520px, 86vh, 780px);
    min-height: clamp(520px, 86vh, 780px);
  }

  .cp-hero__video-shell {
    width: min(100vw, 177.78vh);
    height: min(100vh, 56.25vw);
    transform: translate(-50%, -50%);
  }

  .cp-editorial-film__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cp-editorial-film__media {
    order: -1;
  }

  .cp-editorial-film__frame {
    margin: 0 auto;
    width: min(100%, 560px);
  }

  .cp-home-atelier {
    min-height: clamp(500px, 68vh, 700px);
  }

  .cp-home-atelier__inner {
    padding-bottom: clamp(3.2rem, 7vw, 5.1rem);
  }

  .cp-home-atelier__panel {
    width: min(100%, 860px);
  }

  .cp-home-atelier__meta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cp-home-atelier__facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .home .cp-hero::after {
    height: clamp(18px, 4vh, 40px);
  }

  .cp-editorial-film {
    padding: 0.15rem 0 1.7rem;
  }

  .cp-editorial-film__frame {
    margin: 1.3rem auto 0;
  }

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

  .cp-home-atelier__kicker {
    font-size: 9px;
    letter-spacing: 0.26em;
  }

  .cp-home-atelier {
    min-height: 540px;
    align-items: flex-end;
  }

  .cp-home-atelier::before {
    height: 78px;
  }

  .cp-home-atelier__inner {
    padding: 1.4rem 1.1rem 2.2rem;
  }

  .cp-home-atelier__panel {
    width: 100%;
  }

  .cp-home-atelier__title {
    font-size: clamp(2rem, 12.5vw, 3.1rem);
    line-height: 0.98;
  }

  .cp-home-atelier__lead {
    max-width: 34ch;
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.01em;
  }

  .cp-manifesto__title {
    gap: 0.44em;
  }

  .cp-manifesto__text {
    gap: 0.62em;
  }

  .cp-home-atelier__meta {
    gap: 1.1rem;
  }

  .cp-home-atelier__facts {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .cp-home-atelier__fact {
    min-height: 0;
    padding: 0.75rem 0.8rem 0.82rem;
    border: 1px solid rgba(241, 226, 202, 0.17);
    background: rgba(8, 7, 6, 0.36);
  }

  .cp-home-atelier__fact-title {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .cp-home-atelier__fact-text {
    margin-top: 0.42rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .cp-home-atelier__cta {
    font-size: 10px;
    letter-spacing: 0.2em;
    width: 100%;
    min-height: 44px;
    justify-content: center;
    white-space: normal;
    padding: 0.82rem 1rem;
    border-color: rgba(241, 226, 202, 0.34);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.6);
  }

  .cp-home-atelier__cta:hover {
    border-color: rgba(246, 232, 211, 0.5);
    background: rgba(255, 255, 255, 0.14);
  }

}

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

  .cp-mosaic-card {
    aspect-ratio: 3 / 4;
  }

  .cp-manifesto__text {
    font-size: 1rem !important;
    line-height: 1.58 !important;
    letter-spacing: 0.02em !important;
  }

  .cp-manifesto__title {
    gap: 0.52em;
  }

  .cp-manifesto__text {
    gap: 0.72em;
  }

  .cp-home-atelier {
    min-height: 500px;
  }

  .cp-home-atelier__inner {
    padding-inline: 0.95rem;
    padding-bottom: 2rem;
  }

  .cp-home-atelier__meta {
    gap: 0.85rem;
  }

  .cp-home-atelier__fact {
    padding: 0.68rem 0.68rem 0.78rem;
  }

  .cp-home-atelier__fact-text {
    font-size: 0.84rem;
    line-height: 1.46;
  }

  .cp-home-atelier__cta {
    letter-spacing: 0.15em;
    min-height: 42px;
    padding: 0.76rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-mosaic-media__img {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   ATELIÊ — PREMIUM PAGE DESIGN
   ═══════════════════════════════════════════════════ */

/* ─── Page Shell ─── */
.cp-atelier-page {
  position: relative;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: hidden;
  background: linear-gradient(180deg, #120f10 0%, #151110 48%, #171211 100%);
  color: rgba(242, 233, 220, 0.9);
}

.cp-atelier-page::before {
  content: none;
}

/* Ensure no light seam between Ateliê content and footer */
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page .entry-content {
  display: flow-root;
}

.cp-atelier-page .cp-atelier-shell,
.cp-atelier-page .entry-content,
.cp-atelier-page .entry-content>*:last-child,
.cp-atelier-page .entry-content>.wp-block-group:last-child,
.cp-atelier-page article {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page .cp-atl-salon,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page .cp-atl-salon .wp-block-group__inner-container,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page .cp-atl-salon-card,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page .cp-atl-salon .wp-block-columns {
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
  padding-bottom: 0 !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page .cp-atl-salon :where(.wp-block-columns) {
  margin-bottom: 0 !important;
  margin-block-end: 0 !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page .cp-atl-salon {
  position: relative;
  background: #120f10;
}

/* Footer integration on Ateliê page + Home + Contato */
:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php, body.home) .cp-site-footer {
  border-top: 1px solid rgba(221, 200, 172, 0.2) !important;
  margin-top: 0 !important;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #120f10 0%, #0d0b0c 100%);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php, body.home) .cp-site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(12, 10, 11, 0.82) 0%,
    rgba(12, 10, 11, 0.42) 56%,
    rgba(12, 10, 11, 0) 100%
  );
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php, body.home) .cp-site-footer .cp-footer-menu-title {
  color: rgba(241, 232, 219, 0.92) !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php, body.home) .cp-site-footer .cp-footer-menu-link,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php, body.home) .cp-site-footer .cp-footer-menu-link:hover {
  color: rgba(241, 232, 219, 0.74) !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php, body.home) .cp-site-footer p {
  color: rgba(241, 232, 219, 0.56) !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php, body.home) .cp-site-footer img {
  filter: brightness(0) invert(1) contrast(0.88);
  opacity: 0.92;
}

/* Ateliê page: form and footer without visual gap */
 :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-site-footer::before {
  content: none;
}

/* ─── HERO ─── */
.cp-atl-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 3.8rem);
  align-items: end;
  width: min(100%, 1380px);
  margin: 0 auto clamp(2.8rem, 5vw, 4.8rem);
  padding-inline: clamp(0.4rem, 1.5vw, 1.4rem);
}

/* Images wrapper */
.cp-atl-hero-images>.wp-block-group__inner-container {
  display: block;
}

.cp-atl-hero-img1,
.cp-atl-hero-img2,
.cp-atl-hero-img1 .wp-block-group__inner-container,
.cp-atl-hero-img2 .wp-block-group__inner-container,
.cp-atl-hero-img1 .wp-block-image,
.cp-atl-hero-img2 .wp-block-image,
.cp-atl-hero-img1 .wp-block-image a,
.cp-atl-hero-img2 .wp-block-image a {
  position: relative;
  width: 100%;
  margin: 0;
  display: block;
}

.cp-atl-hero-img1 img,
.cp-atl-hero-img2 img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 1px solid rgba(214, 186, 145, 0.24);
  box-shadow: 0 36px 60px -44px rgba(0, 0, 0, 0.78);
  filter: saturate(0.84) contrast(1.04) brightness(0.82);
  transition: transform 0.65s cubic-bezier(0.2, 1, 0.3, 1), filter 0.45s ease;
}

.cp-atl-hero-img1:hover img,
.cp-atl-hero-img2:hover img {
  transform: scale(1.015);
  filter: saturate(0.95) contrast(1.08) brightness(0.88);
}

.cp-atl-hero-img1::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 8, 8, 0.12) 0%, rgba(9, 8, 8, 0.56) 100%);
}

.cp-atl-hero-img1 {
  padding: 0;
}

.cp-atl-hero-img1::after {
  content: none;
}

.cp-atl-hero-img1 .wp-block-image {
  position: relative;
  z-index: 2;
}

.cp-atl-hero-img2 {
  margin: 0;
  padding: 0;
}

.cp-atl-hero-img2::after {
  content: none;
}

.cp-atl-hero-img2 .wp-block-image {
  position: relative;
  z-index: 1;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero-img2 {
  display: none !important;
}

.cp-atl-hero-text {
  padding-bottom: clamp(0.5rem, 1.6vw, 1.1rem);
  max-width: 34rem;
}

.cp-atl-kicker {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(223, 194, 154, 0.84);
}

.cp-atl-hero-title {
  margin: 1rem 0 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 320;
  line-height: 0.95;
  letter-spacing: 0;
  color: rgba(247, 239, 229, 0.98);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.cp-atl-hero-title em,
.cp-atl-hero-title i {
  font-style: italic;
  font-weight: 400;
}

.cp-atl-hero-lead {
  margin-top: 1rem;
  max-width: 33ch;
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(242, 228, 207, 0.84);
}

.cp-atl-hero-rule {
  margin-top: 1.45rem;
  width: 4.2rem;
  height: 1px;
  background: rgba(223, 194, 154, 0.48);
  border: none;
}

/* ─── PROCESSO / FULL-WIDTH SECTION ─── */
.cp-atl-process {
  position: relative;
  padding-block: clamp(2.7rem, 5.8vw, 5.4rem);
  padding-inline: clamp(1.5rem, 4vw, 5rem);
  background: linear-gradient(180deg, #171211 0%, #130f0f 100%);
  border-top: 1px solid rgba(218, 190, 149, 0.18);
  border-bottom: 1px solid rgba(218, 190, 149, 0.14);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 0;
  width: 100vw;
}

.cp-atl-process::before {
  content: none;
}

.cp-atl-process::after {
  content: "";
  position: absolute;
  bottom: -3rem;
  left: 0;
  right: 0;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(19, 15, 15, 0), rgba(18, 15, 16, 1));
  pointer-events: none;
  z-index: 1;
}

.cp-atl-process-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.cp-atl-process-header h2 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.8rem, 3.1vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: rgba(246, 238, 226, 0.96);
}

.cp-atl-process-header p {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(220, 193, 153, 0.82);
  margin: 0;
}

.cp-atl-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.8vw, 1.25rem);
  max-width: 72rem;
  margin-inline: auto;
}

.cp-atl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: clamp(1.15rem, 2.4vw, 1.7rem) clamp(0.95rem, 1.8vw, 1.2rem);
  border: 1px solid rgba(218, 189, 148, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.cp-atl-step-line {
  width: 1px !important;
  height: clamp(2.2rem, 3vw, 3.1rem) !important;
  min-height: 0 !important;
  background: rgba(214, 185, 144, 0.36);
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1.35rem !important;
}

.cp-atl-step-num {
  margin: 0 0 0.72rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.83rem;
  font-style: italic;
  opacity: 0.78;
  color: rgba(229, 208, 176, 0.72);
}

.cp-atl-step-name {
  margin: 0 0 1.05rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(244, 234, 218, 0.92);
}

/* Placeholder text for images (user replaces with real images) */
.cp-atl-hero-img-placeholder,
.cp-atl-step-img-placeholder,
.cp-atl-salon-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border: 1px dashed rgba(211, 181, 140, 0.34);
  background: rgba(255, 255, 255, 0.02);
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(236, 220, 195, 0.54);
  text-align: center;
  padding: 2rem;
}

.cp-atl-hero-img-placeholder {
  min-height: 500px;
}

.cp-atl-step-img-placeholder {
  aspect-ratio: 1;
  min-height: auto;
  margin-bottom: 2rem;
}

.cp-atl-salon-img-placeholder {
  min-height: 400px;
  border-color: rgba(241, 241, 241, 0.15);
  background: rgba(241, 241, 241, 0.05);
  color: rgba(241, 241, 241, 0.3);
}

/* When user replaces placeholders with real images */
.cp-atl-step .wp-block-image {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

.cp-atl-step .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03) brightness(0.9);
  opacity: 0.92;
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.cp-atl-step .wp-block-image:hover img {
  opacity: 1;
  filter: saturate(0.95) contrast(1.06) brightness(0.95);
}

.cp-atl-step-desc {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  line-height: 1.62;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(235, 221, 200, 0.66);
}

/* ─── DARK SALON / FORM SECTION ─── */
.cp-atl-salon {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.cp-atl-salon-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #120f10;
  color: #f1f1f1;
  overflow: hidden;
}

.cp-atl-salon-content {
  padding: clamp(3rem, 5vw, 6rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-atl-salon-content>* {
  max-width: 100%;
}

.cp-atl-salon-kicker {
  margin: 0 0 1.5rem;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(224, 198, 157, 0.86);
}

.cp-atl-salon-title {
  margin: 0 0 1.5rem;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.1em;
  color: #f1f1f1;
}

.cp-atl-salon-lead {
  margin: 0 0 2.5rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(241, 233, 220, 0.72);
  max-width: none;
}

.cp-atl-salon-visual {
  position: relative;
  min-height: 500px;
}

.cp-atl-salon-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-atl-salon-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 22, 15, 0.15);
  pointer-events: none;
}

/* ─── WPForms inside dark salon ─── */
.cp-atl-salon .wpforms-container,
.cp-atl-salon .wpforms-container .wpforms-form {
  margin-top: 0;
  margin-bottom: 0;
  width: 100% !important;
  max-width: 100% !important;
}

.cp-atl-salon .wpforms-container .wpforms-field {
  padding: 0;
  margin-bottom: 2rem;
}

/* Force all text inside salon form to be light */
.cp-atl-salon .wpforms-container,
.cp-atl-salon .wpforms-container * {
  color: #f1f1f1 !important;
}

.cp-atl-salon .wpforms-container .wpforms-field-label {
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 225, 206, 0.82) !important;
}

.cp-atl-salon .wpforms-container .wpforms-field-sublabel {
  color: rgba(241, 241, 241, 0.4) !important;
  font-size: 10px !important;
}

.cp-atl-salon .wpforms-container input[type="text"],
.cp-atl-salon .wpforms-container input[type="email"],
.cp-atl-salon .wpforms-container input[type="tel"],
.cp-atl-salon .wpforms-container input[type="number"],
.cp-atl-salon .wpforms-container select,
.cp-atl-salon .wpforms-container textarea {
  min-height: auto;
  width: 100% !important;
  border: 1px solid rgba(239, 224, 202, 0.34) !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(246, 240, 231, 0.96) !important;
  padding: 14px 13px !important;
  font-family: "Manrope", sans-serif;
  font-size: 13px !important;
  letter-spacing: 0.03em;
  line-height: 1.4;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cp-atl-salon .wpforms-container textarea {
  min-height: 128px;
}

.cp-atl-salon .wpforms-container input:focus,
.cp-atl-salon .wpforms-container select:focus,
.cp-atl-salon .wpforms-container textarea:focus {
  border-color: rgba(207, 172, 121, 0.74) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  outline: none !important;
}

.cp-atl-salon .wpforms-container input::placeholder,
.cp-atl-salon .wpforms-container textarea::placeholder {
  color: rgba(237, 223, 203, 0.62) !important;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
}

.cp-atl-salon .wpforms-container .wpforms-submit-container {
  margin-top: 2rem;
  padding: 0;
}

.cp-atl-salon .wpforms-container button[type="submit"] {
  width: 100%;
  height: auto;
  padding: 1.08rem 1.25rem;
  border: 1px solid rgba(210, 178, 132, 0.52) !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(240, 230, 216, 0.95) !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cp-atl-salon .wpforms-container button[type="submit"]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(226, 195, 151, 0.74) !important;
  color: #f6efe4 !important;
}

/* ─── WPForms global fallback (non-salon contexts) ─── */
.wpforms-container {
  margin-top: 26px;
  margin-bottom: 0;
}

.wpforms-container .wpforms-field {
  padding: 0;
  margin-bottom: 16px;
}

.wpforms-container .wpforms-field-label {
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 18, 17, 0.55);
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container select,
.wpforms-container textarea {
  min-height: 48px;
  border: 1px solid rgba(23, 18, 17, 0.2) !important;
  border-radius: 0;
  background: var(--color-paper, #f4ece1);
  color: #171211;
  padding: 12px 14px !important;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.wpforms-container textarea {
  min-height: 148px;
}

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
  border-color: #e8ab30 !important;
  box-shadow: none !important;
}

.wpforms-container .wpforms-submit-container {
  margin-top: 18px;
  padding: 0;
}

.wpforms-container button[type="submit"] {
  width: 100%;
  height: 56px;
  border: 1px solid #171211 !important;
  border-radius: 0 !important;
  background: #171211 !important;
  color: #fff !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase;
  transition: all 0.28s ease;
}

.wpforms-container button[type="submit"]:hover {
  border-color: #e8ab30 !important;
  background: #e8ab30 !important;
  color: #171211 !important;
}

/* ─── Old ateliê pattern support (home section) ─── */
.cp-atelier-grid {
  gap: clamp(2.25rem, 4vw, 4rem);
  align-items: flex-start;
}

.cp-atelier-badge {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(23, 18, 17, 0.56);
}

.cp-atelier-title {
  margin: 14px 0 0;
  font-size: clamp(3rem, 8vw, 5.75rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #171211;
}

.cp-atelier-description {
  margin: 20px 0 0;
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(23, 18, 17, 0.86);
}

.cp-atelier-image-placeholder {
  margin-top: 34px;
  min-height: 390px;
  border: 1px solid rgba(23, 18, 17, 0.12);
  background: linear-gradient(145deg, #efe5d8 0%, #e4d6c3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cp-atelier-image-placeholder p {
  margin: 0;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 18, 17, 0.45);
}


/* AUTO IMAGE MODAL */
body.cp-modal-open {
  overflow: hidden;
}

.cp-image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.cp-image-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cp-image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(4px);
}

.cp-image-modal__stage {
  position: relative;
  z-index: 2;
  width: min(96vw, 1400px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.cp-image-modal.is-open .cp-image-modal__stage {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cp-image-modal__media {
  position: relative;
  margin: 0;
  line-height: 0;
  background: var(--product-media-surface);
}

.cp-image-modal__img {
  display: block;
  width: auto;
  max-width: min(90vw, 1200px);
  max-height: calc(90vh - 86px);
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(94, 79, 63, 0.1));
}

.cp-image-modal__caption {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cp-image-modal__close,
.cp-image-modal__nav {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cp-image-modal__close {
  position: absolute;
  top: -58px;
  right: 0;
  font-size: 30px;
  line-height: 1;
}

.cp-image-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.cp-image-modal__nav svg {
  width: 18px;
  height: 18px;
  display: block;
}

.cp-image-modal__nav--prev {
  left: -62px;
}

.cp-image-modal__nav--next {
  right: -62px;
}

.cp-image-modal__close:hover {
  background: rgba(232, 171, 48, 0.85);
  color: #171211;
  transform: translateY(-1px);
}

.cp-image-modal__nav:hover {
  background: rgba(232, 171, 48, 0.85);
  color: #171211;
  transform: translateY(calc(-50% - 1px)) scale(1.02);
}

@media (max-width: 820px) {
  .cp-image-modal__stage {
    width: 96vw;
    padding: 0 8px 10px;
    gap: 0.6rem;
  }

  .cp-image-modal__img {
    max-width: 92vw;
    max-height: calc(92vh - 128px);
  }

  .cp-image-modal__nav {
    width: 38px;
    height: 38px;
    top: 50%;
  }

  .cp-image-modal__nav svg {
    width: 16px;
    height: 16px;
  }

  .cp-image-modal__nav--prev {
    left: 8px;
  }

  .cp-image-modal__nav--next {
    right: 8px;
  }

  .cp-image-modal__close {
    top: 10px;
    right: 10px;
    position: fixed;
  }
}

/* -----------------------------------------------------------
   RESPONSIVE HARDENING
----------------------------------------------------------- */

img,
svg,
video,
iframe {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

main iframe {
  width: 100%;
  max-width: 100%;
}

.entry-content table,
.entry-content .wp-block-table table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.cp-header-actions .cp-header-cart {
  white-space: nowrap;
}

body.cp-mobile-menu-open {
  overflow: hidden;
}

.cp-mobile-menu {
  transition: visibility 0.24s ease;
  visibility: hidden;
}

.cp-mobile-menu__overlay {
  transition: opacity 0.24s ease;
}

.cp-mobile-menu__panel {
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  box-shadow: -20px 0 60px -35px rgba(23, 18, 17, 0.75);
  background: linear-gradient(180deg, var(--color-light, #ece3d6) 0%, var(--color-paper, #f4ece1) 100%);
  border-left: 1px solid rgba(120, 89, 63, 0.16);
}

.cp-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cp-mobile-menu.is-open .cp-mobile-menu__overlay {
  opacity: 1;
}

.cp-mobile-menu.is-open .cp-mobile-menu__panel {
  transform: translateX(0);
}

.cp-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.cp-mobile-menu-list a,
.cp-mobile-menu-link {
  display: block;
  padding: 0.65rem 0;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary, #171211);
  border-bottom: 1px solid rgba(120, 89, 63, 0.16);
}

.cp-mobile-menu-list a:hover,
.cp-mobile-menu-link:hover {
  color: var(--color-secondary, #e8ab30);
}

/* FOOTER - MENU TYPOGRAPHY */
.cp-footer-menu-title {
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  letter-spacing: 0.08em !important;
}

.cp-footer-menu-link {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.11em !important;
  line-height: 1.15;
}

.cp-contact-shell {
  position: relative;
  background: var(--color-dark, #120f10);
  color: rgba(245, 237, 224, 0.92);
}

.cp-contact-page {
  position: relative;
  z-index: 1;
}

.cp-contact-hero {
  position: relative;
  min-height: clamp(380px, 58vh, 650px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(218, 191, 150, 0.2);
}

.cp-contact-hero--no-image {
  background:
    radial-gradient(circle at 12% 18%, rgba(182, 129, 58, 0.28) 0%, rgba(18, 15, 16, 0) 42%),
    linear-gradient(135deg, #1c1415 0%, #120f10 54%, #1b1412 100%);
}

.cp-contact-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cp-contact-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cp-contact-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 10, 10, 0.35) 0%, rgba(13, 10, 10, 0.72) 70%, rgba(13, 10, 10, 0.95) 100%),
    linear-gradient(90deg, rgba(18, 15, 16, 0.62) 0%, rgba(18, 15, 16, 0.28) 45%, rgba(18, 15, 16, 0.68) 100%);
}

.cp-contact-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(7.4rem, 13vh, 9.4rem);
  padding-bottom: clamp(2.8rem, 6vh, 4.7rem);
}

.cp-contact-title {
  margin: 0;
  max-width: 11.5ch;
  font-size: clamp(2.4rem, 6.2vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: #f7f1e8;
}

.cp-contact-content {
  position: relative;
}

.cp-contact-grid {
  align-items: start;
  gap: clamp(1.2rem, 2.1vw, 2rem);
}

.cp-contact-kicker {
  margin: 0 0 0.9rem;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(224, 198, 157, 0.86);
}

.cp-contact-excerpt {
  margin: clamp(1.15rem, 2.1vw, 1.8rem) 0 0;
  max-width: 43ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.62;
  letter-spacing: 0.01em;
  color: rgba(241, 229, 212, 0.9);
}

.cp-contact-response {
  margin: clamp(1.25rem, 2.5vw, 1.8rem) 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(241, 229, 212, 0.58);
}

.cp-contact-panel {
  position: relative;
  height: 100%;
  padding: clamp(1.35rem, 2.2vw, 2rem);
  border: 1px solid rgba(239, 224, 202, 0.18);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%);
}

.cp-contact-panel--form {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 26px 55px -48px rgba(0, 0, 0, 0.8);
}

.cp-contact-panel__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.016em;
  color: rgba(247, 240, 231, 0.96);
}

.cp-contact-panel__lead {
  margin: 0.9rem 0 0;
  max-width: 44ch;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  line-height: 1.62;
  color: rgba(236, 221, 198, 0.76);
}

.cp-contact-links {
  margin-top: clamp(1.4rem, 2.6vw, 1.9rem);
  border-bottom: 1px solid rgba(225, 198, 159, 0.2);
}

.cp-contact-link {
  display: grid;
  grid-template-columns: minmax(110px, 0.68fr) minmax(0, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(225, 198, 159, 0.2);
  color: rgba(247, 238, 225, 0.92);
  text-decoration: none;
  transition: color 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.cp-contact-link__label {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(234, 216, 192, 0.66);
}

.cp-contact-link__value {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: right;
  color: rgba(247, 238, 225, 0.95);
}

.cp-contact-link__value--address {
  max-width: 26ch;
  text-wrap: pretty;
}

.cp-contact-link:hover {
  transform: translateX(4px);
  border-color: rgba(224, 189, 140, 0.4);
  color: rgba(255, 245, 230, 0.98);
}

.cp-contact-form-content .wpforms-container {
  margin-top: 0;
  margin-bottom: 0;
  width: 100% !important;
  max-width: 100% !important;
}

/* Full-width fields by default on Contact page only (without !important). */
.cp-contact-page .wpforms-container .wpforms-field-container>* {
  width: 100%;
  max-width: none;
  float: none;
  margin-left: 0;
  margin-right: 0;
}

.cp-contact-page .wpforms-container .wpforms-field-row {
  display: block;
  margin-inline: 0;
}

.cp-contact-page .wpforms-container .wpforms-field-row-block,
.cp-contact-page .wpforms-container .wpforms-one-half,
.cp-contact-page .wpforms-container .wpforms-one-third,
.cp-contact-page .wpforms-container .wpforms-two-thirds {
  width: 100%;
  max-width: none;
  float: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.cp-contact-page .wpforms-container input[type="text"],
.cp-contact-page .wpforms-container input[type="email"],
.cp-contact-page .wpforms-container input[type="tel"],
.cp-contact-page .wpforms-container input[type="number"],
.cp-contact-page .wpforms-container select,
.cp-contact-page .wpforms-container textarea,
.cp-contact-page .wpforms-container .wpforms-field-large,
.cp-contact-page .wpforms-container .wpforms-field-medium,
.cp-contact-page .wpforms-container .wpforms-field-small {
  width: 100%;
  max-width: 100%;
}

.cp-contact-panel--form .wpforms-container .wpforms-field {
  padding: 0;
  margin-bottom: 1.55rem;
}

.cp-contact-panel--form .wpforms-container,
.cp-contact-panel--form .wpforms-container * {
  color: rgba(245, 238, 227, 0.95) !important;
}

.cp-contact-panel--form .wpforms-container .wpforms-field-label {
  margin-bottom: 0.62rem;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 220, 195, 0.76) !important;
  font-family: "Manrope", sans-serif;
}

.cp-contact-panel--form .wpforms-container .wpforms-field-sublabel {
  color: rgba(236, 220, 195, 0.58) !important;
  font-size: 10px !important;
}

.cp-contact-panel--form .wpforms-container input[type="text"],
.cp-contact-panel--form .wpforms-container input[type="email"],
.cp-contact-panel--form .wpforms-container input[type="tel"],
.cp-contact-panel--form .wpforms-container input[type="number"],
.cp-contact-panel--form .wpforms-container select,
.cp-contact-panel--form .wpforms-container textarea {
  min-height: 50px;
  border: 1px solid rgba(239, 224, 202, 0.34) !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(246, 240, 231, 0.96) !important;
  padding: 0.78rem 0.86rem !important;
  font-family: "Manrope", sans-serif;
  font-size: 14px !important;
  letter-spacing: 0.02em;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cp-contact-panel--form .wpforms-container textarea {
  min-height: 138px;
}

.cp-contact-panel--form .wpforms-container input::placeholder,
.cp-contact-panel--form .wpforms-container textarea::placeholder {
  color: rgba(236, 220, 195, 0.56) !important;
  letter-spacing: 0.02em;
}

.cp-contact-panel--form .wpforms-container input:focus,
.cp-contact-panel--form .wpforms-container select:focus,
.cp-contact-panel--form .wpforms-container textarea:focus {
  border-color: rgba(207, 172, 121, 0.74) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
  outline: none !important;
}

.cp-contact-panel--form .wpforms-container .wpforms-submit-container {
  margin-top: 1.8rem;
  padding: 0;
}

.cp-contact-panel--form .wpforms-container button[type="submit"] {
  width: 100%;
  min-height: 2.95rem;
  padding: 1.05rem 1.2rem;
  border: 1px solid rgba(210, 178, 132, 0.52) !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(240, 230, 216, 0.95) !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cp-contact-panel--form .wpforms-container button[type="submit"]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(226, 195, 151, 0.74) !important;
  color: #f6efe4 !important;
}

.cp-contact-fallback-form label {
  color: rgba(236, 220, 195, 0.76);
}

.cp-contact-fallback-form input,
.cp-contact-fallback-form textarea {
  width: 100%;
  min-height: 50px;
  border-color: rgba(239, 224, 202, 0.34);
  color: rgba(246, 240, 231, 0.96);
  background: rgba(255, 255, 255, 0.03);
}

.cp-contact-fallback-form textarea {
  min-height: 138px;
}

.cp-contact-fallback-form button {
  width: 100%;
  border-color: rgba(210, 178, 132, 0.52);
  color: rgba(240, 230, 216, 0.95);
  background: rgba(255, 255, 255, 0.04);
}

@media (prefers-reduced-motion: no-preference) {
  .cp-contact-hero__inner,
  .cp-contact-panel {
    animation: cp-contact-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .cp-contact-panel--form {
    animation-delay: 0.1s;
  }
}

@keyframes cp-contact-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.cp-text-page .cp-page .entry-content {
  max-width: 80ch;
  margin-inline: auto;
  color: rgba(23, 18, 17, 0.9);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.82;
}

body.cp-text-page .cp-page .entry-content>*+* {
  margin-top: 1em;
}

body.cp-text-page .cp-page .entry-content h1,
body.cp-text-page .cp-page .entry-content h2,
body.cp-text-page .cp-page .entry-content h3 {
  font-family: "Bodoni Moda", serif;
  color: #171211;
  line-height: 1.2;
  letter-spacing: 0.01em;
  /* margin-top: 1.35em; */
  margin-bottom: 0.55em;
}

body.cp-text-page .cp-page .entry-content p,
body.cp-text-page .cp-page .entry-content li {
  margin: 0;
}

body.cp-text-page .cp-page .entry-content ul,
body.cp-text-page .cp-page .entry-content ol {
  margin: 0.95em 0 1.1em;
  padding-left: 1.35em;
}

body.cp-text-page .cp-page .entry-content ul {
  list-style-type: disc;
}

body.cp-text-page .cp-page .entry-content ol {
  list-style-type: decimal;
}

body.cp-text-page .cp-page .entry-content li {
  padding-left: 0.2em;
  line-height: 1.78;
}

body.cp-text-page .cp-page .entry-content li+li {
  margin-top: 0.45em;
}

body.cp-text-page .cp-page .entry-content li::marker {
  color: rgba(23, 18, 17, 0.68);
}

body.cp-text-page .cp-page .entry-content li ul,
body.cp-text-page .cp-page .entry-content li ol {
  margin-top: 0.45em;
  margin-bottom: 0;
}

body.cp-text-page .cp-page .entry-content a {
  color: #171211;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

body.cp-text-page .cp-page .entry-content a:hover {
  color: var(--color-secondary, #e8ab30);
}

@media (max-width: 1024px) {
  #filter-sidebar {
    width: min(92vw, 360px);
    max-width: 92vw;
  }

  .cp-contact-hero {
    min-height: clamp(350px, 50vh, 540px);
  }

  .cp-contact-title {
    max-width: 12.5ch;
    font-size: clamp(2.2rem, 6.8vw, 4rem);
  }

  .cp-contact-panel {
    padding: 1.2rem 1.1rem;
  }
}

@media (max-width: 767px) {
  .cp-header-shell {
    top: 0.45rem;
  }

  .cp-header {
    border-radius: 9999px;
  }

  .cp-header-actions .cp-header-cart {
    padding-inline: 0.6rem;
    height: 2.1rem;
    gap: 0.35rem;
  }

  .cp-header-actions .cp-header-cart .material-symbols-outlined {
    font-size: 17px;
  }

  .cp-header-actions .cp-header-cart .count {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .cp-hero__title {
    max-width: min(10.8ch, 92vw);
    margin-inline: auto;
    font-size: clamp(1.75rem, 8.2vw, 2.8rem) !important;
    line-height: 1.01 !important;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }

  .cp-hero__subtitle {
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
    line-height: 1.45;
  }

  .cp-hero__content {
    padding-top: clamp(5.2rem, 11vh, 6.8rem) !important;
    padding-bottom: clamp(1.1rem, 3.2vh, 2.1rem) !important;
  }

  @supports (height: 100dvh) {
    .cp-hero {
      --cp-hero-mobile-height: 95dvh;
      height: var(--cp-hero-mobile-height) !important;
      min-height: var(--cp-hero-mobile-height) !important;
    }

    .cp-hero--coming-soon {
      --cp-hero-mobile-height: 100dvh;
      height: var(--cp-hero-mobile-height) !important;
      min-height: var(--cp-hero-mobile-height) !important;
    }
  }

  .cp-hero .cp-hero__bg {
    background-position: center 24% !important;
  }

  .cp-hero__video-shell {
    width: min(100vw, 177.78vh);
    height: min(100vh, 56.25vw);
    transform: translate(-50%, -50%);
  }

  .cp-manifesto__title {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
    max-width: 9ch;
    margin-inline: auto;
  }

  .cp-manifesto__title br {
    display: block;
  }

  .cp-manifesto__text {
    margin-top: 1.8rem !important;
    font-size: 1.3rem !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    max-width: min(66ch, 92vw);
  }

  /* ─── Ateliê page responsive ─── */
  .cp-atl-hero {
    min-height: clamp(500px, 76vh, 700px);
    margin-bottom: 0;
  }

  .cp-atl-hero-text {
    width: min(94%, 520px);
    margin: clamp(6.7rem, 14vh, 8.4rem) 1rem 2rem;
    padding: 1rem 0.9rem;
  }

  .cp-atl-hero-images>.wp-block-group__inner-container {
    width: 100%;
    height: 100%;
  }

  .cp-atl-hero-title {
    font-size: clamp(2.15rem, 10.6vw, 3.35rem);
  }

  .cp-atl-steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cp-atl-step {
    padding: 1rem 0.9rem;
  }

  .cp-atl-step-line {
    height: 2.4rem !important;
  }

  .cp-atl-salon-card {
    grid-template-columns: 1fr;
  }

  .cp-atl-salon-visual {
    min-height: 280px;
    order: -1;
  }

  .cp-atl-salon-content {
    padding: 2rem 1.5rem;
  }

  /* ─── Old pattern home support ─── */
  .cp-atelier-grid {
    gap: 1.8rem;
  }

  .cp-atelier-title {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .cp-atelier-image-placeholder {
    min-height: 240px;
    margin-top: 20px;
    padding: 16px;
  }

  .cp-contact-grid {
    gap: 1.15rem;
  }

  .cp-contact-hero {
    min-height: 320px;
  }

  .cp-contact-hero__inner {
    padding-top: 6.8rem;
    padding-bottom: 2.1rem;
  }

  .cp-contact-title {
    max-width: 13ch;
    font-size: clamp(2.05rem, 12vw, 3rem);
  }

  .cp-contact-excerpt {
    margin-top: 0.9rem;
    max-width: 33ch;
    font-size: 0.97rem;
    line-height: 1.58;
  }

  .cp-contact-panel {
    padding: 1.05rem 0.95rem;
  }

  .cp-contact-link {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding-block: 0.85rem;
  }

  .cp-contact-link__label {
    letter-spacing: 0.16em;
  }

  .cp-contact-link__value {
    max-width: 100%;
    font-size: 0.92rem;
    text-align: left;
  }

  .cp-contact-link__value--address {
    max-width: 100%;
  }

  .cp-contact-link:hover {
    transform: none;
  }

}

@media (max-width: 480px) {
  .cp-header-account {
    font-size: 10px;
  }

  .cp-header-actions {
    gap: 0.45rem;
  }

  .cp-header-actions .cp-header-cart {
    padding-inline: 0.5rem;
  }

  .cp-header-actions .cp-header-cart .count {
    font-size: 8px;
  }

  .cp-image-modal__caption {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* SIDECART TYPOGRAPHY (Xootix) */
.xoo-wsc-container,
.xoo-wsc-container *:not([class*="xoo-wsc-icon"]):not([class*=" xoo-wsc-icon"]):not(.xoo-wsch-icon) {
  font-family: "Manrope", sans-serif !important;
}

/* ==========================================================================
   ATELIE REFINEMENT OVERRIDE (clean dark editorial)
   ========================================================================== */
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page {
  padding-top: 0 !important;
  background:
    radial-gradient(140% 95% at 88% 8%, rgba(153, 110, 69, 0.14) 0%, rgba(12, 10, 10, 0) 52%),
    linear-gradient(180deg, #0f0d0e 0%, #141011 44%, #151110 100%);
  color: rgba(243, 236, 225, 0.9);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php) .glass-nav {
  background: linear-gradient(155deg, rgba(17, 13, 13, 0.8) 0%, rgba(17, 13, 13, 0.62) 100%);
  border: 1px solid rgba(219, 192, 156, 0.3);
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.82);
  color: rgba(244, 236, 225, 0.96);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php) .glass-nav img {
  filter: brightness(0) invert(1);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php, body.page-template-page-contato, body.page-template-page-contato-php) .glass-nav .cart-contents {
  background: rgba(245, 237, 224, 0.08);
  border-color: rgba(221, 194, 158, 0.28);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero {
  position: relative;
  display: block !important;
  width: 100vw;
  min-height: clamp(560px, 82vh, 860px);
  padding-top: clamp(6.4rem, 11vh, 8.4rem);
  padding-bottom: clamp(1.4rem, 5vh, 3.2rem);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 0;
  overflow: hidden;
  border: 0;
  background: #100d0e;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 5, 5, 0.9) 0%, rgba(7, 5, 5, 0.64) 14%, rgba(7, 5, 5, 0.28) 34%, rgba(7, 5, 5, 0.5) 100%),
    linear-gradient(90deg, rgba(8, 6, 6, 0.86) 0%, rgba(8, 6, 6, 0.66) 34%, rgba(8, 6, 6, 0.28) 62%, rgba(8, 6, 6, 0.52) 100%),
    radial-gradient(120% 110% at 84% 14%, rgba(183, 137, 88, 0.28) 0%, rgba(12, 10, 10, 0) 54%);
  pointer-events: none;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.12) 0%, rgba(8, 6, 6, 0.08) 58%, rgba(18, 14, 13, 0.9) 88%, rgba(18, 14, 13, 1) 100%);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero > .wp-block-column {
  margin: 0 !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero > .wp-block-column:first-child {
  position: relative;
  z-index: 2;
  flex-basis: auto !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero > .wp-block-column:last-child {
  position: absolute;
  inset: 0;
  z-index: 0;
  flex-basis: auto !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero > .wp-block-column:last-child::before {
  content: "No Ateliê Casa Paganini, cada peça nasce sob medida, com modelagem autoral e acabamento manual.";
  position: absolute;
  right: clamp(1.2rem, 4.2vw, 4.6rem);
  top: clamp(7.8rem, 15vh, 10.2rem);
  z-index: 2;
  width: min(26ch, 28vw);
  padding: 0.9rem 0 0 1rem;
  border-left: 1px solid rgba(225, 198, 162, 0.42);
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.74rem, 0.78vw, 0.86rem);
  line-height: 1.68;
  letter-spacing: 0.02em;
  color: rgba(239, 227, 207, 0.82);
  text-wrap: balance;
  pointer-events: none;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-images,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-images > .wp-block-group__inner-container,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1 .wp-block-group__inner-container,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1 .wp-block-image,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1 .wp-block-image a {
  width: 100%;
  height: 100%;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1::before,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1::after {
  content: none !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1 img,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: clamp(560px, 82vh, 860px);
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1 img {
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.82) contrast(1.03) brightness(0.76);
  transform: none;
  transition: filter 0.45s ease;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero:hover .cp-atl-hero-img1 img {
  transform: none;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img1:hover img {
  transform: none !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atelier-page :is(.cp-atl-hero, .cp-atl-step, .cp-atl-salon-visual) .wp-block-image a {
  pointer-events: none;
  cursor: default;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-img2 {
  display: none !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-text {
  position: relative;
  z-index: 2;
  width: min(58vw, 980px);
  margin: 0 0 0 clamp(1rem, 6vw, 5.2rem);
  padding: clamp(1.35rem, 2.8vw, 2.45rem);
  border: 0;
  background: none;
  box-shadow: none;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-kicker {
  color: rgba(228, 204, 169, 0.88);
  letter-spacing: 0.28em;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero-title {
  margin-top: 0.9rem;
  font-size: clamp(2.35rem, 6.6vw, 5.4rem);
  line-height: 0.93;
  color: rgba(249, 241, 231, 0.98);
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.42);
  max-width: none;
  text-wrap: balance;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero-title br {
  display: inline !important;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero-lead {
  margin-top: 1rem;
  max-width: min(52ch, 54vw);
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(243, 231, 212, 0.86);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero-rule {
  margin-top: 1.25rem;
  width: 5.2rem;
  background: rgba(226, 199, 162, 0.56);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(2.2rem, 6vw, 4.4rem) clamp(0.9rem, 3.8vw, 2.4rem);
  background: linear-gradient(180deg, rgba(18, 14, 13, 0.98) 0%, rgba(23, 17, 15, 0.98) 100%);
  border-top: 0;
  border-bottom: 0;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process::before {
  content: none;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process::after {
  content: none;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process > .wp-block-group__inner-container {
  width: min(1320px, 100%);
  margin-inline: auto;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process-header {
  text-align: left;
  margin-bottom: clamp(1.5rem, 4vw, 2.6rem);
  max-width: 44rem;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process-header h2 {
  margin-bottom: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: rgba(246, 237, 222, 0.96);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process-header p {
  letter-spacing: 0.2em;
  color: rgba(228, 201, 166, 0.82);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-steps-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
  padding: 0;
  margin: 0;
  background: none;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step {
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(220, 193, 158, 0.2);
  border-radius: 0;
  padding: clamp(1.05rem, 2vw, 1.45rem);
  background:
    linear-gradient(180deg, rgba(19, 14, 13, 0.9) 0%, rgba(22, 16, 14, 0.94) 100%);
  box-shadow: 0 22px 34px -26px rgba(0, 0, 0, 0.72);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step-line {
  width: 2.35rem !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 0 0.85rem !important;
  background: rgba(226, 198, 160, 0.54);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step-num {
  margin-bottom: 0.52rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(228, 202, 167, 0.72);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step-name {
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  letter-spacing: 0.11em;
  color: rgba(248, 239, 226, 0.96);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step .wp-block-image,
:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step-img-placeholder {
  width: 100%;
  aspect-ratio: 5 / 4;
  margin-bottom: 0.92rem;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step .wp-block-image {
  overflow: hidden;
  border-radius: 0;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) saturate(0.18) contrast(1.02) brightness(0.86);
  transition: filter 0.45s ease;
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step .wp-block-image:hover img {
  transform: none;
  filter: grayscale(0) saturate(0.94) contrast(1.03) brightness(0.86);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step:hover .wp-block-image img {
  filter: grayscale(0) saturate(0.94) contrast(1.03) brightness(0.86);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step-img-placeholder {
  min-height: 0;
  padding: 1rem;
  border-style: solid;
  border-color: rgba(224, 196, 158, 0.32);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(238, 222, 199, 0.56);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step-desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.58;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(236, 223, 202, 0.8);
}

:is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process + .cp-atl-salon {
  margin-top: 0;
  border-top: 1px solid rgba(218, 191, 155, 0.2);
}

@media (min-width: 1025px) {
  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero {
    min-height: clamp(500px, 74vh, 760px);
    padding-bottom: clamp(0.8rem, 2.2vh, 1.6rem);
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process {
    margin-top: -0.35rem;
    padding: clamp(1.5rem, 3vw, 2.4rem) clamp(0.6rem, 1.35vw, 1.1rem);
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process > .wp-block-group__inner-container {
    width: min(1440px, 100%);
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process > .wp-block-group__inner-container > .cp-atl-steps-grid {
    width: 100%;
    max-width: none !important;
    gap: clamp(0.75rem, 1.2vw, 1rem);
  }
}

@media (max-width: 1024px) {
  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero {
    min-height: clamp(500px, 75vh, 700px);
    padding-top: clamp(6rem, 12vh, 7.6rem);
    padding-bottom: clamp(1.2rem, 4vh, 2.4rem);
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero > .wp-block-column:last-child::before {
    display: none;
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-text {
    width: min(70vw, 760px);
    margin: 0 0 0 clamp(0.8rem, 4.2vw, 2.1rem);
    padding: clamp(1.1rem, 2.6vw, 1.75rem);
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero {
    min-height: 0;
    padding-top: clamp(5.5rem, 10.8vh, 6.5rem);
    padding-bottom: clamp(0.45rem, 1.7vh, 0.9rem);
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero .cp-atl-hero-text {
    width: calc(100vw - 1.5rem);
    margin: 0 0 0 0.75rem;
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-hero-lead {
    max-width: min(44ch, 88vw);
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process {
    margin-top: -0.25rem;
    padding: 2.4rem 0.75rem 2rem;
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-process-header {
    text-align: left;
    margin-bottom: 1.2rem;
  }

  :is(body.page-template-page-atelie, body.page-template-page-atelie-php) .cp-atl-step {
    padding: 0.95rem 0.85rem;
  }
}

/* ==========================================================================
   TEMPLATE: ESCURO
   ========================================================================== */
:is(body.page-template-page-escuro, body.page-template-page-escuro-php) {
  background: #120f10 !important;
  color: rgba(243, 236, 226, 0.92) !important;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .site-main.cp-dark-page-main {
  min-height: 58vh;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content {
  max-width: none;
  width: 100%;
  color: rgba(243, 236, 226, 0.9);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.82;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content > :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, pre, .wp-block-heading, .wp-block-list, .wp-block-quote) {
  max-width: 80ch;
  margin-inline: auto;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content > * + * {
  margin-top: 1em;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content :is(h1, h2, h3, h4, h5, h6) {
  font-family: "Bodoni Moda", serif;
  color: rgba(251, 244, 235, 0.98);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 0.55em;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content :is(p, li, blockquote, span, strong, em) {
  color: rgba(241, 233, 221, 0.9);
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content :is(ul, ol) {
  margin: 0.95em 0 1.1em;
  padding-left: 1.35em;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content li::marker {
  color: rgba(234, 216, 188, 0.66);
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content a {
  color: rgba(248, 223, 185, 0.96);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-page-dark .entry-content a:hover {
  color: #f3d4a0;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .glass-nav {
  background: rgba(18, 15, 16, 0.88);
  border: 1px solid rgba(220, 191, 153, 0.24);
  color: rgba(243, 236, 226, 0.96);
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .glass-nav img {
  filter: brightness(0) invert(1) contrast(0.9);
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .glass-nav .cart-contents {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(220, 191, 153, 0.22);
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-mobile-menu__panel {
  background: #120f10;
  color: rgba(241, 232, 219, 0.92);
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-site-footer {
  border-top: 1px solid rgba(221, 200, 172, 0.2) !important;
  background: #0f0d0e;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-site-footer .cp-footer-menu-title {
  color: rgba(241, 232, 219, 0.92) !important;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-site-footer .cp-footer-menu-link,
:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-site-footer .cp-footer-menu-link:hover {
  color: rgba(241, 232, 219, 0.74) !important;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-site-footer p {
  color: rgba(241, 232, 219, 0.56) !important;
}

:is(body.page-template-page-escuro, body.page-template-page-escuro-php) .cp-site-footer img {
  filter: brightness(0) invert(1) contrast(0.88);
  opacity: 0.92;
}
