﻿.search-box {
    position: relative;
    width: 100%;
}

.search-box .form-control {
    padding-left: 48px;
    height: 50px;
    border-radius: 12px;
    font-size: 17px;
    border: 1px solid #d0d7de; /* Softer border */
    background: #ffffff;
    transition: all 0.25s ease;
    box-shadow: none; /* Clean look */
}

.search-box .form-control:hover {
    border-color: #b4b9c3;
}

    .search-box .form-control:focus {
        border-color: #3fbbc0; /* Blue border highlight */
    }

.search-box .search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #6e7681;
    font-size: 18px;
    pointer-events: none;
}
.input-small-modern {
    width: 100%;
    padding: 8px 14px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
}

    /* Hover */
    .input-small-modern:hover {
        border-color: #b8bcc4;
    }

    /* Focus */
    .input-small-modern:focus {
        border-color: #4f46e5;
        box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
        outline: none;
    }

    /* Placeholder */
    .input-small-modern::placeholder {
        color: #9ca3af;
    }


.header-actions {
    display: flex;
    align-items: center;
    /*gap: 25px;*/ /* spacing between icons */
}

.header-action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #333; /* same thin icon color */
    font-size: 24px; /* icon size */
    text-decoration: none;
    padding: 0;
}

    .header-action-btn:hover {
        color: #333; /* NO HOVER COLOR */
    }

    /* ----------------------------
   BADGE STYLE EXACT MATCH
----------------------------- */
    .header-action-btn .badge {
        position: absolute;
        top: 0px;
        right: -12px;
        background: #000; /* black background */
        color: #fff; /* white text */
/*        font-size: 11px;*/    
        font-weight: 500;
        border-radius: 50%;
        padding: 2px 6px;
        line-height: 1;
        min-width: 18px;
        text-align: center;
    }

/* ----------------------------
   MOBILE RESPONSIVE FIXES
----------------------------- */
@media (max-width: 768px) {
    .header-actions {
        gap: 18px;
    }

    .header-action-btn {
        font-size: 22px;
    }
}

.list-group-item.active {
    background-color: #3fbbc0;
}

.combo-card {
    background: #fff;
    transition: 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

    .combo-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

/* Image */
.combo-img-wrapper {
    position: relative;
}

.combo-img {
    width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e7ed6c;
    color: #000;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
}

/* Rating */
.rating-stars {
    color: #f7c600;
    font-size: 14px;
}

/* Prices */
.new-price {
    font-size: 18px;
}

.old-price {
    font-size: 14px;
}

/* Buttons */
.btn-dark {
    background: #222;
    border: none;
}

.btn-outline-secondary:hover {
    background: #f2f2f2;
}

.btn-dark,
.btn-outline-secondary {
    padding: 8px 14px;
    font-size: 14px;
}

/* ----------------------------- */
/*     MOBILE RESPONSIVE FIX     */
/* ----------------------------- */

@media (max-width: 576px) {
    .combo-card {
        flex-direction: column; /* stack vertically */
        text-align: left;
    }

    .combo-img {
        width: 100%;
        height: 180px;
    }

    .combo-img-wrapper {
        width: 100%;
    }

    .prices {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .d-flex.gap-2 {
        width: 100%;
        justify-content: space-between;
    }

    .btn-dark,
    .btn-outline-secondary {
        width: 48%; /* 2 equal buttons */
    }
}
/* VPS CARD */
.vps-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s ease;
}

    .vps-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

/* IMAGE */
.vps-img-wrapper {
    position: relative;
}

.vps-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* SALE BADGE */
.vps-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e7ed6c;
    color: #000;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* TITLE */
.vps-title {
    font-size: 17px;
    line-height: 1.4;
}

/* PRICE */
.vps-new-price {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.vps-old-price {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
    margin-left: 8px;
}

/* BUTTONS */
.vps-buttons .btn {
    border-radius: 8px;
}

.btn-dark {
    background: #000;
    border: none;
}

    .btn-dark:hover {
        background: #222;
    }

.btn-outline-secondary:hover {
    background: #f4f4f4;
}

/* RESPONSIVE GRID */
.vps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Desktop */
    gap: 20px;
}

/* Tablets */
@media (max-width: 992px) {
    .vps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vps-img {
        height: 160px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .vps-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .vps-img {
        height: 180px;
    }

    .vps-title {
        font-size: 16px;
    }
}

.pricing-modern {
    background: #f7f7f9;
    padding: 60px 20px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

    .pricing-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    }

.pricing-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

.pricing-card h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.price {
    font-size: 34px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
}

    .price sup {
        font-size: 20px;
    }

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

    .pricing-card ul li {
        margin-bottom: 10px;
        font-size: 16px;
    }

.buy-btn-modern {
    width: 100%;
    display: block;
    padding: 12px;
    background: linear-gradient(135deg, #0066ff, #0040c1);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 18px;
    transition: 0.3s;
    text-align: center;
    text-decoration: none;
}

    .buy-btn-modern:hover {
        background: linear-gradient(135deg, #004dda, #003399);
    }

.best-tag {
    position: absolute;
    top: 15px;
    right: -40px;
    background: #ffca28;
    color: #000;
    padding: 6px 40px;
    transform: rotate(45deg);
    font-size: 13px;
    font-weight: 700;
}

.new-price {
    font-size: 1.6rem;
}

.old-price {
    font-size: 1rem;
}
.card-hover {
    transition: transform .3s ease, box-shadow .3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.image-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.image-wrapper img {
    max-height: 100%;
    object-fit: contain;
}

.download-section ul li {
    font-size: 1.05rem;
}

.download-section .btn {
    font-size: 1.1rem;
}

.download-section .shadow-lg {
    transition: .3s ease;
}

.download-section .shadow-lg:hover {
    transform: translateY(-5px);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 25px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #dee2e6;
        border-radius: 2px;
    }

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-icon {
    position: absolute;
    left: -5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.timeline-content {
    margin-left: 60px;
}

.vps-card {
    transition: 0.3s ease-in-out;
}

    .vps-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.vps-img-wrapper {
    overflow: hidden;
}

.vps-img {
    transition: 0.4s;
}

.vps-card:hover .vps-img {
    transform: scale(1.05);
}

.vps-badge {
    font-size: 0.9rem;
    font-weight: 600;
}
.cart-box {
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
}

.qty-box button {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    font-weight: bold;
}

.qty-box span {
    padding: 0 10px;
    font-weight: 600;
}

.summary-box {
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
}

.apply-btn {
    background: #333;
    color: #fff;
}

.checkout-btn {
    background: #222;
    color: #fff;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
}

.checkout-btn:hover {
    background: #000;
    color: #fff;
}
