/* Iberian Data — FunnelKit thank-you (scoped to typ 85163) */
body.id-thankyou,
body.elementor-page-85163{
  --id-red:#D20404;
  --id-red-dark:#7A0A0A;
  --id-ink:#111111;
  --id-text:#505050;
  --id-muted:#6B6B6B;
  --id-line:#E6E6E6;
  --id-soft:#FAFAFA;
  --id-white:#FFFFFF;
  background:#fff;
  color:var(--id-ink);
  font-family:inherit;
}
body.id-thankyou a,
body.elementor-page-85163 a{
  color:var(--id-ink);
}
body.id-thankyou a:hover,
body.id-thankyou a:focus,
body.elementor-page-85163 a:hover,
body.elementor-page-85163 a:focus{
  color:var(--id-red);
}

/* Hide leftover theme chrome if any leaks into the canvas */
body.id-thankyou .whb-header,
body.id-thankyou .whb-sticky-header,
body.id-thankyou .wd-footer,
body.elementor-page-85163 .whb-header,
body.elementor-page-85163 footer.footer-container{
  display:none !important;
}

/* Header + logo — same size as checkout */
body.id-thankyou .id-ty-header,
body.id-thankyou .elementor-element-a11d0001{
  background:#fff;
  justify-content:center;
  text-align:center;
  border-bottom:1px solid var(--id-line);
}
body.id-thankyou .id-ty-logo,
body.id-thankyou .elementor-element-a11d0002{
  width:100%;
  text-align:center;
  margin:0 auto;
}
body.id-thankyou .id-ty-logo img,
body.id-thankyou .elementor-element-a11d0002 img{
  display:block;
  width:220px !important;
  max-width:220px;
  max-height:none;
  height:auto !important;
  margin:0 auto;
}

/* Mobile order-summary bar */
body.id-thankyou .id-ty-mobile-bar,
body.id-thankyou .elementor-element-a11d0010,
body.elementor-page-85163 .elementor-element-a11d0010{
  display:none !important;
}
body.id-thankyou .id-ty-summary-toggle,
body.id-thankyou button.id-ty-summary-toggle,
body.elementor-page-85163 button.id-ty-summary-toggle{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
  max-width:100% !important;
  gap:12px;
  margin:0 !important;
  padding:14px 16px !important;
  background:#F3F3F3 !important;
  background-color:#F3F3F3 !important;
  border:0 !important;
  border-top:1px solid #E6E6E6 !important;
  border-bottom:1px solid #E6E6E6 !important;
  color:#111 !important;
  font-size:14px !important;
  font-weight:500 !important;
  line-height:1.3 !important;
  text-align:left !important;
  text-transform:none !important;
  letter-spacing:normal !important;
  cursor:pointer;
  box-shadow:none !important;
  border-radius:0 !important;
  min-height:0 !important;
  appearance:none;
  -webkit-appearance:none;
}
body.id-thankyou .id-ty-summary-toggle-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--id-text);
}
body.id-thankyou .id-ty-summary-toggle-total{
  font-weight:700;
  color:var(--id-ink);
  font-size:15px;
  white-space:nowrap;
}
body.id-thankyou .id-ty-chevron{
  display:inline-block;
  width:8px;
  height:8px;
  border-right:2px solid var(--id-text);
  border-bottom:2px solid var(--id-text);
  transform:rotate(45deg);
  margin-top:-4px;
  transition:transform .2s ease;
}
body.id-thankyou.id-ty-summary-open .id-ty-chevron{
  transform:rotate(-135deg);
  margin-top:2px;
}

/* Main two-column body */
body.id-thankyou .id-ty-main,
body.id-thankyou .elementor-element-a11d0100{
  max-width:1120px;
  margin:0 auto;
  width:100%;
}
body.id-thankyou .id-ty-left,
body.id-thankyou .elementor-element-a11d0110{
  padding-top:8px;
}

/* Hero */
body.id-thankyou .id-ty-hero{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin:0 0 24px;
}
body.id-thankyou .id-ty-check{
  flex:0 0 48px;
  line-height:0;
}
body.id-thankyou .id-ty-check svg{
  display:block;
}
body.id-thankyou .id-ty-confirm-no{
  color:var(--id-muted);
  font-size:13px;
  font-weight:500;
  margin:2px 0 4px;
  letter-spacing:.01em;
}
body.id-thankyou .id-ty-heading{
  margin:0;
  color:#000;
  font-size:32px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:-.02em;
}

/* Confirmed card */
body.id-thankyou .id-ty-confirm-card{
  border:1px solid var(--id-line);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  margin:0 0 24px;
}
body.id-thankyou .id-ty-map{
  position:relative;
  height:200px;
  background:#EEEEEA;
  overflow:hidden;
}
body.id-thankyou .id-ty-map-frame{
  display:block;
  width:100%;
  height:200px;
  border:0;
  filter:grayscale(.15);
}
body.id-thankyou .id-ty-map-pill{
  z-index:2;
  position:absolute;
  left:16px;
  bottom:16px;
  background:#fff;
  border:1px solid var(--id-line);
  border-radius:999px;
  padding:8px 14px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  line-height:1.2;
  max-width:calc(100% - 32px);
}
body.id-thankyou .id-ty-map-pill-label{
  font-size:11px;
  color:var(--id-muted);
  font-weight:500;
}
body.id-thankyou .id-ty-map-pill-city{
  font-size:14px;
  font-weight:700;
  color:#000;
}
body.id-thankyou .id-ty-confirm-body{
  padding:20px 22px 22px;
}
body.id-thankyou .id-ty-confirm-title{
  margin:0 0 8px;
  font-size:20px;
  font-weight:700;
  color:#000;
}
body.id-thankyou .id-ty-confirm-copy{
  margin:0;
  color:var(--id-text);
  font-size:15px;
  line-height:1.55;
}
body.id-thankyou .id-ty-next{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--id-line);
}
body.id-thankyou .id-ty-next-title{
  margin:0 0 8px;
  font-size:15px;
  font-weight:700;
  color:#000;
}
body.id-thankyou .id-ty-next-list{
  margin:0;
  padding:0 0 0 18px;
  color:var(--id-text);
  font-size:14px;
  line-height:1.55;
}
body.id-thankyou .id-ty-next-list li{
  margin:0 0 4px;
}

/* Order details (customer widget) card */
body.id-thankyou .id-ty-details,
body.id-thankyou .elementor-element-a11d0113{
  border:1px solid var(--id-line);
  border-radius:8px;
  background:#fff;
  padding:0;
  margin:0 0 24px;
  box-shadow:none;
  overflow:hidden;
}
body.id-thankyou .wfty_customer_info{
  border:0 !important;
  border-radius:0 !important;
  background:transparent;
  padding:22px 22px 8px !important;
  margin:0 !important;
  box-shadow:none;
}
body.id-thankyou .wfty_customer_info .wfty-customer-info-heading,
body.id-thankyou .wfty_customer_info .wfty_title{
  margin:0 0 16px;
  padding:0;
  font-size:20px;
  font-weight:700;
  color:#000;
  border:0;
}
body.id-thankyou .wfty_customer_info .wfty_content,
body.id-thankyou .wfty_customer_info .wfty_full_width{
  display:flex !important;
  flex-direction:column !important;
  gap:0;
  float:none !important;
  width:100% !important;
}
body.id-thankyou .wfty_customer_info .wfty_2_col_left,
body.id-thankyou .wfty_customer_info .wfty_2_col_right,
body.id-thankyou .wfty_customer_info .id-ty-detail-block{
  float:none !important;
  width:100% !important;
  max-width:100% !important;
  padding:14px 0 !important;
  margin:0 !important;
  border-top:1px solid var(--id-line);
  box-sizing:border-box;
}
body.id-thankyou .wfty_customer_info .wfty_clear_15,
body.id-thankyou .wfty_customer_info .wfty_clear{
  display:none;
}
body.id-thankyou .wfty_customer_info .wfty_text_bold,
body.id-thankyou .wfty_customer_info .wfty_text_bold strong{
  display:block;
  font-size:15px;
  font-weight:700;
  color:#000;
  margin:0 0 4px;
}
body.id-thankyou .wfty_customer_info .wfty_view{
  color:var(--id-text);
  font-size:14px;
  line-height:1.55;
}
body.id-thankyou .id-ty-pay-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
body.id-thankyou .id-ty-pay-icon{
  width:32px;
  height:22px;
  border-radius:4px;
  border:1px solid var(--id-line);
  background:linear-gradient(180deg,#fff 0%,#F3F3F3 100%);
  position:relative;
  flex:0 0 32px;
}
body.id-thankyou .id-ty-pay-icon:before{
  content:"";
  position:absolute;
  left:4px;
  right:14px;
  top:6px;
  height:3px;
  border-radius:1px;
  background:#D20404;
}
body.id-thankyou .id-ty-pay-amount{
  color:var(--id-ink);
  font-weight:600;
}
/* Keep FunnelKit tracking/upsell hook output hidden, as FunnelKit does */
body.id-thankyou .wffn_wfty_wc_thankyou{
  display:none !important;
}

/* Continue shopping — match checkout CTA */
body.id-thankyou .id-ty-continue-wrap,
body.id-thankyou .elementor-element-a11d0114,
body.id-thankyou .id-ty-continue-wrap .elementor-button-wrapper{
  width:100%;
}
body.id-thankyou .id-ty-continue-wrap .elementor-button,
body.id-thankyou a.elementor-button,
body.id-thankyou .elementor-element-a11d0114 a.elementor-button,
body.elementor-page-85163 .elementor-element-a11d0114 .elementor-button,
body.id-thankyou .elementor-element-a11d0114 .elementor-button{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:100% !important;
  box-sizing:border-box;
  background:#D20404 !important;
  background-color:#D20404 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:8px !important;
  padding:15px 28px !important;
  font-weight:700 !important;
  font-size:20px !important;
  line-height:30px !important;
  font-style:normal !important;
  letter-spacing:normal !important;
  text-transform:none !important;
  text-decoration:none !important;
  box-shadow:none !important;
  min-height:60px;
}
body.id-thankyou .id-ty-continue-wrap .elementor-button:hover,
body.id-thankyou .id-ty-continue-wrap .elementor-button:focus,
body.id-thankyou .elementor-element-a11d0114 .elementor-button:hover,
body.id-thankyou .elementor-element-a11d0114 .elementor-button:focus{
  background:#7A0A0A !important;
  background-color:#7A0A0A !important;
  color:#fff !important;
}

/* Help */
body.id-thankyou .id-ty-help{
  margin:18px 0 0;
  text-align:center;
  font-size:14px;
  color:var(--id-text);
}
body.id-thankyou .id-ty-help a{
  color:#111 !important;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:2px;
}
body.id-thankyou .id-ty-help a:hover{
  color:var(--id-red);
}

/* Right-column order summary */
body.id-thankyou .id-ty-summary,
body.id-thankyou .elementor-element-a11d0120,
body.id-thankyou .wfty_order_details{
  background:var(--id-soft);
  border:1px solid var(--id-line);
  border-radius:8px;
  padding:22px;
}
body.id-thankyou .wfty_order_details .wfty-order-details-heading,
body.id-thankyou .wfty_order_details .wfty_title{
  margin:0 0 18px;
  padding:0;
  font-size:18px;
  font-weight:700;
  color:#000;
  border:0;
}
body.id-thankyou .wfty_pro_list{
  display:flex !important;
  align-items:flex-start;
  flex-wrap:nowrap !important;
  gap:12px;
  padding:0 0 14px;
  margin:0 0 14px;
  border-bottom:1px solid var(--id-line);
  position:relative;
}
body.id-thankyou .wfty_pro_list .wfty-hr,
body.id-thankyou .wfty_pro_list hr{
  display:none;
}
body.id-thankyou .wfty_leftDiv{
  display:flex !important;
  align-items:flex-start;
  gap:12px;
  flex:1 1 auto !important;
  min-width:0;
  float:none !important;
  width:auto !important;
}
body.id-thankyou .wfty_rightDiv{
  float:none !important;
  width:auto !important;
  flex:0 0 auto !important;
  font-weight:600;
  color:var(--id-ink);
  font-size:14px;
  white-space:nowrap;
  margin-left:auto;
  padding-top:2px;
}
body.id-thankyou .wfty_p_img{
  position:relative;
  flex:0 0 64px;
  width:64px;
  height:64px;
}
body.id-thankyou .wfty_p_img img,
body.id-thankyou .wfty_p_img a img{
  width:64px !important;
  height:64px !important;
  object-fit:cover;
  border-radius:8px;
  border:1px solid var(--id-line);
  background:#fff;
  display:block;
}
body.id-thankyou .wfty_p_name{
  min-width:0;
  flex:1 1 auto;
}
body.id-thankyou .wfty_p_name .wfty_t,
body.id-thankyou .wfty_p_name a{
  color:var(--id-ink);
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  display:block;
  line-height:1.35;
}
body.id-thankyou .wfty_quantity_value_box{
  position:absolute;
  top:-7px;
  right:-7px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 5px;
  background:#4A4A4A;
  color:#fff !important;
  border-radius:999px;
  border:2px solid #fff;
  font-size:11px;
  font-weight:700;
  line-height:1;
  z-index:1;
}
body.id-thankyou .wfty_quantity_value_box .multiply{
  display:none;
}
body.id-thankyou .wfty_pro_list_cont table{
  width:100%;
  border:0;
  margin:4px 0 0;
  background:transparent;
}
body.id-thankyou .wfty_pro_list_cont table th,
body.id-thankyou .wfty_pro_list_cont table td{
  border:0;
  padding:8px 0;
  font-size:14px;
  font-weight:400;
  color:var(--id-text);
  background:transparent;
}
body.id-thankyou .wfty_pro_list_cont table th{
  text-align:left;
  font-weight:400;
}
body.id-thankyou .wfty_pro_list_cont table td{
  text-align:right;
  color:var(--id-ink);
}
body.id-thankyou .wfty_pro_list_cont table tr:last-child th,
body.id-thankyou .wfty_pro_list_cont table tr:last-child td{
  font-weight:700;
  color:#000;
  font-size:16px;
  padding-top:12px;
  border-top:1px solid var(--id-line);
}
body.id-thankyou .wfty_order_details a{
  color:var(--id-ink);
}

/* Footer policy links — match checkout */
body.id-thankyou .id-ty-footer,
body.id-thankyou .elementor-element-a11d0200{
  text-align:center;
}
body.id-thankyou .id-ty-footer .elementor-icon-list-items,
body.id-thankyou .elementor-element-a11d0201 .elementor-icon-list-items{
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 20px;
}
body.id-thankyou .id-ty-footer .elementor-icon-list-text,
body.id-thankyou .elementor-element-a11d0201 .elementor-icon-list-text,
body.id-thankyou .id-ty-footer a,
body.id-thankyou .elementor-element-a11d0201 a{
  color:var(--id-muted) !important;
  font-size:13px;
  font-weight:500;
  text-decoration:none;
}
body.id-thankyou .id-ty-footer a:hover,
body.id-thankyou .elementor-element-a11d0201 a:hover{
  color:var(--id-ink) !important;
}

/* Failed-pay fallback, if it appears */
body.id-thankyou .wfty_n_btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#D20404 !important;
  color:#fff !important;
  border-radius:8px !important;
  padding:10px 18px !important;
  font-weight:700 !important;
  text-decoration:none !important;
}

@media (max-width:1024px){
  body.id-thankyou .id-ty-logo img,
  body.id-thankyou .elementor-element-a11d0002 img{
    width:170px !important;
    max-width:170px;
  }
  body.id-thankyou .id-ty-mobile-bar,
  body.id-thankyou .elementor-element-a11d0010,
  body.elementor-page-85163 .elementor-element-a11d0010{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }
  body.id-thankyou .id-ty-main,
  body.id-thankyou .elementor-element-a11d0100,
  body.elementor-page-85163 .elementor-element-a11d0100{
    flex-direction:column !important;
    flex-wrap:wrap !important;
  }
  body.id-thankyou .id-ty-left,
  body.id-thankyou .elementor-element-a11d0110,
  body.id-thankyou .id-ty-summary,
  body.id-thankyou .elementor-element-a11d0120,
  body.elementor-page-85163 .elementor-element-a11d0110,
  body.elementor-page-85163 .elementor-element-a11d0120{
    width:100% !important;
    max-width:100% !important;
  }
  body.id-thankyou .id-ty-summary,
  body.id-thankyou .elementor-element-a11d0120,
  body.elementor-page-85163 .elementor-element-a11d0120{
    order:-1;
    display:none !important;
    border-radius:0;
    border-left:0;
    border-right:0;
    border-top:0;
  }
  body.id-thankyou.id-ty-summary-open .id-ty-summary,
  body.id-thankyou.id-ty-summary-open .elementor-element-a11d0120,
  body.elementor-page-85163.id-ty-summary-open .elementor-element-a11d0120{
    display:block !important;
  }
  body.id-thankyou.id-ty-summary-open .wfty_order_details .wfty-order-details-heading,
  body.id-thankyou.id-ty-summary-open .wfty_order_details .wfty_title{
    display:none;
  }
  body.id-thankyou .id-ty-heading{
    font-size:26px;
  }
  body.id-thankyou .id-ty-continue-wrap .elementor-button,
  body.id-thankyou .elementor-element-a11d0114 .elementor-button{
    font-size:18px !important;
    line-height:27px !important;
    min-height:57px;
  }
  body.id-thankyou .id-ty-help{
    margin-top:16px;
  }
}
