/*
    Theme Name: mirelshop
    Author: bgo media
    Version: 2.0
*/

/* ===== Font: one variable file per script, loaded only when needed ===== */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-display:swap;
  src:url(https://fonts.gstatic.com/s/opensans/v44/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu1aB.woff2) format('woff2');
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-display:swap;
  src:url(https://fonts.gstatic.com/s/opensans/v44/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ===== Tokens ===== */
:root{
  --navy:#16276d;--navy-deep:#0d1847;--blue:#206cc9;--red:#ed1c24;--red-dark:#c9141b;--wa:#16a34a;
  --ink:#1b2233;--muted:#586073;--line:#e4e7ef;--soft:#f5f6fa;--white:#fff;
  --r:16px;--r-s:10px;--wrap:1240px;--gut:1.25rem;--head:3.75rem;
  --shadow:0 1px 2px rgba(13,24,71,.05),0 8px 24px -12px rgba(13,24,71,.16);
  --shadow-lg:0 2px 4px rgba(13,24,71,.06),0 22px 44px -18px rgba(13,24,71,.32);
  --ease:cubic-bezier(.2,.7,.2,1);
}
@media (min-width:950px){:root{--gut:2rem;--head:8.5rem}}

/* ===== Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--head) + 1rem)}
body{font:400 1rem/1.75 'Open Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--white);text-align:right;overflow-x:clip;-webkit-font-smoothing:antialiased}
img,video,iframe{max-width:100%}
img{height:auto;vertical-align:middle}
a{color:var(--blue);text-decoration:none;transition:color .2s}
a:hover{color:var(--red-dark)}
ul,ol{list-style:none}
input,textarea,select,button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:4px}
::selection{background:var(--navy);color:#fff}

h1,h2,h3,h4,h5,h6{color:var(--navy);font-weight:700;line-height:1.25;text-wrap:balance}
h1{font-size:clamp(1.8rem,1.3rem + 2.2vw,2.9rem);font-weight:800;letter-spacing:-.01em;margin-bottom:1.25rem}
h1 p{margin:0}
h2{font-size:clamp(1.3rem,1.1rem + 1vw,1.75rem);margin:2rem 0 .75rem}
h3{font-size:clamp(1.15rem,1rem + .6vw,1.4rem);margin:1.5rem 0 .6rem}
h4,h5{font-size:1.05rem}
p{margin-bottom:1rem}
p:last-child{margin-bottom:0}
main{min-height:60vh}
.PageStripe{height:var(--head)}

/* Editor content */
.Content ul,.MoreTxt ul,.Txter ul{list-style:disc;padding-inline-start:1.25rem;margin-bottom:1rem}
.Content li,.MoreTxt li,.Txter li{margin-bottom:.35rem}
.Content img,.MoreTxt img{border-radius:var(--r-s)}
.Content a,.MoreTxt a,.HomeMain a{text-decoration:underline;text-underline-offset:3px}
.Content iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:var(--r-s);margin-bottom:1.5rem}
.aligncenter{display:block;margin-inline:auto}
.MoreTxt{color:var(--muted);margin-top:2.5rem}
.MoreTxt:empty{display:none}

/* Shared widths */
.woocommerce,.SimplestPage,.GalleryPage,.ProductPage,.ContactPage,.CategoriesGrid ul,.HomeProjects,main>.ProductsGrid,.MoreArticles{width:min(100%,var(--wrap));margin-inline:auto;padding-inline:var(--gut)}

/* ===== Mobile header ===== */
header .HeaderDesktop{display:none}
.HeaderMobile .Head{position:fixed;inset:0 0 auto;z-index:999;height:var(--head);display:flex;align-items:center;justify-content:space-between;padding-inline:1rem;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);box-shadow:0 1px 0 var(--line)}
.HeaderMobile .Head img{height:2.25rem;width:auto}
.HeaderMobile .Head svg{display:block;height:1.4rem;width:auto}
.HeaderMobile .Head svg rect{fill:var(--navy)}
#NavMobile{display:none;position:fixed;inset:0;z-index:9999;background:rgba(13,24,71,.5)}
#NavMobile .Padder{width:84%;max-width:24rem;height:100%;margin-inline-start:0;padding:1rem 1.25rem 2rem;overflow-y:auto;background:var(--navy-deep);box-shadow:var(--shadow-lg)}
#NavMobile .CloseX{text-align:left}
#NavMobile .CloseX a{display:inline-block;padding:0 .5rem;font-size:1.5rem;font-weight:300;color:#fff}
#NavMobile form{display:flex;gap:.5rem;margin:.75rem 0 1.25rem}
#NavMobile form input{flex:1;min-width:0;height:2.75rem;padding-inline:1rem;border:0;border-radius:99px;background:#fff;color:var(--ink)}
#NavMobile form input[type=submit]{flex:0 0 4.5rem;background:var(--red);color:#fff;font-weight:700;cursor:pointer}
.Menuer a{display:block;padding:.7rem .25rem;border-bottom:1px solid rgba(255,255,255,.14);color:#fff;font-weight:600}
.Menuer ul{margin-inline-start:1rem}
.Menuer ul a{font-weight:400;font-size:.92rem;border:0;padding-block:.4rem}
#NavMobile .btns{padding-top:1.5rem}
#NavMobile .btns ul{display:flex;gap:.5rem}
#NavMobile .btns li{flex:1}
#NavMobile .btns a{display:block;padding:.6rem .25rem;border:1px solid rgba(255,255,255,.25);border-radius:var(--r-s);color:#fff;font-size:.8rem;text-align:center}

/* ===== Desktop header ===== */
@media (min-width:950px){
  header .HeaderMobile{display:none}
  header .HeaderDesktop{display:block;position:fixed;inset:0 0 auto;z-index:9999;background:#fff;transition:box-shadow .25s}
  .HeaderDesktop.sticky{box-shadow:var(--shadow)}
  .UpRuler{width:min(100%,var(--wrap));margin-inline:auto;padding:.75rem var(--gut);display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
  .UpRuler img{display:block;height:3.1rem;width:auto}
  .UpRuler ul{display:flex;align-items:center;gap:clamp(.9rem,2vw,1.75rem)}
  .UpRuler a{color:var(--ink);font-size:.92rem;font-weight:600}
  .UpRuler a:hover{color:var(--red-dark)}
  .UpRuler li:last-child a{color:#fff;background:var(--red-dark);padding:.5rem 1.1rem;border-radius:99px;font-weight:700;white-space:nowrap;transition:background .2s}
  .UpRuler li:last-child a:hover{background:var(--navy)}
  .HeaderMenu{display:flex;align-items:center;justify-content:space-between;padding-block:0;padding-inline:max(var(--gut),calc((100% - var(--wrap))/2 + var(--gut)));background:var(--navy)}
  .HeaderMenu>li{position:relative}
  .HeaderMenu>li>a{display:flex;align-items:center;height:3.1rem;padding-inline:clamp(.25rem,.45vw,.5rem);color:#fff;font-size:clamp(.78rem,.65rem + .3vw,.875rem);font-weight:600;line-height:1.2;text-align:center;box-shadow:inset 0 -3px 0 transparent;transition:box-shadow .2s}
  .HeaderMenu>li:hover>a{box-shadow:inset 0 -3px 0 var(--red)}
  .HeaderMenu li ul{display:block;visibility:hidden;opacity:0;transform:translateY(8px);position:absolute;inset-inline-start:0;top:100%;z-index:1000;width:17rem;max-height:70vh;overflow-y:auto;padding:.5rem;background:#fff;border-radius:0 0 var(--r-s) var(--r-s);box-shadow:var(--shadow-lg);transition:opacity .18s,transform .18s var(--ease),visibility .18s}
  .HeaderMenu li:hover>ul,.HeaderMenu li:focus-within>ul{visibility:visible;opacity:1;transform:none}
  .HeaderMenu li ul a{display:block;padding:.45rem .7rem;border-radius:8px;color:var(--ink);font-size:.9rem;line-height:1.4}
  .HeaderMenu li ul a:hover{background:var(--soft);color:var(--navy)}
  .HeaderMenu form{display:flex;align-items:center;height:2.1rem;background:#fff;border-radius:99px;overflow:hidden}
  .HeaderMenu form input{border:0;background:none;height:100%;width:clamp(5rem,8vw,7.5rem);padding-inline:.8rem;font-size:.85rem;color:var(--ink)}
  .HeaderMenu form input:focus{outline:0}
  .HeaderMenu form input[type=submit]{width:3.1rem;padding:0;background:var(--red);color:#fff;font-weight:700;cursor:pointer}
}

/* ===== Breadcrumb ===== */
main>.MareMakom{width:min(100%,var(--wrap));margin-inline:auto;padding-inline:var(--gut)}
ol.breadcrumb{padding:1.25rem 0 .75rem;font-size:.8rem;color:var(--muted)}
ol.breadcrumb li{display:inline}
ol.breadcrumb li+li::before{content:"‹";padding-inline:.45rem;color:var(--red)}
ol.breadcrumb a{color:var(--muted)}
ol.breadcrumb a:hover{color:var(--red-dark)}

/* ===== Hero ===== */
#rotator{position:relative;height:clamp(24rem,68vh,44rem);overflow:hidden;background:var(--navy-deep)}
#rotator .ui-tabs-panel{height:100%;background:center/cover no-repeat}
#rotator .ui-tabs-hide{display:none}
#rotator .textbox{height:100%;display:flex;align-items:flex-end;padding:var(--gut) var(--gut) 4.5rem;background:linear-gradient(0deg,rgba(13,24,71,.82),rgba(13,24,71,0) 62%)}
#rotator .LinaA{max-width:16ch;color:#fff;font-size:clamp(2rem,1.2rem + 3.6vw,4.1rem);font-weight:800;line-height:1.12;letter-spacing:-.015em;text-wrap:balance;animation:rise .7s var(--ease) both}
#rotator .LinaA::before{content:"";display:block;width:3.5rem;height:4px;margin-bottom:1rem;background:var(--red);border-radius:2px}
#rotator .ui-tabs-nav{position:absolute;inset-inline-start:var(--gut);bottom:1.75rem;display:flex;gap:.5rem}
#rotator .ui-tabs-nav-item{width:2.5rem;height:4px;border-radius:2px;background:rgba(255,255,255,.4)}
#rotator .ui-tabs-selected{background:var(--red)}
#rotator .ui-tabs-nav-item a{display:block;height:100%;padding-block:.75rem;margin-top:-.75rem;box-sizing:content-box}
@keyframes rise{from{opacity:0;transform:translateY(18px)}}
@media (min-width:950px){
  #rotator .textbox{align-items:center;padding-block:0;padding-inline:max(var(--gut),calc((100% - var(--wrap))/2 + var(--gut)));background:linear-gradient(270deg,rgba(13,24,71,.85),rgba(13,24,71,.3) 48%,rgba(13,24,71,0) 72%)}
  #rotator .ui-tabs-nav{inset-inline-start:max(var(--gut),calc((100% - var(--wrap))/2 + var(--gut)))}
}

/* ===== Home sections ===== */
.HomeMain{padding:clamp(2.5rem,6vw,4.5rem) var(--gut);background:var(--soft)}
.HomeMain .Inner{max-width:52rem;margin-inline:auto;text-align:center;font-size:1.05rem}
.HomeMain h1{color:var(--navy)}
.HomeMain h1::after{content:"";display:block;width:3.5rem;height:4px;margin:1rem auto 0;background:var(--red);border-radius:2px}
.HomeMain img{max-height:5rem;width:auto}
main>.HomeMain:last-of-type .Inner{text-align:right;color:var(--muted);font-size:1rem}

.HomeProjects{padding-block:clamp(2.5rem,6vw,4.5rem)}
.HomeProjects+.VideoPart{margin-top:0}
.HomeProjects h3,.CategoriesGrid h3{font-size:clamp(1.5rem,1.2rem + 1.4vw,2.2rem);font-weight:800;text-align:center;margin:0 0 1.75rem}
.HomeProjects ul,ul.Projects{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(.75rem,2vw,1.5rem)}
.HomeProjects li,ul.Projects li{position:relative;margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:var(--r);background:var(--soft);box-shadow:var(--shadow)}
.HomeProjects li a,ul.Projects li a{display:block;height:100%;text-decoration:none}
.HomeProjects li img,ul.Projects li img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.HomeProjects li a::after,ul.Projects li a::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,24,71,.85),rgba(13,24,71,0) 60%)}
.HomeProjects li span,ul.Projects li span{position:absolute;z-index:1;inset:auto 0 0;padding:.9rem 1rem;color:#fff;font-size:clamp(.88rem,.8rem + .3vw,1.05rem);font-weight:700;line-height:1.3}
.HomeProjects li:hover img,ul.Projects li:hover img{transform:scale(1.06)}
.HomeProjects li:first-child,ul.Projects li:first-child{grid-column:1/-1;aspect-ratio:16/9}
.HomeProjects li:first-child span,ul.Projects li:first-child span{font-size:clamp(1.15rem,1rem + 1vw,1.7rem);padding:1.25rem 1.5rem}
.ShowMore{margin-top:2rem;text-align:center}
.ShowMore a{display:inline-block;padding:.7rem 1.75rem;border-radius:99px;background:var(--navy);color:#fff;font-weight:700;font-size:.95rem;transition:background .2s,transform .2s var(--ease)}
.ShowMore a:hover{background:var(--red-dark);color:#fff;transform:translateY(-2px)}

.VideoPart{padding:clamp(3rem,7vw,5.5rem) var(--gut);background:linear-gradient(160deg,var(--navy-deep),var(--navy) 60%,var(--blue));color:rgba(255,255,255,.9)}
.VideoPart .Inner{max-width:60rem;margin-inline:auto;text-align:center}
.VideoPart h3{margin:0 0 2rem;color:#fff;font-size:clamp(1.6rem,1.2rem + 1.8vw,2.6rem);font-weight:800}
.VideoPart iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;margin-bottom:2rem;border:0;border-radius:var(--r);background:#000;box-shadow:0 24px 48px -20px rgba(0,0,0,.6)}
.VideoPart .ShowMore a{background:#fff;color:var(--navy)}
.VideoPart .ShowMore a:hover{background:var(--red);color:#fff}

.MoreArticles{padding-block:clamp(2.5rem,6vw,4rem);overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.MoreArticles ul{display:flex;gap:1.25rem;width:max-content;padding-bottom:.75rem}
.MoreArticles li{width:min(78vw,20rem);height:27rem;overflow:hidden;padding:0 0 1rem;scroll-snap-align:start;border:1px solid var(--line);border-radius:var(--r);background:#fff;color:var(--muted);font-size:.9rem;line-height:1.6;transition:box-shadow .25s,transform .25s var(--ease)}
.MoreArticles li:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.MoreArticles li img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;margin-bottom:.75rem}
.MoreArticles li h5{margin:0 1rem .5rem;color:var(--navy);font-size:1.05rem;line-height:1.35}
.MoreArticles li{text-indent:0}
.MoreArticles li>a:last-child{color:var(--red-dark);font-weight:600}

.CategoriesGrid{padding-block:clamp(2.5rem,6vw,4.5rem);background:var(--soft)}
.CategoriesGrid ul{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(.75rem,2vw,1.5rem)}
.CategoriesGrid li{overflow:hidden;border-radius:var(--r);background:#fff;box-shadow:var(--shadow);text-align:center;transition:box-shadow .25s,transform .25s var(--ease)}
.CategoriesGrid li:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.CategoriesGrid li img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff}
.CategoriesGrid li div{padding:.75rem .75rem 1rem;line-height:1.35}
.CategoriesGrid li div a{color:var(--navy);font-size:.92rem;font-weight:700}

/* ===== Product cards ===== */
.ProductsGrid{padding-block:clamp(2rem,5vw,3.5rem)}
.ProductsGrid h4{margin-bottom:1.5rem;font-size:clamp(1.3rem,1.1rem + 1vw,1.75rem)}
.ProductsGrid ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.75rem,2vw,1.25rem)}
.ProductsGrid li{display:flex;flex-direction:column;padding:.75rem;border:1px solid var(--line);border-radius:var(--r);background:#fff;text-align:center;transition:box-shadow .25s,transform .25s var(--ease),border-color .25s}
.ProductsGrid li:hover{border-color:transparent;box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.ProductsGrid li>a:not([class]){order:-1;display:block;margin-bottom:.75rem}
.ProductsGrid li img{display:block;width:100%;aspect-ratio:1;object-fit:contain;transition:transform .4s var(--ease)}
.ProductsGrid li:hover img{transform:scale(1.04)}
.ProductsGrid .Header1{color:var(--navy);font-size:.9rem;font-weight:700;line-height:1.35}
.ProductsGrid .Header2{color:var(--muted);font-size:.8rem;line-height:1.4;margin-top:.25rem}
.ProductsGrid .Btns{margin-top:auto;padding-top:.75rem}
.ProductsGrid .Btns a{display:block;padding:.45rem .5rem;border:1.5px solid var(--navy);border-radius:99px;color:var(--navy);font-size:.85rem;font-weight:700;transition:background .2s,color .2s}
.ProductsGrid .Btns a:hover{background:var(--navy);color:#fff}

.SubCatGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.75rem,2vw,1.25rem);padding-block:1.5rem 2rem}
.SubCatGrid li{padding:.75rem;border-radius:var(--r);background:#fff;box-shadow:var(--shadow);text-align:center;transition:box-shadow .25s,transform .25s var(--ease)}
.SubCatGrid li:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.SubCatGrid li img{display:block;width:100%;aspect-ratio:1;object-fit:contain}
.SubCatGrid li div{margin-top:.5rem;line-height:1.35}
.SubCatGrid li div a{color:var(--navy);font-size:.95rem;font-weight:700}

/* ===== Inner pages ===== */
.woocommerce{padding-bottom:3rem}
.SimplestPage{padding-block:0 3rem}
.SimplestPage:not(:has(*)){display:none}
.SimplestPage>.Content{width:100%}
.AmudaRight{min-width:0}
.AmudaRight ul.Projects{padding:0;margin-block:1.5rem;list-style:none}
.AmudaRight iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:var(--r-s)}
.AmudaRight h3{padding-inline-start:.85rem;border-inline-start:4px solid var(--red)}
.AmudaRight .Content img{width:auto;margin-inline:auto}
.SiteMap ul{list-style:none;padding:0}
.SiteMap li ul{margin:.35rem 1rem 0}
.SiteMap a{color:var(--ink)}
.AmudaLeft{margin-top:2.5rem}

/* Lead form card */
#HomeLeadForm,.QuoteForm{padding:1.5rem;border-radius:var(--r);background:var(--navy);color:rgba(255,255,255,.88);font-size:.9rem;line-height:1.55;box-shadow:var(--shadow-lg)}
#HomeLeadForm>span:first-child{display:block;margin-bottom:-.75rem;color:#fff;font-size:1.4rem;font-weight:800;line-height:1.25}
#HomeLeadForm a{color:#fff;text-decoration:underline}
#HomeLeadForm input[type=text],#HomeLeadForm input[type=tel],.QuoteForm input{display:block;width:100%;height:2.9rem;margin-top:.75rem;padding-inline:1rem;border:0;border-radius:var(--r-s);background:#fff;color:var(--ink);font-size:1rem}
#HomeLeadForm>div{margin-top:.9rem;font-size:.8rem}
input.Snd{display:block;width:100%;height:3rem;margin-top:1rem;border:0;border-radius:99px;background:var(--red-dark);color:#fff;font-weight:700;font-size:1.05rem;cursor:pointer;transition:background .2s,transform .2s var(--ease)}
input.Snd:hover{background:#a80f15;transform:translateY(-1px)}
input[type=checkbox]{width:auto;height:auto;margin-inline-end:.5rem;accent-color:var(--red);vertical-align:middle}
::placeholder{color:#7a8294;opacity:1}

/* Contact */
.ContactPage{display:grid;gap:2rem;padding-block:2rem 4rem}
.ContactPartForm form{padding:1.5rem;border:1px solid var(--line);border-radius:var(--r);background:#fff;box-shadow:var(--shadow);font-size:.85rem}
.ContactPartForm input[type=text],.ContactPartForm input[type=tel],.ContactPartForm textarea{display:block;width:100%;margin-bottom:.75rem;padding:.7rem 1rem;border:1.5px solid var(--line);border-radius:var(--r-s);background:var(--soft);font-size:1rem;transition:border-color .2s,background .2s}
.ContactPartForm textarea{min-height:7rem;resize:vertical}
.ContactPartForm input:focus,.ContactPartForm textarea:focus{outline:0;border-color:var(--navy);background:#fff}

/* Gallery */
.GalleryPage{padding-bottom:3rem}
.MainPad{display:grid;gap:1.5rem}
.LeftPad{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem}
.LeftPad img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;cursor:pointer;transition:opacity .2s}
.LeftPad img:hover{opacity:.8}
.LeftPad img.MainBigImg{grid-column:1/-1;aspect-ratio:16/10;border-radius:var(--r);cursor:auto;opacity:1}

/* Product page */
.ProductPage{display:grid;gap:1.5rem;padding-bottom:1rem}
.ImagsPad{min-width:0}
.ImagsPad .BigImg{display:block;width:100%;aspect-ratio:1;object-fit:contain;padding:1rem;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.SmallImgs{display:flex;gap:.5rem;margin-top:.5rem;overflow-x:auto}
.SmallImgs img{width:4.5rem;height:4.5rem;object-fit:contain;padding:.25rem;border:1px solid var(--line);border-radius:8px;background:#fff;transition:border-color .2s}
.SmallImgs a:hover img{border-color:var(--navy)}
.Data{min-width:0}
.Data h1{font-size:clamp(1.5rem,1.2rem + 1.4vw,2.2rem)}
.ProductWhatsappQuote{margin-bottom:1.25rem}
.ProductWhatsappQuote a{display:block;padding:.85rem 1rem;border-radius:99px;background:var(--wa);color:#fff;font-weight:700;text-align:center;box-shadow:0 10px 20px -10px rgba(22,163,74,.7);transition:transform .2s var(--ease),background .2s}
.ProductWhatsappQuote a:hover{background:#128a3e;color:#fff;transform:translateY(-2px)}
.Data table{width:100%;margin-bottom:1.25rem;border-collapse:collapse;font-size:.85rem;text-align:center}
.Data table tr:first-child{background:var(--navy);color:#fff}
.Data table td{padding:.45rem .35rem;border:1px solid var(--line)}
.Data .Btn a{display:block;padding:.85rem;border-radius:var(--r-s);background:var(--red-dark);color:#fff;font-weight:700;text-align:center}
.AddedValues{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1.25rem;padding:1rem;border-radius:var(--r);background:var(--soft);font-size:.78rem;line-height:1.4;text-align:center}
.AddedValues img{display:block;height:2.25rem;width:auto;margin:0 auto .35rem}
.ProductPage .MoreTxt{margin-top:.5rem;min-width:0}
.ProductPage .MoreTxt:not(:has(*)){display:none}

/* ===== Footer ===== */
footer{margin-top:0;padding:clamp(2.5rem,6vw,4rem) var(--gut) 5.5rem;background:var(--navy-deep);color:rgba(255,255,255,.8);font-size:.92rem}
.FooterMainDiv .Inner{width:min(100%,var(--wrap));margin-inline:auto}
.Trio{display:grid;gap:1.5rem;justify-items:center;text-align:center}
.Trio img{display:block;max-width:13rem}
.Trio li{line-height:1.9}
.Trio>div:last-child ul{display:flex;gap:.75rem}
.Trio>div:last-child img{width:2.25rem;height:2.25rem;padding:.4rem;border-radius:50%;background:rgba(255,255,255,.1);transition:background .2s}
.Trio>div:last-child a:hover img{background:var(--red)}
.Sargel{display:flex;flex-wrap:wrap;justify-content:center;gap:.25rem 1.25rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.14)}
.Sargel a{color:rgba(255,255,255,.8);font-size:.88rem}
.Sargel a:hover{color:#fff}
.CallUsBtn,.WaUsBtn{position:fixed;bottom:1rem;z-index:9998;width:3.25rem;height:3.25rem;border-radius:50%;box-shadow:0 8px 20px -6px rgba(0,0,0,.45);background-repeat:no-repeat;background-position:center;background-size:58%}
.CallUsBtn{left:1rem;background-color:var(--navy);background-image:url(sitefiles/ContacterCallUs.svg)}
.WaUsBtn{right:1rem;background-color:#14c761;background-image:url(sitefiles/ContacterChatWa.svg);background-position:60% 70%}

/* ===== WooCommerce pages (cart, notices), replaces the plugin stylesheets ===== */
.woocommerce table.shop_table{width:100%;margin-bottom:1.5rem;border-collapse:collapse;font-size:.92rem}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:.75rem;border-bottom:1px solid var(--line);text-align:right}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.checkout-button{display:inline-block;padding:.65rem 1.5rem;border:0;border-radius:99px;background:var(--navy);color:#fff;font-weight:700;cursor:pointer}
.woocommerce .button:hover{background:var(--red-dark);color:#fff}
.woocommerce-message,.woocommerce-info,.woocommerce-error{margin-bottom:1.25rem;padding:.85rem 1rem;border-inline-start:4px solid var(--navy);border-radius:var(--r-s);background:var(--soft)}
.woocommerce-error{border-color:var(--red)}
.woocommerce input.input-text,.woocommerce select,.woocommerce textarea{width:100%;padding:.6rem .8rem;border:1.5px solid var(--line);border-radius:var(--r-s);background:#fff}
.woocommerce form .form-row{margin-bottom:.9rem}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* ===== Scroll reveal (AOS classes). Content stays visible when JS does not run ===== */
.aos-init{transition:opacity .7s var(--ease),transform .7s var(--ease)}
.aos-init:not(.aos-animate){opacity:0;transform:translateY(24px)}

/* ===== Layout from tablet up ===== */
@media (min-width:640px){
  .ProductsGrid ul,.SubCatGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .CategoriesGrid ul{grid-template-columns:repeat(3,1fr)}
  .HomeProjects ul,ul.Projects{grid-template-columns:repeat(3,1fr)}
  .HomeProjects li:first-child,ul.Projects li:first-child{grid-column:span 2;grid-row:span 2;aspect-ratio:auto}
  .LeftPad{grid-template-columns:repeat(6,1fr)}
}
@media (min-width:950px){
  .ProductsGrid ul,.SubCatGrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .CategoriesGrid ul{grid-template-columns:repeat(4,1fr)}
  .ProductsGrid li{padding:1rem}
  .SimplestPage{display:grid;grid-template-columns:minmax(0,1fr) 21rem;gap:3rem;align-items:start}
  .SimplestPage>.Content{grid-column:1/-1}
  .AmudaLeft{position:sticky;top:calc(var(--head) + 1.5rem);margin-top:3rem}
  .ContactPage{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:4rem;align-items:start}
  .MainPad{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:3rem;align-items:start}
  .LeftPad{grid-template-columns:repeat(8,1fr)}
  .ProductPage{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3rem;padding-top:.5rem;align-items:start}
  .ImagsPad{position:sticky;top:calc(var(--head) + 1.5rem)}
  .ProductPage .MoreTxt{grid-column:1/-1}
  .ProductWhatsappQuote{max-width:22rem}
  .Trio{grid-template-columns:auto 1fr auto;align-items:center;justify-items:start;text-align:right;gap:3rem}
  .Sargel{justify-content:flex-start}
  footer{padding-bottom:2.5rem}
  .CallUsBtn,.WaUsBtn{display:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .aos-init:not(.aos-animate){opacity:1;transform:none}
}
@media print{header,footer,.AmudaLeft,.PageStripe,#rotator{display:none}}
