/* Bridge Elements — free widgets built into Elementor Bridge */

.ewb-widget-root { box-sizing: border-box; }
.ewb-btn { display: inline-block; padding: 12px 24px; border-radius: 4px; text-decoration: none; font-weight: 600; transition: opacity .2s; }
.ewb-btn-primary { background: #2563eb; color: #fff; border: 2px solid #2563eb; }
.ewb-btn-outline { background: transparent; color: #2563eb; border: 2px solid #2563eb; margin-right: 8px; }
.ewb-btn:hover { opacity: .88; color: inherit; }

/* Advanced Heading */
.ewb-advanced-heading .ewb-ah-subtitle { display: block; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin-bottom: .5rem; }
.ewb-advanced-heading .ewb-ah-title { margin: 0 0 .75rem; line-height: 1.2; }
.ewb-advanced-heading .ewb-ah-divider { display: block; width: 60px; height: 3px; background: currentColor; opacity: .35; margin: .75rem auto .75rem 0; }
.ewb-advanced-heading[style*="text-align: center"] .ewb-ah-divider,
.text-center .ewb-advanced-heading .ewb-ah-divider { margin-left: auto; margin-right: auto; }
.ewb-advanced-heading .ewb-ah-desc { margin: 0; opacity: .85; }

/* Icon Box */
.ewb-icon-box { display: block; text-decoration: none; color: inherit; }
.ewb-icon-box .ewb-ib-icon { font-size: 2.5rem; line-height: 1; margin-bottom: 1rem; display: inline-block; color: #2563eb; }
.ewb-icon-box .ewb-ib-title { margin: 0 0 .5rem; font-size: 1.25rem; }
.ewb-icon-box .ewb-ib-text { margin: 0; opacity: .85; }

/* Image Box */
.ewb-image-box { overflow: hidden; }
.ewb-image-box .ewb-img-wrap img { width: 100%; height: auto; display: block; }
.ewb-image-box .ewb-img-content { padding: 1rem 0 0; }
.ewb-image-box .ewb-img-title { margin: 0 0 .5rem; }
.ewb-image-box .ewb-img-link { display: inline-block; margin-top: .75rem; font-weight: 600; }

/* Counter */
.ewb-counter .ewb-counter-num { display: block; font-size: 2.5rem; font-weight: 700; line-height: 1.1; color: #2563eb; }
.ewb-counter .ewb-counter-title { display: block; margin-top: .5rem; opacity: .8; }

/* Progress */
.ewb-progress-head { display: flex; justify-content: space-between; margin-bottom: .5rem; font-weight: 600; }
.ewb-progress-track { height: 8px; background: rgba(0,0,0,.08); border-radius: 999px; overflow: hidden; }
.ewb-progress-fill { height: 100%; background: #2563eb; border-radius: 999px; transition: width .6s ease; }

/* Accordion */
.ewb-acc-item { border-bottom: 1px solid rgba(0,0,0,.1); }
.ewb-acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; background: none; border: 0; cursor: pointer; font: inherit; text-align: left; }
.ewb-acc-body .ewb-acc-inner { padding: 0 0 1rem; }
.ewb-acc-icon { font-size: 1.25rem; opacity: .6; }

/* Tabs */
.ewb-tabs-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(0,0,0,.1); }
.ewb-tab-btn { background: none; border: 0; padding: .75rem 1rem; cursor: pointer; font: inherit; opacity: .65; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ewb-tab-btn.is-active { opacity: 1; border-bottom-color: #2563eb; color: #2563eb; font-weight: 600; }

/* Testimonial */
.ewb-testimonial .ewb-stars { color: #f59e0b; margin-bottom: .75rem; }
.ewb-testimonial .ewb-test-text { margin: 0 0 1rem; font-style: italic; font-size: 1.05rem; }
.ewb-testimonial .ewb-test-meta { display: flex; align-items: center; gap: .75rem; }
.ewb-testimonial .ewb-test-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ewb-testimonial .ewb-test-meta span { display: block; opacity: .75; font-size: .875rem; }

/* Pricing */
.ewb-pricing { text-align: center; padding: 2rem 1.5rem; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; }
.ewb-pricing.is-featured { border-color: #2563eb; box-shadow: 0 8px 24px rgba(37,99,235,.15); }
.ewb-pricing .ewb-pr-title { margin: 0 0 1rem; }
.ewb-pricing .ewb-pr-price { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; }
.ewb-pricing .ewb-pr-price small { font-size: .875rem; font-weight: 400; opacity: .7; }
.ewb-pricing .ewb-pr-features { list-style: none; margin: 0 0 1.5rem; padding: 0; text-align: left; }
.ewb-pricing .ewb-pr-features li { padding: .35rem 0; border-bottom: 1px solid rgba(0,0,0,.05); }
.ewb-pricing .ewb-pr-features li::before { content: "✓ "; color: #16a34a; }

/* CTA */
.ewb-cta h3 { margin: 0 0 .75rem; }
.ewb-cta p { margin: 0 0 1.25rem; opacity: .85; }

/* Alert */
.ewb-alert { position: relative; padding: 1rem 1.25rem; border-radius: 6px; border-left: 4px solid; }
.ewb-alert-info { background: #eff6ff; border-color: #2563eb; }
.ewb-alert-success { background: #f0fdf4; border-color: #16a34a; }
.ewb-alert-warning { background: #fffbeb; border-color: #d97706; }
.ewb-alert-danger { background: #fef2f2; border-color: #dc2626; }
.ewb-alert-title { display: block; margin-bottom: .35rem; }
.ewb-alert p { margin: 0; }
.ewb-alert-close { position: absolute; top: .5rem; right: .75rem; background: none; border: 0; font-size: 1.25rem; cursor: pointer; opacity: .5; }

/* Blockquote */
.ewb-blockquote { margin: 0; padding: 1.5rem; border-left: 4px solid #2563eb; background: rgba(37,99,235,.05); }
.ewb-blockquote p { margin: 0 0 .75rem; font-size: 1.125rem; font-style: italic; }
.ewb-blockquote cite { font-style: normal; opacity: .7; font-size: .875rem; }

/* Team */
.ewb-team .ewb-team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.ewb-team .ewb-team-name { margin: 0 0 .25rem; }
.ewb-team .ewb-team-role { display: block; opacity: .7; margin-bottom: .75rem; }

/* Social */
.ewb-socials { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: inherit; }
.ewb-social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.06); color: inherit; text-decoration: none; font-size: 1.125rem; transition: background .2s; }
.ewb-social-link:hover { background: #2563eb; color: #fff; }

/* Divider */
.ewb-divider-text { display: flex; align-items: center; gap: 1rem; }
.ewb-divider-text .ewb-div-line { flex: 1; height: 1px; background: rgba(0,0,0,.15); }
.ewb-divider-text .ewb-div-label { opacity: .65; font-size: .875rem; white-space: nowrap; }

/* Icon List */
.ewb-icon-list { list-style: none; margin: 0; padding: 0; }
.ewb-icon-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .4rem 0; }
.ewb-icon-list .ewb-il-icon { color: #2563eb; margin-top: .15rem; }

/* Dual buttons */
.ewb-dual-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: inherit; }

/* Flip box */
.ewb-flip-box { perspective: 1000px; min-height: 220px; }
.ewb-flip-inner { position: relative; width: 100%; height: 100%; min-height: 220px; transition: transform .6s; transform-style: preserve-3d; }
.ewb-flip-box:hover .ewb-flip-inner { transform: rotateY(180deg); }
.ewb-flip-front, .ewb-flip-back { position: absolute; inset: 0; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; border-radius: 8px; }
.ewb-flip-front { background: #2563eb; color: #fff; }
.ewb-flip-front h3 { margin: .75rem 0 0; color: inherit; }
.ewb-flip-back { transform: rotateY(180deg); background: #1e293b; color: #fff; }

/* Badge */
.ewb-badge { display: inline-block; padding: .25rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ewb-badge-primary { background: #2563eb; color: #fff; }
.ewb-badge-success { background: #16a34a; color: #fff; }
.ewb-badge-warning { background: #d97706; color: #fff; }
.ewb-badge-dark { background: #1e293b; color: #fff; }

/* Info box */
.ewb-info-box { display: flex; gap: 1rem; align-items: flex-start; }
.ewb-info-top { flex-direction: column; }
.ewb-info-icon { font-size: 2rem; color: #2563eb; flex-shrink: 0; }
.ewb-info-content h3 { margin: 0 0 .5rem; }

/* === Bridge WooCommerce === */
.ewb-product-grid .products { margin: 0; padding: 0; }
.ewb-no-products { opacity: .7; }

.ewb-cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ewb-cols-2 .ewb-cat-grid { grid-template-columns: repeat(2, 1fr); }
.ewb-cols-3 .ewb-cat-grid { grid-template-columns: repeat(3, 1fr); }
.ewb-cols-4 .ewb-cat-grid { grid-template-columns: repeat(4, 1fr); }
.ewb-cols-6 .ewb-cat-grid { grid-template-columns: repeat(6, 1fr); }
.ewb-cat-item a { display: block; text-decoration: none; color: inherit; text-align: center; padding: 1rem; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; transition: box-shadow .2s; }
.ewb-cat-item a:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.ewb-cat-img { width: 100%; height: auto; border-radius: 6px; margin-bottom: .5rem; }
.ewb-cat-count { display: block; font-size: .8rem; opacity: .65; }

.ewb-product-carousel .ewb-carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.ewb-carousel-slide { flex: 0 0 220px; scroll-snap-align: start; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; overflow: hidden; }
.ewb-carousel-slide a { display: block; text-decoration: none; color: inherit; padding: .75rem; }
.ewb-carousel-slide img { width: 100%; height: auto; }
.ewb-carousel-title { margin: .5rem 0 .25rem; font-size: .95rem; }
.ewb-carousel-price { font-weight: 600; color: #2563eb; }

.ewb-add-to-cart .ewb-atc-image img { max-width: 200px; height: auto; margin-bottom: .75rem; }
.ewb-add-to-cart .ewb-atc-title { margin: 0 0 .5rem; }
.ewb-add-to-cart .ewb-atc-price { margin-bottom: 1rem; font-size: 1.25rem; font-weight: 700; }

.ewb-search-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.ewb-search-form input[type="search"] { flex: 1; min-width: 180px; padding: .65rem .85rem; border: 1px solid rgba(0,0,0,.15); border-radius: 4px; }

.ewb-cart-link-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .65rem 1rem; background: #2563eb; color: #fff; text-decoration: none; border-radius: 4px; font-weight: 600; }
.ewb-cart-count { opacity: .85; }
