/* minimecraft.ro — prima pagină (impeccable, 15.11.2026)
   Se sprijină pe cum-functioneaza.css (.mmc-cf: culori, butoane, pași, bloc de contact).
   Încărcat din porto-child/inc-mmc-acasa.php, doar pe prima pagină. */
.mmc-cf.mmc-hm{max-width:none;--g:#4e7522;--tx:#3d4734;--ease:cubic-bezier(.16,1,.3,1)}
body.home #main{overflow-x:clip}
.mmc-hm .mmc-w{max-width:1220px;margin:0 auto;padding:0 20px}
.mmc-hm h2{font-size:clamp(1.75rem,3.1vw,2.45rem);line-height:1.12;letter-spacing:-.02em;font-weight:700}
.mmc-hm a:focus-visible,.mmc-hm button:focus-visible{outline:3px solid var(--g2);outline-offset:3px;border-radius:10px}
.mmc-hm-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin-bottom:32px}
.mmc-hm-head p{color:var(--mut);margin:10px 0 0;max-width:58ch;font-size:1.05rem}
.mmc-hm-more{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:600 15.5px/1.3 Poppins,sans-serif;color:var(--g)!important;text-decoration:none!important;white-space:nowrap}
.mmc-hm-more svg{width:16px;height:16px;transition:transform .35s var(--ease)}
.mmc-hm-more:hover svg{transform:translateX(4px)}

/* ---------- hero: text + trei nișe cu figurine ---------- */
.mmc-hm-hero{padding:36px 0 96px}
.mmc-hm-hero .mmc-w{display:grid;grid-template-columns:1.08fr .92fr;gap:64px;align-items:center}
.mmc-hm-hero h1{font-size:clamp(2.2rem,4.2vw,3.55rem);line-height:1.07;letter-spacing:-.03em;font-weight:700}
.mmc-hm-hero h1 em{font-style:normal;color:var(--g)}
.mmc-cf .mmc-hm-hero .mmc-lead{max-width:50ch;margin:26px 0 32px}
.mmc-hm-niches{--k:1;display:grid;grid-template-columns:1fr 1.28fr 1fr;gap:20px;align-items:end;padding-top:calc(48px*var(--k));margin:0}
.mmc-hm-niches span{position:relative;display:block;height:calc(var(--h)*var(--k));border-radius:999px 999px 26px 26px;background:var(--gl)}
.mmc-hm-niches span:nth-child(2){background:#dfecc9}
.mmc-hm-niches img{position:absolute;left:50%;bottom:calc(14px*var(--k));height:calc((var(--h) + 34px)*var(--k));width:auto;max-width:none;translate:-50% 0;
  mix-blend-mode:multiply;transform-origin:50% 94%;pointer-events:none}
.mmc-hm-niches img{transition:rotate .7s cubic-bezier(.34,1.8,.5,1)}
.mmc-hm-niches span:hover img{rotate:-4deg}
.mmc-hm-niches span:nth-child(2):hover img{rotate:3.5deg}

/* ---------- pentru cine e cadoul ---------- */
.mmc-hm-cats{padding:0 0 96px}
.mmc-hm-cats ul.mmc-hm-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.mmc-hm-tiles li{margin:0}
.mmc-hm-tiles a{position:relative;display:block;aspect-ratio:4/5;border-radius:22px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden;
  text-decoration:none!important;transition:background-color .3s,box-shadow .3s}
.mmc-hm-tiles b{position:absolute;top:18px;left:20px;right:16px;z-index:1;font:600 17px/1.25 Poppins,sans-serif;color:var(--ink)}
.mmc-hm-tiles img{position:absolute;left:50%;bottom:-3%;height:86%;width:auto;max-width:none;translate:-50% 0;mix-blend-mode:multiply;
  transform-origin:50% 100%;transition:transform .6s var(--ease)}
.mmc-hm-tiles a:hover{background:var(--gl);box-shadow:inset 0 0 0 1px #cfdcbc}
.mmc-hm-tiles a:hover img{transform:scale(1.05)}
.mmc-hm-custom{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin-top:16px;padding:22px 24px 22px 30px;border-radius:22px;background:var(--gl)}
.mmc-hm-custom h3{font-size:1.15rem;font-weight:600;letter-spacing:-.01em}
.mmc-hm-custom p{margin:4px 0 0;max-width:none;font-size:15.5px;line-height:1.5;color:var(--tx)}
.mmc-hm-custom ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.mmc-hm-custom li{margin:0}
.mmc-hm-custom li a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:999px;background:#fff;
  font:600 14.5px/1.3 Poppins,sans-serif;color:var(--g)!important;text-decoration:none!important;white-space:nowrap;
  box-shadow:0 1px 2px rgba(29,36,22,.06);transition:background-color .2s,color .2s}
.mmc-hm-custom li a:hover{background:var(--g);color:#fff!important}

/* ---------- cum funcționează + filmul din atelier ---------- */
.mmc-hm-how{position:relative;padding:88px 0}
.mmc-hm-how:before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.mmc-hm-how>.mmc-w{position:relative}
.mmc-hm-how .mmc-hm-head{margin-bottom:48px}
.mmc-hm-how .mmc-journey{grid-template-columns:repeat(4,1fr);margin:0}
.mmc-hm-how .mmc-journey:before{left:12.5%;right:12.5%}
.mmc-hm-how .mmc-journey .ic{background:#e6f0d8;border-color:var(--paper)}
.mmc-hm-how .mmc-journey p{max-width:26ch}
.mmc-hm-film{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:center;margin-top:64px;padding-top:40px;border-top:1px solid var(--line)}
.mmc-hm-film h3{font-size:1.2rem;font-weight:600;letter-spacing:-.01em;margin-bottom:8px}
.mmc-hm-film p{margin:0;max-width:62ch;font-size:15.5px;color:var(--mut)}
.mmc-hm-play{position:relative;display:block;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:var(--ink);box-shadow:0 18px 36px -22px rgba(29,36,22,.55)}
.mmc-hm-play img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease),opacity .3s}
.mmc-hm-play i{position:absolute;inset:0;margin:auto;width:54px;height:54px;border-radius:50%;background:#fff;display:grid;place-items:center;
  box-shadow:0 8px 20px -8px rgba(29,36,22,.6);transition:transform .35s var(--ease)}
.mmc-hm-play i svg{width:20px;height:20px;fill:var(--g);stroke:none;margin-left:3px}
.mmc-hm-play:hover img{transform:scale(1.04);opacity:.92}
.mmc-hm-play:hover i{transform:scale(1.08)}
.mmc-hm-film.is-on{grid-template-columns:minmax(0,1fr);gap:20px}
.mmc-hm-film.is-on>div{order:-1}
.mmc-hm-film iframe{display:block;width:100%;max-width:880px;aspect-ratio:16/9;height:auto;border:0;border-radius:16px;background:var(--ink)}

/* ---------- rafturile cu modele ---------- */
.mmc-hm-shelf{padding:96px 0 0}
.mmc-hm-shelf+.mmc-hm-shelf{padding-top:72px}
.mmc-hm-side{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap}
.mmc-hm-nav{display:flex;gap:8px}
.mmc-hm-nav button{width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);
  display:grid;place-items:center;cursor:pointer;transition:background-color .2s,color .2s,opacity .2s}
.mmc-hm-nav button svg{width:18px;height:18px}
.mmc-hm-nav button:hover:not(:disabled){background:var(--g);color:#fff;box-shadow:none}
.mmc-hm-nav button:disabled{opacity:.35;cursor:default}
.mmc-raft ul{list-style:none;margin:0;padding:0 0 4px;display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 72px)/4);gap:24px;
  overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
.mmc-raft ul::-webkit-scrollbar{display:none}
.mmc-raft li{margin:0;scroll-snap-align:start;min-width:0}
.mmc-raft a{display:block;color:var(--ink)!important;text-decoration:none!important}
.mmc-raft .im{display:block;margin-bottom:14px;border-radius:20px;background:var(--gl);overflow:hidden}
.mmc-raft .im img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;padding:3% 3% 0;mix-blend-mode:multiply;
  transform-origin:50% 100%;transition:transform .6s var(--ease)}
.mmc-raft a:hover .im img{transform:scale(1.045)}
.mmc-raft small{display:block;margin:0 4px 2px;font:400 13px/1.4 "Open Sans",sans-serif;color:var(--mut)}
.mmc-raft b{display:block;margin:0 4px;font:600 16px/1.35 Poppins,sans-serif;letter-spacing:-.005em;transition:color .2s}
.mmc-raft a:hover b{color:var(--g)}
.mmc-raft .pr{display:block;margin:6px 4px 0;font:600 16px/1.2 Poppins,sans-serif;font-variant-numeric:tabular-nums}
.mmc-raft .pr del{font-weight:400;font-size:14px;color:var(--mut)}
.mmc-raft .pr ins{text-decoration:none}

/* ---------- recenzii, companii, contact ---------- */
.mmc-hm-rev{padding:96px 0 0}
.mmc-hm-corp{display:grid;grid-template-columns:1fr 1fr;gap:20px 64px;align-items:start;margin-top:96px;padding-top:32px;border-top:2px solid var(--ink)}
.mmc-hm-corp p{color:var(--tx);margin:0 0 14px;max-width:56ch}
.mmc-hm .mmc-contact{margin:96px 0 72px}

@media (max-width:1100px){
.mmc-hm-hero .mmc-w{gap:40px}
.mmc-hm-niches{--k:.84}
}
@media (max-width:900px){
.mmc-hm-hero{padding:16px 0 64px}
.mmc-hm-hero .mmc-w{grid-template-columns:1fr;gap:28px}
.mmc-hm-niches{--k:.66;gap:12px;max-width:440px;margin:0 auto;width:100%}
.mmc-hm-cats{padding-bottom:64px}
.mmc-hm-cats ul.mmc-hm-tiles{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:44%;gap:12px;margin:0 -20px;padding:0 20px 4px;
  overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.mmc-hm-tiles::-webkit-scrollbar{display:none}
.mmc-hm-tiles li{scroll-snap-align:start}
.mmc-hm-tiles b{font-size:15.5px;top:14px;left:16px}
.mmc-hm-custom{display:block;padding:22px 20px}
.mmc-hm-custom ul{margin-top:16px;display:grid;grid-template-columns:1fr 1fr}
.mmc-hm-custom li a{display:flex;justify-content:center;padding:10px 8px;font-size:14px}
.mmc-hm-how{padding:64px 0}
.mmc-hm-how .mmc-hm-head{margin-bottom:32px}
.mmc-hm-how .mmc-journey{grid-template-columns:1fr;gap:24px}
.mmc-hm-how .mmc-journey p{max-width:none}
.mmc-hm-film{grid-template-columns:1fr;gap:20px;margin-top:48px;padding-top:32px}
.mmc-hm-shelf{padding-top:64px}
.mmc-hm-shelf+.mmc-hm-shelf{padding-top:56px}
.mmc-hm-nav{display:none}
.mmc-raft ul{grid-auto-columns:46%;gap:14px;margin:0 -20px;padding:0 20px 4px;scroll-padding-left:20px}
.mmc-raft b{font-size:14.5px}
.mmc-hm-rev{padding-top:64px}
.mmc-hm-corp{grid-template-columns:1fr;margin-top:64px}
.mmc-hm .mmc-contact{margin:64px 0 48px}
}
@media (prefers-reduced-motion:no-preference){
.mmc-hm-hero h1,.mmc-hm-hero .mmc-lead,.mmc-hm-hero .mmc-btns,.mmc-hm-hero .mmc-perks{animation:mmcIn .9s var(--ease) both}
.mmc-hm-hero .mmc-lead{animation-delay:.08s}.mmc-hm-hero .mmc-btns{animation-delay:.16s}.mmc-hm-hero .mmc-perks{animation-delay:.24s}
.mmc-hm-niches img{animation:mmcHmRise 1.5s var(--ease) both}
.mmc-hm-niches span:nth-child(1) img{animation-delay:.15s}
.mmc-hm-niches span:nth-child(2) img{animation-delay:.27s}
.mmc-hm-niches span:nth-child(3) img{animation-delay:.39s}
@keyframes mmcHmRise{from{opacity:.001;transform:translateY(36px)}45%{opacity:1;transform:translateY(0) rotate(0)}62%{transform:rotate(-3.5deg)}80%{transform:rotate(2.2deg)}to{transform:rotate(0)}}
}
@media (prefers-reduced-motion:reduce){
.mmc-hm *{transition:none!important;animation:none!important}
}

/* eticheta Porto Pe val (produse Recomandat) pe rafturi */
.mmc-raft .im{position:relative}
.mmc-raft .mmc-lbl{position:absolute;top:12px;left:12px;background:#4e7522;color:#fff;font:600 12px/1 Poppins,sans-serif;font-style:normal;padding:6px 10px;border-radius:999px;letter-spacing:.02em;z-index:2}

/* ofertă de Crăciun (15.11.2026): eticheta și prețul redus în roșu */
.mmc-raft .mmc-lbl.is-of{background:#c62828}
.mmc-raft .pr ins{color:#c62828}
.mmc-raft .pr del{margin-right:6px}


/* iconițe la „Personalizat în întregime”, ca în magazin (17.11.2026); backup: novamira-sandbox/acasa-iconite-custom-2026-11-17/ */
.mmc-hm-custom li a{gap:8px}
.mmc-hm-custom li a:has(.mmc-hm-custom-img){padding-left:5px;padding-right:16px}
.mmc-hm .mmc-hm-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-hm-custom li a:hover .mmc-hm-custom-img{mix-blend-mode:normal}
.mmc-hm-custom li 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-hm-custom li a:hover svg{transform:translateX(3px)}
@media (max-width:767px){
  .mmc-hm-custom li a{justify-content:flex-start}
  .mmc-hm-custom li a svg{margin-left:auto}
}



/* tematicile pe prima pagină (17.11.2026): shortcode [mmc_teme] din inc-mmc-acasa.php; backup: novamira-sandbox/acasa-tematici-2026-11-17/ */
.mmc-hm-teme{margin-top:16px;padding:26px 24px 24px 30px;border-radius:22px;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line)}
.mmc-hm-teme__head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px 32px;flex-wrap:wrap}
.mmc-hm-teme h3{font-size:1.15rem;font-weight:600;letter-spacing:-.01em}
.mmc-hm-teme__head p{margin:4px 0 0;max-width:none;font-size:15.5px;line-height:1.5;color:var(--mut)}
.mmc-hm-teme ul.mmc-hm-teme__list{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:8px}
.mmc-hm-teme__list li{margin:0;padding:0}
.mmc-hm-teme__list a{display:flex;align-items:center;gap:10px;height:100%;min-height:58px;padding:6px 14px 6px 6px;border-radius:999px;background:#fff;
  box-shadow:inset 0 0 0 1px var(--line);text-decoration:none!important;transition:background-color .2s,box-shadow .2s}
.mmc-hm-teme__ph{flex:none;position:relative;width:46px;height:46px;border-radius:50%;overflow:hidden;background:var(--gl);isolation:isolate}
.mmc-hm .mmc-hm-teme__img{display:block;width:100%;height:100%;margin:0;padding:0;object-fit:cover;transform:scale(1.55);transform-origin:50% 26%;mix-blend-mode:multiply;transition:transform .35s ease}
.mmc-hm-teme__list a:hover .mmc-hm-teme__img{transform:scale(1.7)}
.mmc-hm-teme__list span{display:block;min-width:0}
.mmc-hm-teme__list b{display:block;font:600 14.5px/1.25 Poppins,system-ui,sans-serif;color:var(--ink);transition:color .2s}
.mmc-hm-teme__list small{display:block;margin-top:2px;font:400 12.5px/1.3 "Open Sans",system-ui,sans-serif;color:var(--mut);font-variant-numeric:tabular-nums}
.mmc-hm-teme__list a:hover{background:var(--gl);box-shadow:inset 0 0 0 1px #cfdcbc}
.mmc-hm-teme__list a:hover b{color:var(--g)}
.mmc-hm-teme__list a:focus-visible{outline:2px solid var(--g);outline-offset:2px}
@media (max-width:767px){
  .mmc-hm-teme{padding:22px 20px}
  .mmc-hm-teme ul.mmc-hm-teme__list{grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:72%;
    margin:16px 0 0;padding:0 0 4px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .mmc-hm-teme__list::-webkit-scrollbar{display:none}
  .mmc-hm-teme__list li{scroll-snap-align:start}
}

/* telefon: butoanele de la „Personalizat în întregime” ieșeau din casetă (17.11.2026) */
@media (max-width:767px){
  .mmc-hm-custom ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mmc-hm-custom li a{min-width:0;white-space:normal;padding-right:12px;line-height:1.2}
  .mmc-hm-custom li a:has(.mmc-hm-custom-img){padding-right:12px}
  .mmc-hm-custom li a svg{display:none}
}

/* ---------- rețele: ultimele postări Instagram + TikTok (20.11.2026, v2: un rând, carduri ca la produse) ---------- */
.mmc-hm-soc{margin-top:96px}
.mmc-hm-soc__net{margin-top:36px}
.mmc-hm-soc__bar{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;margin-bottom:16px}
.mmc-hm-soc__id{display:inline-flex;align-items:center;gap:12px}
.mmc-hm-soc__id i{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#f0f4e8;color:var(--g)}
.mmc-hm-soc__id svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mmc-hm-soc__id svg .f{fill:currentColor;stroke:none}
.mmc-hm-soc__id span{display:flex;flex-direction:column;line-height:1.25}
.mmc-hm-soc__id b{font:600 1.05rem/1.25 Poppins,sans-serif;color:var(--tx)}
.mmc-hm-soc__id small{color:var(--mut);font-size:.92rem}
/* aceeași grilă ca rafturile de produse: 4 pe rând, spațiu 24px, poze pătrate, colțuri 20px */
.mmc-hm-soc__feed #sb_instagram{padding:0!important;width:100%!important}
.mmc-hm-soc__feed #sb_instagram #sbi_images,.mmc-hm-soc__feed .sb-grid-wrapper{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;padding:0!important;margin:0!important}
.mmc-hm-soc__feed #sb_instagram .sbi_item{width:auto!important;margin:0!important;padding:0!important}
.mmc-hm-soc__feed #sb_instagram .sbi_photo{border-radius:20px;overflow:hidden;aspect-ratio:3/4;height:auto!important;background-color:#f0f4e8!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.mmc-hm-soc__feed #sb_instagram .sbi_photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
.mmc-hm-soc__feed .sb-post-item-wrap{margin:0!important;padding:0!important;width:auto!important}
.mmc-hm-soc__feed .sb-post-item-image-wrap{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/4;border-radius:20px!important;overflow:hidden;background:#f0f4e8!important}
.mmc-hm-soc__feed .sb-post-item-image{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;border-radius:0!important}
.mmc-hm-soc__feed .sb-post-item-play{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%);filter:drop-shadow(0 1px 4px rgba(0,0,0,.45))}
.mmc-hm-soc__feed .sb-post-item-play svg{width:34px;height:34px}
@media (max-width:900px){
.mmc-hm-soc{margin-top:64px}
.mmc-hm-soc__net{margin-top:28px}
.mmc-hm-soc__bar .mmc-hm-more{white-space:normal}
/* telefon: un singur rând cu derulare laterală, ca rafturile de produse */
.mmc-hm-soc__feed #sb_instagram #sbi_images,.mmc-hm-soc__feed .sb-grid-wrapper{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:46%!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;width:auto!important;max-width:none!important;margin:0 -20px!important;padding:0 20px 4px!important;scroll-padding-left:20px}
.mmc-hm-soc__feed #sb_instagram #sbi_images::-webkit-scrollbar,.mmc-hm-soc__feed .sb-grid-wrapper::-webkit-scrollbar{display:none}
.mmc-hm-soc__feed #sb_instagram .sbi_item,.mmc-hm-soc__feed .sb-post-item-wrap{scroll-snap-align:start}
}

/* 20 nov 2026 — „De la două fotografii la figurina ta”: text pe toată lățimea, justify, prețuri și dimensiuni bold */
.mmc-hm-how .mmc-hm-head{flex-direction:column;align-items:stretch;flex-wrap:nowrap}
.mmc-hm-how .mmc-hm-head>div{width:100%}
.mmc-hm-how .mmc-hm-head p{max-width:none;text-align:justify;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto}
.mmc-hm-how .mmc-hm-facts{line-height:1.8;margin-top:18px}
.mmc-hm-how .mmc-hm-facts strong{font-weight:700;color:var(--ink,#1e2a14);white-space:nowrap}
.mmc-hm-how .mmc-hm-head .mmc-hm-more{align-self:flex-end}
@media (max-width:767px){
.mmc-hm-how .mmc-hm-head p{text-align:left;hyphens:manual;-webkit-hyphens:manual}
.mmc-hm-how .mmc-hm-head .mmc-hm-more{align-self:flex-start}
}
