/* =========================================================
   ДИТЯЧІ ТЕРМОКИЛИМКИ — STANDALONE
   MOBILE FIRST / MAX 480
========================================================= */

*,
*:before,
*:after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:#f8eff3;
    color:#333;
    font-family:Arial,Helvetica,sans-serif;
    -webkit-font-smoothing:antialiased;
    -webkit-text-size-adjust:100%;
}

img{
    display:block;
    width:100%;
    height:auto;
}

button{
    font-family:inherit;
}

.km-wrap{
    width:100%;
    max-width:480px;
    margin:0 auto;
    overflow:hidden;
    background:#fff;
    box-shadow:0 0 30px rgba(0,0,0,.05);
}

.km-title{
    margin:0;
    color:#151515;
    font-size:26px;
    line-height:1.08;
    font-weight:900;
    text-align:center;
}

.km-sub{
    margin:7px auto 0;
    padding:0 15px;
    color:#777;
    font-size:13px;
    line-height:1.4;
    text-align:center;
}

.km-mini-label{
    display:table;
    margin:0 auto 8px;
    color:#c80f52;
    font-size:10px;
    line-height:1;
    font-weight:900;
    letter-spacing:.7px;
}


/* =========================================================
   HERO
========================================================= */

.km-cover{
    display:block;
    width:100%;
    margin:0;
}


/* =========================================================
   PRICE STRIP
========================================================= */

.km-price{
    position:relative;
    display:flex;
    width:100%;
    height:96px;
    margin:0;
    overflow:hidden;
    background:#fff0f5;
    border-top:1px solid #f7cbdb;
    border-bottom:1px solid #f7cbdb;
    box-shadow:0 4px 13px rgba(0,0,0,.035);
}

.km-price-old{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:48%;
    height:100%;
    padding:8px 26px 8px 8px;
    background:#fff0f5;
}

.km-price-old small{
    margin-bottom:7px;
    color:#666;
    font-size:10px;
    line-height:1;
    font-weight:800;
}

.km-old-value{
    position:relative;
    display:inline-block;
    color:#383838;
    font-size:22px;
    line-height:1;
    font-weight:900;
}

.km-old-value:after{
    content:"";
    position:absolute;
    left:-5px;
    right:-5px;
    top:50%;
    height:3px;
    border-radius:5px;
    background:#e6195e;
    transform:rotate(-7deg);
}

.km-price-new{
    position:absolute;
    z-index:3;
    top:0;
    right:0;
    bottom:0;
    width:62%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:8px 7px 8px 42px;
    background:linear-gradient(135deg,#ff2d7a 0%,#d6125a 100%);
    clip-path:polygon(20% 0,100% 0,100% 100%,0 100%);
    color:#fff;
}

.km-price-new small{
    display:block;
    margin-bottom:6px;
    color:#fff;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.4px;
    white-space:nowrap;
}

.km-new-value{
    color:#fff;
    font-size:28px;
    line-height:1;
    font-weight:900;
    white-space:nowrap;
}


/* =========================================================
   TIMER
========================================================= */

.km-sale-zone{
    padding:15px 12px 4px;
    background:#fff;
}

.km-sale-title{
    margin:0 0 9px 125px;
    color:#171717;
    font-size:14px;
    line-height:1.2;
    font-weight:900;
    text-align:center;
}

.km-timer-row{
    position:relative;
    display:grid;
    grid-template-columns:112px 1fr;
    align-items:end;
    width:100%;
    min-height:103px;
}

.km-bunny-box{
    position:relative;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    width:112px;
    height:103px;
    overflow:visible;
}

.km-bunny-art{
    position:relative;
    width:84px;
    height:94px;
}

.km-bunny-ear{
    position:absolute;
    top:1px;
    width:25px;
    height:55px;
    border:3px solid #d9d2c8;
    border-radius:50% 50% 45% 45%;
    background:#fff;
    transform-origin:bottom center;
}

.km-bunny-ear:after{
    content:"";
    position:absolute;
    left:7px;
    top:9px;
    width:7px;
    height:34px;
    border-radius:10px;
    background:#ffc7c7;
}

.km-bunny-ear.left{
    left:14px;
    transform:rotate(-15deg);
}

.km-bunny-ear.right{
    right:14px;
    transform:rotate(15deg);
}

.km-bunny-head{
    position:absolute;
    z-index:4;
    left:8px;
    bottom:2px;
    width:68px;
    height:62px;
    border:3px solid #d9d2c8;
    border-radius:48% 48% 44% 44%;
    background:#fff;
}

.km-eye{
    position:absolute;
    top:25px;
    width:7px;
    height:9px;
    border-radius:50%;
    background:#3d271d;
}

.km-eye.left{ left:17px; }
.km-eye.right{ right:17px; }

.km-cheek{
    position:absolute;
    top:37px;
    width:12px;
    height:7px;
    border-radius:50%;
    background:#ffc8c8;
}

.km-cheek.left{ left:7px; }
.km-cheek.right{ right:7px; }

.km-nose{
    position:absolute;
    left:50%;
    top:34px;
    width:7px;
    height:6px;
    margin-left:-3.5px;
    border-radius:50%;
    background:#9b6650;
}

.km-mouth{
    position:absolute;
    left:50%;
    top:41px;
    width:13px;
    height:7px;
    margin-left:-6.5px;
    border-bottom:2px solid #5d4035;
    border-radius:50%;
}

.km-bunny-ray{
    position:absolute;
    z-index:5;
    width:5px;
    height:25px;
    border-radius:10px;
    background:#ff5c96;
}

.km-bunny-ray.r1{
    right:-1px;
    top:25px;
    transform:rotate(28deg);
}

.km-bunny-ray.r2{
    right:-11px;
    top:42px;
    height:18px;
    transform:rotate(65deg);
}

.km-clock{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    width:100%;
}

.km-time-unit{
    flex:1 1 0;
    min-width:0;
    text-align:center;
}

.km-time-box{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:69px;
    border:1px solid #f7d3e0;
    border-radius:15px;
    background:linear-gradient(180deg,#fff7fa 0%,#ffeef4 100%);
    color:#111;
    font-size:34px;
    line-height:1;
    font-weight:900;
    font-variant-numeric:tabular-nums;
    box-shadow:0 4px 12px rgba(0,0,0,.035);
}

.km-time-name{
    margin-top:5px;
    color:#333;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.4px;
}

.km-time-colon{
    flex:0 0 19px;
    padding-bottom:22px;
    color:#111;
    font-size:27px;
    line-height:1;
    font-weight:900;
    text-align:center;
}

.km-timer-note{
    margin:9px 0 0;
    color:#777;
    font-size:10px;
    line-height:1.3;
    text-align:center;
}


/* =========================================================
   BUTTONS
========================================================= */

.km-btn-wrap{
    padding:11px 15px 0;
}

.km-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    width:100%;
    min-height:54px;
    padding:10px 15px;
    border:0;
    border-radius:11px;
    background:linear-gradient(180deg,#f0206f 0%,#cc0f55 100%);
    box-shadow:0 5px 13px rgba(214,18,90,.28);
    color:#fff;
    text-decoration:none;
    font-size:15px;
    line-height:1.1;
    font-weight:900;
    text-align:center;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}

.km-btn:active{
    transform:scale(.99);
}

.km-btn-icon{
    font-size:20px;
    line-height:1;
}


/* =========================================================
   VIDEO
========================================================= */

.km-video-section{
    padding:25px 15px 28px;
    background:#fff;
}

.km-video-title{
    margin:0 0 12px;
    color:#171717;
    font-size:22px;
    line-height:1.12;
    font-weight:900;
    text-align:center;
}

.km-youtube{
    position:relative;
    width:100%;
    max-width:400px;
    aspect-ratio:9/16;
    margin:0 auto;
    overflow:hidden;
    border-radius:10px;
    background:#f4f4f4;
}

.km-youtube iframe{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    border:0;
    background:#000;
}

.km-video-placeholder{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:0;
    border:0;
    background:#eee center / cover no-repeat;
    cursor:pointer;
}

.km-video-play{
    display:flex;
    align-items:center;
    justify-content:center;
    width:58px;
    height:58px;
    padding-left:4px;
    border-radius:50%;
    background:#e6195e;
    box-shadow:0 6px 18px rgba(0,0,0,.25);
    color:#fff;
    font-size:22px;
}


/* =========================================================
   BENEFITS
========================================================= */

.km-benefits{
    padding:24px 0 25px;
    background:#fff;
}

.km-benefits-head{
    padding:0 15px 13px;
}


/* =========================================================
   SLIDERS
========================================================= */

.km-gallery{
    position:relative;
}

.km-slider{
    display:flex;
    gap:8px;
    width:100%;
    margin:0;
    padding:0 15px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-padding:0 15px;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
}

.km-slider::-webkit-scrollbar{
    display:none;
}

.km-slide{
    position:relative;
    flex:0 0 100%;
    margin:0;
    overflow:hidden;
    border-radius:10px;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    background:#fff;
}

.km-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    -webkit-user-drag:none;
    user-select:none;
}

/* product photos are square */
.km-product .km-slide{
    aspect-ratio:1/1;
}

.km-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    min-height:16px;
    margin-top:9px;
}

.km-dot{
    width:7px;
    height:7px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#d7d7d7;
    cursor:pointer;
    transition:.2s ease;
}

.km-dot.active{
    width:18px;
    border-radius:6px;
    background:#e6195e;
}

.km-arrow{
    position:absolute;
    z-index:5;
    top:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    margin-top:-19px;
    padding:0 0 3px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:50%;
    background:rgba(255,255,255,.95);
    color:#222;
    font-size:26px;
    line-height:1;
    box-shadow:0 3px 9px rgba(0,0,0,.1);
    cursor:pointer;
    transition:opacity .2s ease;
}

.km-arrow[disabled]{
    opacity:0;
    pointer-events:none;
}

.km-arrow-prev{ left:22px; }
.km-arrow-next{ right:22px; }


/* =========================================================
   PRODUCT CHOICE
========================================================= */

#km-products{
    scroll-margin-top:10px;
    padding:27px 15px 14px;
    background:#fff;
}

.km-product{
    padding:0 0 29px;
    background:#fff;
}

.km-product-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:13px 15px 11px;
}

.km-product-size{
    color:#171717;
    font-size:27px;
    line-height:1;
    font-weight:900;
}

.km-product-code{
    color:#888;
    font-size:9px;
    line-height:1;
    white-space:nowrap;
}

.km-product .km-dots{
    margin:9px 0 12px;
}

.km-features{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    padding:12px 15px 0;
}

.km-feature{
    display:flex;
    align-items:center;
    min-height:47px;
    padding:8px 9px;
    border:1px solid #f7d6e2;
    border-radius:8px;
    background:#fff7fa;
    color:#444;
    font-size:11px;
    line-height:1.25;
    font-weight:700;
}

.km-feature-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 28px;
    width:28px;
    height:28px;
    margin-right:7px;
    border-radius:6px;
    background:#ffdbe8;
    color:#c80f52;
    font-size:14px;
    font-weight:900;
}

.km-product-order{
    padding:12px 15px 0;
}

.km-product-sku{
    margin-top:7px;
    color:#999;
    font-size:10px;
    line-height:1.2;
    text-align:center;
}

.km-next-product{
    padding:19px 15px 6px;
    background:#fff;
    text-align:center;
}

.km-next-small{
    color:#c80f52;
    font-size:9px;
    font-weight:900;
    letter-spacing:.6px;
}

.km-next-title{
    margin:5px 0 0;
    color:#171717;
    font-size:22px;
    line-height:1.1;
    font-weight:900;
}


/* =========================================================
   REVIEWS
========================================================= */

.km-reviews{
    padding:29px 15px;
    background:#fff;
}

.km-rating-sum{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:8px;
    color:#777;
    font-size:12px;
}

.km-rating-sum b{
    color:#171717;
    font-size:18px;
}

.km-review-list{
    display:grid;
    gap:10px;
    margin-top:15px;
}

.km-review{
    padding:14px 14px 15px;
    border:1px solid #f2dbe4;
    border-left:4px solid #e6195e;
    border-radius:8px;
    background:#fff;
}

.km-review.km-hidden{
    display:none;
}

.km-review-top{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:9px;
}

.km-avatar{
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    flex:0 0 60px;
    width:60px;
    height:60px;
    overflow:hidden;
    border-radius:50%;
    background:#ffdbe8;
    color:#c80f52;
    font-size:22px;
    font-weight:900;
}

/* фото images/reviews/ava-N.jpg перекриває літеру; якщо файлу немає — видно літеру */
.km-avatar img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.km-review-meta{
    flex:1 1 auto;
    min-width:0;
}

.km-review-name{
    color:#222;
    font-size:13px;
    font-weight:900;
}

.km-review-date{
    margin-top:2px;
    color:#999;
    font-size:10px;
}

.km-stars{
    color:#f0aa00;
    font-size:14px;
    letter-spacing:1px;
    white-space:nowrap;
}

.km-review p{
    margin:0;
    color:#555;
    font-size:12px;
    line-height:1.5;
}

.km-review-photo{
    display:block;
    width:92px;
    height:92px;
    margin-top:10px;
    padding:0;
    overflow:hidden;
    border:1px solid #eee;
    border-radius:8px;
    background:#f6f6f6;
    cursor:zoom-in;
}

.km-review-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.km-more{
    display:block;
    width:100%;
    margin-top:10px;
    padding:13px;
    border:1px solid #f7cbdb;
    border-radius:9px;
    background:#fff0f5;
    color:#c80f52;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
}


/* =========================================================
   HOW TO ORDER
========================================================= */

.km-how{
    padding:28px 15px;
    background:#fff;
}

.km-steps{
    display:grid;
    gap:7px;
    margin-top:15px;
}

.km-step{
    display:grid;
    grid-template-columns:42px 1fr;
    align-items:center;
    gap:10px;
    padding:9px;
    border:1px solid #f7d3e0;
    border-radius:8px;
    background:#fff;
}

.km-step-num{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:7px;
    background:#e6195e;
    color:#fff;
    font-size:13px;
    font-weight:900;
}

.km-step-title{
    color:#292929;
    font-size:12px;
    line-height:1.3;
    font-weight:900;
}

.km-step-text{
    margin-top:2px;
    color:#777;
    font-size:10px;
    line-height:1.35;
}


/* =========================================================
   DELIVERY
========================================================= */

.km-delivery{
    padding:27px 15px;
    background:#fff;
}

.km-delivery-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:13px;
}

.km-delivery-item{
    padding:13px 8px;
    border:1px solid #f2dde5;
    border-radius:8px;
    background:#fff;
    text-align:center;
}

.km-delivery-icon{
    margin-bottom:5px;
    font-size:21px;
}

.km-delivery-name{
    color:#333;
    font-size:11px;
    font-weight:900;
}


/* =========================================================
   CERTIFICATE
========================================================= */

.km-cert{
    padding:26px 15px;
    background:#fff;
}

.km-cert-inner{
    display:grid;
    grid-template-columns:1fr 82px;
    align-items:center;
    gap:12px;
    min-height:104px;
    padding:12px 12px 12px 14px;
    border:1px solid #f2dbe4;
    border-left:5px solid #e6195e;
    border-radius:8px;
    background:#fff;
}

.km-cert-kicker{
    margin-bottom:5px;
    color:#c80f52;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.5px;
}

.km-cert-title{
    margin:0;
    color:#222;
    font-size:17px;
    line-height:1.08;
    font-weight:900;
}

.km-cert-text{
    margin:5px 0 0;
    color:#777;
    font-size:10px;
    line-height:1.35;
}

.km-cert-image{
    position:relative;
    padding:0;
    border:0;
    background:none;
    cursor:zoom-in;
}

.km-cert-image img{
    width:82px;
    max-height:82px;
    object-fit:contain;
    border:1px solid #ddd;
}

.km-cert-plus{
    position:absolute;
    right:-4px;
    bottom:-4px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:23px;
    height:23px;
    border-radius:50%;
    background:#e6195e;
    color:#fff;
    font-size:15px;
    font-weight:900;
}


/* =========================================================
   IMAGE MODAL
========================================================= */

#km-modal{
    position:fixed;
    inset:0;
    z-index:1000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:15px;
    background:rgba(0,0,0,.9);
}

#km-modal.km-open{
    display:flex;
}

#km-modal img{
    width:auto;
    max-width:96vw;
    max-height:92vh;
    object-fit:contain;
}

.km-modal-close{
    position:fixed;
    top:12px;
    right:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#111;
    font-size:26px;
    cursor:pointer;
}


/* =========================================================
   FINAL CTA + NOTICE
========================================================= */

.km-final{
    padding-bottom:25px;
    background:#fff;
}

.km-notice{
    margin:0 15px;
    padding:15px 15px 15px 50px;
    position:relative;
    border:1px solid #f5a3c1;
    border-radius:10px;
    background:#fff0f5;
    color:#222;
    font-size:14px;
    line-height:1.45;
    font-weight:800;
}

.km-notice:before{
    content:"!";
    position:absolute;
    left:14px;
    top:15px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:24px;
    border-radius:50%;
    background:#e6195e;
    color:#fff;
    font-size:14px;
    font-weight:900;
}

.km-notice b{
    color:#c80f52;
    font-weight:900;
}


/* =========================================================
   ORDER FORM
========================================================= */

.km-order{
    scroll-margin-top:10px;
    padding:26px 15px 30px;
    background:#fff;
}

.km-order-emoji{
    margin-bottom:4px;
    font-size:38px;
    line-height:1;
    text-align:center;
}

.km-form{
    display:grid;
    gap:11px;
    margin-top:18px;
}

.km-field label{
    display:block;
    margin-bottom:5px;
    color:#444;
    font-size:12px;
    font-weight:800;
}

.km-field input,
.km-field select,
.km-field textarea{
    display:block;
    width:100%;
    min-height:52px;
    padding:12px 14px;
    border:1px solid #dedede;
    border-radius:9px;
    background:#fff;
    color:#222;
    font-family:inherit;
    font-size:16px;
    outline:none;
    -webkit-appearance:none;
    appearance:none;
}

.km-field select{
    padding-right:36px;
    background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none'/%3E%3C/svg%3E") right 14px center no-repeat;
}

.km-field textarea{
    min-height:80px;
    resize:vertical;
}

.km-field input:focus,
.km-field select:focus,
.km-field textarea:focus{
    border-color:#e6195e;
    box-shadow:0 0 0 3px rgba(230,25,94,.14);
}

.km-field.km-invalid input{
    border-color:#e5484d;
}

.km-error{
    display:none;
    margin-top:4px;
    color:#e5484d;
    font-size:11px;
}

.km-field.km-invalid .km-error{
    display:block;
}

.km-hp{
    position:absolute;
    left:-5000px;
    width:1px;
    height:1px;
    overflow:hidden;
}

.km-form-alert{
    padding:11px 13px;
    border-radius:8px;
    background:#fdecec;
    color:#b42318;
    font-size:12px;
    line-height:1.4;
}

.km-form .km-btn[disabled]{
    opacity:.6;
    cursor:wait;
}

.km-policy{
    margin:6px 0 0;
    color:#999;
    font-size:10px;
    line-height:1.4;
    text-align:center;
}

.km-footer{
    padding:16px 15px 22px;
    border-top:1px solid #f5dde6;
    color:#999;
    font-size:11px;
    text-align:center;
}


/* =========================================================
   THANK YOU PAGE
========================================================= */

.km-thanks{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:100vh;
    padding:40px 20px;
    text-align:center;
}

.km-thanks-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:84px;
    height:84px;
    margin:0 auto 18px;
    border-radius:50%;
    background:linear-gradient(135deg,#ff2d7a 0%,#d6125a 100%);
    color:#fff;
    font-size:42px;
    font-weight:900;
}

.km-thanks .km-title{
    margin-bottom:12px;
}

.km-thanks p{
    margin:0 auto 24px;
    max-width:340px;
    color:#555;
    font-size:15px;
    line-height:1.5;
}


/* =========================================================
   SMALL SCREENS
========================================================= */

@media(max-width:390px){

    .km-sale-title{
        margin-left:102px;
        font-size:13px;
    }

    .km-timer-row{
        grid-template-columns:94px 1fr;
    }

    .km-bunny-box{
        width:94px;
    }

    .km-time-box{
        height:64px;
        font-size:30px;
    }

    .km-time-colon{
        flex-basis:14px;
        font-size:22px;
    }

}

@media(max-width:350px){

    .km-price{
        height:91px;
    }

    .km-price-new{
        width:63%;
        padding-left:39px;
    }

    .km-price-old{
        width:47%;
        padding-right:25px;
    }

    .km-new-value{
        font-size:24px;
    }

    .km-old-value{
        font-size:19px;
    }

    .km-sale-zone{
        padding-left:7px;
        padding-right:7px;
    }

    .km-timer-row{
        grid-template-columns:80px 1fr;
    }

    .km-bunny-box{
        width:80px;
        transform:scale(.86);
        transform-origin:center bottom;
    }

    .km-sale-title{
        margin-left:82px;
    }

    .km-time-box{
        height:60px;
        font-size:27px;
        border-radius:12px;
    }

    .km-time-colon{
        flex-basis:11px;
        font-size:20px;
    }

    .km-time-name{
        font-size:8px;
    }

}
