*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f6fbfa;color:#1d3033;font:14px 'DM Sans',sans-serif}.topbar{height:32px;background:#075d5b;color:#e8f7f3;display:flex;justify-content:space-between;align-items:center;padding:0 5%;font-size:10px}.header{height:82px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 5%;box-shadow:0 2px 14px #0b575014;position:sticky;top:0;z-index:10}.logo img{width:205px;height:auto;display:block}.header nav{display:flex;gap:28px}.header nav a{font-size:10px;font-weight:700;letter-spacing:.08em;text-decoration:none;color:#203a3b}.header nav a:hover{color:#00a6a6}.head-cta,.btn{background:#087c78;color:white;text-decoration:none;padding:13px 20px;border:0;border-radius:30px;font-size:10px;font-weight:700;letter-spacing:.06em;display:inline-flex;gap:18px;align-items:center;cursor:pointer}.head-cta{padding:11px 17px}.menu{display:none;border:0;background:none;font-size:25px;color:#087c78}.hero{min-height:420px;background:linear-gradient(115deg,#dff4ef 0%,#b5e5dc 52%,#73c9bd 100%);display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:55px 9% 55px 10%;overflow:hidden}.hero-copy{max-width:540px}.eyebrow,.section-title>span{font-size:10px;font-weight:700;letter-spacing:.22em;color:#087c78}.hero h1{font:600 clamp(38px,4.5vw,58px)/1.08 'Playfair Display',serif;color:#123e40;margin:18px 0}.hero h1 em{font-weight:500;color:#078d88}.hero-copy p{max-width:470px;color:#345e5c;line-height:1.8;font-size:13px;margin-bottom:24px}.hero-art{height:300px;display:grid;place-items:center;position:relative}.hero-circle{width:255px;height:255px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffffff,#d5f2ec 55%,#80cfc2);box-shadow:0 24px 55px #087c7830;display:flex;align-items:center;justify-content:center;flex-direction:column;border:10px solid #ffffff70;color:#087c78}.shield{width:110px;height:110px;border:5px solid #078b87;border-radius:35px 35px 50px 50px;display:grid;place-items:center;font-size:65px;font-weight:700;transform:rotate(0deg);color:#087c78}.hero-circle small{font-weight:700;letter-spacing:.17em;text-align:center;margin-top:12px}.hero-leaf{position:absolute;font-size:85px;color:#fff8;right:8%;top:5%}.trust{margin:-1px auto 0;background:#fff;border-radius:18px;max-width:1120px;position:relative;display:grid;grid-template-columns:repeat(4,1fr);padding:22px 20px;box-shadow:0 8px 25px #125f5712}.trust div{display:grid;grid-template-columns:38px 1fr;column-gap:10px;align-items:center;padding:0 14px;border-right:1px solid #e1eeeb}.trust div:last-child{border:0}.trust i{grid-row:span 2;font-style:normal;font-size:25px;color:#078c86}.trust b{font-size:11px}.trust small{font-size:9px;color:#708b88;margin-top:4px}.section{padding:60px 6%}.section-title{text-align:center;margin-bottom:30px}.section-title h2{font:600 32px 'Playfair Display',serif;margin:8px 0;color:#1a4141}.section-title p{font-size:12px;color:#718783}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.category-card{background:white;border-radius:15px;padding:18px 10px;text-align:center;text-decoration:none;color:#1c4544;box-shadow:0 4px 18px #135b5210;border:1px solid #e6f0ed;transition:.25s}.category-card:hover{transform:translateY(-5px);border-color:#72c9bc}.cat-icon{width:74px;height:74px;border-radius:50%;margin:0 auto 12px;background:linear-gradient(145deg,#e6f6f2,#b8e6dd);display:grid;place-items:center;font-size:31px;color:#087d79}.category-card b{display:block;font-size:11px}.category-card small{display:block;color:#72918b;font-size:9px;margin-top:6px}.products{background:#f0f8f6}.products-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.section-title.left{text-align:left;margin:0}.filters{display:flex;gap:9px}.filters input,.filters select{border:1px solid #d6e7e2;background:#fff;border-radius:8px;padding:12px 13px;color:#254b49;font:11px 'DM Sans',sans-serif;min-width:180px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.product-card{background:#fff;border:1px solid #e0ece8;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px #1b63540c;display:flex;flex-direction:column;transition:.25s}.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #1b63541a}.product-picture{height:175px;background:linear-gradient(145deg,#e8f5f1,#cdebe3);display:grid;place-items:center;position:relative;overflow:hidden}.product-picture:before{content:'';position:absolute;width:125px;height:125px;border-radius:50%;background:#fff9;right:-24px;top:-26px}.product-picture .product-symbol{font-size:64px;z-index:1;filter:drop-shadow(0 5px 5px #075d5b22)}.product-picture small{position:absolute;left:12px;top:12px;background:#087c78;color:white;border-radius:4px;padding:5px 7px;font-size:8px;font-weight:700}.product-info{padding:14px;display:flex;flex-direction:column;flex:1}.product-info h3{font:600 16px 'Playfair Display',serif;color:#1c4544;margin:0 0 7px}.product-info p{font-size:10px;line-height:1.55;color:#78908c;margin:0 0 15px;flex:1}.product-info button{border:0;background:#087c78;color:white;border-radius:25px;padding:11px 13px;font-size:9px;font-weight:700;cursor:pointer;letter-spacing:.04em}.product-info button:hover,.btn:hover,.head-cta:hover{background:#055f5c}.catalog-note{text-align:center;font-size:10px;color:#819894;margin:22px 0 0}.promo{margin:0 5% 30px;padding:30px 6%;background:linear-gradient(110deg,#075e5c,#078e87);border-radius:18px;color:white;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.promo span{font-size:9px;letter-spacing:.2em;color:#bdebe1}.promo h2{font:600 31px 'Playfair Display',serif;margin:10px 0}.promo p{font-size:11px;color:#d4efea}.btn.light{background:#fff;color:#076c68;margin-top:10px}.promo-icon{font-size:120px;color:#ffffff33}.about{display:grid;grid-template-columns:220px 1fr;gap:35px;align-items:center;max-width:1050px;margin:auto}.about-mark{height:190px;border-radius:25px;background:linear-gradient(145deg,#d9f2ec,#80cfc2);display:grid;place-items:center;font:700 110px 'Playfair Display',serif;color:#07817c}.about h2{font:600 30px 'Playfair Display',serif;margin:10px 0;color:#174443}.about p{line-height:1.8;color:#617d78;font-size:12px;max-width:650px}.text-link{color:#07817c;text-decoration:none;font-weight:700;font-size:11px}.contact{text-align:center;background:#f0f8f6}.contact .btn{margin:auto}footer{background:#063f40;color:#d8f1eb;text-align:center;padding:30px 15px 20px}footer img{width:190px;background:white;border-radius:5px;padding:5px}footer p,footer a{font-size:11px;color:#c4e1db}footer small{display:block;margin-top:20px;padding-top:15px;border-top:1px solid #ffffff30;font-size:9px;color:#a7cbc3}.modal-backdrop{position:fixed;inset:0;background:#082d2dcc;z-index:30;opacity:0;visibility:hidden;transition:.25s}.product-modal{position:fixed;z-index:31;top:50%;left:50%;transform:translate(-50%,-46%) scale(.98);width:min(640px,calc(100% - 28px));max-height:92vh;overflow:auto;background:white;border-radius:18px;padding:25px;opacity:0;visibility:hidden;transition:.25s;box-shadow:0 20px 70px #002d2d55}.modal-open .modal-backdrop{opacity:1;visibility:visible}.modal-open .product-modal{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}.modal-close{position:absolute;right:16px;top:12px;border:0;background:none;font-size:27px;color:#426c68;cursor:pointer}.modal-product{display:grid;grid-template-columns:145px 1fr;gap:20px;align-items:center;padding:8px 20px 20px 0}.modal-visual{height:130px;border-radius:12px;background:linear-gradient(145deg,#e3f5f0,#a8ddd1);display:grid;place-items:center;color:#087c78;font-weight:800;letter-spacing:.1em}.modal-product h2{font:600 24px 'Playfair Display',serif;margin:7px 0;color:#194544}.modal-product p{font-size:10px;color:#718985}.modal-hint{line-height:1.5}.product-modal form{display:grid;gap:12px}.product-modal label{display:grid;gap:6px;font-size:10px;font-weight:700;color:#315d58}.product-modal input,.product-modal textarea{width:100%;border:1px solid #d7e8e3;border-radius:8px;padding:11px;font:12px 'DM Sans',sans-serif;color:#1d4240;outline-color:#0a958d}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.submit{width:100%;justify-content:center;margin-top:3px}.form-privacy{font-size:9px;color:#829994;text-align:center;margin:0}.menu-open nav{display:flex}
@media(max-width:900px){.header{padding:0 3%}.logo img{width:160px}.header nav{gap:15px}.head-cta{font-size:9px}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.trust{margin:0 3%}.hero{padding:45px 6%}}
@media(max-width:620px){.topbar{padding:0 3%;font-size:8px}.topbar span:nth-child(2){display:none}.header{height:70px}.logo img{width:145px}.header nav{display:none;position:absolute;top:70px;left:0;right:0;background:white;padding:20px;box-shadow:0 10px 15px #0001;flex-direction:column}.menu{display:block}.head-cta{margin-left:auto;margin-right:15px;padding:9px 12px}.hero{grid-template-columns:1fr;padding:40px 7% 25px}.hero h1{font-size:38px}.hero-art{height:210px}.hero-circle{width:180px;height:180px}.shield{width:75px;height:75px;font-size:45px}.hero-leaf{font-size:55px}.trust{grid-template-columns:1fr 1fr;gap:15px;padding:18px 10px}.trust div{border:0;padding:0 8px}.section{padding:42px 5%}.section-title h2{font-size:27px}.category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.category-card{padding:14px 6px}.cat-icon{width:60px;height:60px}.products-head{display:block}.filters{margin-top:16px;flex-direction:column}.filters input,.filters select{width:100%}.product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.product-picture{height:135px}.product-picture .product-symbol{font-size:48px}.product-info{padding:11px}.product-info h3{font-size:14px}.product-info button{font-size:8px;padding:10px 7px}.promo{margin:0 4% 20px;padding:25px 6%}.promo h2{font-size:25px}.promo-icon{font-size:70px}.about{grid-template-columns:1fr;gap:20px}.about-mark{height:130px;font-size:80px}.modal-product{grid-template-columns:90px 1fr;gap:12px}.modal-visual{height:95px}.modal-product h2{font-size:19px}.product-modal{padding:20px 16px}.form-row{grid-template-columns:1fr 1fr}}

/* Carousel layout: categories scroll horizontally; products display at most 3 rows per page */
.category-slider{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:12px;align-items:center}
.category-viewport{overflow:hidden;min-width:0;padding:8px 2px 16px;scroll-behavior:smooth}
.category-grid{display:flex;gap:16px;width:max-content;transition:transform .3s}
.category-card{flex:0 0 155px;min-height:160px;cursor:pointer;font-family:inherit}
.carousel-arrow{width:38px;height:38px;border-radius:50%;border:1px solid #8bcfc3;background:#fff;color:#087c78;font-size:28px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 12px #075d5b12}
.carousel-arrow:hover:not(:disabled){background:#087c78;color:white}
.carousel-arrow:disabled{opacity:.35;cursor:not-allowed}
.product-carousel{overflow:hidden}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.product-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin:24px auto 0;color:#087c78;font-size:11px;font-weight:700}
.product-controls .carousel-arrow{width:34px;height:34px;font-size:24px}
@media(max-width:900px){.category-card{flex-basis:145px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.category-slider{grid-template-columns:30px minmax(0,1fr) 30px;gap:5px}.category-card{flex-basis:125px;min-height:145px}.carousel-arrow{width:29px;height:29px;font-size:22px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-controls{margin-top:18px}}

/* OptiPest V3 — visual campaign sliders and Morocco SEO sections */
.hero.hero-slider{height:clamp(390px,48vw,610px);min-height:390px;padding:0;display:block;position:relative;background:#dff6f1;overflow:hidden}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .8s ease}
.hero-slide.active{opacity:1;visibility:visible;z-index:1}
.hero-slide>img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(241,255,251,.97) 0%,rgba(238,255,251,.9) 34%,rgba(238,255,251,.25) 62%,transparent 100%)}
.hero-overlay{position:absolute;z-index:2;left:8%;top:50%;transform:translateY(-50%);width:min(490px,48%);padding:20px 0}
.hero-overlay h1{font:700 clamp(32px,4.1vw,54px)/1.08 'Playfair Display',serif;color:#123e40;margin:15px 0}
.hero-overlay h1 em{color:#078d88;font-style:normal}
.hero-overlay p{font-size:13px;line-height:1.8;color:#345e5c;max-width:420px;margin:0 0 22px}
.hero-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #ffffffb0;border-radius:50%;background:#ffffffd9;color:#087c78;font-size:30px;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px #053d3820}
.hero-arrow.prev{left:20px}.hero-arrow.next{right:20px}
.hero-dots{position:absolute;z-index:4;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.hero-dots button{width:9px;height:9px;border:0;border-radius:50%;background:#ffffffa6;padding:0;cursor:pointer}
.hero-dots button.active{width:27px;border-radius:8px;background:#078c86}
.center-banner{margin:35px 5% 15px;height:210px;position:relative;border-radius:18px;overflow:hidden;box-shadow:0 12px 28px #0a6b6017;background:#087c78}
.center-banner>img{width:100%;height:100%;object-fit:cover;display:block}
.center-banner-copy{position:absolute;right:8%;top:50%;transform:translateY(-50%);width:43%;color:white;text-shadow:0 1px 6px #004c4b55}
.center-banner-copy span{font-size:9px;letter-spacing:.2em;font-weight:700}
.center-banner-copy h2{font:600 clamp(20px,2.5vw,30px)/1.2 'Playfair Display',serif;margin:10px 0 14px}
.center-banner-copy a{color:white;font-size:11px;font-weight:700;text-decoration:none;border-bottom:1px solid #ffffffa0;padding-bottom:4px}
.ads-section{background:#f5fbf9}
.ad-carousel-wrap{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:12px;align-items:center}
.ad-viewport{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:6px 2px 16px}
.ad-viewport::-webkit-scrollbar{display:none}
.ad-card{flex:0 0 calc((100% - 36px)/3);min-width:0;background:#fff;border:1px solid #e2efeb;border-radius:14px;overflow:hidden;scroll-snap-align:start;box-shadow:0 6px 20px #155f5410;transition:transform .25s}
.ad-card:hover{transform:translateY(-5px)}
.ad-card img{width:100%;height:245px;object-fit:cover;object-position:top;display:block;background:#e6f5f1}
.ad-card>div{padding:14px 15px 16px;display:grid;gap:7px}
.ad-card b{font:600 17px 'Playfair Display',serif;color:#1b4846}
.ad-card span{font-size:10px;color:#79918d}
.ad-card a{font-size:10px;color:#087c78;font-weight:700;text-decoration:none;margin-top:3px}
.ad-progress{height:3px;background:#dcece7;border-radius:5px;margin:8px 52px 0;overflow:hidden}
.ad-progress span{height:100%;width:25%;background:#078c86;display:block;transition:width .25s}
.seo-local{max-width:1120px;margin:auto}
.seo-local>p{font-size:12px;line-height:1.9;color:#526f6a;margin:12px auto;max-width:1000px}
.city-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:24px auto}
.city-tags span{padding:8px 12px;border:1px solid #d6e9e3;border-radius:30px;background:#fff;color:#28615c;font-size:10px}
.seo-keywords{background:#edf7f4;border-radius:14px;padding:20px 24px;margin-top:20px}
.seo-keywords h3{font:600 20px 'Playfair Display',serif;color:#194544;margin:0 0 8px}
.seo-keywords p{font-size:11px;line-height:1.8;color:#58736e}
.seo-keywords .arabic-seo{font-size:14px;color:#176e68}
.faq-section{max-width:1000px;margin:auto}
.faq-section details{background:white;border:1px solid #e0ece8;border-radius:10px;padding:15px 18px;margin:10px 0}
.faq-section summary{font-size:12px;font-weight:700;color:#214b48;cursor:pointer}
.faq-section details p{font-size:11px;color:#6a827d;line-height:1.7;margin:12px 0 0}
@media(max-width:900px){.ad-card{flex-basis:calc((100% - 18px)/2)}.center-banner{height:175px}}
@media(max-width:620px){
 .hero.hero-slider{height:520px;min-height:520px}
 .hero-slide>img{object-position:62% center}
 .hero-slide:after{background:linear-gradient(90deg,rgba(240,255,251,.94) 0%,rgba(240,255,251,.82) 56%,rgba(240,255,251,.18) 100%)}
 .hero-overlay{left:8%;width:78%;top:43%}
 .hero-overlay h1{font-size:35px}
 .hero-overlay p{font-size:11px;max-width:290px}
 .hero-arrow{width:32px;height:32px;font-size:22px}.hero-arrow.prev{left:8px}.hero-arrow.next{right:8px}
 .hero-dots{bottom:16px}
 .center-banner{margin:25px 4% 10px;height:250px}
 .center-banner>img{object-position:35% center}
 .center-banner-copy{right:5%;width:49%;top:50%}
 .center-banner-copy h2{font-size:20px}
 .ad-carousel-wrap{grid-template-columns:30px minmax(0,1fr) 30px;gap:5px}
 .ad-card{flex-basis:82%}
 .ad-card img{height:250px}
 .ad-progress{margin-left:38px;margin-right:38px}
 .seo-keywords{padding:16px}
}

/* V4: single rotating campaign panel beside the catalogue */
.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:26px;align-items:start}
.catalog-main{min-width:0}
.catalog-main .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.campaign-sidebar{position:sticky;top:105px;background:#fff;border:1px solid #e0ece8;border-radius:16px;padding:13px;box-shadow:0 8px 24px #125f5712;min-width:0}
.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 2px 12px;border-bottom:1px solid #eaf1ef;margin-bottom:12px}
.sidebar-heading span{font-size:8px;letter-spacing:.18em;font-weight:800;color:#078c86}
.sidebar-heading b{font:600 15px 'Playfair Display',serif;color:#1b4846}
.sidebar-slider{position:relative;min-height:370px;overflow:hidden;border-radius:10px;background:#eff8f5}
.sidebar-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease;display:flex;flex-direction:column;background:#fff}
.sidebar-slide.active{opacity:1;visibility:visible;position:relative}
.sidebar-slide img{display:block;width:100%;height:315px;object-fit:contain;object-position:center top;background:#f5faf8}
.sidebar-slide>div{display:grid;gap:6px;padding:12px 13px 14px}
.sidebar-slide b{font:600 17px 'Playfair Display',serif;color:#1b4846}
.sidebar-slide span{font-size:9px;color:#79918d}
.sidebar-slide a{font-size:10px;color:#087c78;font-weight:700;text-decoration:none;margin-top:3px}
.sidebar-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding:10px 0 0;color:#63817c;font-size:10px}
.sidebar-controls button{border:1px solid #d7e9e4;background:#fff;color:#087c78;border-radius:50%;width:27px;height:27px;font-size:19px;line-height:1;cursor:pointer}
/* Keep every hero banner image fully visible on phones; copy sits below the artwork */
@media(max-width:620px){
 .hero.hero-slider{height:auto;min-height:0;padding:0;display:block;overflow:hidden}
 .hero-slide{position:absolute;inset:0;display:none;opacity:0;visibility:hidden}
 .hero-slide.active{position:relative;inset:auto;display:flex;flex-direction:column;opacity:1;visibility:visible}
 .hero-slide>img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;object-position:center;background:#e7f7f3}
 .hero-slide:after{display:none}
 .hero-overlay{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:100%;padding:22px 7% 54px;background:linear-gradient(180deg,#f4fffc 0%,#e7f7f3 100%)}
 .hero-overlay .eyebrow{font-size:8px;letter-spacing:.16em}
 .hero-overlay h1{font-size:clamp(27px,7.6vw,36px);line-height:1.1;margin:9px 0 10px;max-width:520px}
 .hero-overlay p{font-size:12px;line-height:1.65;max-width:440px;margin:0 0 15px}
 .hero-overlay .btn{font-size:9px;padding:12px 17px}
 .hero-arrow{top:24%;width:31px;height:31px;background:#ffffffdf}
 .hero-arrow.prev{left:8px}.hero-arrow.next{right:8px}
 .hero-dots{bottom:12px}
 .catalog-layout{grid-template-columns:1fr;gap:18px}
 .campaign-sidebar{position:relative;top:auto;grid-row:1;padding:12px}
 .sidebar-slider{min-height:0;height:auto}
 .sidebar-slide{display:none;position:absolute;inset:0}
 .sidebar-slide.active{display:flex;position:relative}
 .sidebar-slide img{height:auto;max-height:330px;width:100%;object-fit:contain;object-position:center;background:#f5faf8}
 .sidebar-slide>div{padding:10px 12px 12px}
 .catalog-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:621px) and (max-width:900px){
 .catalog-layout{grid-template-columns:minmax(0,1fr) 235px;gap:16px}
 .campaign-sidebar{top:95px;padding:10px}
 .sidebar-slider{min-height:320px}
 .sidebar-slide img{height:260px}
 .catalog-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* V5 product detail and admin-ready catalog */
.product-open{display:block;width:100%;height:100%;padding:0;text-align:left;border:0;background:transparent;color:inherit;cursor:pointer}
.product-open .product-info{padding:14px}
.product-open .product-picture img{width:100%;height:100%;object-fit:contain;display:block;background:#fff}
.product-more{display:inline-block;margin-top:12px;color:#078b86;font-size:10px;font-weight:800;letter-spacing:.06em}
.product-price{display:block;margin-top:7px;color:#164a47;font-size:15px}
.product-card{overflow:hidden}
.product-open:hover h3{color:#078b86}
.modal-product{display:grid;grid-template-columns:minmax(180px, .9fr) minmax(0,1.1fr);gap:24px;align-items:center}
.modal-visual{min-height:260px;display:flex;align-items:center;justify-content:center;background:#eaf7f3;border-radius:14px;overflow:hidden;color:#087f79}
.modal-visual img{width:100%;height:100%;max-height:360px;object-fit:contain;background:#fff}
.modal-product-copy h2{font:700 27px 'Playfair Display',serif;color:#174744;margin:8px 0}
.modal-description{font-size:14px;line-height:1.8;color:#526d68;margin:14px 0}
.modal-price{display:block;color:#087f79;font-size:19px;margin:12px 0}
#orderForm{margin-top:20px}
@media(max-width:620px){.modal-product{grid-template-columns:1fr;gap:12px}.modal-visual{min-height:190px;max-height:230px}.modal-product-copy h2{font-size:23px}}

/* V6 layout repair + two-step product detail / order flow */
[hidden]{display:none!important}
.hero.hero-slider{position:relative;display:block;padding:0;overflow:hidden;height:clamp(430px,49vw,650px);min-height:430px;background:#e8f8f4}
.hero-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;overflow:hidden}
.hero-slide.active{opacity:1;visibility:visible;z-index:1}
.hero-slide>img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.hero-slide:after{content:"";position:absolute;inset:0;z-index:1;display:block;background:linear-gradient(90deg,rgba(242,255,251,.96) 0%,rgba(242,255,251,.88) 38%,rgba(242,255,251,.24) 70%,rgba(242,255,251,0) 100%)}
.hero-overlay{position:absolute;z-index:2;left:7%;top:50%;right:auto;bottom:auto;transform:translateY(-50%);width:min(520px,47%);max-width:520px;padding:0;background:transparent!important;color:#173f3d}
.hero-overlay h1{font:700 clamp(34px,4.1vw,58px)/1.08 'Playfair Display',serif;color:#123e40;margin:14px 0}
.hero-overlay h1 em{color:#078d88;font-style:normal}
.hero-overlay p{font-size:14px;line-height:1.75;color:#345e5c;max-width:440px;margin:0 0 22px}
.hero-overlay .btn{display:inline-flex!important;align-items:center;justify-content:center;background:#087c78!important;color:#fff!important;border-radius:28px;padding:14px 22px;text-decoration:none!important;font-size:11px;font-weight:800;letter-spacing:.05em}
.modal-product{grid-template-columns:minmax(220px,.95fr) minmax(0,1.05fr);align-items:start;gap:26px}
.modal-gallery{min-width:0}
.modal-visual{height:300px;min-height:300px;width:100%;display:flex;align-items:center;justify-content:center;border-radius:14px;overflow:hidden;background:#f1f8f6}
.modal-visual img{width:100%;height:100%;max-height:420px;object-fit:contain;display:block;background:#fff}
.modal-thumbnails{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.modal-thumb{width:58px;height:58px;border:1px solid #d9e9e4;border-radius:8px;padding:3px;background:#fff;overflow:hidden;cursor:pointer}
.modal-thumb.active{border:2px solid #078c86}
.modal-thumb img{width:100%;height:100%;object-fit:contain}
.modal-category{font-size:11px!important;color:#087c78!important;font-weight:700}
.modal-description{font-size:14px!important;line-height:1.8!important;color:#526d68!important;margin:14px 0!important}
.modal-price{display:block;font-size:22px;color:#087f79;margin:16px 0}
.buy-btn{width:100%;justify-content:center;margin:8px 0 5px;padding:15px 18px;font-size:11px}
.modal-hint{font-size:10px;line-height:1.6;color:#829994}
#orderForm{display:grid;gap:12px;margin-top:5px}
#orderForm h3{font:700 24px 'Playfair Display',serif;color:#174744;margin:5px 0}
.back-details{border:0;background:transparent;color:#087f79;font-size:12px;font-weight:700;text-align:left;cursor:pointer;padding:4px 0}
.order-product-name{font-size:12px;color:#54716c;background:#eef8f5;padding:10px 12px;border-radius:8px;margin:0}
@media(max-width:620px){
 .hero.hero-slider{height:auto;min-height:0;padding:0;display:block;overflow:hidden}
 .hero-slide{position:absolute;inset:0;display:none;opacity:0;visibility:hidden}
 .hero-slide.active{position:relative;inset:auto;display:flex;flex-direction:column;opacity:1;visibility:visible}
 .hero-slide>img{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;object-position:center;background:#e7f7f3}
 .hero-slide:after{display:none}
 .hero-overlay{position:relative;left:auto;right:auto;top:auto;bottom:auto;transform:none;width:100%;max-width:none;padding:22px 7% 55px;background:linear-gradient(180deg,#f4fffc 0%,#e7f7f3 100%)!important}
 .hero-overlay h1{font-size:clamp(27px,7.6vw,36px);line-height:1.1;margin:9px 0 10px}
 .hero-overlay p{font-size:12px;line-height:1.65;max-width:440px;margin:0 0 15px}
 .hero-overlay .btn{font-size:9px;padding:12px 17px}
 .hero-arrow{top:24%}
 .modal-product{grid-template-columns:1fr;gap:14px}
 .modal-visual{height:230px;min-height:230px}
 .modal-product-copy h2{font-size:23px}
 .product-modal{padding:20px 16px;max-height:94vh}
}

/* V7 — compact product cards and vertical product detail */
.product-info p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.55;max-height:3.1em}
.product-info{display:flex;flex-direction:column;align-items:flex-start}
.product-info .product-price{margin-top:auto;padding-top:12px}
.product-modal{max-height:92vh;overflow-y:auto;width:min(760px,94vw);padding:26px}
.modal-product{display:flex!important;flex-direction:column!important;gap:20px!important;align-items:stretch!important}
.detail-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}
.detail-photo{height:250px;background:#f4f8f7;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.detail-photo img{width:100%;height:100%;object-fit:contain;display:block}
.detail-photo:only-child{grid-column:1/-1;height:330px}
.detail-photo.no-photo span{font-size:60px}
.modal-product-copy{width:100%}
.modal-product-copy h2{font:700 clamp(24px,3vw,32px)/1.18 'Playfair Display',serif;color:#164a47;margin:10px 0}
.modal-description{font-size:15px!important;line-height:1.85!important;white-space:pre-line}
.modal-features{margin:18px 0}
.modal-features h3{font:700 19px 'Playfair Display',serif;color:#164a47;margin:0 0 10px}
.modal-features table{width:100%;border-collapse:collapse;border:1px solid #e0ece8;border-radius:10px;overflow:hidden}
.modal-features th,.modal-features td{padding:11px 13px;border-bottom:1px solid #e5eeeb;text-align:left;font-size:13px;line-height:1.5}
.modal-features th{width:38%;background:#f0f8f6;color:#205652;font-weight:700}
.modal-features td{color:#506b67}
.modal-features tr:last-child th,.modal-features tr:last-child td{border-bottom:0}
@media(max-width:620px){
 .product-modal{padding:20px 15px;max-height:94vh}
 .detail-gallery{gap:7px}
 .detail-photo{height:155px}
 .detail-photo:only-child{height:230px}
 .modal-description{font-size:13px!important}
 .modal-features th,.modal-features td{padding:9px;font-size:12px}
}

/* V8 — square product photography on cards and product sheet */
.product-picture{height:auto!important;aspect-ratio:1/1!important;position:relative;overflow:hidden;background:#fff!important}
.product-open .product-picture img{width:100%;height:100%;object-fit:contain!important;object-position:center center;background:#fff}
.detail-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start}
.detail-photo{height:auto!important;aspect-ratio:1/1!important;width:100%;background:#fff!important}
.detail-photo img{width:100%;height:100%;object-fit:contain!important;object-position:center center}
.detail-photo:only-child{height:auto!important;aspect-ratio:1/1!important;max-width:560px;margin-inline:auto}
.description-inline-image{margin:22px 0;padding:0;text-align:center}
.description-inline-image img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;object-position:center;border-radius:12px;background:#f6faf9}
.modal-description p{margin:0 0 14px;white-space:normal}
@media(max-width:620px){
 .product-picture{aspect-ratio:1/1!important}
 .detail-photo,.detail-photo:only-child{aspect-ratio:1/1!important;height:auto!important}
 .description-inline-image{margin:16px 0}
 .description-inline-image img{max-height:480px}
}

/* V9 — robust visibility for rich product information */
.modal-description{display:block!important;overflow:visible;white-space:normal}
.modal-features{display:block!important;clear:both;width:100%;margin:22px 0!important}
.modal-features table{display:table!important;width:100%;border-collapse:collapse}
.modal-features table tr{display:table-row!important}
.modal-features table th,.modal-features table td{display:table-cell!important}
.description-inline-image{display:block;width:100%;margin:22px auto}
.description-inline-image img{width:100%;height:auto;max-height:650px;object-fit:contain;display:block}

/* V10 branding, square product photography, rich product sheet */
.logo img{width:250px;max-width:100%;height:auto;object-fit:contain}
.product-picture{height:auto!important;aspect-ratio:1/1!important;background:#fff!important}
.product-picture img{width:100%;height:100%;object-fit:contain!important;object-position:center!important}
.detail-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start}
.detail-photo{height:auto!important;aspect-ratio:1/1!important;background:#fff!important}
.detail-photo img{width:100%;height:100%;object-fit:contain!important;object-position:center!important}
.detail-photo:only-child{grid-column:1/-1;max-width:560px;margin-inline:auto}
.modal-description{display:block!important;white-space:normal!important;line-height:1.75}
.modal-features{display:block!important;clear:both;width:100%;margin:22px 0!important}
.modal-features h3{font-size:20px;color:#164a47;margin:0 0 12px}
.modal-features table{display:table!important;width:100%;border-collapse:collapse;background:#f4faf8;border-radius:12px;overflow:hidden}
.modal-features tr{display:table-row!important}
.modal-features th,.modal-features td{display:table-cell!important;padding:12px 14px;border-bottom:1px solid #d9ebe6;text-align:left}
.modal-features th{width:42%;color:#164a47;background:#e9f5f1}
.description-inline-image{display:block;width:100%;margin:22px auto}
.description-inline-image img{width:100%;height:auto;max-height:650px;object-fit:contain;display:block}
@media(max-width:620px){
 .logo img{width:190px}
 .product-picture{aspect-ratio:1/1!important}
 .detail-photo{aspect-ratio:1/1!important}
 .modal-features th,.modal-features td{padding:9px 10px;font-size:13px}
}

/* V11 — enforce true square product tiles at every viewport */
#productGrid .product-card{min-width:0}
#productGrid .product-open{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;padding:0!important;overflow:hidden!important}
#productGrid .product-picture{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1 / 1!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background:#fff!important;
}
#productGrid .product-picture::before{pointer-events:none}
#productGrid .product-picture img{
  position:absolute!important;inset:0!important;
  display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  object-fit:contain!important;object-position:center!important;
  padding:12px!important;box-sizing:border-box!important;
}
#productGrid .product-picture .product-symbol{
  position:absolute;inset:0;display:grid;place-items:center;
  font-size:clamp(46px,6vw,76px)!important;
}
#productGrid .product-picture small{z-index:2}
#productGrid .product-info{min-height:175px}
.category-card .cat-icon{width:92px;height:92px;padding:12px;box-sizing:border-box}
.category-card .cat-icon img{display:block;width:100%;height:100%;object-fit:contain}
.category-card{min-height:165px}
.product-modal{overflow-y:auto!important;overscroll-behavior:contain}
#productDetails{display:block!important;overflow:visible!important}
.modal-product{display:flex!important;flex-direction:column!important;overflow:visible!important}
.modal-product-copy{display:block!important;overflow:visible!important}
#modalDescription{display:block!important;overflow:visible!important;max-height:none!important}
#modalFeatures{display:block!important;overflow:visible!important;max-height:none!important}
#modalFeatures:empty{display:none!important}
.description-inline-image{display:block!important;width:100%!important;max-width:680px!important;margin:22px auto!important}
.description-inline-image img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
@media(max-width:620px){
 #productGrid .product-picture{aspect-ratio:1 / 1!important;height:auto!important}
 .category-card .cat-icon{width:72px;height:72px}
}

/* OptiPest update: contact footer + animated action buttons */
.site-footer{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:38px 20px;background:#0d3438;color:#e9f4f1}
.site-footer>img{width:190px;max-width:70%;height:auto;object-fit:contain}
.site-footer p{margin:4px 0;color:#d2e5df}
.footer-contact{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;margin:8px 0 14px}
.footer-contact a,.footer-contact span{color:#fff;text-decoration:none;font-size:14px}
.footer-contact a:hover{text-decoration:underline}
.product-more{display:inline-block;transition:transform .2s ease,color .2s ease}
.product-open:hover .product-more{transform:translateX(5px)}
@media(prefers-reduced-motion:reduce){.product-open:hover .product-more{transform:none}}

/* Mobile navigation fix */
@media (max-width: 620px) {
  .header { position: sticky; }
  .header.menu-open nav {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    gap: 0;
    padding: 10px 5% 18px;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0,0,0,.12);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .header.menu-open nav a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #e6efec;
    font-size: 12px;
  }
  .header .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: 8px;
    border-radius: 8px;
    cursor: pointer;
    touch-action: manipulation;
  }
  .header.menu-open .menu { background: #eaf6f3; }
}
