/* ===== Weijun visual polish 2026-11 ===== */
:root{
  --wj-navy:#0B2B4E;
  --wj-blue:#0E63B3;
  --wj-pink:#D81B60;
  --wj-sky:#9FD3FF;
  --wj-sand:#F6F3EE;
}

/* header */
.elementor-31322 .elementor-element-5b2f130{
  background-color:var(--wj-navy)!important;
  background-image:none!important;
}
.elementor-31322 .elementor-element-4010896f{
  background-color:var(--wj-navy)!important;
  background-image:none!important;
}
.elementor-31322 .elementor-element-5b2f130 p,
.elementor-31322 .elementor-element-5b2f130 a,
.elementor-31322 .elementor-element-5b2f130 .elementor-icon-box-title{
  color:#E8EEF5!important;
}
.elementor-31322 .elementor-nav-menu .menu-link{
  color:#fff!important;
  font-weight:500!important;
}
.elementor-31322 .elementor-nav-menu .menu-link:hover{
  color:var(--wj-sky)!important;
}
.elementor-31322 .elementor-button{
  background:var(--wj-pink)!important;
  border-radius:999px!important;
}

/* hero */
.home .elementor-element-858cae9{
  background-color:#123A66!important;
  background-blend-mode:multiply;
  box-shadow:inset 0 0 220px rgba(3,16,36,.55);
}
.home .elementor-element-5a5ae5a h1{
  font-size:clamp(18px,1.8vw,24px)!important;
  letter-spacing:.16em!important;
  text-transform:uppercase;
  color:var(--wj-sky)!important;
  line-height:1.35!important;
  font-weight:600!important;
}
.home .elementor-element-72f38e0 h1{
  font-size:clamp(42px,5vw,66px)!important;
  line-height:1.02!important;
  letter-spacing:-.02em!important;
  font-weight:700!important;
  text-shadow:0 8px 34px rgba(0,0,0,.35);
}
.home .elementor-element-0867612 p{
  font-size:16px!important;
  line-height:1.7!important;
  color:rgba(255,255,255,.92)!important;
  max-width:640px;
}
.home .elementor-element-3b2c86ca .elementor-button{
  background:var(--wj-pink)!important;
  border-radius:999px!important;
  padding:16px 34px!important;
  font-weight:600!important;
  box-shadow:0 14px 34px rgba(216,27,96,.35);
}
.home .elementor-element-7f43a0c img{
  max-height:30px!important;
  width:auto!important;
  object-fit:contain;
  filter:brightness(0) invert(1);
  opacity:.9;
}

/* type & cards */
.home h2.elementor-heading-title{
  font-weight:700!important;
  letter-spacing:-.01em!important;
}
.home .elementor-button{border-radius:999px!important}
.home .swiper-slide-image{
  object-fit:contain!important;
  background:#fff;
}
.home .elementor-icon-box-wrapper{
  border-radius:16px;
}

/* cookie popup */
#elementor-popup-modal-32726 .dialog-widget{
  width:min(440px,calc(100% - 32px))!important;
  margin:0 0 20px 20px!important;
}
#elementor-popup-modal-32726 .dialog-widget-content{
  border-radius:16px!important;
  box-shadow:0 20px 60px rgba(0,0,0,.25)!important;
  background:#fff!important;
}
#elementor-popup-modal-32726 .elementor-element-436436ee{
  background:#fff!important;
  border-radius:16px!important;
}
#elementor-popup-modal-32726 p{
  color:#12212F!important;
  font-size:14px!important;
}
#elementor-popup-modal-32726 .elementor-button{
  background:var(--wj-pink)!important;
  border-radius:999px!important;
}

/* hide broken carousel slides */
.home .swiper-slide:has(img[src*="Desktop-Therapist-radius"]),
.home .swiper-slide:has(img[src*="harry-potter-blind"]),
.home .swiper-slide:has(img[src*="blind-box3"]){
  display:none!important;
}

/* mobile */
@media(max-width:921px){
  html,body{overflow-x:hidden!important}
  .home .elementor-element-72f38e0 h1{font-size:clamp(32px,9vw,44px)!important}
  .home .elementor-element-5a5ae5a h1{font-size:15px!important;letter-spacing:.12em!important}
  .home .elementor-element-0867612 p{font-size:15px!important}
  .home .row.post-items{width:100%!important;margin-left:0!important;margin-right:0!important}
  #elementor-popup-modal-32726 .dialog-widget{width:calc(100% - 24px)!important;margin:0 12px 12px!important}
}


/* ===== Weijun visual polish v2 ===== */

/* Hero: keep image bright on the right, darken only the text side */
.home .elementor-element-858cae9{
  background-image:linear-gradient(90deg,
    rgba(5,22,46,.96) 0%,
    rgba(5,22,46,.84) 38%,
    rgba(5,22,46,.32) 66%,
    rgba(5,22,46,.04) 100%),
    url("https://www.weijuntoy.com/wp-content/uploads/2025/05/home-header.webp")!important;
  background-size:cover!important;
  background-position:center center!important;
  background-color:transparent!important;
  background-blend-mode:normal!important;
  box-shadow:none!important;
}

/* Cookie popup: compact bottom-left card */
#elementor-popup-modal-32726{
  align-items:flex-end!important;
  justify-content:flex-start!important;
  background:transparent!important;
  padding:0 0 20px 20px!important;
}
#elementor-popup-modal-32726 .dialog-widget-content{
  width:min(440px,calc(100% - 32px))!important;
  max-width:440px!important;
  margin:0!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 22px 60px rgba(0,0,0,.28)!important;
  overflow:hidden!important;
}
#elementor-popup-modal-32726 .dialog-message{
  padding:0!important;
}
#elementor-popup-modal-32726 .elementor-element-436436ee{
  background:#fff!important;
  border-radius:16px!important;
  padding:20px 22px!important;
}
#elementor-popup-modal-32726 p{
  color:#12212F!important;
  font-size:14px!important;
  line-height:1.65!important;
  margin:0 0 12px!important;
}
#elementor-popup-modal-32726 a{
  color:#D81B60!important;
}
#elementor-popup-modal-32726 .elementor-button{
  background:#D81B60!important;
  border-radius:999px!important;
  padding:11px 22px!important;
  font-size:13px!important;
  box-shadow:none!important;
}
#elementor-popup-modal-32726 .dialog-close-button{
  color:#0B2B4E!important;
  top:8px!important;
  right:8px!important;
}

/* Slightly tighter hero copy */
.home .elementor-element-0867612 p{
  max-width:600px!important;
}


/* ===== Cookie popup layout fix v3 ===== */
#elementor-popup-modal-32726 .dialog-message,
#elementor-popup-modal-32726 .elementor-32726,
#elementor-popup-modal-32726 .elementor-element-436436ee{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
#elementor-popup-modal-32726 .elementor-element-436436ee{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:12px!important;
}
#elementor-popup-modal-32726 .elementor-element-3eaefe4e,
#elementor-popup-modal-32726 .elementor-element-4ee5384,
#elementor-popup-modal-32726 .elementor-widget-text-editor,
#elementor-popup-modal-32726 .elementor-widget-button,
#elementor-popup-modal-32726 .elementor-widget-container{
  width:100%!important;
  max-width:100%!important;
}
#elementor-popup-modal-32726 .elementor-button{
  display:inline-flex!important;
  width:auto!important;
  max-width:100%!important;
}


/* ===== Cookie popup hard fix v4 ===== */
#elementor-popup-modal-32726 .dialog-widget-content{
  background:#fff!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
#elementor-popup-modal-32726 .dialog-message,
#elementor-popup-modal-32726 .elementor-32726,
#elementor-popup-modal-32726 .elementor-element-436436ee,
#elementor-popup-modal-32726 .elementor-element-3eaefe4e,
#elementor-popup-modal-32726 .elementor-element-4ee5384{
  background:transparent!important;
  background-color:transparent!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
#elementor-popup-modal-32726 .elementor-element-436436ee{
  padding:20px 22px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:14px!important;
}
#elementor-popup-modal-32726 .dialog-close-button{
  display:none!important;
}
#elementor-popup-modal-32726 .elementor-button{
  color:#fff!important;
  font-size:13px!important;
  line-height:1.2!important;
  min-width:150px!important;
  height:auto!important;
  padding:12px 22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
#elementor-popup-modal-32726 .elementor-button-text,
#elementor-popup-modal-32726 .elementor-button-content-wrapper{
  display:inline-flex!important;
  color:#fff!important;
  font-size:13px!important;
  visibility:visible!important;
  opacity:1!important;
}
#elementor-popup-modal-32726 p{
  color:#12212F!important;
  font-size:14px!important;
  line-height:1.65!important;
  margin:0 0 4px!important;
}


/* ===== Mobile polish v5 ===== */
@media(max-width:921px){
  .home .elementor-element-858cae9{
    background-image:linear-gradient(180deg,
      rgba(5,22,46,.94) 0%,
      rgba(5,22,46,.88) 55%,
      rgba(5,22,46,.62) 100%),
      url("https://www.weijuntoy.com/wp-content/uploads/2025/05/home-header.webp")!important;
    background-position:center top!important;
    background-size:cover!important;
  }
  .home .elementor-element-0867612 p{
    font-size:14px!important;
    line-height:1.6!important;
  }
  #elementor-popup-modal-32726{
    padding:0 10px 10px!important;
  }
  #elementor-popup-modal-32726 .dialog-widget-content{
    width:100%!important;
    max-width:100%!important;
    border-radius:14px!important;
  }
  #elementor-popup-modal-32726 .elementor-element-436436ee{
    padding:14px 16px!important;
    gap:10px!important;
  }
  #elementor-popup-modal-32726 p{
    font-size:12.5px!important;
    line-height:1.55!important;
    margin:0!important;
  }
  #elementor-popup-modal-32726 .elementor-button{
    font-size:12px!important;
    padding:9px 18px!important;
    min-width:130px!important;
  }
}


/* ===== Product sections as premium cards ===== */
.home .elementor-element-54625c87,
.home .elementor-element-2b121aaf,
.home .elementor-element-432bf056,
.home .elementor-element-5f8f434d{
  background:#fff!important;
  border:1px solid #E9E3D8!important;
  border-radius:24px!important;
  padding:38px 42px!important;
  margin:30px auto!important;
  max-width:1200px!important;
  box-sizing:border-box!important;
  box-shadow:0 18px 50px rgba(11,43,78,.07)!important;
}
.home .elementor-element-2b121aaf,
.home .elementor-element-5f8f434d{
  background:#F7F4EF!important;
}
.home .elementor-element-54625c87 h3,
.home .elementor-element-2b121aaf h3,
.home .elementor-element-432bf056 h3,
.home .elementor-element-5f8f434d h3{
  font-size:30px!important;
  font-weight:700!important;
  color:#0B2B4E!important;
  letter-spacing:-.01em!important;
  line-height:1.2!important;
  margin-bottom:12px!important;
}
.home .elementor-element-54625c87 h3::before,
.home .elementor-element-2b121aaf h3::before,
.home .elementor-element-432bf056 h3::before,
.home .elementor-element-5f8f434d h3::before{
  content:"PRODUCT CATEGORY";
  display:block;
  font-size:11px;
  letter-spacing:.2em;
  color:#0E9F9F;
  font-weight:600;
  margin-bottom:8px;
}
.home .elementor-element-54625c87 .elementor-widget-text-editor p,
.home .elementor-element-2b121aaf .elementor-widget-text-editor p,
.home .elementor-element-432bf056 .elementor-widget-text-editor p,
.home .elementor-element-5f8f434d .elementor-widget-text-editor p{
  font-size:16px!important;
  line-height:1.7!important;
  color:#4A5866!important;
}
.home .elementor-element-54625c87 .elementor-widget-text-editor ul,
.home .elementor-element-2b121aaf .elementor-widget-text-editor ul,
.home .elementor-element-432bf056 .elementor-widget-text-editor ul,
.home .elementor-element-5f8f434d .elementor-widget-text-editor ul{
  list-style:none!important;
  padding-left:0!important;
  margin:10px 0 18px!important;
}
.home .elementor-element-54625c87 .elementor-widget-text-editor li,
.home .elementor-element-2b121aaf .elementor-widget-text-editor li,
.home .elementor-element-432bf056 .elementor-widget-text-editor li,
.home .elementor-element-5f8f434d .elementor-widget-text-editor li{
  position:relative!important;
  padding-left:26px!important;
  margin:8px 0!important;
  font-size:15px!important;
  color:#12212F!important;
}
.home .elementor-element-54625c87 .elementor-widget-text-editor li::before,
.home .elementor-element-2b121aaf .elementor-widget-text-editor li::before,
.home .elementor-element-432bf056 .elementor-widget-text-editor li::before,
.home .elementor-element-5f8f434d .elementor-widget-text-editor li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:1px;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#E7F6F5;
  border:1px solid #0E9F9F;
  color:#0E9F9F;
  font-size:11px;
  line-height:16px;
  text-align:center;
  font-weight:700;
}
.home .elementor-element-54625c87 .elementor-button,
.home .elementor-element-2b121aaf .elementor-button,
.home .elementor-element-432bf056 .elementor-button,
.home .elementor-element-5f8f434d .elementor-button{
  background:transparent!important;
  color:#0B2B4E!important;
  border:1.5px solid #0B2B4E!important;
  border-radius:999px!important;
  padding:12px 26px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.home .elementor-element-54625c87 .elementor-button:hover,
.home .elementor-element-2b121aaf .elementor-button:hover,
.home .elementor-element-432bf056 .elementor-button:hover,
.home .elementor-element-5f8f434d .elementor-button:hover{
  background:#0B2B4E!important;
  color:#fff!important;
}
.home .elementor-element-54625c87 .elementor-widget-image-carousel,
.home .elementor-element-2b121aaf .elementor-widget-image-carousel,
.home .elementor-element-432bf056 .elementor-widget-image-carousel,
.home .elementor-element-5f8f434d .elementor-widget-image-carousel{
  border-radius:18px!important;
  overflow:hidden!important;
  background:#F7F4EF!important;
  box-shadow:0 12px 30px rgba(11,43,78,.10)!important;
}
@media(max-width:921px){
  .home .elementor-element-54625c87,
  .home .elementor-element-2b121aaf,
  .home .elementor-element-432bf056,
  .home .elementor-element-5f8f434d{
    padding:22px 18px!important;
    border-radius:18px!important;
    margin:18px 12px!important;
  }
  .home .elementor-element-54625c87 h3,
  .home .elementor-element-2b121aaf h3,
  .home .elementor-element-432bf056 h3,
  .home .elementor-element-5f8f434d h3{
    font-size:24px!important;
  }
}


/* ===== Blind Box product card ===== */
.home .elementor-element-450d48a8{
  background:#fff!important;
  border:1px solid #E9E3D8!important;
  border-radius:24px!important;
  padding:38px 42px!important;
  margin:30px auto!important;
  max-width:1200px!important;
  box-sizing:border-box!important;
  box-shadow:0 18px 50px rgba(11,43,78,.07)!important;
}
.home .elementor-element-450d48a8 h3{
  font-size:30px!important;
  font-weight:700!important;
  color:#0B2B4E!important;
  letter-spacing:-.01em!important;
  line-height:1.2!important;
  margin-bottom:12px!important;
}
.home .elementor-element-450d48a8 h3::before{
  content:"PRODUCT CATEGORY";
  display:block;
  font-size:11px;
  letter-spacing:.2em;
  color:#0E9F9F;
  font-weight:600;
  margin-bottom:8px;
}
.home .elementor-element-450d48a8 .elementor-widget-text-editor p{
  font-size:16px!important;
  line-height:1.7!important;
  color:#4A5866!important;
}
.home .elementor-element-450d48a8 .elementor-widget-text-editor ul{
  list-style:none!important;
  padding-left:0!important;
  margin:10px 0 18px!important;
}
.home .elementor-element-450d48a8 .elementor-widget-text-editor li{
  position:relative!important;
  padding-left:26px!important;
  margin:8px 0!important;
  font-size:15px!important;
  color:#12212F!important;
}
.home .elementor-element-450d48a8 .elementor-widget-text-editor li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:1px;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#E7F6F5;
  border:1px solid #0E9F9F;
  color:#0E9F9F;
  font-size:11px;
  line-height:16px;
  text-align:center;
  font-weight:700;
}
.home .elementor-element-450d48a8 .elementor-button{
  background:transparent!important;
  color:#0B2B4E!important;
  border:1.5px solid #0B2B4E!important;
  border-radius:999px!important;
  padding:12px 26px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.home .elementor-element-450d48a8 .elementor-button:hover{
  background:#0B2B4E!important;
  color:#fff!important;
}
.home .elementor-element-450d48a8 .elementor-widget-image-carousel{
  border-radius:18px!important;
  overflow:hidden!important;
  background:#F7F4EF!important;
  box-shadow:0 12px 30px rgba(11,43,78,.10)!important;
}
@media(max-width:921px){
  .home .elementor-element-450d48a8{
    padding:22px 18px!important;
    border-radius:18px!important;
    margin:18px 12px!important;
  }
  .home .elementor-element-450d48a8 h3{font-size:24px!important}
}


/* Re-enable the previously broken slides now that images exist */
.home .swiper-slide:has(img[src*="Desktop-Therapist-radius"]),
.home .swiper-slide:has(img[src*="harry-potter-blind"]),
.home .swiper-slide:has(img[src*="blind-box3"]){
  display:block!important;
}
