/* BOT Reviews Slider v1.6.3 */

.bot-reviews-widget {
    --bot-bg: #f0f4f2;
    --bot-card-bg: #ffffff;
    --bot-text: #2d2d2d;
    --bot-text-light: #6b7280;
    --bot-border: #e2e5e3;
    --bot-radius: 12px;
    --bot-shadow: 0 1px 3px rgba(0,0,0,0.06);
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif !important;
    background: var(--bot-bg) !important;
    border-radius: var(--bot-radius) !important;
    padding: 24px !important;
    max-width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* THEME RESETS – prevent Divi/WooCommerce/theme from breaking avatars */
.bot-reviews-widget img{max-width:none !important;height:auto !important;vertical-align:middle !important}
.bot-reviews-widget .bot-rev-avatar img{height:40px !important;width:40px !important}
.bot-reviews-widget .bot-rev-card-header{position:relative !important;overflow:visible !important}
/* Divi-specific resets */
.et-db #et-boc .bot-reviews-widget .bot-rev-card-header,
.et_pb_module .bot-reviews-widget .bot-rev-card-header,
#et-boc .bot-reviews-widget .bot-rev-card-header{display:flex !important;align-items:center !important;gap:10px !important;flex-wrap:nowrap !important}
.et-db #et-boc .bot-reviews-widget .bot-rev-avatar,
.et_pb_module .bot-reviews-widget .bot-rev-avatar,
#et-boc .bot-reviews-widget .bot-rev-avatar{width:40px !important;height:40px !important;min-width:40px !important;max-width:40px !important;min-height:40px !important;max-height:40px !important;border-radius:50% !important;flex-shrink:0 !important;overflow:hidden !important;display:flex !important;align-items:center !important;justify-content:center !important;position:relative !important;float:none !important;margin:0 !important;padding:0 !important}
.et-db #et-boc .bot-reviews-widget .bot-rev-avatar img,
.et_pb_module .bot-reviews-widget .bot-rev-avatar img,
#et-boc .bot-reviews-widget .bot-rev-avatar img{width:40px !important;height:40px !important;min-width:40px !important;max-width:40px !important;min-height:40px !important;max-height:40px !important;object-fit:cover !important;border-radius:50% !important;display:block !important;margin:0 !important;padding:0 !important;float:none !important;position:static !important;box-shadow:none !important;border:none !important}
.et-db #et-boc .bot-reviews-widget .bot-rev-meta,
.et_pb_module .bot-reviews-widget .bot-rev-meta,
#et-boc .bot-reviews-widget .bot-rev-meta{flex:1 !important;min-width:0 !important;overflow:hidden !important}
.et-db #et-boc .bot-reviews-widget .bot-rev-source-icon,
.et_pb_module .bot-reviews-widget .bot-rev-source-icon,
#et-boc .bot-reviews-widget .bot-rev-source-icon{flex-shrink:0 !important;margin-left:auto !important}

/* TABS */
.bot-reviews-widget .bot-rev-tabs{display:flex !important;gap:0 !important;margin-bottom:18px !important;border-bottom:2px solid var(--bot-border) !important;padding:0 !important;background:none !important;flex-wrap:wrap !important}
.bot-reviews-widget .bot-rev-tab{background:transparent !important;background-color:transparent !important;border:none !important;border-bottom:2px solid transparent !important;border-radius:0 !important;font-size:14px !important;font-weight:500 !important;color:var(--bot-text-light) !important;cursor:pointer !important;padding:8px 16px 10px !important;margin:0 0 -2px 0 !important;display:inline-flex !important;align-items:center !important;line-height:1 !important;white-space:nowrap !important;box-shadow:none !important;text-transform:none !important;letter-spacing:normal !important;outline:none !important;transition:color .2s,border-color .2s !important}
.bot-reviews-widget .bot-rev-tab:hover{color:var(--bot-text) !important;background:transparent !important}
.bot-reviews-widget .bot-rev-tab.active{color:var(--bot-text) !important;border-bottom-color:var(--bot-text) !important;font-weight:600 !important;background:transparent !important}
.bot-reviews-widget .bot-rev-tab-count{color:var(--bot-text-light) !important;font-weight:400 !important;font-size:13px !important;margin-left:3px !important}

/* SUMMARY */
.bot-reviews-widget .bot-rev-summary{display:flex !important;align-items:center !important;gap:10px !important;margin-bottom:20px !important;flex-wrap:wrap !important}
.bot-reviews-widget .bot-rev-avg{font-weight:700 !important;font-size:28px !important;color:var(--bot-text) !important;line-height:1 !important}
.bot-reviews-widget .bot-rev-stars-summary{display:inline-flex !important;gap:1px !important;align-items:center !important}
.bot-reviews-widget .bot-rev-summary-text{display:flex !important;align-items:center !important}
.bot-reviews-widget .bot-rev-label{font-weight:600 !important;font-size:14px !important;color:var(--bot-text) !important}
.bot-reviews-widget .bot-rev-divider{color:var(--bot-text-light) !important;font-size:14px !important;margin:0 2px !important}
.bot-reviews-widget .bot-rev-count{font-size:14px !important;color:var(--bot-text-light) !important}

/* SLIDER */
.bot-reviews-widget .bot-rev-slider-wrap{position:relative !important;display:flex !important;align-items:center !important;gap:0 !important}
.bot-reviews-widget .bot-rev-slider{overflow:hidden !important;width:100% !important;flex:1 !important;min-width:0 !important;cursor:grab !important}
.bot-reviews-widget .bot-rev-slider.grabbing{cursor:grabbing !important}
.bot-reviews-widget .bot-rev-track{display:flex !important;gap:14px !important;transition:transform .4s cubic-bezier(.25,.46,.45,.94) !important;will-change:transform !important}

/* ARROWS */
.bot-reviews-widget .bot-rev-arrow{flex-shrink:0 !important;width:36px !important;height:36px !important;min-width:36px !important;min-height:36px !important;max-width:36px !important;max-height:36px !important;border-radius:50% !important;border:1.5px solid #ccc !important;background:#fff !important;cursor:pointer !important;display:flex !important;align-items:center !important;justify-content:center !important;color:#555 !important;z-index:10 !important;margin:0 6px !important;padding:0 !important;box-shadow:0 1px 4px rgba(0,0,0,.1) !important;opacity:1 !important;visibility:visible !important;position:relative !important;font-size:0 !important;transition:box-shadow .2s,border-color .2s !important}
.bot-reviews-widget .bot-rev-arrow svg{display:block !important;width:16px !important;height:16px !important;opacity:1 !important;visibility:visible !important;stroke:#555 !important;fill:none !important}
.bot-reviews-widget .bot-rev-arrow:hover{box-shadow:0 2px 8px rgba(0,0,0,.15) !important;border-color:#999 !important}
.bot-reviews-widget .bot-rev-arrow:hover svg{stroke:#333 !important}
.bot-reviews-widget .bot-rev-arrow.disabled{opacity:.3 !important;cursor:default !important;box-shadow:none !important;pointer-events:none !important}

/* CARDS - DEFAULT (3 across) */
.bot-reviews-widget .bot-rev-card{flex:0 0 calc(33.333% - 10px) !important;background:var(--bot-card-bg) !important;border-radius:var(--bot-radius) !important;padding:18px !important;box-shadow:var(--bot-shadow) !important;display:flex !important;flex-direction:column !important;min-width:0 !important;box-sizing:border-box !important}
.bot-reviews-widget .bot-rev-card-header{display:flex !important;align-items:center !important;gap:10px !important;margin-bottom:8px !important}
.bot-reviews-widget .bot-rev-avatar{width:40px !important;height:40px !important;min-width:40px !important;max-width:40px !important;min-height:40px !important;max-height:40px !important;border-radius:50% !important;display:flex !important;align-items:center !important;justify-content:center !important;color:#fff !important;font-weight:700 !important;font-size:16px !important;flex-shrink:0 !important;overflow:hidden !important;padding:0 !important;margin:0 !important;line-height:1 !important;position:relative !important;float:none !important}
.bot-reviews-widget .bot-rev-avatar img{width:40px !important;height:40px !important;min-width:40px !important;max-width:40px !important;min-height:40px !important;max-height:40px !important;object-fit:cover !important;border-radius:50% !important;display:block !important;margin:0 !important;padding:0 !important;float:none !important;position:static !important;box-shadow:none !important;border:none !important}
.bot-reviews-widget .bot-rev-avatar-img{background:#e5e7eb !important;width:40px !important;height:40px !important;min-width:40px !important;max-width:40px !important;min-height:40px !important;max-height:40px !important}
.bot-reviews-widget .bot-rev-meta{flex:1 !important;min-width:0 !important}
.bot-reviews-widget .bot-rev-author{display:block !important;font-weight:600 !important;font-size:14px !important;color:var(--bot-text) !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
.bot-reviews-widget .bot-rev-date{display:block !important;font-size:12px !important;color:var(--bot-text-light) !important;margin-top:2px !important}
.bot-reviews-widget .bot-rev-source-icon{flex-shrink:0 !important}
.bot-reviews-widget .bot-rev-source-icon svg{width:22px !important;height:22px !important}
.bot-reviews-widget .bot-rev-rating{display:flex !important;align-items:center !important;gap:1px !important;margin-bottom:8px !important}
.bot-reviews-widget .bot-rev-text{font-size:13px !important;line-height:1.55 !important;color:var(--bot-text) !important;flex:1 !important;word-wrap:break-word !important;overflow-wrap:break-word !important}
.bot-reviews-widget .bot-rev-title{font-weight:600 !important;font-size:13px !important;display:block !important;margin-bottom:4px !important}
.bot-reviews-widget .bot-rev-readmore{color:var(--bot-text-light) !important;cursor:pointer !important;font-size:12px !important;display:block !important;margin-top:4px !important;text-decoration:none !important;background:none !important;border:none !important;padding:0 !important}
.bot-reviews-widget .bot-rev-readmore:hover{color:var(--bot-text) !important;text-decoration:underline !important}

/* RESPONSIVE */
@media(max-width:960px){.bot-reviews-widget .bot-rev-card{flex:0 0 calc(50% - 7px) !important}}
@media(max-width:600px){
    .bot-reviews-widget .bot-rev-card{flex:0 0 100% !important}
    .bot-reviews-widget{padding:16px 12px !important}
    .bot-reviews-widget .bot-rev-avg{font-size:22px !important}
    .bot-reviews-widget .bot-rev-arrow{width:30px !important;height:30px !important;min-width:30px !important;min-height:30px !important;max-width:30px !important;max-height:30px !important;margin:0 3px !important}
    .bot-reviews-widget .bot-rev-tab{padding:6px 10px 8px !important;font-size:13px !important}
}

/* ── SIDEBAR ── */
.bot-rev-sidebar.bot-reviews-widget{padding:16px !important;background:var(--bot-bg) !important}
.bot-rev-sidebar .bot-rev-tabs{margin-bottom:12px !important}
.bot-rev-sidebar .bot-rev-tab{padding:6px 10px 8px !important;font-size:13px !important}
.bot-rev-sidebar .bot-rev-tab svg{width:15px !important;height:15px !important}
.bot-rev-sidebar .bot-rev-tab-count{font-size:12px !important}
.bot-rev-sidebar .bot-rev-summary{margin-bottom:14px !important;gap:6px !important}
.bot-rev-sidebar .bot-rev-avg{font-size:20px !important}
.bot-rev-sidebar .bot-rev-stars-summary svg{width:16px !important;height:16px !important}
.bot-rev-sidebar .bot-rev-label{font-size:13px !important}
.bot-rev-sidebar .bot-rev-count{font-size:12px !important}
.bot-rev-sidebar .bot-rev-divider{font-size:12px !important}

/* Sidebar slider: arrows overlay the card */
.bot-rev-sidebar .bot-rev-slider-wrap{position:relative !important;display:block !important}
.bot-rev-sidebar .bot-rev-slider{overflow:hidden !important;width:100% !important}
.bot-rev-sidebar .bot-rev-track{gap:0 !important}
.bot-rev-sidebar .bot-rev-card{flex:none !important;padding:16px !important;box-sizing:border-box !important;margin:0 !important}
.bot-rev-sidebar .bot-rev-arrow{position:absolute !important;top:50% !important;transform:translateY(-50%) !important;width:30px !important;height:30px !important;min-width:30px !important;min-height:30px !important;max-width:30px !important;max-height:30px !important;margin:0 !important;z-index:20 !important;background:rgba(255,255,255,0.9) !important}
.bot-rev-sidebar .bot-rev-arrow-left{left:-4px !important}
.bot-rev-sidebar .bot-rev-arrow-right{right:-4px !important}
.bot-rev-sidebar .bot-rev-arrow svg{width:14px !important;height:14px !important}
.bot-rev-sidebar .bot-rev-avatar,.bot-rev-sidebar .bot-rev-avatar-img{width:42px !important;height:42px !important;min-width:42px !important;max-width:42px !important;min-height:42px !important;max-height:42px !important;font-size:17px !important}
.bot-rev-sidebar .bot-rev-avatar img{width:42px !important;height:42px !important;min-width:42px !important;max-width:42px !important;min-height:42px !important;max-height:42px !important}
.bot-rev-sidebar .bot-rev-author{font-size:14px !important}
.bot-rev-sidebar .bot-rev-date{font-size:11px !important}
.bot-rev-sidebar .bot-rev-source-icon svg{width:20px !important;height:20px !important}
.bot-rev-sidebar .bot-rev-rating svg{width:16px !important;height:16px !important}
.bot-rev-sidebar .bot-rev-text{font-size:13px !important;line-height:1.55 !important}
