/* =============================================
   COLCHÕES EMMA — Product Detail Page
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange: #f5a623;
  --orange-dark: #e8901f;
  --red: #c0311a;
  --text: #1a1a1a;
  --text-light: #666;
  --border: #e0e0e0;
  --bg: #f8f6f3;
  --white: #fff;
  --green: #2e7d32;
  --green-bg: #e8f5e9;
  --font: 'Inter', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); color: var(--text); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── TOP BAR ─── */
.top-bar {
  background: #f5f2ee;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.tb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}
.tb-inner a {
  font-size: 0.75rem;
  color: var(--text-light);
  transition: color 0.2s;
}
.tb-inner a:hover { color: var(--orange); }
.tb-sep { width: 1px; height: 12px; background: var(--border); }

/* ─── HEADER ─── */
.pdp-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.pdp-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.emma-logo {
  font-family: var(--font);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.05em;
  flex-shrink: 0;
  line-height: 1;
}
.emma-logo img { height: 32px; width: auto; display: block; max-width: none; }
.emma-e { color: var(--orange); }
.emma-dot { color: var(--orange); }
.pdp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.pdp-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  white-space: nowrap;
}
.pdp-nav a:hover { color: var(--orange); }
.nav-ofertas { color: var(--red) !important; font-weight: 700; }
.pdp-cart {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.2s;
  margin-left: auto;
}
.pdp-cart:hover { background: #f0f0f0; }

/* ─── MINI TRUST ─── */
.pdp-mini-trust { display: none !important; }

/* ─── PRICE BLOCK ─── */
.pdp-price-block { border-top: none !important; padding-top: 0 !important; }

/* ─── BREADCRUMB ─── */
.pdp-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.pdp-breadcrumb-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
  flex-wrap: wrap;
}
.pdp-breadcrumb-inner a {
  color: var(--text-light);
  transition: color 0.2s;
}
.pdp-breadcrumb-inner a:hover { color: var(--orange); }
.pdp-breadcrumb-inner span:last-child { color: var(--text); font-weight: 500; }

/* ─── MAIN PRODUCT ─── */
.pdp-main { background: var(--white); }
.pdp-product-wrap {
  max-width: 100%;
  margin: 0;
  padding: 0 0 64px;
  display: grid;
  grid-template-columns: 1fr 480px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "gallery info"
    "gallery info-bot";
  gap: 0;
  align-items: start;
}
.pdp-right-col { width: 480px; flex-shrink: 0; }
.pdp-gallery   { grid-area: gallery; min-width: 0; }
.pdp-info      { grid-area: info; padding: 24px 40px 0 40px; }
.pdp-info-bot  { grid-area: info-bot; padding: 0 40px 32px; display: flex; flex-direction: column; }
.pdp-info-bot .pdp-promo-banner { order: -3; }
.pdp-info-bot .pdp-size-wrap    { order: -2; }
.pdp-info-bot .pdp-details-link { order: -4; }

/* ─── GALLERY ─── */
.pdp-gallery { display: flex; flex-direction: column; gap: 12px; padding: 0; }
.pdp-gallery-main {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #f0ede8;
  height: 720px;
}
.pdp-slide { display: none; width: 100%; height: 100%; }
.pdp-slide.active { display: block; height: 100%; }
.pdp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.pdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: background 0.2s, box-shadow 0.2s;
  z-index: 2;
  line-height: 1;
}
.pdp-arrow:hover { background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.pdp-prev { left: 14px; }
.pdp-next { right: 14px; }
.pdp-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
}
.pdp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.pdp-dot.active { background: var(--text); transform: scale(1.2); }
.pdp-thumbs {
  display: flex;
  gap: 8px;
  padding: 0 24px;
}
.pdp-thumb {
  width: 70px; height: 70px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.pdp-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.pdp-thumb:hover { border-color: #ccc; }
.pdp-thumb.active { border-color: var(--orange); }

/* ─── PRODUCT INFO ─── */
.pdp-info { }
.pdp-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 10px;
}
.pdp-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.pdp-star-icons { color: var(--orange); font-size: 0.95rem; letter-spacing: 1px; }
.pdp-rating-num { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.pdp-rating-count { font-size: 0.82rem; color: var(--text-light); }
.pdp-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pdp-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 16px;
}
.pdp-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.pdp-features li {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
}
.pdp-details-link {
  font-size: 0.82rem;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-block;
  margin-bottom: 18px;
}
.pdp-details-link:hover { color: var(--orange-dark); }

/* ─── PROMO BANNER ─── */
.pdp-promo-banner {
  background: var(--green-bg);
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.pdp-promo-icon {
  color: var(--green);
  font-size: 1rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.pdp-promo-banner p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #333;
}
.pdp-promo-highlight { color: var(--green); font-weight: 600; }

/* ─── SIZE SELECT ─── */
.pdp-size-wrap { margin-bottom: 16px; }
.pdp-size-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.pdp-size-select-wrap {
  position: relative;
}
.pdp-size-select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.pdp-size-select:focus { border-color: var(--orange); }
.pdp-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-light);
}
.pdp-size-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* ─── UPSELL ─── */
.pdp-upsell {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
}
.pdp-upsell-placeholder {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #e0e0e0, #c8c8c8);
  border-radius: 6px;
  flex-shrink: 0;
}
.pdp-upsell-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pdp-upsell-info strong { font-size: 0.82rem; color: var(--text); }
.pdp-upsell-info span { font-size: 0.72rem; color: var(--text-light); }
.pdp-upsell-price {
  font-size: 0.78rem;
  color: var(--text);
}
.pdp-upsell-price s { color: var(--text-light); margin-left: 4px; }
.pdp-upsell-btn {
  padding: 8px 14px;
  border: 1.5px solid var(--orange);
  border-radius: 20px;
  background: var(--white);
  color: var(--orange);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.pdp-upsell-btn:hover { background: var(--orange); color: var(--white); }
.pdp-saiba-mais {
  font-size: 0.78rem;
  color: var(--text-light);
  display: inline-block;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.pdp-saiba-mais:hover { color: var(--orange); }

/* ─── PRICE BLOCK ─── */
.pdp-price-block {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.pdp-economize-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.pdp-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.pdp-price-original {
  font-size: 1rem;
  color: #aaa;
  text-decoration: line-through;
}
.pdp-price-inst {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 4px;
}
.pdp-price-pix {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 18px;
}
.pdp-price-pix strong { color: var(--green); }
.pdp-buy-btn {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}
.pdp-buy-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}
.pdp-mini-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pdp-mini-trust span {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ─── CAMADA POR CAMADA ─── */
.pdp-layers-section {
  background: var(--bg);
  padding: 80px 0;
}
.pdp-layers-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.pdp-layers-header {
  text-align: center;
  margin-bottom: 56px;
}
.pdp-serif-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.pdp-serif-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: var(--text);
  margin: 8px auto 0;
}
.pdp-layers-header p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 12px;
}
.pdp-layers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.pdp-layers-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.pdp-layers-img img {
  width: 100%;
  border-radius: 12px;
}
.pdp-layer-dots {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ldot {
  width: 24px; height: 24px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-layers-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pdp-layer-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pdp-layer-num {
  width: 28px; height: 28px;
  background: var(--text);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pdp-layer-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.pdp-layer-item p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* ─── LAYERS TABS ─── */
.layers-tabs {
  display: flex; gap: 10px; margin-bottom: 20px; justify-content: flex-start; flex-wrap: wrap;
}
.layers-tabs .ltab {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid #ccc;
  background: #fff; color: #1a1a1a; font-size: 0.9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.layers-tabs .ltab.active { border-color: #f5a623; color: #f5a623; }
.layers-tabs .ltab:hover { border-color: #f5a623; }
.pdp-layer-item.layer-hidden,
.hy-layer-item.layer-hidden,
.trav-camada-item.layer-hidden { display: none !important; }

/* ─── CONTENT SECTIONS ─── */
.pdp-content-sections {
  padding: 72px 0;
  background: var(--white);
}
.pdp-content-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.pdp-content-block h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}
.pdp-content-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ─── QUALIDADE PREMIUM ─── */
.pdp-premium-section {
  background: var(--bg);
  padding: 72px 0;
}
.pdp-premium-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pdp-premium-img {
  border-radius: 12px;
  overflow: hidden;
}
.pdp-premium-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}
.pdp-premium-text h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.pdp-premium-text p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ─── FEED ─── */
.pdp-feed-section {
  padding: 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.pdp-feed-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  position: relative;
}
.pdp-feed-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.pdp-feed-track::-webkit-scrollbar { display: none; }
.pdp-feed-item {
  flex-shrink: 0;
  width: calc(25% - 12px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pdp-feed-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
}
.pdp-feed-item span {
  font-size: 0.75rem;
  color: var(--text-light);
}
.pdp-feed-next {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
  z-index: 2;
}
.pdp-feed-next:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }

/* ─── COMPROMISSOS ─── */
.pdp-trust-section {
  padding: 72px 0;
  background: var(--bg);
  overflow: hidden;
}
.pdp-trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.pdp-trust-eyebrow {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 6px;
}
.pdp-trust-left h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.2;
}
.pdp-trust-img {
  border-radius: 12px;
  overflow: hidden;
  max-width: 420px;
}
.pdp-trust-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ─── ACCORDION ─── */
.pdp-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.pdp-acc-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.pdp-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color 0.2s;
  gap: 12px;
}
.pdp-acc-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdp-acc-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-light);
}
.pdp-trust-photo {
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  margin-right: calc(-50vw + 640px);
}
.pdp-trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-acc-btn:hover { color: var(--orange); }
.pdp-acc-btn svg {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.3s ease;
}
.pdp-acc-item.open .pdp-acc-btn svg { transform: rotate(180deg); }
.pdp-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.pdp-acc-item.open .pdp-acc-content { max-height: 200px; }
.pdp-acc-content p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-light);
  padding-bottom: 18px;
}

/* ─── HYBRID: CAMADA POR CAMADA ─── */
.hy-layers {
  background: var(--white);
  padding: 72px 0;
}
.hy-layers-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 680px 1fr;
  gap: 64px;
  align-items: start;
}
.hy-layers-eyebrow {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 6px;
}
.hy-layers-title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.1;
}
.hy-layers-img-wrap {
  position: relative;
  margin-left: -80px;
}
.hy-layers-img-wrap img {
  width: 115%;
  border-radius: 8px;
  clip-path: inset(0 14% 0 0);
}
.hy-dots {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hy-dot {
  width: 26px; height: 26px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hy-layers-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 80px;
}
.hy-layer-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.hy-layer-item:last-child { border-bottom: none; }
.hy-layer-num {
  width: 28px; height: 28px;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.hy-layer-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.hy-layer-item p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0;
}

/* ─── HYBRID: SPLIT SECTIONS ─── */
.hy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  background: var(--white);
}
.hy-split--reverse { direction: rtl; }
.hy-split--reverse > * { direction: ltr; }
.hy-split--warm { background: #f5f0eb; }
/* Desktop: alternating layout — 1st text-left, 2nd image-left, 3rd text-left, 4th image-left */
@media (min-width: 1025px) {
  .hy-split .hy-split-text { order: -1; }
  .hy-split .hy-split-media { order: 1; }
  .hy-split + .hy-split .hy-split-text { order: 1; }
  .hy-split + .hy-split .hy-split-media { order: -1; }
  .hy-split + .hy-split + .hy-split .hy-split-text { order: -1; }
  .hy-split + .hy-split + .hy-split .hy-split-media { order: 1; }
  .hy-split + .hy-split + .hy-split + .hy-split .hy-split-text { order: 1; }
  .hy-split + .hy-split + .hy-split + .hy-split .hy-split-media { order: -1; }
}

.hy-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
  gap: 16px;
}
.hy-eyebrow-steps {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-light);
  text-transform: uppercase;
}
.hy-split-text h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}
.hy-split-text p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-light);
  margin: 0;
}
.hy-guide-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
}
.hy-guide-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.hy-split-media {
  position: relative;
  overflow: hidden;
}
.hy-split-media img,
.hy-split-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hy-split-media--video .hy-pause-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: background 0.2s;
}
.hy-split-media--video .hy-pause-btn:hover {
  background: rgba(255,255,255,1);
}

/* ─── BENEFITS LIST ─── */
.kit-benefits { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 40px; max-width: 100%; margin: 0 0 48px; }
.kit-benefits-list { list-style: none; display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; }
.kit-benefits-list li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text); }
.kit-benefits-list li svg { flex-shrink: 0; color: var(--green); }
.kit-benefits-more { display: block; text-align: right; margin-top: 14px; font-size: 0.85rem; font-weight: 700; color: var(--text); text-decoration: underline; }
.kit-benefits-more:hover { color: var(--orange); }

/* ─── BENEFITS MODAL ─── */
.benefits-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 500; align-items: flex-end; justify-content: center; }
.benefits-modal-overlay.open { display: flex; }
.benefits-modal { background: #fff; width: 100%; max-width: 520px; max-height: 90vh; border-radius: 20px 20px 0 0; overflow-y: auto; }
.benefits-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 12px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: #fff; z-index: 1; }
.benefits-modal-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.benefits-modal-header button { background: #f0f0f0; border: none; font-size: 1.1rem; cursor: pointer; color: var(--text); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.benefits-modal-body { padding: 20px; display: flex; flex-direction: column; gap: 24px; }
.bm-item { display: flex; gap: 16px; align-items: flex-start; }
.bm-item svg { flex-shrink: 0; color: var(--text); margin-top: 2px; }
.bm-item strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.bm-item p { font-size: 0.85rem; line-height: 1.7; color: var(--text-light); margin: 0; }
.bm-terms { font-size: 0.75rem; color: var(--text-light); text-align: center; padding-top: 8px; border-top: 1px solid var(--border); }

/* ─── STICKY BOTTOM BAR ─── */
.pdp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  transform: translateY(110%);
  transition: transform 0.3s ease;
  display: none;
}
@media (max-width: 1024px) {
  .pdp-sticky-bar { display: block; }
}
.pdp-sticky-bar.visible { transform: translateY(0); }
.pdp-sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.pdp-sticky-price { display: flex; flex-direction: column; gap: 2px; }
.pdp-sticky-current { font-size: 1.05rem; font-weight: 700; color: var(--red); }
.pdp-sticky-orig { font-size: 0.72rem; color: var(--text-light); text-decoration: line-through; }
.pdp-sticky-btn {
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 40px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.pdp-sticky-btn:hover { background: var(--orange-dark); }

/* ─── PAYMENT SECTION ─── */
.pdp-payment { margin: 18px 0 14px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.pdp-pay-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: #fff;
  border-bottom: 1px solid #f0ede9;
}
.pdp-pay-row:last-child { border-bottom: none; }
.pdp-pay-row.pix-row { background: #f0faf4; }
.pdp-pay-icon {
  width: 40px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.03em;
  flex-shrink: 0;
}
.pdp-pay-icon.pix { background: #32bcad; color: #fff; font-size: 0.72rem; }
.pdp-pay-icon.card { background: #1a1f71; color: #fff; font-size: 0.58rem; }
.pdp-pay-icon.boleto { background: #555; color: #fff; font-size: 0.58rem; }
.pdp-pay-details { flex: 1; }
.pdp-pay-main { font-size: 1rem; font-weight: 700; color: var(--text); }
.pdp-pay-sub { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }
.pdp-pay-badge {
  background: #e8f5ee; color: #1a7d45;
  font-size: 0.68rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px; white-space: nowrap;
}
.pdp-pay-methods {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: #fafafa;
  border-top: 1px solid #f0ede9; flex-wrap: wrap;
}
.pdp-pay-methods span:first-child { font-size: 0.72rem; color: #888; margin-right: 4px; }
.pmi {
  border: 1px solid #ddd; border-radius: 4px;
  padding: 3px 7px; font-size: 0.62rem; font-weight: 700;
  color: #555; background: #fff; white-space: nowrap;
}
.pdp-secure { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: #888; margin-top: 10px; }
.pdp-secure svg { color: #2e7d32; }
/* Trust list (Emma style) */
.pdp-trust-list { display: flex; flex-direction: column; gap: 0; margin-top: 10px; border-top: 1px solid #eee; }
.pdp-trust-list-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 0.85rem; color: #333; }
.pdp-trust-list-item svg { flex-shrink: 0; }
.pdp-trust-list-item strong { color: #1a1a1a; }
.pdp-trust-list-link { font-size: 0.83rem; color: var(--orange); font-weight: 600; text-decoration: none; padding: 8px 0; display: inline-block; }
.pdp-trust-list-link:hover { text-decoration: underline; }

/* Trust Modal */
.trust-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; align-items: flex-end; justify-content: center; }
.trust-modal { background: #fff; border-radius: 16px 16px 0 0; max-height: 85vh; width: 100%; max-width: 500px; display: flex; flex-direction: column; overflow: hidden; }
.trust-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid #eee; }
.trust-modal-header h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: #1a1a1a; margin: 0; }
.trust-modal-close { background: none; border: none; font-size: 1.6rem; color: #888; cursor: pointer; padding: 0; line-height: 1; }
.trust-modal-body { padding: 16px 20px; overflow-y: auto; flex: 1; }
.trust-modal-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eee; }
.trust-modal-item:last-child { border-bottom: none; }
.trust-modal-item svg { flex-shrink: 0; margin-top: 2px; color: #555; }
.trust-modal-item h4 { font-size: 0.95rem; font-weight: 700; color: #1a1a1a; margin: 0 0 6px; }
.trust-modal-item p { font-size: 0.85rem; color: #555; line-height: 1.6; margin: 0; }
.trust-modal-footer { padding: 16px 20px; border-top: 1px solid #eee; text-align: center; }
.trust-modal-footer p { font-size: 0.75rem; color: #888; margin: 0 0 10px; }
.trust-modal-close-btn { background: #f0ede8; border: none; padding: 12px 40px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; color: #1a1a1a; cursor: pointer; }
@media (min-width: 501px) { .trust-modal { border-radius: 16px; max-height: 80vh; margin-bottom: 20px; } }

.pdp-urgency { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 12px; background: #faf9f7; border-radius: 8px; border: 1px solid #eee; }
.pdp-urgency-badge { background: #c0392b; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; white-space: nowrap; }
.pdp-urgency-text { font-size: 0.78rem; color: #555; line-height: 1.4; }

/* ─── CART MODAL (Emma style) ─── */
.cart-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 300;
}
.cart-overlay.open { display: block; }
.cart-modal {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 520px;
  background: #fff; z-index: 301;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  overflow-y: auto;
}
.cart-modal.open { transform: translateX(0); }

/* Green top section (header + total + buttons) */
.cart-green-top {
  background: #1a3c34;
  flex-shrink: 0;
}

/* Header green bar */
.cart-header {
  color: #fff;
  padding: 18px 20px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header-left {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 700;
}
.cart-header-left svg { flex-shrink: 0; }
.cart-header-close {
  background: none; border: none; cursor: pointer;
  color: #fff; font-size: 1.3rem; padding: 4px;
  opacity: 0.8; transition: opacity 0.2s;
}
.cart-header-close:hover { opacity: 1; }

/* Total bar */
.cart-total-bar {
  padding: 10px 20px 14px;
  font-size: 0.92rem; color: rgba(255,255,255,0.9); font-weight: 600;
}
.cart-total-bar strong { font-weight: 800; color: #fff; }

/* Action buttons */
.cart-actions {
  display: flex; gap: 12px;
  padding: 0 20px 20px;
}
.cart-btn-continue {
  flex: 1; padding: 14px 16px;
  background: #fff; color: #1a3c34;
  border: 2px solid #fff; border-radius: 30px;
  font-family: var(--font); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
}
.cart-btn-continue:hover { background: #e8f5e9; }
.cart-btn-cart {
  flex: 1; padding: 14px 16px;
  background: transparent; color: #fff;
  border: 2px solid #fff; border-radius: 30px;
  font-family: var(--font); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cart-btn-cart svg { stroke: #fff; }
.cart-btn-cart:hover { background: rgba(255,255,255,0.1); }

/* Cross-sell section */
.cart-xsell {
  padding: 24px 20px;
  flex: 1;
}
.cart-xsell-title {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 1.35rem; font-weight: 700;
  color: #1a1a1a; margin: 0 0 16px;
}
.cart-xsell-size-hint {
  background: #f5f2ee; border-radius: 8px;
  padding: 12px 16px; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: #555;
}
.cart-xsell-size-hint svg { flex-shrink: 0; color: #888; }

/* Cross-sell product card */
.xsell-card {
  border: 1px solid #e8e4e0; border-radius: 14px;
  overflow: hidden; margin-bottom: 16px;
  display: flex; flex-direction: row;
  background: #fff;
}
.xsell-card-img {
  width: 160px; min-height: 180px;
  background: #f5f2ee;
  flex-shrink: 0; position: relative;
  overflow: hidden;
}
.xsell-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.xsell-card-body {
  flex: 1; padding: 16px;
  display: flex; flex-direction: column;
}
.xsell-badge {
  display: inline-block;
  background: #c0311a; color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 14px;
  margin-bottom: 8px; width: fit-content;
}
.xsell-card-name {
  font-size: 0.95rem; font-weight: 700;
  color: #1a1a1a; margin-bottom: 10px;
}
.xsell-features {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.xsell-features li {
  font-size: 0.78rem; color: #555;
  display: flex; align-items: flex-start; gap: 8px;
}
.xsell-features li svg { flex-shrink: 0; color: #888; margin-top: 1px; }
.xsell-qty {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #ddd; border-radius: 4px;
  padding: 2px 8px; font-size: 0.72rem; color: #555;
  width: fit-content; margin-bottom: 10px;
}
.xsell-price-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 12px;
}
.xsell-price {
  font-size: 1.05rem; font-weight: 700; color: #c0311a;
}
.xsell-price-orig {
  font-size: 0.82rem; color: #aaa; text-decoration: line-through;
}
.xsell-add-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid #1a1a1a; border-radius: 30px;
  background: #fff; color: #1a1a1a;
  font-family: var(--font); font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  width: fit-content;
}
.xsell-add-btn:hover { background: #1a1a1a; color: #fff; }
.xsell-added {
  background: #1a3c34 !important; color: #fff !important;
  border-color: #1a3c34 !important;
}

@media (max-width: 600px) {
  .cart-modal { max-width: 100%; }
  .cart-actions { flex-direction: column; gap: 10px; }
  .xsell-card { flex-direction: row; }
  .xsell-card-img { width: 120px; min-height: 140px; }
  .xsell-card-body { padding: 12px; }
  .xsell-card-name { font-size: 0.88rem; }
  .xsell-features { display: none; }
  .xsell-qty { display: none; }
  .xsell-add-btn { font-size: 0.78rem; padding: 8px 16px; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hy-layers { padding: 32px 0; }
  .hy-layers-inner { grid-template-columns: 1fr; gap: 24px; padding: 0 20px; }
  .hy-layers-right { padding-top: 0; }
  .hy-split { grid-template-columns: 1fr; min-height: auto; display: flex; flex-direction: column; }
  .hy-split--reverse { direction: ltr; }
  .hy-split .hy-split-text,
  .hy-split + .hy-split .hy-split-text,
  .hy-split + .hy-split + .hy-split .hy-split-text,
  .hy-split + .hy-split + .hy-split + .hy-split .hy-split-text { order: 1 !important; padding: 24px 20px; }
  .hy-split .hy-split-media,
  .hy-split + .hy-split .hy-split-media,
  .hy-split + .hy-split + .hy-split .hy-split-media,
  .hy-split + .hy-split + .hy-split + .hy-split .hy-split-media { order: 2 !important; min-height: 300px; max-height: 320px; overflow: hidden; }
  /* kit-split: text first on mobile */
  .kit-split { grid-template-columns: 1fr !important; min-height: auto !important; display: flex !important; flex-direction: column !important; }
  .kit-split .kit-split-text { order: 1 !important; padding: 24px 20px; }
  .kit-split .kit-split-media { order: 2 !important; min-height: 260px; max-height: 400px; overflow: hidden; }
  .kit-split .kit-split-media img, .kit-split .kit-split-media video { width: 100%; height: auto; max-height: 400px; object-fit: cover; }
}
@media (max-width: 768px) {
  .hy-split-text { padding: 32px 24px; }
  .hy-split-text h2 { font-size: 1.5rem; }
  .hy-layers-title { font-size: 1.8rem; }
  .hy-dots { right: 8px; }
}
@media (min-width: 1025px) and (max-width: 1400px) {
  .pdp-product-wrap { grid-template-columns: 1fr 460px; }
}
@media (max-width: 1024px) {
  /* Mobile: flex column — HTML order: pdp-info → pdp-gallery → pdp-info-bot */
  .pdp-product-wrap {
    display: flex;
    flex-direction: column;
    padding: 0 0 24px;
  }
  .pdp-right-col { width: 100%; display: contents; }
  .pdp-gallery  { order: 2; gap: 0; }
  .pdp-info     { order: 1; padding: 16px 20px 8px; }
  .pdp-info-bot { order: 3; padding: 12px 20px 0; display: flex; flex-direction: column; gap: 14px; }
  .pdp-info-bot .pdp-tagline      { order: 1; margin-bottom: 0; }
  .pdp-info-bot .pdp-desc         { order: 2; margin-bottom: 0; }
  .pdp-info-bot .pdp-features     { order: 3; margin-bottom: 0; }
  .pdp-info-bot .pdp-details-link { order: 4; }
  .pdp-info-bot .pdp-promo-banner { order: 5; }
  .pdp-info-bot .pdp-size-wrap    { order: 6; }
  .pdp-info-bot .pdp-upsell       { order: 7; }
  .pdp-info-bot .pdp-saiba-mais   { order: 8; }
  .pdp-info-bot .pdp-secure       { order: 9; }
  .pdp-info-bot .pdp-price-block  { order: 10; }
  .pdp-info-bot .pdp-price-block .pdp-mini-trust { display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .pdp-info-bot .pdp-price-block .pdp-mini-trust span { font-size: 0.78rem; color: #555; }

  /* Photo edge-to-edge */
  .pdp-gallery-main { border-radius: 0; height: 100vw; max-height: 500px; max-width: 100vw; }
  .pdp-slide img { object-fit: contain; object-position: center; }
  .pdp-arrow { width: 36px; height: 36px; font-size: 1.2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
  .pdp-prev { left: 16px; }
  .pdp-next { right: 16px; }

  /* Thumbnails */
  .pdp-thumbs { padding: 10px 16px; gap: 8px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .pdp-thumbs::-webkit-scrollbar { display: none; }
  .pdp-thumb { width: 78px; height: 78px; border-radius: 6px; }
  .pdp-dots { margin: 0; padding: 6px 0; }

  /* Other sections */
  .pdp-layers-grid { grid-template-columns: 1fr; gap: 24px; }
  .pdp-layers-img { display: block; margin-bottom: 16px; }
  .pdp-layers-header { text-align: center !important; }

  /* Layers tabs mobile — show number circles with layer items */
  .layers-tabs { justify-content: center; padding: 0; margin-bottom: 24px; }
  .pdp-layer-item, .hy-layer-item, .trav-camada-item { padding-bottom: 20px; border-bottom: 1px solid #e8e4e0; }
  .pdp-premium-inner { grid-template-columns: 1fr; gap: 32px; }
  .pdp-trust-section { overflow: hidden; padding: 32px 0; }
  .pdp-trust-inner { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .pdp-trust-left { padding: 0; }
  .pdp-trust-eyebrow { padding: 0 16px; margin-bottom: 6px; }
  .pdp-trust-left h2 { padding: 0 16px; margin-bottom: 20px; }
  .pdp-trust-photo-mobile { display: block; width: 100%; margin: 0 0 24px; }
  .pdp-trust-photo-mobile img { width: 100%; height: auto; object-fit: cover; display: block; }
  .pdp-trust-photo { display: none; }
  .pdp-accordion { padding: 0 16px; }
  .pdp-trust-photo { margin-right: 0; border-radius: 16px; }
  .pdp-feed-item { width: calc(33.333% - 12px); }

  /* Price layout mobile — Emma style */
  .pdp-info-bot .pdp-price-row { flex-direction: column; gap: 2px; }
  .pdp-info-bot .pdp-price-original { order: -1; }
  .pdp-info-bot .pdp-price { font-size: 1.8rem; }
  .pdp-info-bot .pdp-price-inst { font-size: 0.82rem; }
  .pdp-info-bot .pdp-price-pix { margin-bottom: 8px; }
}
@media (max-width: 768px) {
  .pdp-nav { display: none; }
  .pdp-feed-item { width: calc(50% - 8px); }
  .pdp-gallery-main { height: 100vw; }
  .pdp-thumb { width: 72px; height: 72px; }
  .pdp-breadcrumb { display: none; }
  /* Center logo on mobile */
  .pdp-header-inner { position: relative; justify-content: space-between; padding: 0 16px; }
  .emma-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .emma-logo img { height: 28px; width: auto; max-width: none; }
  .mob-hamburger { display: flex !important; }
}
@media (max-width: 480px) {
  .pdp-price { font-size: 1.6rem; }
  .pdp-feed-item { width: calc(80% - 8px); }
  .top-bar .tb-inner { justify-content: center; gap: 10px; }
  .pdp-gallery-main { height: 100vw; }
  .pdp-thumb { width: 66px; height: 66px; }
  .pdp-info { padding: 14px 16px 0; }
}
