/* minimecraft.ro — pagina de magazin /magazin/ (impeccable, 15.11.2026)
   Încărcat din porto-child/inc-mmc-magazin.php, doar unde body are clasa .mmc-shop.
   Structură: titlu (page-top Porto) · intro .mmc-sh (text, categorii, sortare, „Personalizat în întregime")
   · grilă de produse pe 4 coloane · paginare. Bara laterală Porto e ascunsă: categoriile sunt în .mmc-sh.
   Culorile și fonturile sunt cele din meniu.css / footer.css. */

body.mmc-shop{--ink:#1d2416;--tx:#3d4734;--mut:#5a6650;--line:#e3e9d8;--g:#4e7522;--g2:#7aa93c;--gl:#eef5e4;--paper:#fbfcf8;
  --ease:cubic-bezier(.16,1,.3,1)}
body.mmc-shop #main ::selection,body.mmc-shop .page-top ::selection{background:var(--g2);color:#fff}

/* ---------- bannerul vechi + bara laterală ---------- */
body.mmc-shop .porto-block:has(.shop-banner),body.mmc-shop .shop-banner{display:none!important}
body.mmc-shop #main .sidebar,body.mmc-shop #main .sidebar-overlay,body.mmc-shop .porto-product-filters-toggle{display:none!important}
body.mmc-shop #main .main-content{flex:0 0 100%;width:100%;max-width:100%;padding-top:0;padding-bottom:0}
body.mmc-shop #main{padding:0 0 clamp(64px,7vw,104px);background:#fff}
/* bara Porto de deasupra grilei: sortarea e mutată în .mmc-sh */
body.mmc-shop #main .shop-loop-before{display:none!important}

/* ---------- titlu: breadcrumb + H1 ---------- */
html body.mmc-shop .page-top{background:#fff;border:0;margin:0;padding:clamp(28px,3.4vw,44px) 0 0}
html body.mmc-shop .page-top>.container{padding-top:0;padding-bottom:0}
html body.mmc-shop .page-top .row>[class*="col-"]{display:flex;flex-direction:column}
html body.mmc-shop .page-top .breadcrumbs-wrap{order:1;float:none;margin:0 0 12px;padding:0;width:auto}
html body.mmc-shop .page-top .breadcrumb{margin:0;padding:0;background:none;font:400 13px/1.4 "Open Sans",system-ui,sans-serif;
  letter-spacing:0;text-transform:none;color:var(--mut)}
html body.mmc-shop .page-top .breadcrumb>li{color:var(--mut);text-transform:none;font-size:13px;text-shadow:none}
html body.mmc-shop .page-top .breadcrumb a{color:var(--mut);text-decoration:none}
html body.mmc-shop .page-top .breadcrumb a:hover{color:var(--g)}
html body.mmc-shop .page-top .breadcrumb .delimiter{margin:0 8px;opacity:.6}
html body.mmc-shop .page-top .pt-right{order:2;display:block!important;float:none;margin:0;padding:0;width:auto;text-align:left}
html body.mmc-shop .page-top .page-title{display:block!important;margin:0;padding:0;
  font:600 clamp(2.1rem,1.5rem + 2.3vw,3.25rem)/1.08 Poppins,system-ui,sans-serif;letter-spacing:-.025em;color:var(--ink);text-transform:none}

/* ---------- intro: text, categorii, sortare ---------- */
.mmc-sh{margin:14px 0 clamp(28px,3vw,40px)}
.mmc-sh__lead{margin:0 0 clamp(24px,2.6vw,34px);max-width:none;font:400 17px/1.55 "Open Sans",system-ui,sans-serif;color:var(--tx)}
.mmc-sh__lead strong{font-weight:600;color:var(--ink)}
.mmc-sh__bar{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;flex-wrap:wrap;
  padding:0 0 20px;border-bottom:1px solid var(--line)}
.mmc-sh__cats{min-width:0;flex:1 1 auto}
.mmc-sh__cats ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.mmc-sh__cats li{margin:0;padding:0}
.mmc-sh__cats a{display:inline-flex;align-items:baseline;gap:8px;min-height:44px;padding:11px 18px;border-radius:999px;
  background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);
  font:600 14.5px/22px Poppins,system-ui,sans-serif;color:var(--ink);text-decoration:none!important;white-space:nowrap;
  transition:background-color .2s,box-shadow .2s,color .2s}
.mmc-sh__cats a span{font:400 13px/1 "Open Sans",system-ui,sans-serif;color:var(--mut);font-variant-numeric:tabular-nums;transition:color .2s}
.mmc-sh__cats a:hover{background:var(--gl);box-shadow:inset 0 0 0 1px #cfdcbc;color:var(--g)}
.mmc-sh__cats a.is-on{background:var(--ink);box-shadow:none;color:#fff}
.mmc-sh__cats a.is-on span{color:#cfd8c3}
.mmc-sh a:focus-visible,.mmc-sh select:focus-visible{outline:2px solid var(--g2);outline-offset:3px}

.mmc-sh__sort{flex:none;margin-left:auto}
.mmc-sh__sort .woocommerce-ordering{display:flex;align-items:center;gap:10px;margin:0;float:none}
.mmc-sh__sort label{margin:0;font:400 14px/1.3 "Open Sans",system-ui,sans-serif;color:var(--mut);white-space:nowrap}
html body.mmc-shop .mmc-sh__sort select{width:auto;max-width:250px;height:44px;margin:0;padding:0 40px 0 16px;border:0;border-radius:999px;
  background-color:var(--paper);box-shadow:inset 0 0 0 1px var(--line);
  font:600 14px/44px Poppins,system-ui,sans-serif;color:var(--ink);cursor:pointer;text-overflow:ellipsis;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d2416' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;background-size:11px 8px}
html body.mmc-shop .mmc-sh__sort select:hover{box-shadow:inset 0 0 0 1px #cfdcbc}

/* ---------- „Personalizat în întregime" ---------- */
.mmc-sh__custom{display:flex;align-items:center;justify-content:space-between;gap:14px 32px;flex-wrap:wrap;
  margin:20px 0 0;padding:18px 20px 18px 28px;border-radius:20px;background:var(--gl)}
.mmc-sh__custom h2{margin:0;font:600 17px/1.3 Poppins,system-ui,sans-serif;letter-spacing:-.01em;color:var(--ink);text-transform:none}
.mmc-sh__custom p{margin:2px 0 0;font:400 14.5px/1.45 "Open Sans",system-ui,sans-serif;color:var(--tx)}
.mmc-sh__custom ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.mmc-sh__custom li{margin:0;padding:0}
.mmc-sh__custom a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:11px 16px 11px 18px;border-radius:999px;background:#fff;
  font:600 14.5px/22px Poppins,system-ui,sans-serif;color:var(--g);text-decoration:none!important;white-space:nowrap;
  box-shadow:0 1px 2px rgba(29,36,22,.06);transition:background-color .2s,color .2s}
.mmc-sh__custom a svg{flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .35s var(--ease)}
.mmc-sh__custom a:hover{background:var(--g);color:#fff}
.mmc-sh__custom a:hover svg{transform:translateX(3px)}

/* ---------- grila ---------- */
html body.mmc-shop #main ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:44px 24px;
  margin:0!important;padding:0;list-style:none}
html body.mmc-shop #main ul.products:before,html body.mmc-shop #main ul.products:after{display:none}
html body.mmc-shop #main ul.products>li.product-col{float:none;width:auto!important;max-width:none!important;flex:none;margin:0!important;padding:0!important}
html body.mmc-shop #main ul.products .product-inner{display:flex;flex-direction:column;height:100%;margin:0;padding:0;
  background:none;border:0;box-shadow:none;text-align:left}

/* scena: fundalul alb al pozei dispare prin multiply, ca pe „Oferta corporate" */
html body.mmc-shop #main ul.products .product-image{position:relative;display:block;margin:0 0 16px;padding:0;border:0;border-radius:20px;
  background:var(--gl);box-shadow:none;overflow:hidden;min-height:0}
html body.mmc-shop #main ul.products .product-image>a{display:block;border-radius:inherit}
html body.mmc-shop #main ul.products .product-image .inner{display:block;background:none;overflow:visible}
html body.mmc-shop #main ul.products .product-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;
  padding:3% 3% 0;background:none;mix-blend-mode:multiply;opacity:1!important;position:static;
  transform:none;transform-origin:50% 100%;transition:transform .6s var(--ease)}
html body.mmc-shop #main ul.products .product-image img.hover-image{display:none}
html body.mmc-shop #main ul.products li.product-col:hover .product-image img,
html body.mmc-shop #main ul.products li.product-col:focus-within .product-image img{transform:scale(1.045)}
html body.mmc-shop #main ul.products .product-image>a:focus-visible{outline:2px solid var(--g2);outline-offset:3px}
html body.mmc-shop #main ul.products .links-on-image,
html body.mmc-shop #main ul.products .quantity,
html body.mmc-shop #main ul.products .description,
html body.mmc-shop #main ul.products .rating-wrap:empty{display:none!important}

/* etichete */
html body.mmc-shop #main ul.products .labels{position:absolute;top:12px;left:12px;right:auto;z-index:2;margin:0;display:flex;gap:6px}
html body.mmc-shop #main ul.products .labels>div{position:static;margin:0;padding:5px 11px;border-radius:999px;background:#fff;
  font:600 11.5px/1.3 Poppins,system-ui,sans-serif;letter-spacing:.02em;text-transform:none;color:var(--ink);
  box-shadow:0 1px 2px rgba(29,36,22,.1)}
html body.mmc-shop #main ul.products .labels>.onsale{background:var(--g);color:#fff}

/* text: categorie · titlu · preț + buton */
html body.mmc-shop #main ul.products .product-content{flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 1fr auto;
  align-items:center;gap:0 12px;width:auto;margin:0;padding:0 4px;text-align:left}
html body.mmc-shop #main ul.products .product-content>*{grid-column:1/-1}
html body.mmc-shop #main ul.products .category-list{display:block;margin:0 0 4px;font:400 13px/1.4 "Open Sans",system-ui,sans-serif;
  letter-spacing:0;text-transform:none;color:var(--mut);opacity:1}
html body.mmc-shop #main ul.products .category-list a{color:inherit;text-decoration:none}
html body.mmc-shop #main ul.products .category-list a:hover{color:var(--g)}
html body.mmc-shop #main ul.products .product-loop-title{display:block;align-self:start;margin:0 0 14px;text-decoration:none}
html body.mmc-shop #main ul.products .woocommerce-loop-product__title{margin:0;padding:0;font:600 16px/1.35 Poppins,system-ui,sans-serif;
  letter-spacing:-.005em;color:var(--ink);white-space:normal;overflow:visible;text-overflow:clip;text-wrap:balance;transition:color .2s}
html body.mmc-shop #main ul.products .product-loop-title:hover .woocommerce-loop-product__title{color:var(--g)}
html body.mmc-shop #main ul.products .product-loop-title:focus-visible{outline:2px solid var(--g2);outline-offset:3px;border-radius:4px}
html body.mmc-shop #main ul.products .price{grid-column:1;display:block;margin:0;font:600 17px/1.2 Poppins,system-ui,sans-serif;
  color:var(--ink);font-variant-numeric:tabular-nums}
html body.mmc-shop #main ul.products .price del{font-weight:400;font-size:14px;color:var(--mut)}
html body.mmc-shop #main ul.products .price ins{text-decoration:none}
html body.mmc-shop #main ul.products .product-content .add-links-wrap{grid-column:2;display:block;margin:0;padding:0}
html body.mmc-shop #main ul.products .product-content .add-links{display:block;margin:0;padding:0}
html body.mmc-shop #main ul.products .product-content .add-links .button{display:inline-flex;align-items:center;justify-content:center;float:none;
  height:auto;min-height:40px;margin:0;padding:8px 16px;border:0;border-radius:999px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);
  font:600 13px/1.3 Poppins,system-ui,sans-serif;letter-spacing:0;text-transform:none;color:var(--g);white-space:nowrap;
  transition:background-color .2s,box-shadow .2s,color .2s}
html body.mmc-shop #main ul.products .product-content .add-links .button:before{display:none}
html body.mmc-shop #main ul.products li.product-col:hover .add-links .button,
html body.mmc-shop #main ul.products .product-content .add-links .button:hover,
html body.mmc-shop #main ul.products .product-content .add-links .button:focus-visible{background:var(--g);box-shadow:none;color:#fff}
html body.mmc-shop #main ul.products .product-content .add-links .button:focus-visible{outline:2px solid var(--g2);outline-offset:3px}

/* ---------- paginare ---------- */
html body.mmc-shop #main .shop-loop-after{position:relative;margin:clamp(48px,5vw,72px) 0 0;padding:28px 0 0;border:0;border-top:1px solid var(--line)}
html body.mmc-shop #main .shop-loop-after .woocommerce-pagination{display:flex;align-items:center;justify-content:center;float:none;margin:0;position:static}
html body.mmc-shop #main .shop-loop-after .woocommerce-viewing{position:absolute;right:0;top:28px;display:flex;align-items:center;gap:10px;margin:0;float:none}
html body.mmc-shop #main .shop-loop-after .woocommerce-viewing label{margin:0;font:400 14px/1.3 "Open Sans",system-ui,sans-serif;color:var(--mut)}
html body.mmc-shop #main .shop-loop-after .woocommerce-viewing select{width:auto;height:44px;margin:0;padding:0 36px 0 16px;border:0;border-radius:999px;
  background-color:var(--paper);box-shadow:inset 0 0 0 1px var(--line);font:600 14px/44px Poppins,system-ui,sans-serif;color:var(--ink);cursor:pointer;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d2416' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:11px 8px}
html body.mmc-shop #main .shop-loop-after ul.page-numbers{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0;float:none;border:0}
html body.mmc-shop #main .shop-loop-after ul.page-numbers li{margin:0;padding:0;border:0;float:none}
html body.mmc-shop #main .shop-loop-after .page-numbers a,
html body.mmc-shop #main .shop-loop-after .page-numbers span{display:grid;place-items:center;min-width:44px;height:44px;margin:0;padding:0 8px;border:0;border-radius:999px;
  background:none;font:600 15px/1 Poppins,system-ui,sans-serif;color:var(--ink);text-decoration:none;font-variant-numeric:tabular-nums;
  transition:background-color .2s,color .2s}
html body.mmc-shop #main .shop-loop-after .page-numbers a:hover{background:var(--gl);color:var(--g)}
html body.mmc-shop #main .shop-loop-after .page-numbers span.current{background:var(--ink);color:#fff}
html body.mmc-shop #main .shop-loop-after .page-numbers span.dots{min-width:28px;padding:0;color:var(--mut)}
html body.mmc-shop #main .shop-loop-after .page-numbers a.next,
html body.mmc-shop #main .shop-loop-after .page-numbers a.prev{box-shadow:inset 0 0 0 1px var(--line);font-size:0;line-height:0}
html body.mmc-shop #main .shop-loop-after .page-numbers a.next:before,
html body.mmc-shop #main .shop-loop-after .page-numbers a.prev:before{position:static;display:block;margin:0;font-size:18px;line-height:1;transform:none}
html body.mmc-shop #main .shop-loop-after a:focus-visible,html body.mmc-shop #main .shop-loop-after select:focus-visible{outline:2px solid var(--g2);outline-offset:3px}

/* ---------- responsive ---------- */
@media (max-width:1199px){
  html body.mmc-shop #main ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:991px){
  .mmc-sh__custom{padding:20px}
}
@media (max-width:767px){
  html body.mmc-shop #main ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 14px}
  .mmc-sh__lead{font-size:16px}
  /* categoriile: un rând care se derulează lateral, până în marginea ecranului */
  .mmc-sh__bar{display:block;padding-bottom:16px}
  .mmc-sh__cats{margin:0 -20px}
  .mmc-sh__cats ul{flex-wrap:nowrap;overflow-x:auto;padding:2px 20px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .mmc-sh__cats ul::-webkit-scrollbar{display:none}
  .mmc-sh__cats li{flex:none}
  .mmc-sh__sort{margin:14px 0 0}
  .mmc-sh__sort .woocommerce-ordering{justify-content:space-between}
  html body.mmc-shop .mmc-sh__sort select{max-width:230px}
  .mmc-sh__custom{display:block;border-radius:18px}
  .mmc-sh__custom ul{margin-top:14px;display:grid;grid-template-columns:1fr 1fr}
  .mmc-sh__custom a{display:flex;justify-content:space-between;padding-left:16px;padding-right:14px;font-size:14px}
  html body.mmc-shop #main ul.products .product-image{border-radius:16px;margin-bottom:12px}
  html body.mmc-shop #main ul.products .product-content{display:block;padding:0 2px}
  html body.mmc-shop #main ul.products .woocommerce-loop-product__title{font-size:14.5px}
  html body.mmc-shop #main ul.products .product-loop-title{margin-bottom:8px}
  html body.mmc-shop #main ul.products .price{font-size:16px}
  /* pe telefon tot cardul duce la produs; butonul ar ocupa doar loc */
  html body.mmc-shop #main ul.products .product-content .add-links-wrap{display:none}
  html body.mmc-shop #main .shop-loop-after .woocommerce-pagination{flex-direction:column;gap:20px}
  html body.mmc-shop #main .shop-loop-after .woocommerce-viewing{display:none}
  html body.mmc-shop #main .shop-loop-after .page-numbers a,
  html body.mmc-shop #main .shop-loop-after .page-numbers span{min-width:40px;height:44px;padding:0 4px}
}
@media (prefers-reduced-motion:reduce){
  body.mmc-shop #main *,.mmc-sh *{transition:none!important}
  html body.mmc-shop #main ul.products li.product-col:hover .product-image img{transform:none}
}

/* ---------- pagini de categorii (body.mmc-shop--cat) ---------- */
.mmc-sh__custom a.is-on{background:var(--g);color:#fff;box-shadow:none}
/* un singur rând de produse (ex. categoriile „personalizat în întregime”): fără linie de paginare goală */
html body.mmc-shop #main .shop-loop-after:not(:has(.page-numbers)){border-top:0;padding-top:0;margin-top:0}
html body.mmc-shop #main .shop-loop-after:not(:has(.page-numbers)) .woocommerce-viewing{display:none}

.mmc-sh-end{display:flex;align-items:center;justify-content:space-between;gap:24px 48px;flex-wrap:wrap;
  margin:clamp(48px,5vw,72px) 0 0;padding:clamp(28px,3.4vw,44px) clamp(24px,3.6vw,48px);border-radius:24px;
  background:linear-gradient(135deg,#4a6f21,#2f4a14);color:#fff}
.mmc-sh-end>div{flex:1 1 360px;min-width:0}
.mmc-sh-end p{text-wrap:pretty}
.mmc-sh-end ::selection{background:#fff;color:#2f4a14}
.mmc-sh-end h2{margin:0;font:600 clamp(1.4rem,1.1rem + 1.1vw,1.9rem)/1.2 Poppins,system-ui,sans-serif;letter-spacing:-.02em;color:#fff;text-transform:none;text-wrap:balance}
.mmc-sh-end p{margin:8px 0 0;max-width:46ch;font:400 16px/1.55 "Open Sans",system-ui,sans-serif;color:#e4eed6}
.mmc-sh-end .mmc-sh-end__btns{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px;margin:0;max-width:none}
.mmc-sh-end__btn{display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:14px 24px 14px 28px;border-radius:999px;background:#fff;
  font:600 15.5px/24px Poppins,system-ui,sans-serif;color:#2f4a14!important;text-decoration:none!important;white-space:nowrap;
  box-shadow:0 10px 24px -12px rgba(15,26,6,.7);transition:background-color .2s,transform .35s var(--ease)}
.mmc-sh-end__btn svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease)}
.mmc-sh-end__btn:hover{background:var(--gl)}
.mmc-sh-end__btn:hover svg{transform:translateX(4px)}
.mmc-sh-end__link{font:600 15px/24px Poppins,system-ui,sans-serif;color:#fff!important;text-decoration:underline!important;text-decoration-color:rgba(255,255,255,.45)!important;
  text-underline-offset:5px;transition:text-decoration-color .2s}
.mmc-sh-end__link:hover{text-decoration-color:#fff!important}
.mmc-sh-end a:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media (max-width:767px){
  .mmc-sh-end{display:block;border-radius:18px}
  .mmc-sh-end .mmc-sh-end__btns{margin-top:22px}
  .mmc-sh-end__btn{width:100%;justify-content:space-between}
}
@media (prefers-reduced-motion:reduce){.mmc-sh-end *{transition:none!important}}

/* ---------- încadrare uniformă a figurinelor (meta _mmc_fit, vezi inc-mmc-magazin.php) ---------- */
html body.mmc-shop #main ul.products .product-image img.mmc-fit{padding:0;transform-origin:50% 50%;
  transform:translate(var(--mmc-x),var(--mmc-y)) scale(var(--mmc-s))}
html body.mmc-shop #main ul.products li.product-col:hover .product-image img.mmc-fit,
html body.mmc-shop #main ul.products li.product-col:focus-within .product-image img.mmc-fit{
  transform:translate(var(--mmc-x),var(--mmc-y)) scale(calc(var(--mmc-s) * 1.045))}
@media (prefers-reduced-motion:reduce){
  html body.mmc-shop #main ul.products li.product-col:hover .product-image img.mmc-fit{transform:translate(var(--mmc-x),var(--mmc-y)) scale(var(--mmc-s))}
}

/* ---------- filtrul „Tematică” (17.11.2026, vezi inc-mmc-magazin.php) ----------
   Al doilea rând din .mmc-sh__bar, sub categorii. Mai discret decât categoriile: butoane mai mici, tematica aleasă e verde. */
.mmc-sh__teme{order:3;flex:0 0 100%;display:flex;align-items:flex-start;gap:8px 16px;min-width:0;margin-top:-2px}
.mmc-sh__teme h2{flex:none;margin:0;padding:0;font:400 14px/38px "Open Sans",system-ui,sans-serif;letter-spacing:0;text-transform:none;color:var(--mut)}
.mmc-sh__teme ul{position:relative;list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.mmc-sh__teme li{margin:0;padding:0}
.mmc-sh__teme a{display:inline-flex;align-items:baseline;gap:7px;min-height:38px;padding:8px 14px;border-radius:999px;
  box-shadow:inset 0 0 0 1px var(--line);font:500 13.5px/22px Poppins,system-ui,sans-serif;color:var(--tx);
  text-decoration:none!important;white-space:nowrap;transition:background-color .2s,box-shadow .2s,color .2s}
.mmc-sh__teme a span{font:400 12.5px/1 "Open Sans",system-ui,sans-serif;color:var(--mut);font-variant-numeric:tabular-nums;transition:color .2s}
.mmc-sh__teme a:hover{background:var(--gl);box-shadow:inset 0 0 0 1px #cfdcbc;color:var(--g)}
.mmc-sh__teme a.is-on{background:var(--g);box-shadow:none;color:#fff}
.mmc-sh__teme a.is-on span{color:#e1edd0}
/* categorie fără modele în tematica aleasă: duce la categoria întreagă, fără filtru */
.mmc-sh__cats a.is-off{background:none;color:var(--mut)}
@media (max-width:767px){
  .mmc-sh__teme{display:block;margin:14px 0 0}
  .mmc-sh__teme h2{margin:0 0 6px;font-size:13px;line-height:1.4}
  .mmc-sh__teme ul{flex-wrap:nowrap;overflow-x:auto;margin:0 -20px;padding:2px 20px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .mmc-sh__teme ul::-webkit-scrollbar{display:none}
  .mmc-sh__teme li{flex:none}
  .mmc-sh__teme a{min-height:44px;padding:11px 16px}
}


/* miniaturi la „Personalizat în întregime” (17.11.2026): poza categoriei custom-N */
.mmc-sh__custom a:has(.mmc-sh__custom-img){padding-left:5px}
html body.mmc-shop .mmc-sh__custom-img{flex:none;width:34px;height:34px;margin:0;padding:0;border-radius:50%;object-fit:cover;object-position:50% 20%;background:var(--gl);mix-blend-mode:multiply}
.mmc-sh__custom a:hover .mmc-sh__custom-img{mix-blend-mode:normal}
@media (max-width:767px){.mmc-sh__custom a{justify-content:flex-start}.mmc-sh__custom a svg{margin-left:auto}}


/* bara de sus (17.11.2026): sortarea stă mereu pe rândul categoriilor, în dreapta; dacă nu încap, categoriile trec pe rând nou, nu sortarea */
@media (min-width:768px){
  .mmc-sh__bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:24px}
  .mmc-sh__cats{grid-column:1;grid-row:1}
  .mmc-sh__sort{grid-column:2;grid-row:1;margin-left:0}
  .mmc-sh__teme{grid-column:1/-1;grid-row:2}
  .mmc-sh__bar{column-gap:20px}
  html body.mmc-shop .mmc-sh__sort select{max-width:205px}
}
