*{margin:0;padding:0;box-sizing:border-box}

.offer-close{
    position: absolute;
    top: 0px;               /* desktop: card ke upar center */
    left: 26%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #444;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    transition: all .3s ease;
    z-index: 1;
}

.offer-close:hover{
    background: #ff4d4d;
    color: #fff;
    transform: translateX(-50%) rotate(90deg);
}

/* MOBILE – LEFT SIDE */
@media (max-width:576px){
    .offer-close{
        top: 0px;
        left: 0px;          /* ✅ left aligned */
        right: auto;       /* ❌ remove right */
        transform: none;   /* ❌ remove center translate */
        width: 30px;
        height: 30px;
        font-size: 20px;
    }

    .offer-close:hover{
        transform: rotate(90deg); /* hover rotate only */
    }
}

/* ===== FOOTER BAR ===== */
.offer-footer{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    z-index:9999;

    display:flex;
    justify-content:center;
    padding:12px;
    background:transparent;
}

/* INNER CARD */
.offer-inner{
    width:50%;
    max-width:1200px;
    padding:14px 24px;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;

    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 24px rgba(0,0,0,.18);
}

/* LEFT */
.offer-left{
    display:flex;
    flex-direction:column;
    gap:6px;
}

/* PRICE */
.price-row{
    font-size:22px;
    font-weight:700;
}

.price-new{
    color:#d12727;
    margin-right:6px;
}

.price-old{
    color:#000;
    text-decoration:line-through;
    font-weight:600;
}

/* TIMER */
.timer-row{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
}

.timer-label{
    color:#000;
}

.timer{
    display:flex;
    align-items:center;
    gap:6px;
    font-weight:700;
}

.time-box{
    text-align:center;
    min-width:38px;
    color:#d02727;
}

.time-box span{
    font-size:16px;
}

.time-box small{
    display:block;
    font-size:9px;
    color:#777;
    font-weight:400;
}

.colon{
    font-size:16px;
}

/* RIGHT */
.offer-right{
    flex-shrink:0;
}

.register-btn{
    background:#d12727;
    color:#fff;
    padding:12px 28px;
    border-radius:8px;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    box-shadow:0 4px 10px rgba(209,39,39,.35);
    transition:.3s ease;
    white-space:nowrap;
}

.register-btn:hover{
	color:white;
    background:#000;
    transform:translateY(-2px);
}

/* ================= MOBILE ================= */
@media(max-width:768px){
	
    .offer-inner{
        padding:12px 16px;
        border-radius:14px;
        gap:12px;
		width:100%;
    }

    .timer-label{
        display:none;
    }

    .price-row{
        font-size:18px;
    }

    .time-box span{
        font-size:14px;
    }

    .register-btn{
        padding:10px 18px;
        font-size:14px;
    }
}

/* SMALL MOBILE */
@media(max-width:480px){
    .offer-inner{
        padding:10px 12px;
    }

    .price-row{
        font-size:16px;
    }

    .time-box{
        min-width:32px;
    }

    .register-btn{
        padding:8px 14px;
        font-size:13px;
    }
}