/* Custom CSS for E-Commerce Website */
body{font-family: 'Rajdhani', sans-serif;}
/* Header Styling */
.header-red {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 18%, rgba(200, 35, 51, 1) 10%);
    box-shadow: 0 2px 10px rgb(71 71 71 / 54%);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Search Container */
.search-container {
    max-width: 400px;
    width: 100%;
}

.search-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.search-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    height: 200px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
}

.category-card .card-img-top {
    height: 120px;
    /* object-fit: cover; */
    transition: transform 0.3s ease;
}

.category-card:hover .card-img-top {
    transform: scale(1.1);
}

.category-card .card-body {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    text-align: center;
    padding: 15px;
}

.category-card .card-title {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.category-card .product-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Category Filter Buttons */
.category-filter-btn {
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 8px 20px;
}

.category-filter-btn:hover {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
    transform: translateY(-2px);
}

.category-filter-btn.active {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    /* object-fit: cover; */
    width: 100%;
}

.product-price {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2em;
}

.product-original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #dc3545;
    background: white;
    color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #dc3545;
    color: white;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

/* Cart Items */
.cart-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* Buttons */
.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.card-header.bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
}

/* Form Controls */
.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Badges */
.badge {
    font-size: 0.75em;
}

/* Section Titles */
#sectionTitle {
    color: #dc3545;
    font-weight: bold;
}
.main-footer {
    position: relative;
    background: #1c1c1c;
    clear: both;
}
.footer-top {
    position: relative;
    padding: 80px 0px 50px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top .pattern-layer {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 512px;
    background-repeat: no-repeat;
}
.auto-container {
    position: static;
    max-width: 1200px;
    padding: 0px 15px;
    margin: 0 auto;
}
.footer-top .logo-widget {
    position: relative;
    margin-top: -13px;
}
.footer-top .logo-widget .text {
    position: relative;
    display: block;
    padding-bottom: 31px;
    margin-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top .logo-widget .text p {
    font-size: 16px;
    line-height: 18px;
    color: #7c7c7c;
    font-weight: 600;
    text-align: justify;
}
.footer-top .logo-widget .info li {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #fff;
    padding-left: 30px;
    margin-bottom: 8px;
}
.footer-top .logo-widget .info li i {
    position: absolute;
    left: 0px;
    top: 6px;
    font-size: 15px;
}

.footer-top .logo-widget .info li i {
    color: #e53622;
}
.footer-top .logo-widget .info li a {
    color: #fff;
    display: inline-block;
}
a.whatsapp-icon {
    position: fixed;
    right: 25px;
    z-index: 999;
    bottom: 20%;
    background: #14922a;
    color: #FFF;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 100%;
    line-height: 60px;
    font-size: 45px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 19%);
}
.footer-top .logo-widget .info li {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #fff;
    padding-left: 30px;
    margin-bottom: 8px;
}
.ml-40 {
    margin-left: 40px;
}
.footer-top .footer-column .widget-title {
    position: relative;
    display: block;
    margin-bottom: 23px;
}
.footer-top .footer-column .widget-title h3 {
    font-size: 22px;
    line-height: 30px;
    color: #fff;
    font-weight: 700;
}
.footer-top .links-widget .links-list li {
    position: relative;
    display: block;
    margin-bottom: 6px;
}
.footer-top .links-widget .links-list li a {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 26px;
    color: #7c7c7c;
    text-decoration: none;
    font-weight: 600;
    padding-left: 20px;
}
.footer-top .links-widget .links-list li a:before  {
    position: absolute;
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-size: 12px;
    color: #7c7c7c;
    font-weight: 700;
    left: 0px;
    top: 0px;
    transition: all 500ms ease;
}
.footer-bottom {
    position: relative;
    width: 100%;
    background: #1c1c1c;
    padding: 18px 0 0;
}
.footer-bottom .footer-social li {
    position: relative;
    display: inline-block;
    float: left;
    margin-right: 10px;
}
.footer-bottom .footer-social li a {
    position: relative;
    display: inline-block;
    font-size: 12px;
    color: #7c7c7c;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top .newsletter-widget {
    position: relative;
    display: block;
    padding:20px;
    margin-top: 0;
    overflow: hidden;
}
.footer-top .newsletter-widget {
    background: #e53622;
}
.footer-top .newsletter-widget .icon-box {
    position: absolute;
    top: -45px;
    right: 0px;
    font-size: 200px;
    line-height: 150px;
    color: rgba(28, 28, 28, 0.1);
    transform: rotate(25deg);
}

.footer-top .newsletter-widget .text {
    position: relative;
    margin-bottom: 30px;
}
.footer-top .newsletter-widget .newsletter-form .form-group {
    position: relative;
    margin: 0px;
}
.footer-top .newsletter-widget .newsletter-form .form-group input[type='email'] {
    position: relative;
    display: block;
    width: 100%;
    height: 70px;
    background: #fff;
    border: 1px solid #fff;
    font-size: 16px;
    color: #868686;
    font-weight: 600;
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 10px;
    transition: all 500ms ease;
}
.footer-top .newsletter-widget .newsletter-form .form-group button {
    position: relative;
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 26px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #fff;
    background: #1c1c1c;
    text-align: center;
    padding: 22px 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 1;
    transition: all 500ms ease;
}
.footer-top ul {
    padding: 0;
}
.pull-left {
    float: left;
}
.pull-right {
    float: right;
}
.footer-bottom .copyright p {
    font-size: 18px;
    line-height: 40px;
    color: #7c7c7c;
}
.top-scrolling-text {
    background: #9c2330;
    color: #FFF;
    font-size: 20px;
    font-weight: bold;
}
.header-upper {
    position: relative;
    background: #fff;
    width: 100%;
}
.main-header .logo-box {
    position: relative;
    float: left;
    padding: 32px 0px;
}
.main-header .logo-box .logo {
    position: relative;
    display: inline-block;
    max-width: 104px;
    width: 100%;
}
figure {
    margin: 0px;
}
.main-header .logo-box .logo img {
    width: 100%;
}
.right-column ul {
    margin: 0;
    padding: 0;
    display: inline-block;
    float: left;
}
a{text-decoration:none;}
.header-upper .right-column .info li h6 a {
    display: inline-block;
    color: #1c1c1c;
}
.header-upper .right-column {
    position: relative;
    margin-top: 43px;
}
.header-upper .right-column .social-links {
    position: relative;
    display: inline-block;
    float: left;
}
.header-upper .right-column .info li {
    position: relative;
    display: inline-block;
    float: left;
    padding-left: 50px;
    padding-right: 40px;
    margin-right: 40px;
}
.header-upper .right-column .info li i {
    position: absolute;
    left: 0px; 
    top: 5px;
    font-size: 30px;
    line-height: 30px;
    font-weight:normal;
}

.header-upper .right-column .info li i {
    color: #e53622;
}
.header-upper .right-column .info li h6 {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}
.header-upper .right-column .info li p {
    font-size: 14px;
    line-height: 20px;
}
.main-header .social-links li {
    position: relative;
    display: inline-block;
    float: left;
    margin-right: 10px;
}
.main-header .social-links li a {
    position: relative;
    display: inline-block;
    font-size: 12px;
    width: 41px;
    height: 41px;
    line-height: 41px;
    text-align: center;
    border: 1px solid #dfdfdf;
    color: #868686;
} 
marquee a {
    color: #ff9a03;
}
/* Responsive Design */
@media (max-width: 768px) {
    .search-container {
        margin: 10px 0;
    }
    
    .navbar-nav {
        margin-top: 10px;
    }
    
    .category-filter-btn {
        margin-bottom: 5px;
        font-size: 0.9rem;
        padding: 6px 15px;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .category-card {
        height: 180px;
        margin-bottom: 20px;
    }
    
    .category-card .card-img-top {
        height: 100px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success/Error Messages */
.alert-custom {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    margin-top: auto;
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #dc3545;
}

/* Product Detail Specific */
.product-detail-image {
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Order Status Badges */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
}

/* Category Hover Effects */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card .card-body {
    position: relative;
    z-index: 2;
}

/* OTP Modal CSS */

/* For Just showing the dots. */
.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 3px;
    position: relative;
    /* Needed for ::after positioning */
    background: radial-gradient(circle at 30% 30%, #ff6666, #cc0000);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

/* Different color styles */
.red {
    background: radial-gradient(circle at 30% 30%, #ff6666, #cc0000);
}

.green {
    background: radial-gradient(circle at 30% 30%, #66ff66, #008000);
}

.yellow {
    background: radial-gradient(circle at 30% 30%, #ffff66, #cc9900);
}

.blue {
    background: radial-gradient(circle at 30% 30%, #66a3ff, #0033cc);
}

/* When checked, fill the color */
.checkbox-container input[type="checkbox"]:checked+.red {
    background: radial-gradient(circle at 30% 30%, #ff6666, #cc0000);
}

.checkbox-container input[type="checkbox"]:checked+.green {
    background: radial-gradient(circle at 30% 30%, #66ff66, #008000);
}

.checkbox-container input[type="checkbox"]:checked+.yellow {
    background: radial-gradient(circle at 30% 30%, #ffff66, #cc9900);
}

.checkbox-container input[type="checkbox"]:checked+.blue {
    background: radial-gradient(circle at 30% 30%, #66a3ff, #0033cc);
}

.logo-section {
    /* background: linear-gradient(135deg, #8d99d0 0%, #3648d6 100%); */
   background: linear-gradient(135deg, #ea0f21 0%, #85070d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    min-height: 500px;
}

#mobileNumber {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
}

#mobileNumber:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.logo-section .logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-section {
    padding: 2rem;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 1rem 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.otp-input.filled {
    border-color: #28a745;
    background-color: #f8f9fa;
}

/* .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 25px;
            padding: 12px 30px;
            font-weight: 600;
        } */

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background: #667eea;
    border-color: #667eea;
}



.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
    color: #6c757d;
}

.step.active {
    background-color: #667eea;
    color: white;
}

.step.completed {
    background-color: #28a745;
    color: white;
}

.resend-timer {
    color: #69a7de;
    font-size: 0.9rem;
}