:root{--green:#08783e;--green-dark:#04592d;--green-soft:#e8f5ed;--yellow:#ffd400;--ink:#162019;--muted:#66726a;--line:#e8ece9;--bg:#f5f7f5;--white:#fff;--radius:12px;--shadow:0 8px 25px rgba(19,61,37,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',sans-serif;background:var(--bg);color:var(--ink)}button,input{font:inherit}button,a{transition:.2s ease}a{text-decoration:none;color:inherit}.container{width:min(1220px,calc(100% - 32px));margin:auto}.topbar{background:var(--green-dark);color:#fff;font-size:12px}.topbar-inner{height:34px;display:flex;align-items:center;justify-content:space-between}.topbar a:first-child{color:var(--yellow);font-weight:700}.top-links{display:flex;gap:24px}.header{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px rgba(0,0,0,.05)}.header-main{height:78px;display:flex;align-items:center;gap:28px}.logo{display:flex;align-items:center;font-weight:800;font-size:24px;white-space:nowrap;color:var(--green-dark)}.logo-mark{width:37px;height:37px;background:var(--green);color:var(--yellow);display:grid;place-items:center;border-radius:10px 4px 10px 4px;margin-right:8px}.dot{color:var(--yellow)}.search{height:46px;display:flex;align-items:center;flex:1;border:1.5px solid #cfd7d1;border-radius:8px;overflow:hidden;background:#fff}.search>span{font-size:27px;padding:0 8px 4px 14px;color:#778078}.search input{height:100%;border:0;outline:0;flex:1;min-width:0}.search button{height:100%;border:0;background:var(--green);color:#fff;font-weight:700;padding:0 22px;cursor:pointer}
.voice-btn{height:100%;border:0;background:transparent;font-size:18px;padding:0 10px;cursor:pointer}
.voice-btn.listening{animation:voicePulse 1s infinite}
@keyframes voicePulse{0%,100%{opacity:1}50%{opacity:.4}}
.header-actions{display:flex;gap:12px}.action-btn,.icon-btn{border:0;background:transparent;display:flex;align-items:center;gap:9px;cursor:pointer;color:var(--ink);padding:8px}.action-btn>span:first-child{font-size:25px}.action-btn small,.action-btn b{display:block;text-align:left}.action-btn small{font-size:11px;color:var(--muted);font-weight:500}.action-btn b{font-size:12px}.menu-toggle,.mobile-search{display:none}.hero-grid{display:grid;grid-template-columns:225px 1fr 210px;gap:14px;padding-top:18px}.categories,.quick-cards,.hero,.perks,.section,.promo-banners{border-radius:var(--radius)}.categories{background:#fff;padding:8px 0;box-shadow:var(--shadow)}.categories h3{font-size:13px;margin:0;padding:12px 15px;border-bottom:1px solid var(--line)}.categories button{width:100%;border:0;background:#fff;text-align:left;padding:10px 14px;font-size:12px;cursor:pointer}.categories button span{float:right}.categories button:hover{color:var(--green);background:var(--green-soft);padding-left:18px}.hero{min-height:360px;background:linear-gradient(120deg,#063b21 0%,#08783e 67%,#1ba75c);color:#fff;padding:48px 44px;display:flex;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:350px;height:350px;border:60px solid rgba(255,212,0,.09);border-radius:50%;right:-90px;top:-150px}.hero-copy{position:relative;z-index:2;width:60%}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:var(--yellow)}.hero h1{font-size:42px;line-height:1.05;margin:12px 0}.hero h1 em{color:var(--yellow);font-style:normal}.hero p{font-size:15px;color:#d8efe2;margin-bottom:26px}.primary-btn{display:inline-flex;gap:25px;background:var(--yellow);color:#17321f;padding:12px 19px;border-radius:7px;font-size:13px;font-weight:800}.primary-btn:hover{transform:translateY(-2px)}.hero-visual{position:absolute;right:35px;bottom:24px;width:235px;height:285px}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s ease;display:grid;place-items:center;background:linear-gradient(150deg,#0d3d24,#116a3a);border-radius:16px;overflow:hidden;box-shadow:0 20px 30px rgba(0,0,0,.25)}
.hero-slide.active{opacity:1;visibility:visible}
.hero-slide img{width:82%;height:82%;object-fit:contain}.discount{position:absolute;z-index:3;right:-8px;top:3px;width:74px;height:74px;border-radius:50%;background:var(--yellow);color:var(--green-dark);display:grid;place-items:center;align-content:center;transform:rotate(7deg)}.discount small{font-size:8px}.discount strong{font-size:20px}.hero-dots{position:absolute;left:50%;bottom:14px;display:flex;gap:6px}.hero-dots button{width:6px;height:6px;border:0;border-radius:9px;padding:0;background:#89ad99}.hero-dots .active{width:20px;background:var(--yellow)}.quick-cards{display:flex;flex-direction:column;gap:10px}.quick-cards>a{background:#fff;padding:16px 12px;display:flex;gap:10px;align-items:center;border-radius:10px;box-shadow:var(--shadow)}.quick-cards>a:hover{transform:translateX(-3px)}.round{background:var(--green-soft);width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.quick-cards strong,.quick-cards small{display:block}.quick-cards strong{font-size:12px}.quick-cards small{font-size:9px;color:var(--muted);margin-top:3px}.app-card{background:var(--yellow);border-radius:10px;padding:18px 15px;flex:1;display:flex;flex-direction:column;justify-content:center}.app-card small{font-size:9px;font-weight:800}.app-card strong{margin:7px 0 16px}.app-card button{border:0;border-radius:6px;background:var(--green-dark);color:#fff;font-size:10px;padding:8px;cursor:pointer}.perks{background:#fff;margin-top:18px;display:grid;grid-template-columns:repeat(4,1fr);padding:18px 28px;box-shadow:var(--shadow)}.perks article{display:flex;gap:12px;align-items:center;border-right:1px solid var(--line);justify-content:center}.perks article:last-child{border:0}.perks article>span{color:var(--green);font-size:24px}.perks strong,.perks small{display:block}.perks strong{font-size:12px}.perks small{font-size:10px;color:var(--muted);margin-top:2px}.section{background:#fff;margin-top:22px;padding:20px;box-shadow:var(--shadow)}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.section-head>div{display:flex;align-items:center;gap:14px}.section-head h2{font-size:20px;margin:0}.section-head p{font-size:12px;color:var(--muted);margin:3px 0}.flash-head{background:linear-gradient(90deg,var(--green-dark),var(--green));color:#fff;margin:-20px -20px 18px;padding:14px 20px;border-radius:12px 12px 0 0}.flash-icon{color:var(--yellow);font-size:22px}.flash-head>div>span{font-size:11px}.countdown b{background:#fff;color:var(--green-dark);padding:5px 7px;border-radius:4px}.link-btn{border:0;background:transparent;color:var(--green);font-weight:700;font-size:12px;cursor:pointer}.flash-head .link-btn{color:#fff}.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.product-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;position:relative;background:#fff;cursor:pointer}.product-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px rgba(9,85,43,.1)}.product-img{height:165px;background:linear-gradient(145deg,#f7f9f7,#e8eee9);display:grid;place-items:center;font-size:75px;position:relative;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:contain;padding:10px}.badge{position:absolute;top:8px;left:8px;background:#dff5e8;color:var(--green);font-size:9px;font-weight:800;padding:5px 7px;border-radius:4px}.heart{position:absolute;right:9px;top:8px;width:28px;height:28px;border:0;background:#fff;border-radius:50%;cursor:pointer}.product-info{padding:12px}.product-brand{font-size:9px;font-weight:800;color:var(--green);text-transform:uppercase}.product-name{font-size:12px;height:34px;margin:5px 0;line-height:1.35}.price{font-size:15px;font-weight:800}.old-price{font-size:10px;color:#8e9790;text-decoration:line-through;margin-left:5px}.rating{font-size:9px;color:#eeb600;margin-top:6px}.add-cart{width:100%;margin-top:10px;border:0;background:var(--green);color:#fff;padding:9px;border-radius:6px;font-size:11px;font-weight:700;cursor:pointer}.add-cart:hover{background:var(--green-dark)}.catalog-more{display:flex;justify-content:center;margin-top:20px}.secondary-btn{border:1.5px solid var(--green);background:#fff;color:var(--green);padding:11px 26px;border-radius:7px;font-weight:800;font-size:12px;cursor:pointer}.secondary-btn:hover{background:var(--green-soft)}.secondary-btn[hidden]{display:none}.category-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}.category-card{text-align:center;background:#f7faf8;border-radius:10px;padding:18px 8px;cursor:pointer;border:1px solid transparent}.category-card:hover{border-color:#a5d9ba;background:var(--green-soft)}.category-icon{font-size:38px;margin-bottom:8px}.category-card strong{font-size:11px;display:block}.promo-banners{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.banner{height:220px;padding:30px 35px;display:flex;justify-content:space-between;overflow:hidden}.banner small{font-size:10px;font-weight:800;letter-spacing:1px}.banner h3{font-size:25px;margin:9px 0}.banner p{font-size:12px;max-width:300px}.banner button{border:0;border-radius:6px;padding:10px 14px;font-size:11px;font-weight:800;cursor:pointer}.green{background:linear-gradient(120deg,#064526,#0b8a49);color:#fff}.green button{background:var(--yellow);color:var(--green-dark)}.yellow{background:linear-gradient(120deg,#ffdc1d,#ffd000);color:#28341e}.yellow button{background:var(--green-dark);color:#fff}.cam,.printer{font-size:120px;align-self:center;opacity:.25;transform:rotate(-8deg)}.newsletter{background:var(--green-dark);color:#fff;margin-top:30px}.newsletter-inner{min-height:120px;display:flex;align-items:center;justify-content:space-between}.newsletter-inner>div{display:flex;gap:15px;align-items:center}.newsletter-inner>div>span{font-size:35px;color:var(--yellow)}.newsletter h3,.newsletter p{margin:4px 0}.newsletter p{font-size:12px;color:#b9d7c5}.newsletter form{display:flex;width:430px;height:43px}.newsletter input{flex:1;border:0;padding:0 14px;border-radius:6px 0 0 6px;outline:0}.newsletter button{border:0;background:var(--yellow);color:var(--green-dark);font-weight:800;padding:0 20px;border-radius:0 6px 6px 0;cursor:pointer}footer{background:#102017;color:#cbd7cf;padding-top:45px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:55px}.footer-logo{color:#fff}.footer-grid p{font-size:11px;line-height:1.8}.footer-grid h4{color:#fff;font-size:13px;margin:0 0 15px}.footer-grid>div>a:not(.logo){font-size:11px;display:block;margin:10px 0;color:#b7c4bc}.socials{display:flex;gap:8px}.socials a{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#24382c;color:#fff}.payments{display:flex;flex-wrap:wrap;gap:5px}.payments span{background:#fff;color:#333;padding:6px;border-radius:4px;font-size:9px;font-weight:800}.copyright{border-top:1px solid #2b3c32;margin-top:35px;padding:18px 0;font-size:10px}.overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:49;opacity:0;visibility:hidden}.overlay.open{opacity:1;visibility:visible}.cart-drawer{position:fixed;top:0;right:-430px;width:min(430px,100%);height:100%;background:#fff;z-index:50;display:flex;flex-direction:column;transition:.3s}.cart-drawer.open{right:0}.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--line)}.drawer-head h2{margin:0}.drawer-head button{border:0;background:transparent;font-size:28px;cursor:pointer}.cart-items{flex:1;overflow:auto;padding:15px}.cart-row{display:grid;grid-template-columns:55px 1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.cart-row .thumb{background:var(--bg);display:grid;place-items:center;font-size:30px;border-radius:6px;overflow:hidden}.cart-row .thumb img{width:100%;height:100%;object-fit:contain;padding:4px}.cart-row strong,.cart-row small{display:block;font-size:11px}.cart-row small{color:var(--green);margin-top:4px}.cart-row button{border:0;background:transparent;color:#c33;cursor:pointer}.empty-cart{text-align:center;margin-top:80px;color:var(--muted)}.empty-cart span{font-size:55px}.cart-footer{border-top:1px solid var(--line);padding:18px}.cart-footer>div{display:flex;justify-content:space-between;margin-bottom:15px}.cart-footer button{width:100%;border:0;background:var(--green);color:#fff;padding:13px;border-radius:7px;font-weight:800;cursor:pointer}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#14251a;color:#fff;padding:11px 18px;border-radius:7px;font-size:12px;z-index:60;opacity:0;visibility:hidden}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(max-width:1000px){.hero-grid{grid-template-columns:190px 1fr}.quick-cards{display:none}.product-grid{grid-template-columns:repeat(4,1fr)}.product-card:nth-child(5){display:none}.category-grid{grid-template-columns:repeat(4,1fr)}.header-actions .action-btn:first-child{display:none}}
@media(max-width:760px){.container{width:min(100% - 20px,1220px)}.topbar-inner>span:not(.top-links),.top-links a:first-child{display:none}.header-main{height:62px;gap:10px}.menu-toggle{display:block;font-size:22px}.logo{font-size:19px}.logo-mark{width:30px;height:30px}.header-main>.search{display:none}.header-actions{margin-left:auto}.action-btn span:nth-child(2){display:none}.mobile-search{display:block;padding-bottom:10px}.mobile-search .search{height:40px}.mobile-search .search input{padding-left:12px}.mobile-search .search button{padding:0 16px}.hero-grid{display:block;padding-top:10px}.categories{position:fixed;top:0;left:-280px;width:270px;height:100%;z-index:55;border-radius:0;padding-top:30px;transition:.3s}.categories.open{left:0}.hero{min-height:330px;padding:38px 25px}.hero-copy{width:72%}.hero h1{font-size:34px}.hero-visual{right:-20px;transform:scale(.78);transform-origin:bottom right}.perks{grid-template-columns:1fr 1fr;gap:15px;padding:16px}.perks article{border:0;justify-content:flex-start}.product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.product-card:nth-child(5){display:block}.product-img{height:135px;font-size:58px}.section{padding:14px}.flash-head{margin:-14px -14px 15px;padding:12px 14px}.flash-head>div>span{display:none}.section-head h2{font-size:17px}.category-grid{grid-template-columns:repeat(3,1fr)}.promo-banners{grid-template-columns:1fr}.banner{height:190px;padding:25px}.banner h3{font-size:21px}.newsletter-inner{padding:25px 0;display:block}.newsletter form{width:100%;margin-top:16px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:420px){.hero-copy{width:78%}.hero h1{font-size:29px}.hero-visual{right:-45px;opacity:.75}.category-grid{grid-template-columns:repeat(2,1fr)}.promo-banners .cam,.promo-banners .printer{font-size:70px}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.perks strong{font-size:10px}.perks small{font-size:9px}}

/* Modals compte / commande */
.modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-45%);width:min(400px,90vw);background:#fff;border-radius:var(--radius);z-index:60;box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:.25s}
.product-modal{width:min(760px,92vw);max-height:88vh;overflow:auto}
.product-modal-body{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.product-modal-img{background:linear-gradient(145deg,#f7f9f7,#e8eee9);border-radius:12px;display:grid;place-items:center;min-height:320px;font-size:90px;overflow:hidden}
.product-modal-img img{width:100%;height:100%;object-fit:contain;padding:16px}
.product-modal-info h3{font-size:19px;margin:6px 0}
.product-modal-price{display:flex;align-items:baseline;gap:8px;margin:10px 0}
.product-modal-price .price{font-size:22px}
.product-modal-desc{font-size:13px;line-height:1.6;color:var(--muted);margin:14px 0;max-height:180px;overflow:auto}
.product-modal-actions{display:flex;gap:10px}
.product-modal-actions .block-btn{flex:1}
.product-modal-actions .secondary-btn{white-space:nowrap}
@media(max-width:760px){.product-modal-body{grid-template-columns:1fr}.product-modal-img{min-height:220px}}
.modal.open{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.modal-body{padding:20px}
.auth-form{display:flex;flex-direction:column;gap:14px}.auth-form[hidden]{display:none}
.auth-form label{font-size:12px;font-weight:700;color:var(--muted);display:flex;flex-direction:column;gap:6px}
.auth-form input{height:42px;border:1.5px solid #cfd7d1;border-radius:7px;padding:0 12px;outline:0}
.block-btn{width:100%;border:0;background:var(--green);color:#fff;padding:12px;border-radius:7px;font-weight:800;cursor:pointer}
.block-btn:hover{background:var(--green-dark)}
.auth-switch{text-align:center;font-size:12px;color:var(--green);cursor:pointer;margin:14px 0 0}
#accountPanel{text-align:center}
#accountPanel p{margin:0 0 16px;font-size:13px}

/* Correctifs de rendu et de débordement */
html,body{max-width:100%;overflow-x:hidden}.header-main,.hero-grid,.product-grid,.footer-grid{min-width:0}.search,.hero,.product-card,.footer-grid>div{min-width:0}.product-name{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.price,.old-price{white-space:nowrap}.category-card{appearance:none;color:inherit;font-family:inherit}.category-card,.banner button{cursor:pointer}.mobile-search form{width:100%}
@media(max-width:1120px) and (min-width:761px){.header-main{gap:14px}.logo{font-size:21px}.logo-mark{width:34px;height:34px}.search button{padding-inline:14px}.action-btn{padding-inline:4px}.hero-grid{grid-template-columns:200px minmax(0,1fr)}.hero{padding-inline:32px}.hero h1{font-size:36px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.container{width:calc(100% - 20px)}.topbar-inner{justify-content:center}.top-links{width:100%;justify-content:center}.hero{width:100%}.section-head>div{min-width:0}.flash-head>div{gap:7px}.flash-head h2{white-space:nowrap}.countdown{white-space:nowrap;font-size:12px}.countdown b{padding:4px 5px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.price,.old-price{display:block}.old-price{margin:3px 0 0}.product-info{padding:10px}.promo-banners{width:calc(100% - 20px)}.banner>div:first-child{position:relative;z-index:2}.cam,.printer{margin-right:-30px}.newsletter form input{min-width:0}.cart-drawer{max-width:100vw}}
@media(max-width:480px){.topbar{display:none}.header-actions{gap:0}.hero{min-height:300px;padding:30px 20px}.hero-copy{width:85%}.hero p{max-width:220px;font-size:13px}.hero-visual{right:-70px;opacity:.48}.perks{grid-template-columns:1fr 1fr;padding:14px 10px;gap:12px}.perks article>span{font-size:20px}.flash-head{align-items:center}.flash-head .link-btn{display:none}.flash-head h2{font-size:15px}.product-img{height:125px}.category-card{padding:14px 6px}.banner{padding:22px 18px}.banner h3{font-size:19px}.newsletter h3{font-size:17px}.newsletter-inner>div>span{font-size:28px}}

.loyalty-box{background:var(--green-soft);border-radius:10px;padding:14px;margin:14px 0}
.loyalty-balance{display:flex;align-items:center;gap:10px}
.loyalty-balance>span{font-size:28px}
.loyalty-balance strong{font-size:20px;display:block;color:var(--green-dark)}
.loyalty-balance small{font-size:10px;color:var(--muted)}
.loyalty-hint{font-size:11px;color:var(--muted);margin:10px 0 0}
.referral-box{margin-top:12px;border-top:1px solid rgba(8,120,62,.15);padding-top:10px}
.referral-box>small{font-size:10px;color:var(--muted)}
.referral-code-row{display:flex;align-items:center;justify-content:space-between;margin-top:4px}
.referral-code-row strong{font-size:16px;letter-spacing:1px}
.referral-code-row button{border:0;background:var(--green);color:#fff;font-size:11px;padding:6px 12px;border-radius:6px;cursor:pointer}
.checkbox-label{flex-direction:row!important;align-items:center;gap:8px!important;font-weight:500!important}
#pointsSliderRow{margin-top:8px}
#pointsSliderRow input{width:100%}
#pointsSliderRow small{color:var(--muted);font-size:11px}
.product-modal-reviews{padding:0 20px 20px;border-top:1px solid var(--line);margin-top:4px}
.product-modal-reviews h4{margin:16px 0 10px;font-size:15px}
.review-item{border-bottom:1px solid var(--line);padding:10px 0}
.review-item .review-head{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}
.review-item .verified-badge{background:var(--green-soft);color:var(--green-dark);font-size:9px;font-weight:800;padding:3px 6px;border-radius:4px}
.review-item .review-stars{color:#eeb600;font-size:12px}
.review-item p{font-size:12px;color:var(--muted);margin:5px 0}
.review-item img,.review-item video{max-width:140px;border-radius:8px;margin-top:6px}
#reviewForm{margin-top:14px;display:flex;flex-direction:column;gap:10px}
#reviewForm label{font-size:12px;font-weight:700;color:var(--muted);display:flex;flex-direction:column;gap:5px}
#reviewForm select,#reviewForm textarea,#reviewForm input[type="file"]{border:1.5px solid #cfd7d1;border-radius:7px;padding:8px;outline:0;font:inherit}
.verified-hint{font-size:11px;color:var(--green-dark);font-weight:700}

.assistant-fab{position:fixed;right:22px;bottom:22px;width:56px;height:56px;border-radius:50%;border:0;background:var(--green);color:#fff;font-size:26px;box-shadow:0 8px 20px rgba(8,120,62,.35);cursor:pointer;z-index:55;display:grid;place-items:center}
.assistant-fab:hover{background:var(--green-dark)}
.assistant-fab-dot{position:absolute;top:6px;right:6px;width:10px;height:10px;border-radius:50%;background:var(--yellow);border:2px solid #fff}
.assistant-panel{position:fixed;right:22px;bottom:90px;width:min(380px,92vw);height:min(560px,70vh);background:#fff;border-radius:14px;box-shadow:var(--shadow);z-index:56;display:flex;flex-direction:column;transform:translateY(16px) scale(.97);opacity:0;visibility:hidden;transition:.2s}
.assistant-panel.open{transform:translateY(0) scale(1);opacity:1;visibility:visible}
.assistant-head{background:var(--green);color:#fff;border-radius:14px 14px 0 0}
.assistant-head small{display:block;font-weight:400;opacity:.85;font-size:11px;margin-top:2px}
.assistant-head button{color:#fff}
.assistant-body{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px}
.assistant-msg{max-width:88%;font-size:13px;line-height:1.5}
.assistant-msg p{margin:0;padding:9px 12px;border-radius:12px}
.assistant-msg-bot{align-self:flex-start}
.assistant-msg-bot p{background:var(--green-soft);color:var(--ink);border-bottom-left-radius:3px}
.assistant-msg-user{align-self:flex-end}
.assistant-msg-user p{background:var(--green);color:#fff;border-bottom-right-radius:3px}
.assistant-msg-user img{max-width:140px;border-radius:10px;margin-top:4px}
.assistant-products{display:flex;flex-direction:column;gap:8px;margin-top:4px;align-self:flex-start;width:100%}
.assistant-product-card{display:flex;gap:10px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px;cursor:pointer}
.assistant-product-card img{width:48px;height:48px;object-fit:contain;border-radius:6px;background:var(--bg)}
.assistant-product-card .apc-info{flex:1;min-width:0}
.assistant-product-card .apc-name{font-size:11px;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.assistant-product-card .apc-price{font-size:12px;font-weight:800;color:var(--green-dark)}
.assistant-product-card .apc-stock{font-size:9px;color:var(--muted)}
.assistant-whatsapp-btn{align-self:flex-start;border:0;background:var(--yellow);color:var(--green-dark);font-weight:800;font-size:11px;padding:8px 14px;border-radius:7px;cursor:pointer;margin-top:2px}
.assistant-typing{align-self:flex-start;font-size:12px;color:var(--muted)}
.assistant-input-row{border-top:1px solid var(--line);padding:10px}
.assistant-image-preview{position:relative;display:inline-block;margin-bottom:8px}
.assistant-image-preview img{height:54px;border-radius:8px}
.assistant-image-preview button{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;border:0;background:#c33;color:#fff;font-size:12px;cursor:pointer;line-height:1}
#assistantForm{display:flex;align-items:center;gap:6px}
#assistantForm input[type="text"]{flex:1;border:1.5px solid #cfd7d1;border-radius:20px;padding:9px 14px;outline:0;font-size:13px}
#assistantImageBtn,#assistantForm button[type="submit"]{border:0;background:var(--green-soft);color:var(--green-dark);width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:15px;flex-shrink:0}
#assistantForm button[type="submit"]{background:var(--green);color:#fff}
@media(max-width:480px){.assistant-panel{right:10px;bottom:80px;width:calc(100vw - 20px)}.assistant-fab{right:14px;bottom:14px}}
