/* ==========================================
   SCROLLBAR STYLES (Updated: Thicker & Orange)
   ========================================== */
.category-scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0 10px 0;
    gap: 5px;
    -webkit-overflow-scrolling: touch;
}

.category-scroll-container::-webkit-scrollbar {
    height: 16px; /* Increased thickness */
}

.category-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.category-scroll-container::-webkit-scrollbar-thumb {
    background: var(--theme-color); 
	cursor:pointer;
    border-radius: 10px;
    border: 2px solid #f1f1f1; /* Creates a clean gap around the thumb */
}

.category-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color); 
}

/* ==========================================
   CATEGORY PILLS
   ========================================== */
.cat-pill {
    background: #efe2e4;
    color: #495057;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
    transition: 0.3s;
    cursor: pointer;
}

.cat-pill:hover,
.cat-pill.active {
    background: #fff;
    color: var(--theme-color);
    border-color: var(--theme-color);
}

.cat-pill.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ==========================================
   PRODUCT CARD IMAGES & TEXT
   ========================================== */
.list-card-image {
    width: 130px;
    min-width: 130px;
    height: 130px;
}

.list-card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-desc {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-products-msg {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
}

/* ==========================================
   CART & ORDER SUMMARY
   ========================================== */
.sticky-summary {
    position: sticky;
    top: 20px;
    z-index: 900;
}

.cart-item-name {
    font-size: 16px;
    line-height: 1.3;
    display: block;
    word-wrap: break-word;
}

.summary-label {
    font-size: 16px;
    color: #4b4b4b;
}

.summary-value {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.order-summary-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.order-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

.qty-btn-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 4px 6px;
    background: #ffffff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.qty-btn-box:hover {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 2px rgba(25, 135, 84, 0.15);
}

.qty-btn-box i {
    cursor: pointer;
    padding: 2px 5px;
    transition: transform 0.15s, color 0.2s;
}

.qty-btn-box i:hover {
    transform: scale(1.25);
}

.qty-btn-box span {
    min-width: 24px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.remove-cart-item {
    color: #dc3545 !important;
    transition: all 0.2s ease;
}

.remove-cart-item:hover {
    color: #a71d2a !important;
    transform: scale(1.1);
}

.remove-cart-item i {
    color: #dc3545 !important;
}

/* ==========================================
   MODAL STYLES
   ========================================== */
.modal-big-img {
    height: auto;
    object-fit: cover;
    width: 100%;
}

.modal-qty-box {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px 15px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
}

.modal-qty-box input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: bold;
}

/* ==========================================
   SKELETON LOADING
   ========================================== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 5px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-img {
    width: 130px;
    height: 130px;
}

.skeleton-text {
    height: 16px;
    margin: 8px 0;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-text.long {
    width: 90%;
}

/* ==========================================
   HIGH-VISIBILITY LIGHT OVERLAP SWEEP
   Optimized for white (bg-white) cards
   ========================================== */
.most_popular .list-card {
    position: relative; /* Crucial: anchors the ::after pseudo-element */
    overflow: hidden;   /* Crucial: clips the shine to the rounded corners */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* The Moving Light Overlap (Sheen) */
.most_popular .list-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Start completely off-screen to the left */
    width: 50%;  /* Width of the light beam */
    height: 100%;
    
    /* HIGH-CONTRAST SHINE: Visible even on pure white backgrounds */
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 40%,
        rgba(255, 255, 255, 0.85) 50%, /* Strong peak opacity for visibility */
        rgba(255, 255, 255, 0.2) 60%,
        transparent 70%
    );
    
    transform: skewX(-20deg); /* Angles the beam for a realistic reflection */
    pointer-events: none;     /* Ensures buttons/links remain clickable */
    z-index: 20;              /* Guaranteed to sit on top of images and text */
    opacity: 0;
    
    /* Slow, elegant 2.2 second glide */
    transition: left 2.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Trigger the sweep on hover */
.most_popular .list-card:hover::after {
    left: 200%; /* Glide completely off-screen to the right */
    opacity: 1;
}

/* Complementary subtle lift and inner glow */
.most_popular .list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 
                0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
}

/* Subtle image scale to enhance the 3D surface feel */
.most_popular .list-card-image img {
    transition: transform 0.6s ease;
}

.most_popular .list-card:hover .list-card-image img {
    transform: scale(1.04);
}

/* =======================
   BANNER SLIDER
======================= */
.osahan-slider {
	padding: 0;
	position: relative;
}

.osahan-slider-item {
	position: relative;
}

.osahan-slider-item img {
	width: 100%;
	height: 450px;
	border-radius: 0;
}

/* =======================
   SLIDER TEXT OVERLAY
======================= */
.slider-text-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    z-index: 2;
    max-width: 750px;  /* ✅ Wider width (Increased from 600px) */
    padding-right: 20px;
}

.slider-text-overlay h2 {
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: capitalize;
    font-family: 'Georgia', cursive;
    font-size: 3.5rem;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.slider-text-overlay p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 90%;
    font-weight: 300;
    opacity: 0.95;
    display: block;
    visibility: visible;
	color:#fff;
}

.slider-text-overlay .btn-slider {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-text-overlay .btn-slider:hover {
    background: #e64a19;
    transform: translateY(-2px);
}

/* =======================
   FIX FOR SLICK DOTS - CENTERED
======================= */
.slick-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    bottom: 20px !important;
    z-index: 99 !important;
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots li button {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.slick-dots li button:before {
    color: #ffffff !important;
    font-size: 16px !important;
    opacity: 0.8 !important;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.8);
    line-height: 1;
}

.slick-dots li.slick-active button:before {
    color: var(--theme-color) !important;
    opacity: 1 !important;
}

/* =======================
   RESPONSIVE ADJUSTMENTS
======================= */
@media (min-width: 768px) {
    .slider-text-overlay {
        left: 10%;
        max-width: 800px;  /* ✅ Even wider on larger screens */
    }
    .slider-text-overlay h2 {
        font-size: 4rem;
    }
}

@media (max-width: 991px) {
    .slider-text-overlay {
        max-width: 700px;
    }
    .slider-text-overlay h2 {
        font-size: 3rem;
    }
    .slider-text-overlay p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .slider-text-overlay {
        left: 5%;
        max-width: 85%;
        padding-right: 40px;
    }
    .slider-text-overlay h2 {
        font-size: 2.2rem;
    }
    .slider-text-overlay p {
        font-size: 0.95rem;
        max-width: 95%;
    }
    .slick-dots {
        bottom: 15px !important;
    }
}

@media (max-width: 576px) {
    .slider-text-overlay {
        left: 5%;
        right: 5%;
        max-width: 90%;
        padding: 0 10px;
    }
    .slider-text-overlay h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    .slider-text-overlay p {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    .slider-text-overlay .btn-slider {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .slick-dots li button:before {
        font-size: 16px !important;
    }
    .osahan-slider-item img {
	width: 100%;
	height: 150px;
	border-radius: 0;
    }
    .slick-arrow, .slick-arrow:hover, .slick-arrow:focus{
        display: none!important;
    }
}
/* ==========================================
   <!--Slider Gap Image Issue Fixed -->
   ========================================== */

.osahan-slider.slick-initialized.slick-slider.slick-dotted {
    margin-top: -8px !important;
}

 /* Hide slider text overlay and buttons on mobile devices */
@media (max-width: 767.98px) {
	.slider-text-overlay {
		display: none !important;
	}
}