/* =============================================
   OBJET PUB PRO — CSS
   ============================================= */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── VARIABLES ── */
:root {
  --orange:      #F77F00;
  --orange-dark: #d96d00;
  --orange-soft: #FEF3C7;
  --dark:        #111827;
  --grey:        #6B7280;
  --grey-light:  #9CA3AF;
  --border:      #E5E7EB;
  --bg:          #F9FAFB;
  --white:       #ffffff;
  --max-w:       1240px;
  --px:          clamp(16px, 4vw, 40px);
  --radius:      8px;
  --radius-lg:   14px;
  --shadow:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.13);
  --ease:        cubic-bezier(.4,0,.2,1);
}

/* ── UTILITIES ── */
.opp-container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }

.opp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  border: 2px solid transparent; transition: all .18s var(--ease);
  white-space: nowrap; cursor: pointer; text-decoration: none;
}
.opp-btn--primary  { background: var(--orange); color: #fff; border-color: var(--orange); }
.opp-btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.opp-btn--outline  { background: transparent; color: var(--orange); border-color: var(--orange); }
.opp-btn--outline:hover { background: var(--orange); color: #fff; }
.opp-btn--ghost    { background: transparent; color: var(--dark); border-color: var(--border); }
.opp-btn--ghost:hover { border-color: var(--dark); }
.opp-btn--ghost-w  { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.opp-btn--ghost-w:hover { border-color: #fff; color: #fff; }
.opp-btn--sm       { padding: 8px 16px; font-size: 13px; }

.opp-section { padding: 80px 0; }
.opp-section--soft { background: var(--bg); }

.opp-section-header { text-align: center; margin-bottom: 48px; }
.opp-eyebrow {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.opp-h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; }
.opp-h2 { font-size: clamp(22px, 3.5vw, 34px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.opp-h3 { font-size: clamp(17px, 2.5vw, 21px); font-weight: 700; line-height: 1.3; }
.opp-lead { font-size: 16px; color: var(--grey); line-height: 1.75; }

/* ── DEMO BANNER ── */
.opp-demo-bar {
  position: relative;
  background: linear-gradient(120deg, #1b1f72 0%, #7a1a72 55%, #d0348e 100%);
}
.opp-demo-bar__inner {
  display: flex; align-items: center;
  gap: 28px; padding: 18px 0;
  height: auto; overflow: visible; flex-wrap: wrap;
}
.opp-demo-bar__logo-wrap {
  background: #fff; border-radius: 9px;
  padding: 8px 14px; flex-shrink: 0;
  display: flex; align-items: center;
}
.opp-demo-bar__logo-img {
  height: 40px; width: auto; display: block;
}
.opp-demo-bar__body { flex: 1; min-width: 200px; }
.opp-demo-bar__title {
  font-size: 15px; font-weight: 800; color: #fff;
  letter-spacing: .01em; margin-bottom: 4px;
}
.opp-demo-bar__sub {
  font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.45;
}
.opp-demo-bar__sub strong { color: #fff; font-weight: 700; }
.opp-demo-bar__cta {
  flex-shrink: 0; display: inline-flex; align-items: center;
  padding: 11px 22px; background: #fff; color: #1b1f72;
  font-size: 13px; font-weight: 700; border-radius: 8px;
  text-decoration: none; white-space: nowrap;
  transition: opacity .15s var(--ease);
}
.opp-demo-bar__cta:hover { opacity: .88; }

@media (max-width: 768px) {
  .opp-demo-bar__logo-wrap { display: none; }
  .opp-demo-bar__inner { gap: 16px; padding: 14px 0; }
}
@media (max-width: 480px) {
  .opp-demo-bar__cta { display: none; }
  .opp-demo-bar__title { font-size: 13px; }
  .opp-demo-bar__sub { font-size: 12px; }
}

/* ── HEADER ── */
.opp-header {
  position: sticky; top: 0; z-index: 200;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.opp-header__inner {
  display: flex; align-items: center; height: 68px; gap: 24px;
}

/* Logo */
.opp-logo { flex-shrink: 0; font-size: 20px; font-weight: 800; letter-spacing: -.5px; white-space: nowrap; color: var(--dark); }
.opp-logo span { color: var(--orange); }

/* Desktop nav */
.opp-nav { flex: 1; display: flex; justify-content: center; }
.opp-nav__list { display: flex; gap: 2px; }
.opp-nav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 13px; font-size: 13.5px; font-weight: 500;
  color: var(--dark); border-radius: var(--radius);
  transition: background .15s, color .15s; white-space: nowrap;
}
.opp-nav__link:hover { background: var(--bg); color: var(--orange); }
.opp-nav__chevron { width: 13px; height: 13px; transition: transform .2s; flex-shrink: 0; }
.opp-nav__item:hover .opp-nav__chevron { transform: rotate(180deg); }

/* Dropdown */
.opp-nav__item { position: relative; }
.opp-dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 195px;
  opacity: 0; pointer-events: none;
  transition: opacity .15s, transform .15s;
}
.opp-dropdown::before {
  content: ''; position: absolute;
  top: -10px; left: 0; right: 0; height: 10px;
}
.opp-nav__item:hover .opp-dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.opp-dropdown a {
  display: block; padding: 8px 12px; font-size: 13px; font-weight: 500;
  color: var(--dark); border-radius: 6px; transition: background .12s, color .12s;
}
.opp-dropdown a:hover { background: var(--bg); color: var(--orange); }

/* Header actions */
.opp-header__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.opp-header__phone { font-size: 13px; font-weight: 600; color: var(--grey); white-space: nowrap; }
.opp-header__phone:hover { color: var(--orange); }

/* Hamburger */
.opp-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.opp-burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.opp-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.opp-burger.open span:nth-child(2) { opacity: 0; }
.opp-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.opp-mobile-menu {
  display: none; position: fixed; inset: 110px 0 0 0;
  background: #fff; z-index: 199; overflow-y: auto;
  padding: 16px var(--px) 40px; border-top: 1px solid var(--border);
}
.opp-mobile-menu.open { display: block; }
.opp-mobile-menu__cat {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--grey-light);
  padding: 20px 0 8px; border-top: 1px solid var(--border); margin-top: 4px;
}
.opp-mobile-menu__cat:first-child { border-top: none; padding-top: 8px; }
.opp-mobile-menu a {
  display: block; padding: 11px 0; font-size: 15px; font-weight: 500;
  color: var(--dark); border-bottom: 1px solid var(--border);
}
.opp-mobile-menu a:hover { color: var(--orange); }

/* ── HERO ── */
.opp-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1e3a5f 100%);
  position: relative; overflow: hidden;
}
.opp-hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,127,0,.15) 0%, transparent 65%);
  pointer-events: none;
}
.opp-hero__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 88px 0 80px; position: relative; z-index: 1;
}
.opp-hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(247,127,0,.12); border: 1px solid rgba(247,127,0,.25);
  color: #FDBA74; border-radius: 20px; padding: 5px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 22px;
}
.opp-hero__pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.opp-hero__title { color: #fff; margin-bottom: 18px; }
.opp-hero__title em { color: var(--orange); font-style: normal; }
.opp-hero__sub { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 32px; }
.opp-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.opp-hero__visual { position: relative; }
.opp-hero__mosaic {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 10px; border-radius: var(--radius-lg); overflow: hidden;
}
.opp-hero__mosaic-item {
  aspect-ratio: 1/1; background: rgba(255,255,255,.07);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  display: block; transition: transform .2s, box-shadow .2s;
}
.opp-hero__mosaic-item:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.opp-hero__mosaic-item img { width: 100%; height: 100%; object-fit: cover; }
.opp-hero__mosaic-item--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: rgba(255,255,255,.2);
}
.opp-hero__stats {
  display: flex; gap: 28px; margin-top: 36px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.opp-hero__stat-num { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.opp-hero__stat-label { font-size: 13px; color: rgba(255,255,255,.5); }

/* ── TRUST BAR ── */
.opp-trust {
  background: #fff; border-bottom: 1px solid var(--border); padding: 18px 0;
}
.opp-trust__items {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.opp-trust__item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--dark); white-space: nowrap;
}
.opp-trust__item svg { color: var(--orange); flex-shrink: 0; }

/* ── CATEGORIES ── */
.opp-cat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.opp-cat-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
  cursor: pointer; text-decoration: none; display: block; color: inherit;
}
.opp-cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.opp-cat-card__img { aspect-ratio: 1/1; overflow: hidden; background: #e9e9e9; }
.opp-cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.opp-cat-card:hover .opp-cat-card__img img { transform: scale(1.06); }
.opp-cat-card__img--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}
.opp-cat-card__body { padding: 14px 14px 16px; }
.opp-cat-card__name { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.opp-cat-card__count { font-size: 12px; color: var(--grey); }

/* ── HOW IT WORKS ── */
.opp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.opp-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center; position: relative;
}
.opp-step__num {
  width: 52px; height: 52px; background: var(--orange); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; margin: 0 auto 22px;
}
.opp-step__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.opp-step__text { font-size: 14px; color: var(--grey); line-height: 1.65; }

/* ── PRODUCT CARDS ── */
.opp-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.opp-pcard {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  transition: transform .2s var(--ease), box-shadow .2s;
  display: block; color: inherit; text-decoration: none;
}
.opp-pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.opp-pcard__img {
  aspect-ratio: 1/1; overflow: hidden; background: var(--bg); position: relative;
}
.opp-pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.opp-pcard:hover .opp-pcard__img img { transform: scale(1.06); }
.opp-pcard__img--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; background: linear-gradient(135deg, #f5f5f5, #ebebeb);
}
.opp-pcard__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; letter-spacing: .06em; text-transform: uppercase;
}
.opp-pcard__body { padding: 16px; }
.opp-pcard__cat {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--grey-light); margin-bottom: 5px;
}
.opp-pcard__name { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.opp-pcard__desc { font-size: 13px; color: var(--grey); line-height: 1.55; margin-bottom: 14px; }
.opp-pcard__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.opp-pcard__from { font-size: 12px; color: var(--grey); }
.opp-pcard__from strong { display: block; font-size: 15px; font-weight: 700; color: var(--dark); }
.opp-pcard__cta { font-size: 13px; font-weight: 600; color: var(--orange); }
.opp-pcard__cta:hover { text-decoration: underline; }

/* ── MID BANNER ── */
.opp-banner {
  background: var(--orange);
  padding: 56px 0;
}
.opp-banner__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.opp-banner__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.opp-banner__sub { font-size: 15px; color: rgba(255,255,255,.75); }

/* ── REVIEWS ── */
.opp-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.opp-review {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.opp-review__stars { color: #FBBF24; font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.opp-review__text {
  font-size: 14px; color: var(--grey); line-height: 1.75;
  margin-bottom: 20px; font-style: italic;
}
.opp-review__author { display: flex; align-items: center; gap: 12px; }
.opp-review__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--orange); flex-shrink: 0;
  border: 2px solid var(--border);
}
.opp-review__name { font-size: 14px; font-weight: 700; }
.opp-review__company { font-size: 12px; color: var(--grey); }

/* ── CTA FINAL ── */
.opp-cta-final { background: var(--dark); padding: 88px 0; text-align: center; }
.opp-cta-final h2 { color: #fff; margin-bottom: 16px; }
.opp-cta-final p { color: rgba(255,255,255,.55); max-width: 460px; margin: 0 auto 32px; font-size: 16px; line-height: 1.7; }
.opp-cta-final__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── FOOTER ── */
.opp-footer { background: #0f172a; color: rgba(255,255,255,.65); padding: 60px 0 28px; }
.opp-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.opp-footer__brand { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -.5px; }
.opp-footer__brand span { color: var(--orange); }
.opp-footer__desc { font-size: 14px; line-height: 1.7; max-width: 260px; margin-bottom: 20px; }
.opp-footer__contact { font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.opp-footer__contact a:hover { color: var(--orange); }
.opp-footer__col-title {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.opp-footer__links { display: flex; flex-direction: column; gap: 10px; }
.opp-footer__links a { font-size: 14px; transition: color .15s; }
.opp-footer__links a:hover { color: var(--orange); }
.opp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.opp-footer__legal { display: flex; gap: 20px; }
.opp-footer__legal a { color: rgba(255,255,255,.35); }
.opp-footer__legal a:hover { color: rgba(255,255,255,.7); }

/* ── BREADCRUMB ── */
.opp-breadcrumb { background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 0; }
.opp-breadcrumb__list { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.opp-breadcrumb__sep { color: var(--grey-light); font-size: 12px; }
.opp-breadcrumb__item { font-size: 13px; color: var(--grey); }
.opp-breadcrumb__item a:hover { color: var(--orange); }
.opp-breadcrumb__item--current { color: var(--dark); font-weight: 500; }

/* ── PRODUCT PAGE ── */
.opp-product-page { padding: 40px 0 80px; }
.opp-product-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: start; margin-bottom: 64px;
}

/* Gallery */
.opp-gallery { position: sticky; top: 120px; }
.opp-gallery__main {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg); margin-bottom: 10px;
}
.opp-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.opp-gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opp-thumb {
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--border); cursor: pointer;
  transition: border-color .15s; background: var(--bg);
}
.opp-thumb:hover, .opp-thumb.active { border-color: var(--orange); }
.opp-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.opp-pinfo { display: flex; flex-direction: column; gap: 0; }
.opp-pinfo__cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: 10px; }
.opp-pinfo__title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.opp-pinfo__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.opp-pinfo__tag {
  padding: 4px 12px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 20px; font-size: 12px; font-weight: 500; color: var(--grey);
}
.opp-pinfo__desc {
  font-size: 15px; color: var(--grey); line-height: 1.8;
  margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.opp-pinfo__features-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--grey); margin-bottom: 12px;
}
.opp-pinfo__feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--dark); padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.opp-pinfo__feature:last-child { border-bottom: none; }
.opp-pinfo__feature-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.opp-pinfo__features { margin-bottom: 28px; }
.opp-pinfo__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Configurator */
.opp-cfg-section {
  background: var(--bg); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 52px 0; margin-bottom: 64px;
}
.opp-cfg-header { text-align: center; margin-bottom: 32px; }
.opp-cfg-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.opp-cfg-sub { font-size: 14px; color: var(--grey); }
.opp-cfg-frame {
  max-width: 920px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.opp-cfg-frame iframe { width: 100%; aspect-ratio: 16/9; border: none; display: block; }
.opp-cfg-hint {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; color: var(--grey); margin-top: 16px;
}
.opp-cfg-hint-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; animation: cfg-pulse 2s ease-in-out infinite; }
@keyframes cfg-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* Related products */
.opp-related { padding: 0 0 80px; }
.opp-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .opp-products-grid { grid-template-columns: repeat(3, 1fr); }
  .opp-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .opp-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .opp-steps { grid-template-columns: 1fr; gap: 16px; }
  .opp-reviews-grid { grid-template-columns: 1fr; }
  .opp-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .opp-section { padding: 56px 0; }
  .opp-nav, .opp-header__phone, .opp-header__actions .opp-btn { display: none; }
  .opp-burger { display: flex; margin-left: auto; }
  .opp-hero__inner { grid-template-columns: 1fr; padding: 60px 0 48px; gap: 0; }
  .opp-hero__visual { display: none; }
  .opp-hero__stats { gap: 20px; }
  .opp-trust__items { gap: 20px; justify-content: flex-start; }
  .opp-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .opp-products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .opp-banner__inner { flex-direction: column; text-align: center; }
  .opp-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .opp-footer__bottom { flex-direction: column; align-items: flex-start; }
  .opp-product-layout { grid-template-columns: 1fr; gap: 32px; }
  .opp-gallery { position: static; }
  .opp-cfg-frame iframe { aspect-ratio: 4/3; }
  .opp-pinfo__cta { flex-direction: column; }
  .opp-pinfo__cta .opp-btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .opp-hero__ctas { flex-direction: column; }
  .opp-hero__ctas .opp-btn { width: 100%; justify-content: center; }
  .opp-hero__stats { flex-wrap: wrap; gap: 16px; }
  .opp-trust__items { flex-direction: column; align-items: flex-start; gap: 10px; }
  .opp-products-grid { grid-template-columns: 1fr; }
  .opp-related-grid { grid-template-columns: 1fr 1fr; }
  .opp-footer__bottom { flex-direction: column; }
}

/* =============================================
   PRODUCT PAGE V2 — Visual toggle + Config panel
   ============================================= */

/* ── Layout ── */
.opp-product-page { padding: 32px 0 60px; }
.opp-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Visual (left) ── */
.opp-product-visual { position: sticky; top: 110px; }
.opp-visual-media {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  background: #F7F7F7;
  position: relative;
  position: relative;
}
.opp-visual-img, .opp-visual-cfg { width: 100%; height: 100%; }
.opp-visual-img picture { display: block; width: 100%; height: 100%; }
.opp-visual-img img { width: 100%; height: 100%; object-fit: cover; }
.opp-visual-cfg iframe { width: 100%; height: 100%; border: none; }
.opp-visual-cfg.hidden, .opp-visual-img.hidden { display: none; }

.opp-visual-toggle {
  display: flex;
  gap: 0;
  margin-top: 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.opp-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .18s;
}
.opp-toggle-btn:not(:last-child) { border-right: 1.5px solid var(--border); }
.opp-toggle-btn.active {
  background: var(--dark);
  color: #fff;
}
.opp-toggle-btn:not(.active):hover { background: var(--bg); color: var(--dark); }

.opp-visual-hint {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* ── Config panel (right) ── */
.opp-cfg-panel { display: flex; flex-direction: column; gap: 4px; }

.opp-panel-sec {
  border-top: 1.5px solid var(--border);
  padding-top: 18px;
  margin-top: 14px;
}
.opp-panel-sec__ttl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ── Color groups ── */
.opp-color-group { margin-bottom: 14px; }
.opp-color-group__hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.opp-color-group__lbl { font-size: 13.5px; font-weight: 600; color: var(--dark); }
.opp-color-group__val { font-size: 12px; color: var(--text-muted); }

.opp-swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.opp-swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s, border-color .12s;
  outline: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.opp-swatch--light { box-shadow: 0 0 0 1.5px #C8C8C8; }
.opp-swatch:hover { transform: scale(1.15); }
.opp-swatch.active {
  border-color: var(--dark);
  transform: scale(1.12);
  box-shadow: 0 0 0 1px var(--dark);
}
.opp-swatch--light.active { border-color: var(--dark); }

/* ── Zone pills ── */
.opp-zpills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.opp-zpill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
}
.opp-zpill svg { color: var(--orange); flex-shrink: 0; }
.opp-zpill__loc { color: var(--text-muted); }
.opp-zones-hint { font-size: 11.5px; color: var(--text-muted); }

/* ── Quantity ── */
.opp-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.opp-qty-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  transition: border-color .15s, background .15s;
  display: flex; align-items: center; justify-content: center;
}
.opp-qty-btn:hover { border-color: var(--dark); background: var(--bg); }
.opp-qty-input {
  width: 70px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: var(--dark);
  outline: none;
}
.opp-qty-input:focus { border-color: var(--orange); }
.opp-qty-unit { font-size: 12.5px; color: var(--text-muted); margin-left: 2px; }

/* ── Price tiers ── */
.opp-tiers { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.opp-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px;
  color: var(--text-muted);
  transition: all .15s;
}
.opp-tier.active {
  border-color: var(--orange);
  background: #FFF7EE;
  color: var(--dark);
}
.opp-tier__range { font-weight: 500; }
.opp-tier__price { font-weight: 700; }
.opp-tier.active .opp-tier__price { color: var(--orange); }

.opp-price-total {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.opp-price-total strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-left: auto;
}

/* ── CTAs ── */
.opp-panel-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.opp-btn--lg { padding: 14px 24px; font-size: 15px; }
.opp-panel-cta .opp-btn--outline { justify-content: center; }
.opp-cfg-note { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin-top: 4px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .opp-product-layout { grid-template-columns: 1fr; gap: 28px; }
  .opp-product-visual { position: static; }
  .opp-visual-media { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .opp-visual-media { aspect-ratio: 4/3; }
  .opp-tiers { gap: 3px; }
  .opp-tier { padding: 7px 10px; font-size: 12px; }
  .opp-price-total { flex-wrap: wrap; }
  .opp-price-total strong { font-size: 20px; }
}

/* ── Configure CTA button (inline, full-width) ── */
.opp-btn--configure {
  width: 100%;
  justify-content: center;
  margin: 16px 0;
}

/* ── Color tabs ── */
.opp-color-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}
.opp-color-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.opp-color-tab + .opp-color-tab { border-left: 1.5px solid var(--border); }
.opp-color-tab.active { background: var(--dark); color: #fff; }
.opp-ctab-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
  display: inline-block;
}
.opp-ctab-dot.opp-swatch--light { border-color: var(--border); }
.opp-color-panel.hidden { display: none; }

/* ── VIEWER MODE — no-scroll full-height layout ── */
body.viewer-mode .opp-product-page {
  padding: 0;
  height: calc(100vh - 112px);
  overflow: hidden;
}
body.viewer-mode .opp-product-page .opp-container,
body.viewer-mode .opp-product-page #productSection {
  height: 100%;
}
body.viewer-mode .opp-product-layout {
  gap: 0;
  align-items: stretch;
  height: 100%;
  overflow: hidden;
  padding: 0;
}
body.viewer-mode .opp-product-visual {
  position: static;
  padding: 20px 16px 12px 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
body.viewer-mode .opp-visual-media {
  flex: 1;
  min-height: 0;
  aspect-ratio: unset;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
body.viewer-mode .opp-visual-img,
body.viewer-mode .opp-visual-cfg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
body.viewer-mode .opp-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.viewer-mode .opp-visual-cfg viewer-3dvue {
  display: block;
  width: 100%;
  height: 100%;
}
body.viewer-mode .opp-visual-toggle {
  flex-shrink: 0;
  margin-top: 10px;
}
body.viewer-mode .opp-visual-hint {
  flex-shrink: 0;
  margin-bottom: 0;
}
body.viewer-mode .opp-cfg-panel {
  overflow-y: auto;
  height: 100%;
  padding: 20px 0 20px 24px;
  border-left: 1px solid var(--border);
}

/* Screenshot button */
.opp-screenshot-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  transition: background 0.15s;
  font-family: inherit;
}
.opp-screenshot-btn:hover { background: rgba(0,0,0,0.85); }
.opp-viewer-placeholder {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  /* Split-view : viewer haut fixe + panel bas scrollable */
  body.viewer-mode .opp-product-page {
    height: calc(100vh - 112px);
    height: calc(100dvh - 112px);
    overflow: hidden;
    padding: 0;
  }
  body.viewer-mode .opp-product-page .opp-container,
  body.viewer-mode .opp-product-page #productSection { height: 100%; }
  body.viewer-mode .opp-product-layout {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  body.viewer-mode .opp-product-visual {
    flex: 0 0 46%;
    padding: 6px 0 0;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  body.viewer-mode .opp-visual-media {
    flex: 1;
    min-height: 0;
    aspect-ratio: unset;
    max-width: none;
    margin: 0;
    border-radius: 8px;
    position: relative;
  }
  body.viewer-mode .opp-visual-toggle { margin-top: 6px; }
  body.viewer-mode .opp-visual-hint { display: none; }
  body.viewer-mode .opp-cfg-panel {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: auto;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 10px 0 40px;
  }
  /* Masquer description et features pour libérer de la place */
  body.viewer-mode .opp-pinfo__desc,
  body.viewer-mode .opp-pinfo__features { display: none; }
}

@media (max-width: 480px) {
  /* Téléphones petits : donner un peu plus de place au viewer */
  body.viewer-mode .opp-product-visual { flex: 0 0 48%; }
}

/* ── MARKUP UI — Logo / Texte / Toolbar ── */
.opp-markup-zone { display: flex; flex-direction: column; gap: 10px; }

/* Zone tabs (Face / Visière) */
.opp-zone-tabs {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.opp-zone-tab {
  flex: 1;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.opp-zone-tab + .opp-zone-tab { border-left: 1.5px solid var(--border); }
.opp-zone-tab.active { background: var(--dark); color: #fff; }

/* Zone select (dropdown for many zones) */
.opp-zone-select {
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  appearance: auto;
}
.opp-zone-select:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }

/* Upload area */
.opp-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 16px 12px;
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  color: var(--text-muted);
  font-size: 13px;
}
.opp-upload-area:hover { border-color: var(--orange); background: #FFF7EE; color: var(--dark); }
.opp-upload-area span { font-weight: 600; color: var(--dark); }
.opp-upload-area small { font-size: 11px; color: var(--text-muted); }
.opp-upload-area--done { border-color: var(--orange); background: #FFF7EE; }

/* Text row */
.opp-text-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.opp-color-mini {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  cursor: pointer;
  background: #fff;
  flex-shrink: 0;
}

/* Font grid */
.opp-font-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.opp-font-tile {
  padding: 7px 6px;
  font-size: 13px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 0.15s, background 0.15s;
  font-family: inherit;
  color: var(--dark);
}
.opp-font-tile:hover { border-color: var(--orange); }
.opp-font-tile.active { border-color: var(--orange); background: #FFF7EE; color: var(--orange); }

/* Contextual toolbar (overlay on viewer) */
.opp-btn-2d {
  position: absolute; top: 12px; left: 12px; z-index: 6;
  display: flex; align-items: center; gap: 6px;
  background: rgba(13,43,94,.88); color: #fff;
  border: none; border-radius: 20px;
  padding: 6px 13px; font-size: 11px; font-weight: 700; letter-spacing: .03em;
  cursor: pointer; font-family: inherit;
  backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(0,0,0,.22);
  transition: background .2s;
}
.opp-btn-2d:hover, .opp-btn-2d.active { background: rgba(21,101,192,.88); }

.opp-cap-toolbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15,15,15,0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  font-size: 12px;
  z-index: 20;
  border-radius: 0 0 12px 12px;
  min-height: 44px;
}
.opp-cap-toolbar__hint { color: rgba(255,255,255,0.6); font-size: 12px; }
.opp-cap-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.opp-cap-toolbar__grp {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}
.opp-cap-toolbar__grp span { font-size: 11px; color: rgba(255,255,255,0.7); white-space: nowrap; }
.opp-cap-toolbar__grp input[type="range"] {
  flex: 1;
  accent-color: var(--orange);
  min-width: 0;
}
.opp-cap-toolbar__del {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(230,57,70,0.25);
  border: 1px solid rgba(230,57,70,0.5);
  color: #ff6b6b;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.opp-cap-toolbar__del:hover { background: rgba(230,57,70,0.5); }

/* ── LANG SWITCHER ── */
.opp-lang-switcher {
  position: relative;
  margin-right: 12px;
}
.opp-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  transition: border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.opp-lang-btn:hover { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,127,0,.1); }
.opp-lang-switcher.open .opp-lang-btn { border-color: var(--orange); }
.opp-lang-btn .fi, .opp-lang-option .fi { width: 20px; height: 15px; background-size: cover; border-radius: 2px; flex-shrink: 0; }
.opp-lang-code { font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.opp-lang-chevron { opacity: .5; transition: transform .2s; flex-shrink: 0; }
.opp-lang-switcher.open .opp-lang-chevron { transform: rotate(180deg); }

.opp-lang-drop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 4px;
  min-width: 110px;
  display: none;
  z-index: 200;
}
.opp-lang-switcher.open .opp-lang-drop { display: block; }

.opp-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  transition: background .12s;
}
.opp-lang-option:hover { background: var(--light); }
.opp-lang-option.active { background: var(--dark); color: #fff; font-weight: 700; }
