/* =========================================================
   CCX — Wishlist Page (premium)
   Extrait depuis ccx-wishlist-page.php (inline) -> fichier
   ========================================================= */

.ccx-wlp{
  --bg1:#0b1020;
  --bg2:#070a12;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --line:rgba(255,255,255,.12);
  --text:#eef2ff;
  --muted:rgba(238,242,255,.72);
  --green:#00ff6a;
  --orange:#ff8a00;
  --shadow:0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
  color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Inter,Arial,sans-serif;
}

/* wrapper page */
.ccx-wlp-wrap{
  max-width:1100px;
  margin:24px auto 42px;
  padding:0 16px;
}

/* hero */
.ccx-wlp-hero{
  background:
    radial-gradient(900px 360px at 15% 0%, rgba(0,255,106,.12), transparent 55%),
    radial-gradient(900px 360px at 85% 0%, rgba(255,138,0,.14), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  box-shadow:var(--shadow);
  padding:20px 18px 16px;
  margin-bottom:16px;
}
.ccx-wlp-hero-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.ccx-wlp-title{
  margin:0;
  font-size:22px;
  font-weight:800;
  letter-spacing:.2px;
}
.ccx-wlp-sub{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
}
.ccx-wlp-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  font-size:13px;
}
.ccx-wlp-pill strong{
  color:var(--green);
}

/* sections */
.ccx-wlp-section{
  margin-top:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  box-shadow:0 16px 60px rgba(0,0,0,.30);
  overflow:hidden;
}
.ccx-wlp-section-hd{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.ccx-wlp-section-hd h2{
  margin:0;
  font-size:16px;
  font-weight:800;
}
.ccx-wlp-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.ccx-wlp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.ccx-wlp-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
}
.ccx-wlp-btn.is-primary{
  background:rgba(0,255,106,.14);
  border-color:rgba(0,255,106,.30);
}
.ccx-wlp-btn.is-orange{
  background:rgba(255,138,0,.14);
  border-color:rgba(255,138,0,.30);
}
.ccx-wlp-body{
  padding:14px 14px 10px;
}

/* list produits */
.ccx-wlp .products{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}
@media (max-width: 980px){
  .ccx-wlp .products{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .ccx-wlp .products{ grid-template-columns:1fr; }
}

/* message vide */
.ccx-wlp-empty{
  padding:18px 16px;
  color:var(--muted);
  font-size:14px;
}

/* carrousel horizontal */
.ccx-wlp-row{
  display:flex;
  gap:12px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  padding:2px 2px 12px;
}
.ccx-wlp-row::-webkit-scrollbar{ height:10px; }
.ccx-wlp-row::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.18);
  border-radius:999px;
}
.ccx-wlp-row .ccx-mini{
  scroll-snap-align:start;
  flex:0 0 260px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  border-radius:18px;
  padding:12px;
}


.ccx-wlp{
  margin:0 auto;
  max-width:1200px;
  padding:10px 10px 40px;
}

.ccx-wlp-main-header{
  text-align:center;
  margin:18px 0 24px;
}

.ccx-wlp-main-title{
  font-size:1.7rem;
  font-weight:700;
  letter-spacing:.03em;
  color:#111827;
}

.ccx-wlp-section{
  margin-bottom:40px;
}

.ccx-wlp-header{
  text-align:center;
  margin:24px 0 14px;
  background:none;
  box-shadow:none;
  border:0;
  padding:0;
}

.ccx-wlp-title{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:4px 22px;
  border-radius:999px;
  background:var(--ccx-orange, #ff7a00);
  color:#fff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  line-height:1.2;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
  border:none;
}

.ccx-wlp-carousel{
  position:relative;
  padding:0 34px;
  margin-top:6px;
}

.ccx-wlp-viewport{
  overflow-x:auto;
  overflow-y:visible;
  padding-top:10px;
  padding-bottom:4px;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
}

.ccx-wlp-viewport::-webkit-scrollbar{height:6px}
.ccx-wlp-viewport::-webkit-scrollbar-track{background:transparent}
.ccx-wlp-viewport::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:999px}

.ccx-wlp-strip{
  display:flex;
  flex-wrap:nowrap;
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
}

.ccx-wlp-card{
  position:relative;
  flex:0 0 210px;
  max-width:210px;
  list-style:none;
  background:#fff;
  border:1px solid #e3e8ef;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(15,23,42,.05);
}

.ccx-wlp-card-link{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  min-height:100%;
}

.ccx-wlp-card-media{
  aspect-ratio:1/1;
  background:linear-gradient(180deg,#f8fafc,#eef3f8);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.ccx-wlp-card-media img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.ccx-wlp-card-placeholder{
  color:#7b8798;
  font-size:14px;
  text-align:center;
}

.ccx-wlp-card-body{
  padding:18px;
}

.ccx-wlp-card-title{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.3;
  color:#10213a;
}

.ccx-wlp-card-price{
  margin:0;
  color:#1a7f37;
  font-size:15px;
  font-weight:700;
}

.ccx-wlp-card-heart{
  position:absolute;
  top:10px;
  right:10px;
  z-index:4;
}

.ccx-wlp-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border-radius:999px;
  border:none;
  background:#111827;
  color:#f9fafb;
  font-size:18px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
  opacity:.9;
  transition:opacity .15s ease, transform .15s ease;
  z-index:5;
}

.ccx-wlp-arrow:hover{
  opacity:1;
  transform:translateY(-50%) scale(1.05);
}

.ccx-wlp-arrow.ccx-wlp-arrow-hidden{
  display:none !important;
}

.ccx-wlp-arrow-prev{left:4px}
.ccx-wlp-arrow-next{right:4px}

.ccx-wlp-empty{
  text-align:center;
  padding:40px 10px;
  opacity:.8;
}

@media (max-width:1024px){
  .ccx-wlp-carousel{padding:0 20px}
}

@media (max-width:767px){
  .ccx-wlp{padding:5px 0 30px}
  .ccx-wlp-carousel{padding:0 10px}
  .ccx-wlp-main-title{font-size:1.4rem}
  .ccx-wlp-title{font-size:.95rem}
  .ccx-wlp-arrow{display:none !important}
}


.ccx-wlp{
  margin:0 auto;
  max-width:1200px;
  padding:0 0 32px;
}

.ccx-wlp-main-header{
  text-align:center;
  margin:8px 0 20px;
}

.ccx-wlp-main-title{
  font-size:2rem;
  font-weight:800;
  letter-spacing:.01em;
  color:#0f172a;
}

.ccx-wlp-section{
  margin-bottom:28px;
  padding:18px 18px 14px;
  border-radius:28px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 46px rgba(15,23,42,.08);
}

.ccx-wlp-header{
  text-align:center;
  margin:4px 0 12px;
  background:none;
  box-shadow:none;
  border:0;
  padding:0;
}

.ccx-wlp-carousel{
  position:relative;
  padding:0 24px;
  margin-top:6px;
}

.ccx-wlp-viewport{
  overflow-x:auto;
  overflow-y:hidden;
  padding-top:8px;
  padding-bottom:8px;
  scroll-behavior:smooth;
}

.ccx-wlp-strip{
  display:flex;
  flex-wrap:nowrap;
  gap:16px;
  margin:0;
  padding:0;
  list-style:none;
  align-items:stretch;
}

.ccx-wlp-card{
  position:relative;
  flex:0 0 220px;
  max-width:220px;
  list-style:none;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}

.ccx-wlp-card-link{
  display:flex;
  flex-direction:column;
  min-height:100%;
  text-decoration:none;
  color:inherit;
}

.ccx-wlp-card-media{
  aspect-ratio:1/1;
  background:linear-gradient(180deg,#f8fafc,#eef2f7);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

.ccx-wlp-card-media img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.ccx-wlp-card-body{
  padding:14px 14px 16px;
}

.ccx-wlp-card-title{
  margin:0 0 8px;
  font-size:15px;
  line-height:1.35;
  color:#0f172a;
  font-weight:800;
}

.ccx-wlp-card-price{
  margin:0;
  color:#15803d;
  font-size:14px;
  font-weight:700;
}

.ccx-wlp-card-heart{
  position:absolute;
  top:10px;
  right:10px;
  z-index:4;
  width:34px;
  height:34px;
  border-radius:999px;
  border:2px solid #ff7a00;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 12px rgba(15,23,42,.18);
}

.ccx-wlp-card-heart .ccx-wl-ico{
  width:18px;
  height:18px;
  fill:transparent;
  stroke:#ff7a00;
  stroke-width:2;
}

.ccx-wlp-card-heart.is-active{
  border-color:#22c55e;
}

.ccx-wlp-card-heart.is-active .ccx-wl-ico{
  fill:#00ff6a;
  stroke:#00ff6a;
}

.ccx-wlp-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border-radius:999px;
  border:none;
  background:#1f2937;
  color:#fff;
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(15,23,42,.18);
  z-index:5;
}

.ccx-wlp-arrow-prev{ left:-6px; }
.ccx-wlp-arrow-next{ right:-6px; }

@media (max-width:767px){
  .ccx-wlp-main-title{font-size:1.55rem;}
  .ccx-wlp-section{padding:14px 12px 10px;}
  .ccx-wlp-carousel{padding:0 8px;}
  .ccx-wlp-arrow{display:none !important;}
}

body.ccx-wishlist-page .entry-title,
body.ccx-wishlist-page .et_pb_title_container h1,
body.ccx-wishlist-page h1.entry-title{
  display:none !important;
}