/* نونو — Ecomus baby demo, child of baqala. Only what differs lives here. */

/* Matched to wpecomus.com/baby (measured at 1366px). Pink accent #fd8484. */
body.nono { --nn-pink: #fd8484; }
body.nono .flat-title .title { font-size: 42px; line-height: 50px; font-weight: 600; color: #212529; }

/* Hero: rounded 1266×686 photo, text on the start side. */
body.nono .nn-hero { padding-top: 30px; }
body.nono .nn-slide { position: relative; border-radius: 10px; overflow: hidden; }
body.nono .nn-slide img { width: 100%; height: clamp(360px, 50vw, 686px); object-fit: cover; display: block; }
body.nono .nn-slide-text { position: absolute; top: 0; bottom: 0; inset-inline-start: 90px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; max-width: 640px; }
body.nono .nn-slide-text p { font-size: 22px; font-weight: 500; color: #fff; margin-bottom: 8px; }
body.nono .nn-slide-text h2 { font-size: clamp(34px, 5.1vw, 70px); line-height: 1.2; font-weight: 600; color: #fff; margin-bottom: 40px; }
body.nono .nn-btn-white { background: #fff; color: #000; height: 50px; padding: 0 28px; font-size: 18px; font-weight: 500; border-radius: 3px; gap: 8px; }
body.nono .nn-hero-dots { position: absolute; bottom: 24px; inset-inline: 0; z-index: 3; }

/* Three promo cards: 402px square photo + pink band. */
body.nono .nn-promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
body.nono .nn-promo { display: block; border-radius: 10px; overflow: hidden; }
body.nono .nn-promo img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .6s; }
body.nono .nn-promo:hover img { transform: scale(1.04); }
body.nono .nn-promo-band { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--nn-pink); color: #fff; height: 114px; }
body.nono .nn-promo-heading { font-size: 28px; font-weight: 600; }
body.nono .nn-promo-line { font-size: 16px; }

/* Two grey product banners 618×380. */
body.nono .nn-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
body.nono .nn-banner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #f2f2f2; border-radius: 10px; height: 380px; overflow: hidden; color: #212529; }
body.nono .nn-banner img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
body.nono .nn-banner-text { display: flex; flex-direction: column; align-items: flex-start; padding: 0 40px; gap: 14px; }
body.nono .nn-banner-heading { font-size: 42px; line-height: 50px; font-weight: 600; }
body.nono .nn-banner-line { font-size: 16px; }
body.nono .nn-btn-pink { background: var(--nn-pink); color: #fff; height: 44px; padding: 0 28px; font-size: 14px; font-weight: 600; border-radius: 3px; }

/* Flash sale frame: pink rounded border with the title on the top line. */
body.nono .nn-flash-frame { border: 2px solid var(--nn-pink); border-radius: 20px; padding: 70px 30px 30px; position: relative; }
body.nono .nn-flash-title { position: absolute; top: -27px; inset-inline-end: 50px; background: #fff; padding: 0 20px; margin: 0; }
body.nono .nn-flash-title .title { color: var(--nn-pink); }
body.nono .nn-card .card-product { border: 1px solid #ebebeb; border-radius: 10px; padding: 8px 8px 14px; }
body.nono .nn-card .card-product-wrapper { border-radius: 10px; aspect-ratio: 1; background: #f7f7f7; }
body.nono .nn-card { position: relative; }
body.nono .nn-timer { position: absolute; top: 230px; inset-inline: 30px; background: #fff; border-radius: 3px; text-align: center; color: #db1215; font-weight: 600; font-size: 14px; padding: 4px 0; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
body.nono .nn-picks .nn-timer { top: 250px; }
body.nono .nn-card .pr-stock { margin-top: 10px; font-size: 13px; padding: 0 6px; }
body.nono .nn-card .progress { height: 4px; background: #eee; margin-top: 6px; }
body.nono .nn-card .progress-bar { background: var(--nn-pink); }
body.nono .nn-products .nav-sw { position: absolute; top: 38%; z-index: 3; }
body.nono .nn-products .nn-next { left: -23px; }
body.nono .nn-products .nn-prev { right: -23px; }
body.nono .nn-picks .flat-title { margin-bottom: 70px; }
body.nono .card-product .add-to-cart-btn, body.nono .bq-popular .card-product .card-product-info .add-to-cart-btn { background: var(--nn-pink); }

/* Categories: 166px photos with a pink ring. */
body.nono .collection-item-circle.has-bg { background: transparent; padding: 0; }
body.nono .collection-item-circle .collection-image { width: 166px; height: 166px; border: 1px solid var(--nn-pink); padding: 6px; background: #fff; }
body.nono .collection-item-circle .collection-image img { border-radius: 50%; }
body.nono .collection-item-circle .title { font-size: 18px; font-weight: 500; margin-top: 18px; display: block; }

/* Brands: one row, no borders. */
body.nono .wrap-brand .brand-item { border: 0 !important; height: 40px; }
body.nono .wrap-brand .swiper { border: 0 !important; }

/* Header accent pink instead of the grocery green. */
body.nono #header.bq-header .bq-cats .categories-title { background: var(--nn-pink); }
body.nono #header.bq-header .box-right .phone { color: var(--nn-pink); }
body.nono #header.bq-header .tf-form-search .tf-btn { background: #000; }

@media (max-width: 991px) {
    body.nono .flat-title .title { font-size: 28px; line-height: 36px; }
    body.nono .nn-slide-text { inset-inline-start: 24px; max-width: 70%; }
    body.nono .nn-promos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; }
    body.nono .nn-promo { flex: 0 0 80%; scroll-snap-align: start; }
    body.nono .nn-promo-band { height: 84px; }
    body.nono .nn-promo-heading { font-size: 22px; }
    body.nono .nn-banners { grid-template-columns: 1fr; gap: 15px; }
    body.nono .nn-banner { height: 240px; }
    body.nono .nn-banner-heading { font-size: 26px; line-height: 32px; }
    body.nono .nn-banner-text { padding: 0 16px; }
    body.nono .nn-flash-frame { padding: 50px 12px 20px; }
    body.nono .nn-flash-title { inset-inline-end: 20px; top: -20px; }
    body.nono .collection-item-circle .collection-image { width: 120px; height: 120px; }
    body.nono .nn-products .nav-sw { display: none; }
    body.nono .nn-timer { top: 150px; inset-inline: 12px; }
}

/* Second pass. */
body.nono .nn-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,.42) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); pointer-events: none; }
body.nono .nn-slide-text { z-index: 2; }
body.nono .nn-btn-white { background: #fff !important; color: #000 !important; display: inline-flex; align-items: center; }
body.nono .nn-timer { z-index: 4; top: 190px; }
body.nono .collection-item-circle .collection-image { width: min(166px, 100%); height: auto; aspect-ratio: 1; }
body.nono .collection-item-circle .collection-image img { aspect-ratio: 1; height: 100%; }
@media (max-width: 991px) { body.nono .nn-timer { top: 130px; } }
body.nono .nn-card .card-product { position: relative; z-index: 1; } body.nono .nn-card .nn-timer { z-index: 5; pointer-events: none; }

/* Third pass against wpecomus.com/baby at 2000px: header 45 + 183, hero 656 tall, dots centred. */
body.nono .bq-topbar { padding: 0; min-height: 45px; display: flex; align-items: center; }
body.nono .bq-topbar, body.nono .bq-topbar a, body.nono .bq-topbar p { font-size: 14px; }
body.nono #header.bq-header .main-header { padding: 0; }
body.nono #header.bq-header .logo-header img { max-height: 48px; }
body.nono #header.bq-header .header-bottom { padding: 0; }
body.nono #header.bq-header .box-right { flex-direction: row-reverse; }
body.nono #header.bq-header .box-right .phone { font-size: 28px; font-weight: 700; line-height: 1.1; color: var(--nn-pink); }
body.nono #header.bq-header .box-right .text { font-size: 14px; font-weight: 600; color: #000; text-align: end; }
body.nono #header.bq-header .bq-headset { color: #000; display: flex; }
body.nono .nn-slide img { height: clamp(320px, 48vw, 656px); }
body.nono .nn-hero-dots { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 3; }
body.nono .nn-hero-dots .swiper-pagination-bullet { width: 8px; height: 8px; background: #000; opacity: .8; margin: 0 6px !important; }
body.nono .nn-hero-dots .swiper-pagination-bullet-active { box-shadow: 0 0 0 6px rgba(255,255,255,.7); }
body.nono .nn-hero { padding-top: 37px; }
body.nono .nn-slide img { height: clamp(320px, 50vw, 686px); }
/* Categories as live: centred 42px title, 237px rings around 201px photos. */
body.nono .flat-control-sw .flat-title { justify-content: center !important; margin-bottom: 74px; }
body.nono .flat-control-sw .flat-title .title { font-size: 42px; line-height: 50px; }
body.nono .flat-control-sw .box-sw-navigation { display: none; }
body.nono .collection-item-circle .collection-image { width: min(237px, 100%); height: auto; padding: 18px; }
body.nono .collection-item-circle .title { margin-top: 22px; }
@media (max-width: 991px) { body.nono .flat-control-sw .flat-title .title { font-size: 28px; } body.nono .flat-control-sw .flat-title { margin-bottom: 30px; } body.nono .collection-item-circle .collection-image { padding: 8px; } }
body.nono .collection-item-circle.has-bg .collection-image { max-width: 100%; }
