/*
Theme Name: Al Mustafa Group Catalog
Author: Websy Studios
Version: 3.9.18
Text Domain: almustafa
*/
:root{--blue:#0868df;--navy:#082b68;--ink:#0b1d3a;--muted:#66758f;--line:#e4ebf5;--soft:#f6f9fd;--cream:#fff4e8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.wrap{width:min(1180px,92%);margin:auto}.site-header{position:sticky;top:0;z-index:99;background:#fff;border-bottom:1px solid var(--line)}.head{height:78px;display:flex;align-items:center;gap:32px}.brand{font-weight:900;font-size:25px;line-height:.8;letter-spacing:.8px;color:var(--navy);white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:5px;margin-top:10px;text-align:center}.nav{display:flex;gap:27px;margin-left:auto;align-items:center;font-weight:700;font-size:14px}.nav a:hover,.nav .current-menu-item>a{color:var(--blue)}.search{display:flex;border:1px solid var(--line);border-radius:999px;padding:8px 13px;min-width:215px}.search input{border:0;outline:0;width:100%}.lang{background:#eef5ff;border-radius:999px;padding:5px}.lang span{display:inline-block;padding:7px 9px;border-radius:50%;font-size:12px}.lang .active{background:var(--blue);color:#fff}.hero{background:linear-gradient(90deg,#eaf5ff,#fff);padding:64px 0}.hero-grid{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:45px}.eyebrow{color:var(--blue);font-weight:800}.hero h1{font-size:58px;line-height:1.02;margin:12px 0 18px;letter-spacing:-2px}.hero p{color:var(--muted);font-size:17px;line-height:1.7;max-width:540px}.btn{display:inline-block;background:var(--blue);color:#fff;padding:14px 22px;border-radius:10px;font-weight:800;margin-top:12px}.hero-visual{min-height:380px;border-radius:28px;background:linear-gradient(145deg,#fff4e6,#e8f5ff);display:flex;align-items:center;justify-content:center;font-size:95px;box-shadow:0 22px 60px #0b4d9c18}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:20px 0}.feature{padding:18px;border:1px solid var(--line);border-radius:14px;font-weight:750;font-size:13px;text-align:center;background:#fff}.section{padding:72px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}.section h2,.page-title{font-size:38px;margin:0 0 8px;color:var(--navy)}.muted{color:var(--muted)}.cats{display:grid;grid-template-columns:1fr 1fr;gap:22px}.cat{min-height:240px;padding:34px;border-radius:24px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;position:relative}.cat.toys{background:linear-gradient(135deg,#fff0df,#fff)}.cat.home{background:linear-gradient(135deg,#e8f5ff,#fff)}.cat h3{font-size:31px;margin:0 0 7px}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{border:1px solid var(--line);border-radius:16px;padding:12px;background:#fff;transition:.2s}.card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #102b4c14}.card-img{aspect-ratio:1/1;background:var(--soft);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}.card-img img{width:100%;height:100%;object-fit:contain}.card h3{font-size:15px;margin:14px 2px 7px}.code{font-size:12px;color:#7c8798}.catalog-hero{padding:45px 0;background:linear-gradient(90deg,#edf7ff,#fff)}.catalog-layout{display:grid;grid-template-columns:220px 1fr;gap:28px}.filters{border:1px solid var(--line);border-radius:16px;padding:20px;height:max-content}.filters h4{margin:0 0 15px}.filters a{display:block;padding:8px 0;color:var(--muted)}.legacy-single-product{display:grid;grid-template-columns:1fr 1fr;gap:55px;padding:55px 0}.single-image{background:var(--soft);border-radius:20px;padding:25px}.single-image img{width:100%;max-height:540px;object-fit:contain}.single-info h1{font-size:42px;margin:0 0 10px}.description{line-height:1.8;color:#52617a}.info-box{padding:16px;border:1px solid var(--line);border-radius:14px;margin:18px 0}.about-hero,.contact-hero{padding:70px 0;background:linear-gradient(100deg,var(--navy),#147ce9);color:#fff}.about-hero h1,.contact-hero h1{font-size:48px;margin:0 0 10px}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.value{border:1px solid var(--line);border-radius:18px;padding:28px}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px}.contact-card,.contact-form{border:1px solid var(--line);border-radius:18px;padding:28px}.contact-form input,.contact-form textarea{width:100%;padding:13px;border:1px solid var(--line);border-radius:9px;margin:7px 0 13px}.site-footer{background:var(--navy);color:#fff;padding:45px 0 22px;margin-top:60px}.foot{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-footer p,.site-footer a{color:#c7d7f0}.copyright{border-top:1px solid #ffffff20;margin-top:28px;padding-top:20px;font-size:12px;color:#a9bddc}.woocommerce .woocommerce-breadcrumb{margin:25px 0;color:var(--muted)}.woocommerce ul.products li.product{border:1px solid var(--line);border-radius:16px;padding:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-weight:800;color:var(--ink)}.woocommerce ul.products li.product .price{display:none}.woocommerce div.product p.price{display:none}.woocommerce-result-count,.woocommerce-ordering{margin-bottom:25px}@media(max-width:900px){.nav{display:none}.search{margin-left:auto;min-width:120px}.hero-grid,.legacy-single-product,.contact-grid,.catalog-layout{grid-template-columns:1fr}.hero h1{font-size:43px}.products{grid-template-columns:repeat(2,1fr)}.features{grid-template-columns:repeat(2,1fr)}.cats{grid-template-columns:1fr}.values{grid-template-columns:1fr}.foot{grid-template-columns:1fr}.hero-visual{min-height:250px}}@media(max-width:520px){.products{grid-template-columns:1fr 1fr;gap:10px}.card{padding:8px}.hero{padding:38px 0}.hero h1{font-size:37px}.section{padding:48px 0}.section h2,.page-title{font-size:30px}.brand{font-size:20px}.search{display:none}}

/* ===== v1.1 Responsive catalog fixes ===== */
.woocommerce ul.products,
.woocommerce-page ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:24px !important;
  margin:0 !important;
  padding:0 !important;
  clear:both;
}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  float:none !important;
  width:100% !important;
  margin:0 !important;
  padding:14px !important;
  min-width:0 !important;
  border:1px solid var(--line) !important;
  border-radius:18px !important;
  background:#fff;
  display:flex !important;
  flex-direction:column;
  position:relative;
  transition:.2s ease;
}
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(16,43,76,.09)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;width:100%}
.woocommerce ul.products li.product a img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:1/1;
  object-fit:contain;
  margin:0 0 14px !important;
  padding:10px;
  border-radius:13px;
  background:var(--soft);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  padding:0 !important;
  margin:0 0 7px !important;
  font-size:15px !important;
  line-height:1.45 !important;
  min-height:44px;
  overflow-wrap:normal !important;
  word-break:normal !important;
  white-space:normal;
}
.woocommerce ul.products li.product .code{font-size:12px;line-height:1.4;color:#71809a;margin:0 0 8px}
.woocommerce ul.products li.product .button{
  display:none !important;
}
.woocommerce .woocommerce-result-count{float:left;margin:0 0 26px!important;color:var(--muted)}
.woocommerce .woocommerce-ordering{float:right;margin:0 0 26px!important}
.woocommerce .woocommerce-ordering select{border:1px solid var(--line);border-radius:10px;padding:9px 34px 9px 12px;background:#fff;color:var(--ink)}
.woocommerce .woocommerce-pagination{margin-top:34px}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:7px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--line);border-radius:8px;padding:10px 13px;min-width:38px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--blue);color:#fff;border-color:var(--blue)}

.mobile-toggle{display:none;border:0;background:#eef5ff;color:var(--navy);width:42px;height:42px;border-radius:10px;font-size:23px;cursor:pointer}
.mobile-nav{display:none}

@media(max-width:1050px){
 .head{gap:18px}.nav{gap:17px;font-size:13px}.search{min-width:170px}
 .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:900px){
 .head{height:70px}.mobile-toggle{display:block;margin-left:auto}.head>.search,.head>.lang{display:none}.nav{display:none}
 .mobile-nav{display:none;position:absolute;left:0;right:0;top:70px;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 4%;box-shadow:0 14px 30px rgba(8,43,104,.08)}
 .mobile-nav.open{display:block}.mobile-nav a{display:block;padding:12px 4px;font-weight:800;border-bottom:1px solid #eef2f7}.mobile-nav a:last-child{border:0}
 .mobile-tools{display:flex;gap:10px;padding-top:13px}.mobile-tools .search{display:flex;flex:1;min-width:0}.mobile-tools .lang{display:block}
 .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px!important}
 .section{padding:42px 0}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none}.woocommerce .woocommerce-ordering{margin-bottom:22px!important}.woocommerce .woocommerce-ordering select{width:100%}
}
@media(max-width:520px){
 .wrap{width:min(100% - 28px,1180px)}.brand{font-size:19px}.brand small{font-size:6px;letter-spacing:4px;margin-top:8px}
 .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px!important}
 .woocommerce ul.products li.product,.woocommerce-page ul.products li.product{padding:9px!important;border-radius:13px!important}
 .woocommerce ul.products li.product a img{padding:5px;margin-bottom:9px!important;border-radius:10px}
 .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.35!important;min-height:36px;margin-bottom:5px!important}
 .woocommerce ul.products li.product .code{font-size:11px}
 .woocommerce .woocommerce-result-count{font-size:13px}.section{padding:30px 0}.page-title,.woocommerce-products-header__title.page-title{font-size:28px!important}
 .hero-grid{gap:24px}.hero-visual{font-size:56px}.features{gap:8px}.feature{padding:13px 8px;font-size:11px}.cat{min-height:190px;padding:24px}.cat h3{font-size:26px}
 .single-info h1{font-size:30px}.about-hero h1,.contact-hero h1{font-size:36px}
}
@media(max-width:360px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr !important}}
/* ===== v2 final catalog refinements ===== */
.hero-photo{width:100%;height:100%;min-height:380px;border-radius:28px;background:url('assets/hero.jpg') center/cover no-repeat}
.hero-visual{padding:0;overflow:hidden;font-size:0}.products-section{background:#f8fbff}.lang a{display:inline-block;padding:7px 9px;border-radius:999px;font-size:12px}.lang a.active{background:var(--blue);color:#fff}.nav .menu-item{display:inline-block}.single-code{font-size:14px;color:#71809a;margin:8px 0 18px}.notice{padding:12px 14px;border-radius:10px;margin-bottom:12px}.notice.success{background:#eaf8ee;color:#138a3d}.notice.error{background:#fff0f0;color:#a62424}.empty-state{padding:40px;border:1px dashed var(--line);border-radius:16px;text-align:center;color:var(--muted)}
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important;margin:0!important}.woocommerce div.product div.images img{border-radius:18px;background:var(--soft);object-fit:contain}.woocommerce div.product .product_title{font-size:40px;line-height:1.15;color:var(--navy)}.woocommerce div.product .woocommerce-product-details__short-description{color:#52617a;line-height:1.8}.woocommerce-tabs{grid-column:1/-1}.related.products{grid-column:1/-1}.related.products>h2{font-size:30px;color:var(--navy)}
@media(max-width:900px){.hero-photo{min-height:300px}.woocommerce div.product{grid-template-columns:1fr;gap:26px}.woocommerce div.product .product_title{font-size:32px}}
@media(max-width:520px){.hero-photo{min-height:230px}.hero-grid{grid-template-columns:1fr}.hero-visual{order:-1}.woocommerce div.product .product_title{font-size:27px}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.site-ar{font-family:Arial,Tahoma,sans-serif}.site-ar .head,.site-ar .section-head{direction:rtl}.site-ar .nav{margin-left:0;margin-right:auto}.site-ar .mobile-toggle{margin-left:0;margin-right:auto}.site-ar .woocommerce .woocommerce-result-count{float:right}.site-ar .woocommerce .woocommerce-ordering{float:left}

/* v2.1 bilingual refinements */
.site-ar .foot,.site-ar .values,.site-ar .contact-grid{direction:rtl;text-align:right}.site-ar .contact-form input,.site-ar .contact-form textarea{text-align:right}.site-ar .woocommerce div.product,.site-ar .woocommerce ul.products{direction:rtl}.site-ar .woocommerce-loop-product__title,.site-ar .code{text-align:right}

/* ===== v2.2 custom catalog product page ===== */
.am-product-page{padding-top:46px}.am-product-main{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:64px;align-items:start;width:100%;direction:ltr}.site-ar .am-product-main{direction:rtl}.am-gallery,.am-product-info{min-width:0}.am-main-image{aspect-ratio:1/1;background:var(--soft);border:1px solid var(--line);border-radius:24px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:24px}.am-main-image img{width:100%;height:100%;object-fit:contain}.am-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}.am-thumb{aspect-ratio:1/1;border:1px solid var(--line);border-radius:12px;background:#fff;padding:6px;cursor:pointer;overflow:hidden}.am-thumb.active{border:2px solid var(--blue)}.am-thumb img{width:100%;height:100%;object-fit:contain}.am-product-info{padding:18px 0}.am-eyebrow{font-size:13px;font-weight:850;color:var(--blue);text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}.am-product-info h1{font-size:44px;line-height:1.16;color:var(--navy);margin:0 0 14px;overflow-wrap:normal;word-break:normal}.am-code{display:inline-flex;align-items:center;gap:5px;padding:9px 13px;border-radius:999px;background:#eef5ff;color:#526b91;font-size:14px;margin-bottom:22px}.am-code strong{color:var(--navy)}.am-short,.am-description-body{font-size:16px;line-height:1.9;color:#52617a}.am-short p:first-child{margin-top:0}.am-categories{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.am-categories>span{font-weight:800;color:var(--navy);margin-inline-end:4px}.am-categories a{padding:7px 10px;background:var(--soft);border-radius:8px;font-size:13px;color:#52617a}.am-description{margin-top:56px;padding-top:40px;border-top:1px solid var(--line);max-width:900px}.am-description h2,.am-related h2{font-size:32px;color:var(--navy);margin:0 0 14px}.am-description-body{max-width:850px}.am-description-body img{border-radius:16px}.am-related{margin-top:64px;padding-top:44px;border-top:1px solid var(--line);width:100%}.am-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;width:100%}.am-related-grid .card{min-width:0;display:block}.am-related-grid .card h3{line-height:1.45;word-break:normal;overflow-wrap:normal}.site-ar .am-product-info,.site-ar .am-description,.site-ar .am-related{text-align:right}.site-ar .am-related-grid{direction:rtl}
@media(max-width:900px){.am-product-page{padding-top:30px}.am-product-main{grid-template-columns:1fr;gap:30px}.am-product-info{padding:0}.am-product-info h1{font-size:34px}.am-description{margin-top:42px;padding-top:32px}.am-related{margin-top:48px}.am-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:520px){.am-product-page{padding-top:20px}.am-main-image{padding:12px;border-radius:18px}.am-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.am-product-main{gap:22px}.am-product-info h1{font-size:28px}.am-short,.am-description-body{font-size:15px;line-height:1.8}.am-description h2,.am-related h2{font-size:26px}.am-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.am-related-grid .card{padding:9px}.am-related-grid .card h3{font-size:13px;min-height:36px}.am-related-grid .code{font-size:11px}}
@media(max-width:360px){.am-related-grid{grid-template-columns:1fr}}


/* ===== v2.3 branded hero + collection artwork ===== */
.brand-logo{display:flex!important;align-items:center;justify-content:center;width:150px;height:62px;flex:0 0 150px;overflow:hidden}
.brand-logo img{display:block;width:145px;height:58px;object-fit:contain}
.hero-image-banner{padding:30px 0 22px;background:linear-gradient(180deg,#f7fbff,#fff)}
.hero-banner-link{display:block;width:100%;border-radius:26px;overflow:hidden;box-shadow:0 18px 48px rgba(8,43,104,.10);background:#eaf5ff}
.hero-banner-link img{display:block;width:100%;height:auto;aspect-ratio:1983/793;object-fit:cover}
.cats{align-items:stretch}
.cat{padding:0!important;min-height:0!important;background:#fff!important;border:1px solid var(--line);box-shadow:0 12px 32px rgba(16,43,76,.07)}
.cat-media{height:330px;background:#f8fafc;overflow:hidden}
.cat-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.cat.home .cat-media img{object-fit:contain;padding:20px;background:#fff}
.cat:hover .cat-media img{transform:scale(1.025)}
.cat-content{padding:26px 30px 30px}
.cat-content h3{margin-top:0}
@media(max-width:1050px){.brand-logo{width:125px;flex-basis:125px}.brand-logo img{width:120px}.cat-media{height:280px}}
@media(max-width:900px){.brand-logo{width:118px;height:58px;flex-basis:118px}.brand-logo img{width:114px;height:52px}.hero-image-banner{padding:20px 0 12px}.hero-banner-link{border-radius:18px}.cat-media{height:310px}}
@media(max-width:620px){.hero-image-banner .wrap{width:100%}.hero-banner-link{border-radius:0;box-shadow:none}.hero-banner-link img{aspect-ratio:1.45/1;object-fit:cover;object-position:center}.cat-media{height:245px}.cat-content{padding:20px}.cat-content h3{font-size:25px}.features{padding-top:14px}}
@media(max-width:420px){.brand-logo{width:104px;flex-basis:104px}.brand-logo img{width:100px}.hero-banner-link img{aspect-ratio:1.2/1}.cat-media{height:220px}}


/* ===== v2.4 interactive hero, carousel, footer branding, responsive product page ===== */
.brand-logo{width:185px!important;flex:0 0 185px!important;height:72px!important}.brand-logo img{width:178px!important;height:68px!important;object-fit:contain!important}
.hero-live{padding:42px 0 30px;background:linear-gradient(135deg,#edf7ff 0%,#fff 52%,#e8f5ff 100%);overflow:hidden}.hero-live .hero-shell{position:relative;min-height:430px;border-radius:30px;overflow:hidden;background:linear-gradient(120deg,#e9f5ff,#fff 55%,#dff1ff);box-shadow:0 18px 48px rgba(8,43,104,.10);display:grid;grid-template-columns:.9fr 1.1fr;align-items:center}.hero-copy{padding:55px 20px 55px 58px;position:relative;z-index:3}.site-ar .hero-copy{padding:55px 58px 55px 20px}.hero-copy .eyebrow{font-size:13px;letter-spacing:.28em}.hero-copy h1{font-size:54px;line-height:1.02;margin:14px 0 16px;color:var(--navy);letter-spacing:-1.5px}.hero-copy p{font-size:16px;line-height:1.7;color:#60718d;max-width:500px}.hero-copy .btn{border-radius:999px;padding:15px 25px;transition:.2s}.hero-copy .btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(8,104,223,.25)}.hero-art{height:100%;min-height:430px;position:relative;background:radial-gradient(circle at 68% 35%,#fff 0 17%,transparent 18%),linear-gradient(155deg,transparent 30%,#cfeaff 31% 55%,#91d0ff 56% 72%,transparent 73%)}.hero-art:after{content:"";position:absolute;inset:auto -10% -38% 0;height:65%;background:#fff;border-radius:50% 50% 0 0/35% 35% 0 0;transform:rotate(-4deg)}.hero-art .hero-toys{position:absolute;z-index:2;width:62%;max-height:76%;object-fit:cover;object-position:center;right:5%;bottom:4%;border-radius:26px;filter:drop-shadow(0 18px 25px rgba(8,43,104,.13))}.hero-art .hero-home{position:absolute;z-index:3;width:43%;height:44%;object-fit:contain;right:48%;bottom:2%;filter:drop-shadow(0 16px 20px rgba(8,43,104,.18))}.site-ar .hero-art .hero-toys{right:auto;left:5%}.site-ar .hero-art .hero-home{right:auto;left:48%}
.products-carousel{position:relative}.products-carousel .carousel-viewport{overflow:hidden}.products-carousel .carousel-track{display:flex;gap:18px;transition:transform .35s ease;will-change:transform}.products-carousel .card{flex:0 0 calc((100% - 54px)/4);min-width:0}.carousel-controls{display:flex;gap:8px}.carousel-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--navy);font-size:22px;cursor:pointer}.carousel-btn:hover{background:var(--blue);color:#fff}.products-carousel .card-img{aspect-ratio:1/1;padding:16px;background:#fff}.products-carousel .card-img img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}.products-carousel .card{display:block}.products-carousel .card h3{min-height:42px}
.footer-logo{display:block;width:190px;max-height:100px;object-fit:contain;object-position:left center;margin-bottom:16px;filter:brightness(0) invert(1)}.site-ar .footer-logo{object-position:right center}.site-footer{clear:both;position:relative;width:100%;margin-top:64px}.site-footer .foot{align-items:start}
.am-product-page{min-height:0!important;overflow:visible!important}.am-product-page .wrap{width:min(1180px,92%)!important}.am-product-main{grid-template-columns:minmax(0,1fr) minmax(340px,.8fr)!important;gap:56px!important}.am-main-image{height:min(570px,52vw);min-height:440px;aspect-ratio:auto!important;background:#fff!important}.am-main-image img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}.am-product-info{align-self:center}.am-description{max-width:none!important;width:100%;padding:36px 0 0!important;margin-top:44px!important}.am-description-body{max-width:920px!important}.am-related{overflow:hidden}.am-related-grid{display:flex!important;gap:18px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;padding:4px 2px 18px;scrollbar-width:thin}.am-related-grid .card{flex:0 0 calc((100% - 54px)/4)!important;scroll-snap-align:start}.am-related-grid .card-img{padding:12px;background:#fff}.am-related-grid .card-img img{width:100%!important;height:100%!important;object-fit:contain!important}
@media(max-width:1050px){.brand-logo{width:155px!important;flex-basis:155px!important}.brand-logo img{width:150px!important}.head{gap:20px}.nav{gap:18px}.hero-copy h1{font-size:46px}.am-product-main{gap:36px!important}}
@media(max-width:900px){.brand-logo{width:145px!important;flex-basis:145px!important}.brand-logo img{width:140px!important}.hero-live{padding-top:20px}.hero-live .hero-shell{grid-template-columns:1fr;min-height:0}.hero-copy{padding:42px 34px!important}.hero-copy h1{font-size:43px}.hero-art{min-height:370px}.products-carousel .card{flex-basis:calc((100% - 18px)/2)}.am-product-main{grid-template-columns:1fr!important}.am-main-image{height:auto;min-height:0;aspect-ratio:1/1!important;max-height:620px}.am-product-info{padding-top:4px}.am-related-grid .card{flex-basis:calc((100% - 18px)/2)!important}.footer-logo{width:165px}}
@media(max-width:620px){.head{height:70px}.brand-logo{width:128px!important;height:60px!important;flex-basis:128px!important}.brand-logo img{width:124px!important;height:56px!important}.hero-live{padding:0}.hero-live .wrap{width:100%}.hero-live .hero-shell{border-radius:0;box-shadow:none}.hero-copy{padding:34px 22px 26px!important}.hero-copy h1{font-size:37px}.hero-copy p{font-size:15px}.hero-art{min-height:315px}.hero-art .hero-toys{width:72%;right:2%;bottom:4%}.hero-art .hero-home{width:47%;right:50%;bottom:0}.site-ar .hero-art .hero-toys{left:2%;right:auto}.site-ar .hero-art .hero-home{left:50%;right:auto}.section-head{align-items:center}.carousel-controls{display:flex}.products-carousel .carousel-track{gap:12px}.products-carousel .card{flex-basis:78%}.products-carousel .card-img{padding:10px}.am-product-page .wrap{width:min(100% - 28px,1180px)!important}.am-product-main{gap:20px!important}.am-main-image{border-radius:16px!important;padding:10px!important}.am-product-info h1{font-size:28px!important}.am-description{margin-top:30px!important;padding-top:26px!important}.am-related{margin-top:38px!important;padding-top:30px!important}.am-related-grid{gap:10px!important}.am-related-grid .card{flex-basis:72%!important}.site-footer{margin-top:40px}.footer-logo{width:145px}}

/* v2.5 — wide product detail + robust related products */
body.single-product .am-product-page .wrap{width:94vw!important;max-width:1500px!important;margin-inline:auto!important}
body.single-product .am-product-main{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(360px,.75fr)!important;gap:70px!important;align-items:center!important}
body.single-product .am-gallery{width:100%!important;min-width:0!important}
body.single-product .am-main-image{width:100%!important;height:min(680px,70vh)!important;min-height:520px!important;padding:24px!important;border:0!important;border-radius:0!important;background:#fff!important;overflow:hidden!important}
body.single-product .am-main-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
body.single-product .am-product-info{width:100%!important;max-width:520px!important;padding:24px 0!important}
body.single-product .am-product-info h1{font-size:clamp(34px,3vw,52px)!important}
body.single-product .am-description{width:100%!important;max-width:none!important;margin-top:54px!important;padding-top:38px!important}
body.single-product .am-description-body{width:100%!important;max-width:1100px!important}
body.single-product .am-related{width:100%!important;max-width:none!important;overflow:visible!important;margin-top:56px!important;padding-top:38px!important}
body.single-product .am-related-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important;width:100%!important;overflow:visible!important;padding:0!important;scroll-snap-type:none!important;direction:ltr!important}
body.single-product.site-ar .am-related-grid{direction:rtl!important}
body.single-product .am-related-grid .card{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;padding:12px!important;border-radius:18px!important}
body.single-product .am-related-grid .card-img{display:flex!important;width:100%!important;aspect-ratio:1/1!important;align-items:center!important;justify-content:center!important;padding:14px!important;overflow:hidden!important;background:#fff!important}
body.single-product .am-related-grid .card-img img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
body.single-product .am-related-grid .card h3{font-size:15px!important;line-height:1.45!important;min-height:0!important;margin:12px 2px 6px!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important}
body.single-product .am-related-grid .code{font-size:12px!important;white-space:normal!important}
body.single-product .site-footer{clear:both!important;position:relative!important;margin-top:70px!important}
@media(max-width:900px){body.single-product .am-product-page .wrap{width:min(100% - 36px,760px)!important}body.single-product .am-product-main{grid-template-columns:1fr!important;gap:24px!important}body.single-product .am-main-image{height:auto!important;min-height:0!important;aspect-ratio:1/1!important;padding:12px!important}body.single-product .am-product-info{max-width:none!important;padding:0!important}body.single-product .am-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}}
@media(max-width:520px){body.single-product .am-product-page .wrap{width:calc(100% - 24px)!important}body.single-product .am-product-page{padding-top:16px!important}body.single-product .am-product-info h1{font-size:28px!important}body.single-product .am-related-grid{display:flex!important;gap:12px!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding-bottom:14px!important;direction:ltr!important}body.single-product.site-ar .am-related-grid{direction:rtl!important}body.single-product .am-related-grid .card{flex:0 0 78%!important;scroll-snap-align:start!important}body.single-product .am-related-grid .card-img{padding:10px!important}}


/* ===== v2.6 catalog-only product page ===== */
body.single-product .am-product-page{padding:38px 0 0!important}
body.single-product .am-product-page .wrap{width:min(1460px,94vw)!important;max-width:none!important}
body.single-product .am-product-main{grid-template-columns:minmax(0,1.45fr) minmax(380px,.75fr)!important;gap:64px!important;align-items:center!important}
body.single-product .am-main-image{height:min(650px,68vh)!important;min-height:500px!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:24px!important;padding:28px!important}
body.single-product .am-product-info{max-width:560px!important}
body.single-product .am-product-info h1{color:var(--navy)!important;margin:8px 0 14px!important}
body.single-product .am-short{font-size:16px;line-height:1.9;color:#40516d;margin-top:24px}
body.single-product .am-categories{margin-top:18px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
body.single-product .am-categories a{background:#eef6ff;color:var(--blue);padding:7px 12px;border-radius:999px;font-size:13px;font-weight:700}
body.single-product .am-description{border-top:1px solid var(--line);margin-top:48px!important;padding:38px 0 8px!important}
body.single-product .am-description h2{font-size:34px;color:var(--navy);margin:0 0 16px}
body.single-product .am-description-body{max-width:1180px!important;line-height:1.9!important}
body.single-product .am-related{border-top:1px solid var(--line);margin-top:42px!important;padding:38px 0 20px!important;overflow:hidden!important}
body.single-product .am-related-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
body.single-product .am-related-head h2{font-size:34px;color:var(--navy);margin:0 0 6px}
body.single-product .am-related-controls{display:flex;gap:8px;direction:ltr}
body.single-product .am-related-btn{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--navy);font-size:24px;cursor:pointer}
body.single-product .am-related-btn:hover{background:var(--blue);color:#fff}
body.single-product .am-related-viewport{overflow:hidden!important;width:100%}
body.single-product .am-related-grid{display:flex!important;grid-template-columns:none!important;gap:18px!important;overflow:visible!important;transition:transform .35s ease!important;direction:ltr!important;padding:2px!important}
body.single-product.site-ar .am-related-grid{direction:rtl!important}
body.single-product .am-related-grid .card{flex:0 0 calc((100% - 54px)/4)!important;width:auto!important;min-width:0!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:18px!important;padding:12px!important}
body.single-product .am-related-grid .card-img{aspect-ratio:1/1!important;background:#fff!important;border-radius:14px!important;padding:14px!important}
body.single-product .am-related-grid .card-img img{width:100%!important;height:100%!important;object-fit:contain!important}
body.single-product .am-related-grid .card h3{font-size:15px!important;line-height:1.5!important;color:var(--ink)!important;margin:12px 2px 5px!important}
body.single-product .site-footer{margin-top:44px!important}
body.single-product .price,body.single-product form.cart,body.single-product .single_add_to_cart_button,.woocommerce a.add_to_cart_button,.woocommerce a.button.product_type_simple,.woocommerce a.button.product_type_variable{display:none!important}
@media(max-width:900px){body.single-product .am-product-page{padding-top:22px!important}body.single-product .am-product-page .wrap{width:min(100% - 32px,760px)!important}body.single-product .am-product-main{grid-template-columns:1fr!important;gap:26px!important}body.single-product .am-main-image{height:auto!important;min-height:0!important;aspect-ratio:1/1!important;padding:14px!important}body.single-product .am-product-info{max-width:none!important}body.single-product .am-related-grid .card{flex-basis:calc((100% - 16px)/2)!important}.site-header .brand-logo{width:150px!important;flex-basis:150px!important}.site-header .brand-logo img{width:146px!important}}
@media(max-width:520px){body.single-product .am-product-page .wrap{width:calc(100% - 24px)!important}body.single-product .am-product-info h1{font-size:30px!important}body.single-product .am-description h2,body.single-product .am-related-head h2{font-size:27px!important}body.single-product .am-related-head{align-items:flex-end}body.single-product .am-related-grid{gap:12px!important}body.single-product .am-related-grid .card{flex-basis:78%!important}.site-header .brand-logo{width:124px!important;flex-basis:124px!important}.site-header .brand-logo img{width:120px!important}}

/* ===== v2.7 clean catalog product layout (isolated classes) ===== */
.catalog-product-page{padding:42px 0 0;background:#fff;overflow:hidden}.catalog-product-wrap{width:min(1480px,94vw);margin:0 auto}.catalog-product-top{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.72fr);gap:72px;align-items:center}.catalog-gallery{min-width:0}.catalog-main-image{height:min(680px,70vh);min-height:520px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}.catalog-main-image img{width:100%;height:100%;object-fit:contain;object-position:center}.catalog-thumbs{display:flex;gap:10px;margin-top:14px;overflow:auto}.catalog-thumb{width:78px;height:78px;flex:0 0 78px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:6px;cursor:pointer}.catalog-thumb.is-active{border:2px solid var(--blue)}.catalog-thumb img{width:100%;height:100%;object-fit:contain}.catalog-product-details{max-width:560px}.catalog-label{font-size:13px;font-weight:800;color:var(--blue);text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px}.catalog-product-details h1{font-size:clamp(36px,3.2vw,54px);line-height:1.12;color:var(--navy);margin:0 0 16px}.catalog-code{color:var(--muted);font-size:15px;margin-bottom:22px}.catalog-code strong{color:var(--navy)}.catalog-summary{font-size:16px;line-height:1.95;color:#40516d}.catalog-categories{display:flex;gap:9px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.catalog-categories a{background:#eef6ff;color:var(--blue);padding:7px 12px;border-radius:999px;font-size:13px;font-weight:700}.catalog-description{width:100%;border-top:1px solid var(--line);margin-top:52px;padding:38px 0 10px}.catalog-description h2,.catalog-related h2{font-size:34px;color:var(--navy);margin:0 0 16px}.catalog-description>div{max-width:1180px;font-size:16px;line-height:1.95;color:#40516d}.catalog-related{width:100%;border-top:1px solid var(--line);margin-top:42px;padding:38px 0 16px}.catalog-related-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.catalog-related-head h2{margin-bottom:5px}.catalog-related-head p{margin:0;color:var(--muted)}.catalog-carousel-buttons{display:flex;gap:8px;direction:ltr}.catalog-carousel-buttons button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--navy);font-size:25px;cursor:pointer}.catalog-carousel-buttons button:hover{background:var(--blue);color:#fff}.catalog-carousel{width:100%;overflow:hidden}.catalog-track{display:flex;gap:18px;transition:transform .35s ease;will-change:transform;direction:ltr}.site-ar .catalog-track{direction:rtl}.catalog-card{flex:0 0 calc((100% - 54px)/4);min-width:0;border:1px solid var(--line);border-radius:18px;background:#fff;padding:12px;transition:.2s}.catalog-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #102b4c14}.catalog-card-image{aspect-ratio:1/1;border-radius:14px;background:#fff;padding:12px;display:flex;align-items:center;justify-content:center;overflow:hidden}.catalog-card-image img{width:100%;height:100%;object-fit:contain}.catalog-card h3{font-size:15px;line-height:1.45;margin:12px 2px 6px;color:var(--ink)}.catalog-card span{font-size:12px;color:var(--muted)}.site-ar .catalog-product-details,.site-ar .catalog-description,.site-ar .catalog-related{text-align:right}body.single-product .site-footer{margin-top:48px!important;clear:both;position:relative}body.single-product .price,body.single-product form.cart,body.single-product .single_add_to_cart_button{display:none!important}
@media(max-width:900px){.catalog-product-page{padding-top:26px}.catalog-product-wrap{width:min(100% - 32px,760px)}.catalog-product-top{grid-template-columns:1fr;gap:26px}.catalog-main-image{height:auto;min-height:0;aspect-ratio:1/1}.catalog-product-details{max-width:none}.catalog-card{flex-basis:calc((100% - 18px)/2)}.catalog-description{margin-top:38px}.catalog-related{margin-top:34px}.site-header .brand-logo{width:150px!important;flex-basis:150px!important}.site-header .brand-logo img{width:146px!important}}
@media(max-width:599px){.catalog-product-wrap{width:calc(100% - 24px)}.catalog-main-image{aspect-ratio:1/1}.catalog-product-details h1{font-size:30px}.catalog-description h2,.catalog-related h2{font-size:27px}.catalog-related-head{align-items:flex-end}.catalog-related-head p{font-size:13px}.catalog-card{flex-basis:80%}.catalog-card-image{padding:8px}.catalog-carousel-buttons button{width:38px;height:38px}.site-header .brand-logo{width:124px!important;flex-basis:124px!important}.site-header .brand-logo img{width:120px!important}}

/* v3.4 Shopify-blue footer */
.site-footer{background:#2169ad!important;color:#fff!important}.site-footer p,.site-footer a{color:#eaf4ff!important}.site-footer a:hover{color:#fff!important}.footer-socials{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}.footer-socials a{width:38px;height:38px;border:1px solid rgba(255,255,255,.28);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:12px}.footer-socials a:hover{background:#fff;color:#2169ad!important}.footer-contact p{margin:9px 0}.footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.18);margin-top:30px;padding-top:20px;font-size:12px;color:#eaf4ff}.footer-logo{max-width:150px;height:auto}.site-footer .foot{grid-template-columns:1.4fr .8fr 1.1fr!important}@media(max-width:900px){.site-footer .foot{grid-template-columns:1fr!important}.footer-bottom{display:block}.footer-bottom>*{margin-bottom:8px}}


/* ===== v3.5 shop cards + premium footer ===== */
body.post-type-archive-product .section{padding-top:42px}
.woocommerce-products-header{margin-bottom:10px}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{min-height:0!important;overflow:hidden}
.woocommerce ul.products li.product a img{background:#fff!important;border:1px solid #edf2f8;aspect-ratio:1/1!important;object-fit:contain!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:0!important;font-size:15px!important;font-weight:800!important;margin-top:2px!important}
.site-footer{background:#2169ad!important;padding:58px 0 24px!important;margin-top:70px!important}
.site-footer .wrap{width:min(1080px,90%)!important}
.site-footer .foot{display:grid!important;grid-template-columns:1.35fr .75fr 1.1fr!important;gap:76px!important;align-items:start!important}
.footer-brand p{max-width:390px;line-height:1.65;margin:16px 0 0!important;color:#eef7ff!important}
.footer-logo{width:132px!important;max-height:68px!important;margin:0 0 18px!important;object-fit:contain!important;object-position:left center!important}
.site-ar .footer-logo{object-position:right center!important}
.site-footer h4{font-size:16px;margin:7px 0 20px;color:#fff}
.footer-links p,.footer-contact p{margin:0 0 13px!important;line-height:1.45}
.footer-contact p{display:flex;gap:10px;align-items:flex-start}
.footer-contact .fi{width:18px;flex:0 0 18px;text-align:center;opacity:.85}
.footer-socials{display:flex!important;gap:10px!important;flex-wrap:wrap;margin-top:22px!important}
.footer-socials a{width:38px!important;height:38px!important;border:1px solid rgba(255,255,255,.38)!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;transition:.2s!important}
.footer-socials a svg{width:17px;height:17px;fill:currentColor;display:block}
.footer-socials a:hover{background:#fff!important;color:#2169ad!important;transform:translateY(-2px)}
.footer-bottom{display:flex!important;justify-content:space-between!important;align-items:center!important;border-top:1px solid rgba(255,255,255,.24)!important;margin-top:42px!important;padding-top:20px!important;color:#eef7ff!important;font-size:12px!important}
.footer-bottom a{color:#eef7ff!important}
.site-ar .site-footer .foot{direction:rtl;text-align:right}.site-ar .footer-contact p{flex-direction:row}.site-ar .footer-socials{justify-content:flex-start}
@media(max-width:900px){.site-footer .foot{grid-template-columns:1fr 1fr!important;gap:38px!important}.footer-brand{grid-column:1/-1}.footer-brand p{max-width:600px}.footer-bottom{gap:16px!important}}
@media(max-width:620px){.site-footer{padding:42px 0 20px!important}.site-footer .wrap{width:min(100% - 36px,1080px)!important}.site-footer .foot{grid-template-columns:1fr!important;gap:32px!important}.footer-brand{grid-column:auto}.footer-logo{width:120px!important}.footer-bottom{display:block!important;line-height:1.8}.footer-bottom span:last-child{display:block;margin-top:7px}.footer-socials{gap:9px!important}}


/* ===== v3.6 footer interaction + visual refinement ===== */
.site-footer{
  position:relative!important;
  z-index:20!important;
  isolation:isolate;
  background:#2169ad!important;
  overflow:hidden;
}
.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 8% 0%,rgba(255,255,255,.09),transparent 30%),
    radial-gradient(circle at 95% 100%,rgba(255,255,255,.06),transparent 28%);
}
.site-footer .wrap{position:relative;z-index:2}
.site-footer a{
  position:relative;
  z-index:3;
  pointer-events:auto!important;
  cursor:pointer!important;
  text-decoration:none!important;
}
.site-footer .foot{
  grid-template-columns:1.25fr .65fr 1.2fr!important;
  gap:68px!important;
}
.footer-logo-link{display:inline-flex!important;align-items:center}
.footer-logo-link:hover{opacity:.9}
.footer-about{font-size:15px;line-height:1.8!important}
.site-footer h4{
  position:relative;
  padding-bottom:12px;
  margin-bottom:18px!important;
  letter-spacing:.01em;
}
.site-footer h4::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:34px;
  height:2px;
  border-radius:2px;
  background:rgba(255,255,255,.8);
}
.site-ar .site-footer h4::after{left:auto;right:0}
.footer-nav{display:flex;flex-direction:column;gap:5px}
.footer-nav a{
  display:flex!important;
  align-items:center;
  min-height:34px;
  width:max-content;
  max-width:100%;
  padding:4px 0!important;
  color:#eaf4ff!important;
  transition:transform .18s ease,color .18s ease;
}
.footer-nav a::before{
  content:"›";
  margin-right:9px;
  opacity:.65;
  font-size:20px;
  line-height:1;
}
.site-ar .footer-nav a::before{
  content:"‹";
  margin-right:0;
  margin-left:9px;
}
.footer-nav a:hover{color:#fff!important;transform:translateX(4px)}
.site-ar .footer-nav a:hover{transform:translateX(-4px)}
.footer-contact{min-width:0}
.footer-contact-row{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr);
  gap:11px;
  align-items:center;
  padding:9px 10px!important;
  margin:0 0 7px!important;
  border:1px solid transparent;
  border-radius:12px;
  color:#eef7ff!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
a.footer-contact-row:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.15);
  transform:translateY(-1px);
}
.footer-contact-icon{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:15px;
}
.footer-contact-row small{
  display:block;
  color:#cfe6fb;
  font-size:10px;
  line-height:1.2;
  margin-bottom:3px;
}
.footer-contact-row strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.45;
  font-weight:600;
  overflow-wrap:anywhere;
}
.footer-socials a{
  background:rgba(255,255,255,.04)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
}
.footer-socials a:first-child{
  background:#fff!important;
  color:#2169ad!important;
}
.footer-socials a:focus-visible,
.footer-nav a:focus-visible,
.footer-contact-row:focus-visible{
  outline:3px solid rgba(255,255,255,.7)!important;
  outline-offset:3px;
}
.footer-bottom{
  min-height:46px;
  padding-top:18px!important;
}
.footer-bottom-links{display:flex;gap:18px;align-items:center}
.footer-bottom-links a{font-size:12px;opacity:.9}
.footer-bottom-links a:hover{opacity:1;text-decoration:underline!important}
@media(max-width:900px){
  .site-footer .foot{grid-template-columns:1fr 1fr!important;gap:38px 50px!important}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:620px){
  .site-footer .foot{grid-template-columns:1fr!important;gap:28px!important}
  .footer-brand{grid-column:auto}
  .footer-contact-row{padding-left:0!important;padding-right:0!important}
  .footer-bottom-links{margin-top:8px;flex-wrap:wrap;gap:12px}
}

/* ===== v3.7 header geometry + isolated product search ===== */
.site-header{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  position:sticky!important;
  top:0!important;
  left:auto!important;
  right:auto!important;
  float:none!important;
  clear:both!important;
  align-self:auto!important;
}
.site-header>.head{
  width:min(1180px,92%)!important;
  height:78px!important;
  min-height:78px!important;
  max-height:78px!important;
  margin-inline:auto!important;
}
main{display:block!important;width:100%!important;min-width:0!important;float:none!important;clear:both!important}
.site-footer{display:block!important;width:100%!important;float:none!important;clear:both!important}
body.search-results.post-type-archive-product main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.search-results.post-type-archive-product .site-header{height:auto!important;min-height:0!important}
.catalog-search-page{display:block;width:100%;padding:52px 0 30px;background:#fff;clear:both}
.catalog-search-wrap{width:min(1180px,92%)!important;margin-inline:auto!important}
.catalog-search-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:30px}
.catalog-search-head h1{margin:0 0 8px;color:var(--navy);font-size:clamp(30px,3vw,44px);line-height:1.15}
.catalog-search-head p{margin:0;color:var(--muted)}
.catalog-search-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;width:100%!important;float:none!important;clear:both!important}
.catalog-search-card{display:block!important;min-width:0!important;border:1px solid var(--line);border-radius:18px;padding:12px;background:#fff;transition:.2s}
.catalog-search-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(16,43,76,.08)}
.catalog-search-image{aspect-ratio:1/1;border-radius:14px;background:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:12px}
.catalog-search-image img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important}
.catalog-search-card h2{font-size:15px;line-height:1.45;color:var(--ink);margin:12px 2px 7px;min-height:44px}
.catalog-search-pagination{display:flex;justify-content:center;margin:38px 0 8px;clear:both}
.catalog-search-pagination .nav-links{display:flex;gap:8px;align-items:center}
.catalog-search-pagination .page-numbers{min-width:38px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;color:var(--navy);background:#fff}
.catalog-search-pagination .page-numbers.current{background:var(--blue);border-color:var(--blue);color:#fff}
body.search-results.post-type-archive-product .site-footer{margin-top:48px!important}
@media(max-width:900px){
 .site-header>.head{height:72px!important;min-height:72px!important;max-height:72px!important}
 .catalog-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
 .catalog-search-page{padding-top:34px}
}
@media(max-width:520px){
 .site-header>.head{height:70px!important;min-height:70px!important;max-height:70px!important}
 .catalog-search-wrap{width:calc(100% - 24px)!important}
 .catalog-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .catalog-search-card{padding:8px}
 .catalog-search-card h2{font-size:13px;min-height:38px}
 .catalog-search-image{padding:7px}
}
\n\n/* ===== v3.8 bulletproof page geometry + search results ===== */
html,body{width:100%!important;max-width:none!important;min-width:0!important}
body{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-height:100vh!important;overflow-x:hidden!important}
body>#wpadminbar{flex:none!important}
body>.site-header{flex:none!important;display:block!important;position:sticky!important;top:0!important;inset-inline:0!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;z-index:999!important;background:#fff!important}
body>.site-header>.head{display:flex!important;align-items:center!important;width:min(1180px,92%)!important;max-width:1180px!important;height:78px!important;min-height:78px!important;margin:0 auto!important;padding:0!important;float:none!important}
body>main{flex:1 0 auto!important;display:block!important;position:relative!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;float:none!important;clear:both!important;inset:auto!important}
body>.site-footer{flex:none!important;display:block!important;position:relative!important;width:100%!important;max-width:none!important;height:auto!important;margin:70px 0 0!important;float:none!important;clear:both!important;inset:auto!important;z-index:20!important;pointer-events:auto!important}
body>.site-footer *{pointer-events:auto!important}
body.search-results.post-type-archive-product>.site-header,body.search-results.post-type-archive-product>main,body.search-results.post-type-archive-product>.site-footer{grid-column:auto!important;grid-row:auto!important;transform:none!important}
body.search-results.post-type-archive-product>main{overflow:visible!important}
body.search-results.post-type-archive-product .catalog-search-page{display:block!important;position:relative!important;width:100%!important;max-width:none!important;margin:0!important;padding:46px 0 18px!important;float:none!important;clear:both!important;background:#fff!important}
body.search-results.post-type-archive-product .catalog-search-wrap{display:block!important;position:relative!important;width:min(1090px,calc(100% - 40px))!important;max-width:1090px!important;margin:0 auto!important;padding:0!important;float:none!important;transform:none!important}
.catalog-search-head{display:flex!important;justify-content:space-between!important;align-items:flex-end!important;gap:24px!important;width:100%!important;margin:0 0 18px!important}
.catalog-search-head>div{min-width:0!important}
.catalog-search-head h1{font-size:36px!important;margin:0 0 6px!important}
.catalog-search-sort{flex:0 0 190px!important;margin:0!important;padding:0!important;border:0!important}
.catalog-search-sort select{width:100%!important;height:42px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;color:var(--navy)!important;padding:0 14px!important;outline:none!important}
body.search-results.post-type-archive-product .catalog-search-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;clear:both!important}
body.search-results.post-type-archive-product .catalog-search-card{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;float:none!important}
body.search-results.post-type-archive-product .catalog-search-image{width:100%!important;aspect-ratio:1/1!important;height:auto!important}
body.search-results.post-type-archive-product .catalog-search-pagination{width:100%!important;margin:22px 0 0!important}
body.search-results.post-type-archive-product>.site-footer{margin-top:28px!important}
body.search-results.post-type-archive-product>.site-footer>.wrap{width:min(1090px,calc(100% - 40px))!important;max-width:1090px!important;margin-inline:auto!important}
.site-footer a{position:relative!important;z-index:2!important;pointer-events:auto!important;cursor:pointer!important}
@media(max-width:900px){body>.site-header>.head{height:72px!important;min-height:72px!important}.catalog-search-head{align-items:stretch!important;flex-direction:column!important}.catalog-search-sort{flex:0 0 auto!important;width:190px!important}.catalog-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){body.search-results.post-type-archive-product .catalog-search-wrap{width:calc(100% - 24px)!important}.catalog-search-head h1{font-size:29px!important}.catalog-search-sort{width:100%!important}.catalog-search-grid{gap:10px!important}}


/* ===== v3.9: reliable AR/EN layout, simplified footer and native chevrons ===== */
html[lang="en"][dir="ltr"],html[lang="en"][dir="ltr"] body.site-en{direction:ltr!important;text-align:left}
html[lang="ar"][dir="rtl"],html[lang="ar"][dir="rtl"] body.site-ar{direction:rtl!important;text-align:right}
body.site-en .site-header .head,body.site-en .site-header .nav,body.site-en .site-header .mobile-nav,
body.site-en .site-footer .foot,body.site-en .site-footer .footer-nav,body.site-en .site-footer .footer-bottom{direction:ltr!important;text-align:left}
body.site-ar .site-header .head,body.site-ar .site-header .nav,body.site-ar .site-header .mobile-nav,
body.site-ar .site-footer .foot,body.site-ar .site-footer .footer-nav,body.site-ar .site-footer .footer-bottom{direction:rtl!important;text-align:right}
.site-header .lang{direction:ltr!important;white-space:nowrap}
body.site-en .head .nav{margin-left:auto!important;margin-right:0!important}
body.site-ar .head .nav{margin-right:auto!important;margin-left:0!important}
body.site-en .footer-logo{object-position:left center!important}
body.site-ar .footer-logo{object-position:right center!important}
body.site-en .site-footer h4::after{left:0!important;right:auto!important}
body.site-ar .site-footer h4::after{left:auto!important;right:0!important}
/* Three footer columns restored: branding, useful links, and contact details. */
.site-footer .foot{grid-template-columns:minmax(0,1.25fr) minmax(0,.65fr) minmax(0,1.2fr)!important;gap:clamp(24px,4.5vw,68px)!important}
.footer-links{min-width:0}
.footer-nav a{display:inline-flex!important;align-items:center!important;flex-direction:row!important;gap:10px!important;direction:inherit!important}
.footer-nav a::before,body.site-ar .footer-nav a::before{
  content:""!important;display:inline-block!important;flex:0 0 8px!important;width:8px!important;height:8px!important;
  border-style:solid!important;border-color:currentColor!important;border-width:0 2px 2px 0!important;
  margin:0!important;font-size:0!important;opacity:.85!important;
}
body.site-en .footer-nav a::before{transform:rotate(-45deg)!important}
body.site-ar .footer-nav a::before{transform:rotate(135deg)!important}
body.site-en .footer-nav a:hover{transform:translateX(4px)!important}
body.site-ar .footer-nav a:hover{transform:translateX(-4px)!important}
@media(max-width:900px){.site-footer .foot{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:38px!important}.footer-brand{grid-column:1/-1!important}}
@media(max-width:620px){.site-footer .foot{grid-template-columns:1fr!important;gap:25px!important}.footer-brand{grid-column:auto!important}}
/* English labels, pagination and product cards should never inherit Arabic direction. */
body.site-en .woocommerce nav.woocommerce-pagination,body.site-en .woocommerce ul.products,
body.site-en .v3-info,body.site-en .v3-description,body.site-en .v3-related{direction:ltr!important;text-align:left!important}
body.site-ar .woocommerce nav.woocommerce-pagination,body.site-ar .woocommerce ul.products,
body.site-ar .v3-info,body.site-ar .v3-description,body.site-ar .v3-related{direction:rtl!important;text-align:right!important}
/* Company page */
.about-company-hero{padding:clamp(55px,7vw,100px) 0!important;background:linear-gradient(110deg,#0a377c,#176bbb)!important}
.about-company-hero .about-eyebrow{font-size:12px;font-weight:800;letter-spacing:.16em;opacity:.77;margin-bottom:18px}
.about-company-hero h1{font-size:clamp(36px,4.5vw,60px);max-width:820px;line-height:1.18}
.about-company-hero p{font-size:clamp(16px,2vw,20px);opacity:.9;margin:12px 0 0}
.about-company-section{background:#f8fbff}
.about-company-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.8fr);gap:clamp(24px,5vw,70px);align-items:start}
.about-company-body{min-width:0;background:#fff;border:1px solid #e5edf7;border-radius:22px;padding:clamp(24px,4vw,48px);box-shadow:0 12px 40px rgba(8,43,104,.035)}
.about-company-body h2{font-size:clamp(25px,3vw,34px);margin:0 0 23px;color:#082b68}
.about-company-body p{font-size:16px;line-height:1.95;color:#425574;margin:0 0 22px}
.about-company-body p:last-child{margin-bottom:0}
.about-company-highlights{display:grid;gap:16px}
.about-highlight{background:#fff;border:1px solid #e5edf7;border-radius:18px;padding:25px 27px}
.about-highlight-icon{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#eaf4ff;color:#0b62c4;font-size:20px;margin-bottom:12px}
.about-highlight h3{font-size:17px;color:#082b68;margin:0 0 8px}
.about-highlight p{font-size:14px;line-height:1.75;color:#65738a;margin:0}
body.site-ar .about-company-layout,body.site-ar .about-company-body,body.site-ar .about-highlight{direction:rtl;text-align:right}
body.site-en .about-company-layout,body.site-en .about-company-body,body.site-en .about-highlight{direction:ltr;text-align:left}
@media(max-width:840px){.about-company-layout{grid-template-columns:1fr}.about-company-highlights{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.about-company-highlights{grid-template-columns:1fr}.about-company-body{padding:23px}.about-company-body p{font-size:15px}.about-company-section{padding:36px 0}}


/* ===== v3.9.3: compact categories, swipeable featured products, footer cleanup ===== */
/* Keep category tiles in two columns on tablets and phones, instead of stacking. */
@media (max-width: 900px) {
  .section .cats { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:14px!important; }
  .section .cats .cat { min-width:0!important; width:100%; }
  .section .cats .cat-media { height:auto!important; aspect-ratio:1.35/1; }
  .section .cats .cat-content { padding:18px!important; }
  .section .cats .cat-content h3 { font-size:clamp(18px,2.7vw,25px)!important; line-height:1.2; }
}
@media (max-width: 620px) {
  .section .cats { gap:10px!important; }
  .section .cats .cat { border-radius:17px!important; }
  .section .cats .cat-media { aspect-ratio:1.28/1; }
  .section .cats .cat.home .cat-media img { padding:8px!important; }
  .section .cats .cat-content { padding:12px 10px 14px!important; }
  .section .cats .cat-content h3 { font-size:clamp(16px,4.1vw,21px)!important; margin:0 0 6px!important; }
  .section .cats .cat-content > div { font-size:12px!important; line-height:1.45!important; }
  .section .cats .cat-content .btn { padding:10px 12px!important; margin-top:12px!important; font-size:12px!important; border-radius:9px!important; text-align:center; line-height:1.25; }
}
@media (max-width: 360px) {
  .section .cats .cat-content { padding:10px 8px 12px!important; }
  .section .cats .cat-content h3 { font-size:15px!important; }
  .section .cats .cat-content .btn { font-size:11px!important; padding:8px!important; }
}
/* Native horizontal scrolling allows finger swipes on mobile and click-drag on desktop. */
.products-carousel .carousel-viewport {
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -ms-overflow-style:none;
  cursor:grab;
  touch-action:pan-x pan-y;
  -webkit-overflow-scrolling:touch;
}
.products-carousel .carousel-viewport::-webkit-scrollbar { display:none; }
.products-carousel .carousel-track {
  transform:none!important;
  transition:none!important;
  will-change:auto!important;
  direction:inherit;
}
.products-carousel .carousel-track > .card {
  scroll-snap-align:start;
  scroll-snap-stop:normal;
  -webkit-user-drag:none;
}
.products-carousel .carousel-track > .card img { -webkit-user-drag:none; user-select:none; }
.products-carousel .carousel-viewport.is-dragging {
  cursor:grabbing!important;
  scroll-snap-type:none!important;
  scroll-behavior:auto!important;
  user-select:none!important;
}
.products-carousel .carousel-viewport.is-dragging * { user-select:none!important; }
body.site-en .products-carousel .carousel-viewport { direction:ltr!important; }
body.site-ar .products-carousel .carousel-viewport { direction:rtl!important; }


/* ===== v3.9.4: mobile homepage banner order + outward-facing featured arrows ===== */
/* Each physical edge gets an arrow pointing outwards. Arabic reverses the
   logical previous/next button order, while leaving their handlers intact. */
.products-section .carousel-controls {
  display: inline-flex !important;
  direction: ltr !important;
  flex-direction: row !important;
  align-items: center;
  gap: 9px;
}
.products-section .carousel-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  direction: ltr !important;
  unicode-bidi: isolate;
  line-height: 1 !important;
  flex: 0 0 42px;
}
body.site-en .products-section .carousel-btn.prev {order: 1;}
body.site-en .products-section .carousel-btn.next {order: 2;}
body.site-ar .products-section .carousel-btn.prev {order: 2;}
body.site-ar .products-section .carousel-btn.next {order: 1;}

/* On phones the hero illustration leads, followed by the headline and CTA;
   desktop keeps the existing two-column layout. */
@media (max-width: 620px) {
  .hero-live .hero-shell {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .hero-live .hero-art {
    order: 1 !important;
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: clamp(270px, 72vw, 360px) !important;
  }
  .hero-live .hero-copy {
    order: 2 !important;
    flex: none !important;
    width: 100% !important;
    padding: 24px 22px 34px !important;
  }
  .hero-live .hero-copy h1 {
    font-size: clamp(30px, 8vw, 37px) !important;
    line-height: 1.13 !important;
  }
  .hero-live .hero-copy p { margin-top: 14px; }
  .products-section .carousel-btn {flex-basis: 38px; width: 38px; height: 38px;}
}


/* v3.9.5: reliable single-product stack on mobile and small tablets.
   Also included in style.css to survive a stale/missing product-specific stylesheet.
   Desktop product, header, footer and catalog layout are unaffected. */
@media screen and (max-width: 980px) {
  body.single-product main .v3-product-page .v3-product-container {
    width: calc(100% - 28px) !important;
    max-width: 740px !important;
    margin-inline: auto !important;
    padding: 0 !important;
  }
  body.single-product main .v3-product-page .v3-product-hero {
    display: flex !important;
    flex-flow: column nowrap !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 18px !important;
    direction: inherit !important;
  }
  body.single-product main .v3-product-page .v3-gallery,
  body.single-product main .v3-product-page .v3-info {
    position: static !important;
    inset: auto !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    grid-area: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  body.single-product main .v3-product-page .v3-gallery {order: 0 !important;}
  body.single-product main .v3-product-page .v3-info {
    order: 1 !important;
    display: flex !important;
    flex-flow: column nowrap !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 8px 8px 20px !important;
    text-align: center !important;
  }
  body.single-product main .v3-product-page .v3-main-image {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: clamp(280px, 74vw, 530px) !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 14px !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: white !important;
  }
  body.single-product main .v3-product-page .v3-main-image img {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
    transform: none !important;
  }
  body.single-product main .v3-product-page .v3-info h1,
  body.single-product main .v3-product-page .v3-kicker,
  body.single-product main .v3-product-page .v3-code {
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: center !important;
    float: none !important;
    clear: both !important;
    transform: none !important;
    overflow-wrap: anywhere !important;
  }
  body.single-product main .v3-product-page .v3-info h1 {
    font-size: clamp(23px, 5.2vw, 34px) !important;
    line-height: 1.35 !important;
    margin: 0 0 12px !important;
  }
  body.single-product main .v3-product-page .v3-kicker {margin: 0 0 10px !important;}
  body.single-product main .v3-product-page .v3-code {margin: 0 0 8px !important;}
  body.single-product main .v3-product-page .v3-cats {
    position: static !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 10px 0 0 !important;
    padding: 15px 0 0 !important;
    text-align: center !important;
    flex-wrap: wrap !important;
  }
  body.single-product.site-ar main .v3-product-page .v3-info,
  body.single-product.site-en main .v3-product-page .v3-info {text-align: center !important;}
}
@media screen and (max-width: 640px) {
  body.single-product main .v3-product-page {padding-top: 14px !important;}
  body.single-product main .v3-product-page .v3-product-container {width: calc(100% - 24px) !important;}
  body.single-product main .v3-product-page .v3-main-image {height: clamp(260px, 82vw, 410px) !important;padding: 8px !important;}
  body.single-product main .v3-product-page .v3-product-hero {gap: 12px !important;}
  body.single-product main .v3-product-page .v3-info h1 {font-size: clamp(22px, 5.8vw, 29px) !important;}
}

/* ============================================================
   v3.9.6 — Shopify-style child collections for Kids Toys.
   Scoped to the new collection views; preserves site header,
   bilingual mobile product pages, footer, and carousel behavior.
   ============================================================ */
.am-collections-page{padding:52px 0 76px;background:linear-gradient(180deg,#f6faff 0,#fff 240px)}
.am-collection-heading{margin-bottom:32px;text-align:start}
.am-collection-eyebrow{display:inline-block;color:var(--blue);font-weight:850;font-size:13px;letter-spacing:.045em;margin-bottom:12px}
.am-collection-heading h1{margin:0 0 12px;color:var(--navy);font-size:clamp(32px,4vw,50px);line-height:1.15;font-weight:900}
.am-collection-heading p{margin:0;color:var(--muted);font-size:16px;line-height:1.7}
.am-collection-heading-small{margin-bottom:22px}
.am-collection-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.am-collection-category-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e5eaf1;box-shadow:0 6px 25px rgba(14,50,99,.055);border-radius:18px;overflow:hidden;transition:box-shadow .2s,transform .2s}
.am-collection-category-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(14,50,99,.13)}
.am-collection-category-copy{padding:23px 24px 15px;min-height:116px}
.am-collection-category-copy h2{margin:0 0 7px;font-size:clamp(22px,2vw,27px);line-height:1.25;color:#102743}
.am-collection-category-copy>span{display:block;color:#67748a;line-height:1.5;font-size:13px}
.am-collection-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:3px;background:#f0f5fb;aspect-ratio:1.25 / 1;overflow:hidden;padding:6px;margin:0 10px;border-radius:12px}
.am-collection-images>span{display:flex;min-width:0;min-height:0;align-items:center;justify-content:center;overflow:hidden;background:#fff;border-radius:5px}
.am-collection-images>span img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;display:block;margin:0!important}
.am-collection-images-1{grid-template-columns:1fr;grid-template-rows:1fr}
.am-collection-images-2{grid-template-columns:1fr 1fr;grid-template-rows:1fr}
.am-collection-images-3>span:first-child{grid-row:span 2}
.am-collection-category-link{padding:17px 24px 20px;font-weight:800;color:var(--blue);font-size:14px;display:flex;align-items:center;gap:7px}
.am-collections-housewares-link{margin:30px 0 0;text-align:center}
.am-collections-housewares-link a{display:inline-block;color:var(--blue);font-weight:750;padding:10px}
.am-collection-nav{display:flex;flex-wrap:wrap;gap:9px;margin:6px 0 32px}
.am-collection-nav a{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe7f6;background:#fff;color:var(--navy);padding:10px 16px;border-radius:999px;font-size:14px;line-height:1.35;font-weight:750;transition:.2s}
.am-collection-nav a.is-active,.am-collection-nav a:hover{background:var(--blue);border-color:var(--blue);color:white}
.am-collection-resultcount{color:var(--muted);font-size:14px;margin-bottom:17px}
.am-collection-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.am-collection-product{min-width:0;display:block;background:#fff;border:1px solid #e3eaf4;border-radius:17px;padding:12px;transition:.2s;overflow:hidden}
.am-collection-product:hover{box-shadow:0 14px 32px rgba(14,50,99,.09);transform:translateY(-3px)}
.am-collection-product-photo{display:flex;justify-content:center;align-items:center;background:white;aspect-ratio:1/1;padding:5px;overflow:hidden;border-radius:12px}
.am-collection-product-photo img{display:block;max-width:100%;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important}
.am-collection-product h2{margin:13px 0 7px;color:var(--ink);font-size:16px;line-height:1.45;font-weight:800;min-height:42px}
.am-collection-product-sku{display:block;color:var(--muted);font-size:13px}
.am-collection-pagination{display:flex;justify-content:center;align-items:center;gap:9px;margin:34px 0 4px}
.am-collection-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;border-radius:9px;background:#fff;border:1px solid #dbe7f6;font-weight:800;color:var(--navy)}
.am-collection-pagination a.is-current{color:#fff;background:var(--blue);border-color:var(--blue)}
.am-collections-empty{padding:22px;border:1px dashed var(--line);border-radius:14px;background:white}
.site-ar .am-collection-heading,.site-ar .am-collection-product h2,.site-ar .am-collection-category-copy{text-align:right}
@media(max-width:950px){
 .am-collection-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 .am-collection-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}
@media(max-width:620px){
 .am-collections-page{padding:28px 0 52px}
 .am-collection-heading{margin-bottom:22px}
 .am-collection-heading h1{font-size:30px}
 .am-collection-heading p{font-size:14px}
 .am-collection-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .am-collection-category-card{border-radius:13px}
 .am-collection-category-copy{padding:14px 12px 10px;min-height:94px}
 .am-collection-category-copy h2{font-size:16px;line-height:1.27}
 .am-collection-category-copy>span{font-size:11px;line-height:1.4}
 .am-collection-images{aspect-ratio:1/1.06;margin:0 5px;padding:3px;gap:2px;border-radius:7px}
 .am-collection-category-link{padding:11px 12px 13px;font-size:11px}
 .am-collection-nav{gap:6px;margin-bottom:24px}
 .am-collection-nav a{font-size:12px;padding:8px 11px}
 .am-collection-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .am-collection-product{padding:8px;border-radius:12px}
 .am-collection-product h2{font-size:13px;min-height:39px;margin:9px 0 5px}
 .am-collection-product-sku{font-size:11px}
}


/* v3.9.7 — mobile product/category grids display two items per row.
   Also supports any remaining native WooCommerce category archives. */
@media(max-width:620px){
 body.tax-product_cat ul.products,
 body.post-type-archive-product ul.products{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:0!important;
 }
 body.tax-product_cat ul.products::before,
 body.tax-product_cat ul.products::after,
 body.post-type-archive-product ul.products::before,
 body.post-type-archive-product ul.products::after{
  content:none!important;
  display:none!important;
 }
 body.tax-product_cat ul.products li.product,
 body.post-type-archive-product ul.products li.product{
  float:none!important;
  width:auto!important;
  margin:0!important;
  padding:8px!important;
  border-radius:12px!important;
 }
 body.tax-product_cat ul.products li.product .woocommerce-loop-product__link,
 body.post-type-archive-product ul.products li.product .woocommerce-loop-product__link{
  display:block!important;
 }
 body.tax-product_cat ul.products li.product .attachment-woocommerce_thumbnail,
 body.post-type-archive-product ul.products li.product .attachment-woocommerce_thumbnail{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
 }
 body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
 body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title{
  font-size:13px!important;
  line-height:1.4!important;
  margin:9px 0 5px!important;
 }
 body.tax-product_cat .woocommerce-result-count,
 body.post-type-archive-product .woocommerce-result-count,
 body.tax-product_cat .woocommerce-ordering,
 body.post-type-archive-product .woocommerce-ordering{
  float:none!important;
  width:100%!important;
  margin:0 0 14px!important;
 }
}


/* v3.9.8: two cards per row on phones, final (fifth) category centered.
 * This applies only to the five Kids Toys collection cards. */
@media screen and (max-width:620px) {
  .am-collections-page .am-collection-category-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    align-items:stretch !important;
  }
  .am-collections-page .am-collection-category-grid > .am-collection-category-card {
    min-width:0 !important;
    width:100% !important;
  }
  .am-collections-page .am-collection-category-grid > .am-collection-category-card:nth-child(odd):last-child {
    grid-column:1 / -1;
    width:calc((100% - 10px) / 2) !important;
    justify-self:center;
  }
  .am-collections-page .am-collection-category-copy {
    padding:12px 10px 8px !important;
    min-height:78px !important;
  }
  .am-collections-page .am-collection-category-copy h2 {
    font-size:clamp(13px,3.65vw,16px) !important;
    line-height:1.3 !important;
    overflow-wrap:anywhere;
  }
  .am-collections-page .am-collection-category-copy > span {
    font-size:10px !important;
    line-height:1.35 !important;
  }
  .am-collections-page .am-collection-images {
    aspect-ratio:1.08 / 1 !important;
    padding:3px !important;
    margin:0 5px !important;
  }
  .am-collections-page .am-collection-category-link {
    margin-top:auto;
    font-size:11px !important;
    padding:10px 9px 12px !important;
  }
}


/* v3.9.9 — mobile Kids Toys collections: two cards per row, fifth centered.
   Desktop product/category layouts are unchanged. */
@media screen and (max-width: 620px) {
 .am-collections-page .am-collection-category-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
 }
 .am-collections-page .am-collection-category-card {
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  position:relative!important;
  border-radius:15px!important;
  overflow:hidden!important;
 }
 .am-collections-page .am-collection-category-card:last-child:nth-child(odd) {
  grid-column:1 / -1!important;
  justify-self:center!important;
  width:calc(50% - 6px)!important;
 }
 .am-collections-page .am-collection-category-card .am-collection-images {
  order:0!important;
  width:calc(100% - 12px)!important;
  margin:6px auto 0!important;
  padding:3px!important;
  aspect-ratio:1.12 / 1!important;
  border-radius:10px!important;
 }
 .am-collections-page .am-collection-category-card .am-collection-category-copy {
  order:1!important;
  min-height:0!important;
  flex:1 0 auto!important;
  padding:12px 37px 16px 10px!important;
 }
 body.site-ar .am-collections-page .am-collection-category-card .am-collection-category-copy {
  padding:12px 10px 16px 37px!important;
 }
 .am-collections-page .am-collection-category-card .am-collection-category-copy h2 {
  margin:0!important;
  font-size:clamp(13px,3.8vw,16px)!important;
  line-height:1.35!important;
  overflow-wrap:anywhere;
 }
 .am-collections-page .am-collection-category-card .am-collection-category-copy > span {
  display:none!important;
 }
 .am-collections-page .am-collection-category-card .am-collection-category-link {
  position:absolute!important;
  inset-inline-end:8px!important;
  bottom:10px!important;
  order:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  width:27px!important;
  height:27px!important;
  border-radius:50%!important;
  background:#eaf3ff!important;
  color:var(--blue)!important;
  font-size:0!important;
 }
 .am-collections-page .am-collection-category-card .am-collection-category-link > span {
  font-size:18px!important;
  line-height:1!important;
 }
}

/* v3.9.10 — Five individually illustrated collection covers.
   Layout remains responsive: 3 columns desktop, 2 columns mobile. */
.am-collection-category-card .am-collection-poster {
    margin: 0 10px;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    display: block;
}
.am-collection-category-card .am-collection-poster img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
}
@media(max-width:620px){
    .am-collection-category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .am-collection-category-card .am-collection-poster {
        margin: 0 5px;
        border-radius: 8px;
    }
    .am-collection-category-copy h2 {
        overflow-wrap: break-word;
        font-size: clamp(13px, 3.7vw, 16px);
    }
}


/* v3.9.12 — center the actual hamburger lines within the mobile button. */
@media (max-width:900px) {
 .site-header .mobile-toggle {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-shrink:0 !important;
  padding:0 !important;
  line-height:1 !important;
  font-size:0 !important; /* hide the offset Unicode hamburger glyph */
  text-align:center !important;
  -webkit-appearance:none;
  appearance:none;
 }
 .site-header .mobile-toggle::before {
  content:"";
  display:block;
  width:21px;
  height:17px;
  flex:none;
  background:linear-gradient(to bottom,
   #082b68 0 3px, transparent 3px 7px,
   #082b68 7px 10px, transparent 10px 14px,
   #082b68 14px 17px);
  border-radius:1px;
 }
 .site-header .mobile-toggle[aria-expanded="true"]::before {
  content:"×";
  display:flex;
  align-items:center;
  justify-content:center;
  width:25px;
  height:25px;
  background:none;
  font-family:Arial,sans-serif;
  font-size:29px;
  font-weight:400;
  line-height:1;
 }
}

/* v3.9.12 — auto-framed product photos: only cards with generous light/clear
   margins are enlarged. Original WordPress photos are never modified. */
.am-card-photo-frame {
 display:block !important;
 width:100% !important;
 aspect-ratio:1/1;
 overflow:hidden !important;
 border-radius:12px;
 background:#f6f9fd;
}
.woocommerce ul.products li.product a img.am-woo-card-photo,
.woocommerce-page ul.products li.product a img.am-woo-card-photo {
 display:block !important;
 width:100% !important;
 height:100% !important;
 aspect-ratio:1/1 !important;
 object-fit:contain !important;
 padding:8px !important;
 margin:0 !important;
}
.v3-card-image img.am-smart-fitted,
.am-collection-product-photo img.am-smart-fitted,
.products-carousel .card-img img.am-smart-fitted,
.am-related-grid .card-img img.am-smart-fitted,
.catalog-card-image img.am-smart-fitted,
.woocommerce ul.products li.product img.am-smart-fitted,
.woocommerce-page ul.products li.product img.am-smart-fitted,
.v3-main-image img.am-smart-fitted {
 transform:translate3d(var(--am-fit-x,0px),var(--am-fit-y,0px),0) scale(var(--am-fit-zoom,1)) !important;
 transform-origin:center center !important;
}


/* v3.9.15 — Keep phone and email LTR inside Arabic RTL footer. */
.site-footer .footer-contact-row .footer-phone-number,
.site-footer .footer-contact-row .footer-email-address {
  direction:ltr!important;
  unicode-bidi:isolate!important;
  white-space:nowrap;
  overflow-wrap:normal;
  text-align:left;
}
.site-footer .footer-contact-row .footer-phone-number bdi,
.site-footer .footer-contact-row .footer-email-address bdi {
  direction:ltr!important;
  unicode-bidi:isolate!important;
}
body.site-ar .site-footer .footer-contact-row .footer-phone-number,
body.site-ar .site-footer .footer-contact-row .footer-email-address {
  text-align:right;
}

/* v3.9.16: visibly mark the full footer location row as a Google Maps link. */
.site-footer a.footer-contact-row[href*="google.com/maps"]{cursor:pointer}
.site-footer .footer-maps-cta{display:inline-block;margin-top:4px;color:#fff;font-weight:700;font-size:11px;line-height:1.4;text-decoration:underline;text-underline-offset:3px}
.site-footer a.footer-contact-row[href*="google.com/maps"]:hover .footer-maps-cta{text-decoration-thickness:2px}

/* v3.9.18: WC catalog sorting/count inherit the visitor's language direction. */
html[lang="en"] .woocommerce-result-count,
html[lang="en"] .woocommerce-ordering select { direction:ltr; text-align:left; }
html[lang="ar"] .woocommerce-result-count,
html[lang="ar"] .woocommerce-ordering select { direction:rtl; text-align:right; }
