/* MagicHome — Yeni İl 2027 teması: "Klassik Milad" (10.01.2027 23:59-dək aktiv) */
:root{--ny-red:#A3122A;--ny-deep:#6E0B1C;--ny-gold:#D4A73A;--ny-gold2:#F6D27A;--ny-green:#1E5B3A;--ny-cream:#FFF8F0}

/* Üst zolaq, menyu, footer */
.mh-top3{background:var(--ny-deep)!important;color:#F6DFA8!important}
.mh-top3 a{color:#F6DFA8!important}
nav.mh-nav{background:linear-gradient(180deg,var(--ny-red) 0%,#8E0F24 100%)!important}
nav.mh-nav .mh-wrap > ul > li > a{color:#FFF4DC!important}
nav.mh-nav .mh-sub a{color:#2E2219!important}
nav.mh-nav .mh-sub a:hover{color:#A3122A!important}
footer.mh-foot{background:var(--ny-deep)!important;border-top:4px solid var(--ny-gold)}
header.mh-head{position:sticky}

/* Fon və başlıqlar */
main.main-area,.v3,.v3-sec{background-color:var(--ny-cream)}
.ny-h{color:var(--ny-red)!important}
.v3-sec h2::after{content:" ❄";color:var(--ny-gold);font-size:.7em;vertical-align:middle}

/* Məhsul kartları: qızılı çərçivə + papaq */
.v3-row{padding-top:40px!important}
article.pc{overflow:visible!important;border:2px solid var(--ny-gold);box-shadow:0 0 0 3px rgba(212,167,58,.14),0 6px 18px rgba(110,11,28,.07)}
article.pc a.im{border-radius:18px 18px 0 0}
article.pc .tags{top:34px!important}
article.pc .pr b{color:var(--ny-red)!important}
article.pc .club{color:#9A7420!important}
article.pc a.add{background:var(--ny-red)!important;color:#fff!important;border-color:var(--ny-red)!important}
article.pc a.add:hover{background:var(--ny-deep)!important}
article.pc::before,.mh-gallery::before,.mx-deal-img::before{content:"";position:absolute;z-index:8;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 110'%3E%3Cpath d='M16 82 C22 54 36 28 62 18 C80 11 98 16 108 34 C112 42 112 54 108 64 L99 62 C101 52 98 42 90 38 C80 34 72 42 70 56 C69 66 72 76 76 82 Z' fill='%23C8102E'/%3E%3Cpath d='M70 56 C72 42 80 34 90 38 C98 42 101 52 99 62 L104 63 C106 50 102 36 92 31 C80 27 70 36 66 52 Z' fill='%238E0B20' opacity='.6'/%3E%3Cpath d='M30 80 C34 58 46 36 64 26' stroke='%23fff' stroke-width='3' opacity='.2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='104' cy='70' r='11' fill='%23fff'/%3E%3Crect x='6' y='76' width='82' height='22' rx='11' fill='%23fff'/%3E%3Crect x='6' y='90' width='82' height='8' rx='4' fill='%23000' opacity='.07'/%3E%3C/svg%3E") no-repeat center/contain;
  filter:drop-shadow(0 3px 3px rgba(0,0,0,.25));transform:rotate(-22deg)}
article.pc::before{width:62px;height:57px;left:-16px;top:-24px}

/* Məhsul səhifəsi: böyük şəkil */
.mh-gallery{position:relative}
.mh-gal-main{border:3px solid var(--ny-gold);box-shadow:0 0 0 4px rgba(212,167,58,.15)}
.mh-gallery::before{width:84px;height:77px;left:-22px;top:-30px}

/* Günün məhsulu */
.mx-deal-img{position:relative;overflow:visible!important}
.mx-deal-img img{border:3px solid var(--ny-gold);border-radius:16px}
.mx-deal-img::before{width:80px;height:73px;left:-22px;top:-34px}

/* Yolka işıqları */
.ny-garland{position:absolute;left:0;right:0;bottom:-27px;height:44px;pointer-events:none;z-index:50;overflow:hidden}
.ny-garland svg{display:block;width:100%;height:44px}
.ny-garland .b{animation:nyBlink 2.6s ease-in-out infinite}
.ny-garland .b.s2{animation-duration:3.1s}
.ny-garland .b.s3{animation-duration:2.2s}
@keyframes nyBlink{0%,100%{opacity:1}40%{opacity:1}55%{opacity:.28}75%{opacity:.28}}

/* Qar */
#ny-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:45}

@media (max-width:768px){
  article.pc::before{width:50px;height:46px;left:-12px;top:-22px}
  .v3-row{padding-top:32px!important}
  .mh-gallery::before{width:80px;height:73px;left:-14px;top:-30px}
}
@media (prefers-reduced-motion:reduce){.ny-garland .b{animation:none}}
