﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.product-card img {
    transition: transform .3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.object-fit-cover {
    object-fit: cover;
}

.product-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }


.cart-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    transition: 0.3s ease;
}

    .cart-img:hover {
        transform: scale(1.05);
    }

.cart-row:hover {
    background-color: #f8f9fa;
    transition: 0.2s ease-in-out;
}

.qty-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    font-weight: bold;


}

.qty-box {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 30px;
}

button.text-danger:hover {
    color: darkred !important;
    transform: scale(1.2);
    transition: 0.2s ease;
}
.mrp {
    text-decoration: line-through; /* 🔥 CUT PRICE */
    color: gray;
    margin-right: 10px;
}
.selling {
    color: #e53935;
    font-weight: bold;
    font-size: 18px;
}

.price-section {
    margin-top: 5px;
}

.cart-details h5 {
    margin: 0;
    font-size: 18px;
}

.checkout-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .checkout-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
        color: white;
    }
.checkout-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.section-title {
    font-weight: 600;
    color: #333;
}

.custom-input {
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

    .custom-input:focus {
        border-color: #28a745;
        box-shadow: 0 0 0 0.15rem rgba(40,167,69,0.2);
    }

.summary-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.place-order-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    padding: 12px;
    transition: all 0.3s ease;
}

    .place-order-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        color: white;
    }

.total-row h5 {
    font-weight: 700;
}
.payment-option {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s ease;
}

    .payment-option:hover {
        border-color: #28a745;
        background: #f8fff9;
    }
.card {
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-3px);
    }

.form-control:focus {
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.25);
}
.place-order-btn.secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
}

    .payment-card:hover {
        border-color: #0d6efd;
        background-color: #f8f9ff;
    }

    .payment-card input {
        display: none;
    }

.payment-content {
    display: flex;
    align-items: center;
}

.payment-card input:checked + .payment-content {
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
}

.payment-card input:checked ~ .payment-content {
    color: #0d6efd;
}

.payment-card input:checked + .payment-content strong {
    color: #0d6efd;
}

.payment-card input:checked {
}

.payment-card:has(input:checked) {
    border-color: #0d6efd;
    background-color: #eef4ff;
    box-shadow: 0 4px 12px rgba(13,110,253,0.15);
}
.order-card {
    border-radius: 12px;
    transition: 0.3s ease;
}

    .order-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    }

.product-img-wrapper {
    background: #f8f9fa;
    padding: 6px;
    border-radius: 8px;
    text-align: center;
}

.badge {
    font-size: 0.75rem;
}

.card {
    border-radius: 12px;
}

/*-------------------------------Cart UI Layout-------------------------------------*/

.cart-card {
    border-radius: 12px;
    transition: 0.2s;
}

    .cart-card:hover {
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

.qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    font-size: 18px;
}

    .qty-btn:hover {
        background: #f5f5f5;
    }

.price-card {
    position: sticky;
    top: 80px;
    border-radius: 12px;
}

@media(max-width:768px) {

    .price-card {
        margin-top: 20px;
        position: relative;
    }
}
.place-order-btn {
    background: linear-gradient(135deg,#ff9f00,#ff6a00);
    color: white;
    font-weight: 700;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-size: 17px;
}
/*-------------------------------Checkout UI Layout-------------------------------------*/


.checkout-card {
    border-radius: 12px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.address-card {
    border: 1px solid #eee;
    padding: 18px;
    border-radius: 10px;
    background: #fafafa;
}

.change-btn {
    position: absolute;
    top: 15px;
    right: 15px;
}

.payment-option {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
}

    .payment-option:hover {
        background: #f9f9f9;
    }

    .payment-option input {
        margin-right: 8px;
    }

.place-order-btn {
    background: #28a745;
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
}

.order-summary {
    border-radius: 12px;
    position: sticky;
    top: 90px;
}

.order-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}

.order-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

    .summary-row.total {
        font-size: 18px;
        font-weight: 700;
    }

.address-option {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
}

@media(max-width:768px) {

    .order-summary {
        position: relative;
        top: auto;
    }

    .checkout-container {
        padding: 10px;
    }
}


/*-------------------------------EDIT ADDRESS UI Layout-------------------------------------*/


.address-card {
    border-radius: 14px;
}

.address-card .form-control {
    height: 45px;
}

@media(max - width:768px) {
    .address-card {
        padding: 10px;
    }

    .address-buttons {
        flex-direction: column;
        gap: 10px;
    }

        .address-buttons a,
        .address-buttons button {
            width: 100%;
        }
}

/*-------------------------------ORDER UI Layout-------------------------------------*/
body {
    background: #f1f3f6;
}

.order-card {
    transition: .2s;
}

    .order-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }

@media(max-width:768px) {

    .table {
        font-size: 14px;
    }
}

/*-------------------------------FOOTER Layout-------------------------------------*/
.footer-section {
    background: #f3f3f3;
    padding: 60px 0;
    font-size: 14px;
}

    .footer-section h5 {
        font-weight: 600;
        cursor: pointer;
    }

    .footer-section hr {
        margin: 8px 0 15px;
        border-top: 1px solid #ddd;
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: #333;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #ff6600;
        }



/* marketplace slider */

.marketplace-slider {
    margin: 40px 0;
}

    .marketplace-slider img {
        height: 45px;
        margin: auto;
        display: block;
        transition: 0.3s;
    }

        .marketplace-slider img:hover {
            transform: scale(1.1);
        }


/* payment icons */

.payment-icons img {
    height: 28px;
    margin: 0 10px;
    opacity: 0.9;
}



/* footer bottom */

.footer-bottom p {
    margin: 4px 0;
    font-size: 13px;
    color: #666;
}

.footer-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.toggle-icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.footer-toggle.active .toggle-icon {
    transform: rotate(180deg);
}



/* mobile accordion */

@media(max-width:768px) {

    .footer-content {
        display: none;
    }

        .footer-content.active {
            display: block;
        }

    .footer-col {
        margin-bottom: 15px;
    }

    .marketplace-slider {
        gap: 20px;
    }
    .footer-section h5 {
        font-size: 14px;
    }

    .footer-toggle {
        padding-left: 10px;
    }
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s ease;
}

    /* Brand Colors */
    .social-icon.whatsapp {
        background: #25d366;
    }

    .social-icon.facebook {
        background: #1877f2;
    }

    .social-icon.instagram {
        background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
    }

    .social-icon.youtube {
        background: #ff0000;
    }

    /* Hover Effect */
    .social-icon:hover {
        transform: scale(1.1);
        opacity: 0.9;
    }


