
.g2d-hero-bg {
    background: linear-gradient(135deg, #FF7A00 0%, #FF9A3C 40%, #1E3A8A 100%);
    color: #fff;
}
/* Slide from Left */
.modal.left .modal-dialog {
    position: fixed;
    left: 0;
    margin: 0;
    width: 300px; /* change width as needed */
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.modal.left.show .modal-dialog {
    transform: translateX(0);
}

.modal-dialog-slideout-left {
    max-width: 100%;
    height: 100%;
}

.modal.left .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}

@media (max-width: 768px) {

    .responsive-table thead {
        display: none;
    }

    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }

    .responsive-table tr {
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        padding: 10px;
        border-radius: 6px;
    }

    .responsive-table td {
        position: relative;
        padding-left: 50%;
        text-align: right;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        font-weight: bold;
        text-align: left;
    }

    /* ✅ BUTTON GROUP MOBILE FIX */
    .responsive-table .action-col {
        padding-left: 10px;
        text-align: left;
    }

    .responsive-table .btn-group {
        display: flex;
        flex-direction: column;
    }

    .responsive-table .btn-group .btn {
        width: 100%;
        margin-bottom: 5px;
        border-radius: .25rem !important;
    }
}
@media (max-width: 768px) {
    .responsive-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .responsive-tabs .nav-item {
        flex: 0 0 auto;
    }
}

.table-loader {
	visibility: hidden;
}

.table-loader:before {
	visibility: visible;
	display: table-caption;
	content: " ";
	width: 100%;
	height: 600px;
	background-image:
		linear-gradient(rgba(235, 235, 235, 1) 1px, transparent 0),
		linear-gradient(90deg, rgba(235, 235, 235, 1) 1px, transparent 0),
		linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 15%, rgba(255, 255, 255, 0) 30%),
		linear-gradient(rgba(240, 240, 242, 1) 35px, transparent 0);

	background-repeat: repeat;
	background-size:
		1px 35px,
		calc(100% * 0.1666666666) 1px,
		30% 100%,
		2px 70px;
	background-position:
		0 0,
		0 0,
		0 0,
		0 0;
	animation: shine 0.5s infinite;
}

@keyframes shine {
	to {
		background-position:
			0 0,
			0 0,
			40% 0,
			0 0;
	}
}


/* Fixed Bottom Navigation */
.mobile-footer-nav{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
}

/* Each Item */
.mobile-footer-nav .nav-item{
    flex: 1;
    text-align: center;
    color: #777;
    text-decoration: none;
    font-size: 12px;
}

/* Icon */
.mobile-footer-nav .nav-item i{
    display: block;
    font-size: 20px;
    margin-bottom: 2px;
}

/* Active Tab */
.mobile-footer-nav .nav-item.active{
    color: #2874f0; /* Flipkart style blue */
    font-weight: 600;
}

/* Click Effect */
.mobile-footer-nav .nav-item:active{
    background: #f5f5f5;
}

.cart-badge{
    position:absolute;
    top:4px;
    right:2%;
    background:#ff8903;
    color:#fff;
    font-size:10px;
    padding:2px 5px;
    border-radius:50%;
}

/* Hide on Desktop */
@media (min-width:768px){
    .mobile-footer-nav{
        display:none;
    }
}



/* Sticky container */
.delivery-switch-wrapper{
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

/* Capsule background */
.delivery-switch{
    display: flex;
    background: #f5f7fb;
    border-radius: 50px;
    padding: 4px;
    width: 100%;
    max-width: 420px;
    margin: auto;
}

/* Buttons */
.switch-btn{
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 8px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: all .3s ease;
}

/* Icon */
.switch-btn i{
    margin-right: 6px;
}

/* ACTIVE = Royal Blue */
.switch-btn.active{
    background: #ff9933;           /* Royal Blue */
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* Tap effect */
.switch-btn:active{
    transform: scale(.97);
}

/* Same-day highlighted when selected */
.switch-btn[data-type="sameday"].active{
    background: #ff9933;           /* Saffron */
    color: #fff;
}


/* Remove Default Tab Border */
.custom-capsule {
    border-bottom: none;
    justify-content: center;
}

/* Space Between Items */
.custom-capsule .nav-item {
    margin: 5px;
}

/* Capsule Look */
.custom-capsule .nav-link {
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    background: #f1f1f1;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover */
.custom-capsule .nav-link:hover {
    background: #e0e0e0;
    color: #000;
}

/* Active Capsule */
.custom-capsule .nav-link.active {
    background: #007bff;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Optional Bullet Effect */
.custom-capsule .nav-link::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .custom-capsule {
        flex-wrap: wrap;
    }

    .custom-capsule .nav-link {
        padding: 8px 16px;
        font-size: 14px;
    }
}


.category-sidebar {
    height: 100vh;
    overflow-y: auto;
    background: #fff;
    border-right: 1px solid #eee;
}

.category-sidebar .nav-link {
    color: #333;
    font-size: 14px;
    padding: 12px;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.category-sidebar .nav-link img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.category-sidebar .nav-link.active {
    background: #f1f3f6;
    color: #2874f0;
    font-weight: 600;
}

/* RIGHT CONTENT */
.category-content {
    background: #f5f5f5;
    padding: 15px;
    height: 100vh;
    overflow-y: auto;
}

/* PRODUCT BOX */
.product-box {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.product-box img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.product-box p {
    font-size: 13px;
    margin-top: 8px;
}

@media (max-width: 768px) {

    .category-sidebar {
        position: fixed;
        width: 35%;
        z-index: 10;
    }

    .category-content {
        margin-left: 35%;
    }

    .category-sidebar .nav-link {
        font-size: 12px;
        flex-direction: column;
        text-align: center;
    }

    .category-sidebar .nav-link img {
        margin: 0 0 5px;
    }
}

/* ===== Grocery2Door Category Styles (Isolated) ===== */

.g2d-category-wrapper {
    padding: 15px 10px;
}

/* Horizontal Scroll */
.g2d-category-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
.g2d-category-scroll::-webkit-scrollbar {
    display: none;
}

/* Category Card */
.g2d-category-item {
    width: 110px;
    min-width: 110px;
    margin-right: 14px;
    text-align: center;
    text-decoration: none !important;
}

/* Image Box */
.g2d-category-img {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 18px;
    padding: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all .25s ease;
    margin: auto;
}

.g2d-category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

/* Hover Effect */
.g2d-category-item:hover .g2d-category-img {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Title */
.g2d-category-title {
    font-size: 13px;
    color: #333;
    margin-top: 8px;
    line-height: 1.2;
    height: 32px;
    overflow: hidden;
}

/* Mobile Optimization */
@media (max-width: 768px) {

    .g2d-category-item {
        width: 90px;
        min-width: 90px;
    }

    .g2d-category-img {
        width: 80px;
        height: 80px;
        border-radius: 14px;
    }

    .g2d-category-title {
        font-size: 12px;
    }
}

.btn_custom {
    height: 45px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
}

.stars {
    --rating: 0;
    font-size: 24px;
    font-family: Arial, sans-serif;
    color: #ccc;
    position: relative;
    display: inline-block;
}

/* Gray stars */
.stars::before {
    content: "★★★★★";
}

/* Yellow stars */
.stars::after {
    content: "★★★★★";
    color: #ffc107;
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--rating) * 20%);
    overflow: hidden;
}


/*= comment list = */

.comments-area {
    padding: 0;
}
.comments-area .comments-title {
    text-transform: uppercase;
    font-size: 14px;
}
ol.comment-list {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}
ol.comment-list li.comment {
    position: relative;
    padding: 0;
}
ol.comment-list li.comment .comment-body {
    position: relative;
    padding: 20px;
    margin-bottom: 40px;
    margin-left: 80px;
    position: relative;
    border: 1px solid #e9e9e9;
}
ol.comment-list li.comment .comment-body:before,
ol.comment-list li.comment .comment-body:after {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-width: 10px 12px 10px 0;
    border-style: solid;
}
ol.comment-list li.comment .comment-body:before {
    border-color: transparent #fff transparent #fff;
    z-index: 1;
    left: -12px;
    top: 22px;
}
ol.comment-list li.comment .comment-body:after {
    border-color: transparent #e9e9e9 transparent #e9e9e9;
    border-width: 12px 14px 12px 0;
    left: -14px;
}
ol.comment-list li.comment .comment-author {
    display: block;
    margin-bottom: 5px;
}
ol.comment-list li.comment .comment-author .avatar {
    position: absolute;
    top: 0;
    left: -80px;
    width: 56px;
    height: 56px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    border: 2px solid #FFF;
}
ol.comment-list li.comment .comment-author .fn {
    display: inline-block;
	color: #000;
	font-size: 18px;
	text-transform: capitalize;
	font-weight: 700;
	font-style: normal;
}
ol.comment-list li.comment .comment-author .says {
    display: none;
    color: #999999;
    font-weight: 600;
}
ol.comment-list li.comment .comment-meta {
    color: #8d8d8d;
    text-transform: uppercase;
    margin-bottom: 15px;
}
ol.comment-list li.comment .comment-meta a {
    color: #8d8d8d;
}
ol.comment-list li.comment .comment-meta a {
    color: #8d8d8d;
	text-transform: capitalize;
}
ol.comment-list li.comment .comment-meta:before,
ol.comment-list li.comment .reply a:before {
    font-family: "FontAwesome";
    font-size: 16px;
}
ol.comment-list li.comment .comment-meta:before {
    content: "\f133";
}
ol.comment-list li.comment .reply a:before {
    content: "\f064";
    font-weight: normal;
    color: #555555;
    margin-right: 5px;
    vertical-align: middle;
}
ol.comment-list li.comment p {
    line-height: 18px;
    margin: 0 0 5px;
}
ol.comment-list li.comment .reply {
    position: absolute;
    top: 25px;
    right: 30px;
    margin-top: -5px;
    color: #EFBB20;
    font-weight: 700;
}
ol.comment-list li .children {
    list-style: none;
    margin-left: 20px;
}
ol.comment-list li .children li {
    padding: 0;
}
@media only screen and (max-width: 767px) {
    .comments-area .padding-30 {
        padding: 15px;
    }
    ol.comment-list li.comment .comment-body {
        margin-bottom: 30px;
        margin-left: 70px;
    }
    ol.comment-list li.comment .comment-author .avatar {
        left: -75px;
        height: 60px;
        width: 60px;
    }
    ol.comment-list li .children {
        margin-left: 20px;
    }
    ol.comment-list li.comment .reply a {
        position: static;
    }
}
@media only screen and (max-width: 480px) {
    ol.comment-list li.comment .comment-body {
        margin-left: 52px;
    }
    ol.comment-list li.comment .comment-author .avatar {
        left: -55px;
        top: 12px;
        width: 40px;
        height: 40px;
    }
}
/*= comment form = */

.comment-respond {
    padding: 30px 30px;
    border: 1px solid #e9e9e9;
}
.comment-respond .comment-reply-title {
    text-transform: uppercase;
    font-size: 20px;
}
.comment-respond .comment-reply-title {
    font-size: 20px;
    font-weight: 600;
}
.comments-area .comment-form {
    margin: 0 -15px;
}
.comments-area .comment-form .comment-notes {
    display: none;
}
.comments-area .comment-form p {
    width: 33.333%;
    float: left;
    padding: 0 15px;
    margin-bottom: 30px;
    position: relative;
}
.comments-area .comment-form p.form-allowed-tags {
    width: 100%;
}
ol.comment-list li.comment .comment-respond .comment-form p {
    padding: 0 15px !important;
}
.comments-area .comment-form p label {
    display: none;
    line-height: 18px;
    margin-bottom: 10px;
}
.comments-area p:before {
    font-family: "themify";
    display: inline-block;
    position: absolute;
    left: 15px;
    top: 0;
    font-size: 16px;
    color: #ccc;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #e1e6eb;
    text-align: center;
    border-radius: 4px 0 0 4px;
    -webkit- border-radius: 4px 0 0 4px;
}
.comments-area p.comment-form-author:before {
    content: "\e602";
}
.comments-area p.comment-form-email:before {
    content: "\e75a";
}
.comments-area p.comment-form-url:before {
    content: "\e665";
}
.comments-area p.comment-form-comment:before {
    content: "\e645";
}

.comments-area .comment-form p input[type="text"],
.comments-area .comment-form p textarea {
    width: 100%;
    height: 40px;
    line-height: 6px 12px;
    padding: 10px 10px 10px 50px;
    border: 1px solid #e1e6eb;
    border-radius: 4px;
    -webkit-border-radius: 4px;
	text-transform: capitalize;
}
.comments-area .comment-form p.comment-form-comment {
    width: 100%;
    display: block;
    clear: both;
}
.comments-area .comment-form p textarea {
    height: 120px;
}
.comments-area .comment-form p.form-submit {
    clear: both;
    float: none;
    width: 100%;
    margin: 0;
}
.comments-area .comment-form p input[type="submit"] {
    background-color: #EFBB20;
    border: none;
    border-radius: 3px;
    border-style: solid;
    border-width: 0;
    color: #fff;
    display: inline-block;
    font-weight: 600;
    padding: 10px 20px;
    text-transform: uppercase;
}
.comments-area .comment-form p input[type="submit"]:hover,
.comments-area .comment-form p input[type="submit"]:focus,
.comments-area .comment-form p input[type="submit"]:active {
    background-color: #1d46f5;
    border-color: #1d46f5;
    color: #fff;
}
@media only screen and (max-width: 991px) {
	.comments-area .comment-form p {
		width:100%;
	}
}
@media only screen and (max-width: 767px) {
    .comments-area .comment-form p {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
    .comment-respond {
        padding: 20px;
    }
}