/* CardioFit Elementor Widget - Exact replica styles */
.cfew-wrapper {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #475569;
  line-height: 1.6;
}
.cfew-main {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}
.cfew-hero-wrapper {
  background-color: #EFFFFF;
  max-width: 1024px;
  margin: 32px auto;
  border-radius: 16px;
  padding: 32px 24px 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
@media (min-width:768px){
  .cfew-hero-wrapper{padding:40px;}
}
.cfew-hero-quote {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 800px;
}
@media (min-width:768px){.cfew-hero-quote{font-size:22px;}}
.cfew-hero-btn, .cfew-scroll-btn {
  background-color: #ffc107;
  color: #0f172a;
  font-weight: 800;
  font-size: 20px;
  padding: 14px 36px;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 40px;
  text-decoration: none;
  transition: all .2s;
  animation: cfew-bounce 2s infinite;
  border: none;
  cursor: pointer;
}
@media (min-width:768px){.cfew-hero-btn{font-size:24px; padding:16px 40px;}}
.cfew-hero-btn:hover {
  background-color: #ffb300;
  transform: scale(1.05);
  color: #0f172a;
  text-decoration: none;
}
@keyframes cfew-bounce {
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-4px);}
}
.cfew-icon-cart{width:24px;height:24px;}
@media (min-width:768px){.cfew-icon-cart{width:28px;height:28px;}}

.cfew-doctor-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
@media (min-width:768px){
  .cfew-doctor-card{
    flex-direction: row;
    padding: 32px;
    gap: 40px;
    align-items: center;
  }
}
.cfew-doctor-img-wrap {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width:768px){.cfew-doctor-img-wrap{width:41.6667%;}}
.cfew-doctor-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.cfew-placeholder-img{
  background:#f1f5f9;
  height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  color:#94a3b8;
}
.cfew-doctor-content{flex:1;}
.cfew-doctor-name {
  font-size: 20px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 16px;
}
@media (min-width:768px){.cfew-doctor-name{font-size:22px;}}
.cfew-doctor-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
}
@media (min-width:768px){.cfew-doctor-desc{font-size:17px;}}

.cfew-offer-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
  padding: 0 16px;
}
.cfew-offer-heading{
  font-size:20px;
  font-weight:700;
  color:#0f172a;
  margin-bottom:16px;
}
@media (min-width:768px){.cfew-offer-heading{font-size:24px;}}
.cfew-offer-prices{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  font-size:22px;
  font-weight:700;
  margin-bottom:32px;
}
@media (min-width:768px){.cfew-offer-prices{font-size:26px;}}
.cfew-offer-old{color:#ef4444;text-decoration:line-through;}
.cfew-offer-new{color:#16a34a;}

.cfew-checkout-section{
  padding: 0 16px;
  margin-bottom: 64px;
}
.cfew-checkout{
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  border: 2px solid #334155;
  overflow: hidden;
  font-family: inherit;
}
.cfew-checkout-inner{
  display:flex;
  flex-direction:column;
}
@media (min-width:768px){
  .cfew-checkout-inner{flex-direction:row;}
}
.cfew-checkout-left{
  width:100%;
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}
@media (min-width:768px){
  .cfew-checkout-left{
    width:41.6667%;
    padding:32px;
  }
}
.cfew-product-img{
  max-width:140px;
  width:100%;
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
}
@media (min-width:640px){.cfew-product-img{max-width:160px;}}
@media (min-width:768px){.cfew-product-img{max-width:180px;}}
.cfew-checkout-right{
  width:100%;
  padding:24px;
  display:flex;
  flex-direction:column;
}
@media (min-width:768px){
  .cfew-checkout-right{
    width:58.333%;
    padding:32px;
    border-left:1px solid #e2e8f0;
  }
}
.cfew-free-banner{
  background:#10B981;
  color:#fff;
  text-align:center;
  padding:10px 16px;
  border-radius:6px;
  margin-bottom:24px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:14px;
}
.cfew-price-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px;
}
.cfew-price-col{width:50%;}
.cfew-price-old-col{text-align:left; border-right:1px solid #e2e8f0; padding-right:16px;}
.cfew-price-new-col{text-align:right; padding-left:16px;}
.cfew-price-label{font-size:15px; font-weight:700; color:#1e293b; margin-bottom:4px;}
.cfew-price-old-big{font-size:24px; font-weight:700; color:#ef4444; text-decoration:line-through;}
.cfew-price-new-big{font-size:30px; font-weight:800; color:#10B981;}

.cfew-qty-section{margin-bottom:24px; display:flex; flex-direction:column; align-items:center;}
.cfew-qty-label{font-size:13px; font-weight:600; color:#475569; margin-bottom:8px;}
.cfew-qty-controls{display:flex; align-items:center; gap:12px;}
.cfew-qty-btn{
  width:40px; height:40px;
  border-radius:9999px;
  background:#f1f5f9;
  display:flex; align-items:center; justify-content:center;
  border:1px solid #e2e8f0;
  color:#475569;
  cursor:pointer;
  transition: all .15s;
}
.cfew-qty-btn:hover{background:#e2e8f0;}
.cfew-qty-btn:active{transform:scale(.95);}
.cfew-qty-plus-active{background:#2563eb; color:#fff; border-color:#2563eb; box-shadow:0 4px 6px -1px rgba(0,0,0,0.1);}
.cfew-qty-plus-active:hover{background:#1d4ed8;}
.cfew-qty-display-wrap{display:flex; flex-direction:column; align-items:center;}
.cfew-qty-number{
  width:64px; height:40px;
  border:1px solid #cbd5e1;
  border-radius:6px;
  display:flex; align-items:center; justify-content:center;
  background:#fff;
  box-shadow:inset 0 2px 4px rgba(0,0,0,0.05);
  font-size:18px; font-weight:700; color:#1e293b;
}
.cfew-qty-packet-label{font-size:10px; color:#94a3b8; margin-top:2px;}

.cfew-special-box{
  background:#EBF5FF;
  color:#1e40af;
  border:2px solid #dbeafe;
  border-radius:8px;
  padding:10px 16px;
  text-align:center;
  font-weight:700;
  font-size:15px;
  display:flex; align-items:center; justify-content:center; gap:8px;
  margin-bottom:24px;
}
.cfew-summary{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:8px;
  padding:16px;
  margin-bottom:24px;
}
.cfew-summary-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:14px;
  margin-bottom:8px;
}
.cfew-summary-label{color:#475569; font-weight:500;}
.cfew-summary-value{color:#1e293b; font-weight:700;}
.cfew-free-text{color:#10B981; font-weight:700;}
.cfew-delivery-note{font-size:11px; font-weight:400; color:#64748b;}
.cfew-summary-total-row{
  border-top:1px solid #cbd5e1;
  margin-top:8px;
  padding-top:8px;
  font-size:18px;
}
.cfew-total-label{font-weight:700; color:#1e293b;}
.cfew-summary-total{color:#10B981; font-weight:800; font-size:18px;}

.cfew-form{margin:0; display:flex; flex-direction:column; gap:16px;}
.cfew-form-group{width:100%;}
.cfew-input{
  width:100%;
  height:48px;
  padding:0 16px;
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:8px;
  font-size:14px;
  color:#1e293b;
  outline:none;
  box-sizing:border-box;
}
.cfew-input::placeholder{color:#94a3b8;}
.cfew-input:focus{
  border-color:#10B981;
  box-shadow:0 0 0 2px rgba(16,185,129,0.2);
}
.cfew-order-btn{
  width:100%;
  height:56px;
  background:#15803d;
  color:#fff;
  font-weight:800;
  font-size:18px;
  border-radius:8px;
  box-shadow:0 4px 6px -1px rgba(0,0,0,0.1);
  transition:all .2s;
  border:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:8px;
}
.cfew-order-btn:hover{background:#166534;}
.cfew-order-btn:active{transform:scale(.98);}

.cfew-trust{
  margin-top:16px;
  text-align:center;
  font-size:12px;
  color:#10B981;
  font-weight:500;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:4px;
}
.cfew-trust-sep{color:#cbd5e1; margin:0 2px;}

.cfew-article{
  max-width:900px;
  margin:0 auto;
  padding:32px 16px 32px;
  color:#475569;
  font-size:16px;
  line-height:1.8;
  font-weight:500;
}
@media (min-width:768px){.cfew-article{font-size:18px;}}
.cfew-article-heading{
  font-size:22px;
  font-weight:700;
  color:#1e293b;
  text-align:center;
  margin-bottom:40px;
  line-height:1.4;
}
@media (min-width:768px){.cfew-article-heading{font-size:28px;}}
.cfew-article-body p{margin-bottom:16px; text-align:justify;}
.cfew-blocks{margin-top:24px; display:flex; flex-direction:column; gap:32px;}
.cfew-block-heading{
  font-size:20px;
  font-weight:700;
  color:#1e293b;
  text-align:center;
  margin-bottom:24px;
}
@media (min-width:768px){.cfew-block-heading{font-size:24px;}}
.cfew-block-paragraph{line-height:1.8; text-align:justify;}
.cfew-block-image-wrap{text-align:center; margin:16px 0;}
.cfew-block-image{max-width:100%; height:auto; border-radius:8px; box-shadow:0 1px 3px rgba(0,0,0,0.1);}
.cfew-highlight-box{
  background:#fff;
  border-radius:12px;
  padding:24px;
  box-shadow:0 1px 2px rgba(0,0,0,0.05);
  font-size:16px;
  line-height:1.8;
  text-align:justify;
}
@media (min-width:768px){.cfew-highlight-box{padding:40px; font-size:17px;}}
.cfew-blue-box{
  background:#F4F9FF;
  border:1px solid #DCEBFF;
  border-radius:12px;
  padding:32px;
  box-shadow:0 1px 2px rgba(0,0,0,0.05);
  text-align:center;
}
.cfew-green-box{
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  border-radius:12px;
  padding:24px;
}

.cfew-comments-section{
  max-width:900px;
  margin:40px auto;
  padding:0 16px;
}
.cfew-comments-title{font-size:20px; font-weight:700; margin-bottom:16px; color:#1e293b;}
.cfew-comments-list{display:flex; flex-direction:column; gap:16px;}
.cfew-comment{display:flex; gap:10px;}
.cfew-comment-avatar{width:40px; height:40px; flex-shrink:0; border-radius:9999px; overflow:hidden; background:#e2e8f0; border:1px solid #e2e8f0;}
.cfew-comment-avatar img{width:100%; height:100%; object-fit:cover;}
.cfew-avatar-placeholder{width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:#cbd5e1; color:#475569; font-weight:700;}
.cfew-comment-body{flex:1;}
.cfew-comment-bubble{
  background:#f0f2f5;
  border-radius:16px;
  padding:10px 14px;
  display:inline-block;
  font-size:14px;
  color:#050505;
}
@media (min-width:768px){.cfew-comment-bubble{font-size:15px;}}
.cfew-comment-name{font-weight:700; color:#385898; margin-bottom:2px; cursor:pointer;}
.cfew-comment-name:hover{text-decoration:underline;}
.cfew-comment-meta{
  display:flex; gap:16px;
  font-size:12px;
  font-weight:700;
  color:#65676B;
  margin-top:6px;
  margin-left:8px;
}
.cfew-meta-time{font-weight:400; color:#64748b;}
.cfew-comment-likes{font-weight:400; display:flex; align-items:center; margin-left:8px;}

.cfew-footer{
  background:#1e293b;
  color:#94a3b8;
  padding:32px 16px;
  text-align:center;
  margin-top:64px;
}
.cfew-footer-disclaimer{font-size:14px; font-weight:500; margin-bottom:12px;}
.cfew-footer-copyright{font-size:14px; font-weight:700; opacity:0.7;}

.cfew-floating{
  position:fixed;
  bottom:24px;
  right:24px;
  z-index:100;
  border-radius:9999px;
  box-shadow:0 8px 30px rgba(220,38,38,0.4);
  border:2px solid rgba(255,255,255,0.2);
  transition:all .3s;
  display:flex;
}
.cfew-floating:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 40px rgba(220,38,38,0.5);
}
.cfew-floating-link{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  padding:14px 20px 14px 16px;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
}
@media (min-width:640px){.cfew-floating-link{font-size:16px;}}
.cfew-floating-link:hover{color:#fff; text-decoration:none;}
.cfew-floating-icon{
  width:32px; height:32px;
  background:rgba(255,255,255,0.2);
  border-radius:9999px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* New Widgets Extra Styles */
.cfew-bounce{animation: cfew-bounce 2s infinite;}
.cfew-product-placeholder{width:120px;height:150px;background:#f1f5f9;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:12px;text-align:center;}
.cfew-infobox{margin:16px auto;max-width:900px;box-sizing:border-box;}
.cfew-infobox-custom{border-style:solid;}
.cfew-infobox-title{font-size:20px;font-weight:700;margin-bottom:12px;color:#1e293b;text-align:center;}
@media(min-width:768px){.cfew-infobox-title{font-size:22px;}}
.cfew-infobox-content p{margin-bottom:10px;}
.cfew-infobox-content{line-height:1.8;}

.cfew-floating-fixed{
  position:fixed;
  bottom:24px;
  right:24px;
  z-index:999;
  border-radius:9999px;
  box-shadow:0 8px 30px rgba(220,38,38,0.4);
  border:2px solid rgba(255,255,255,0.2);
  display:flex;
}
.cfew-floating-inline{
  position:relative;
  display:inline-flex;
  border-radius:9999px;
  box-shadow:0 8px 30px rgba(220,38,38,0.4);
  border:2px solid rgba(255,255,255,0.2);
}
.cfew-floating-fixed:hover, .cfew-floating-inline:hover{transform:translateY(-2px);}
.cfew-hero-wrapper:empty{display:none;}

/* For individual widgets wrapper spacing */
.cfew-wrapper .cfew-hero-wrapper{margin:16px auto;max-width:100%;}
.cfew-wrapper .cfew-offer-section{margin:16px auto;}
.cfew-wrapper .cfew-checkout-section{margin-bottom:24px;}
.cfew-wrapper .cfew-article{padding:16px;}
.cfew-wrapper .cfew-comments-section{margin:16px auto;}
.cfew-wrapper .cfew-footer{margin-top:16px;}

/* Elementor editor tweaks */
.elementor-editor-active .cfew-floating,
.elementor-editor-active .cfew-floating-fixed{
  position:relative;
  bottom:auto;
  right:auto;
  margin-top:20px;
  display:inline-flex;
}
.elementor-editor-active .cfew-wrapper{overflow:visible;}
