
.comment-login-alert {
    background: #fff8f0;
    border: 1px solid #ffe0c2;
    border-radius: 10px;
    font-size: 15px;
    color: #444;
    transition: 0.3s ease;
}

/* Hover effect (premium feel) */
.comment-login-alert:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

/* Links styling */
.comment-login-alert a {
    color: #ff6600;
    text-decoration: none;
    position: relative;
    margin: 0 4px;
}

/* Underline animation */
.comment-login-alert a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: #ff6600;
    transition: 0.3s;
}

.comment-login-alert a:hover::after {
    width: 100%;
}

/* Optional bold feel */
.comment-login-alert a:hover {
    color: #e65c00;
}
/* BLOG HERO */

.blog-hero{
position:relative;
margin-bottom:40px;
border-radius:12px;
overflow:hidden;
}

.blog-hero img{
width:100%;
height:590px;
object-fit:cover;
justify-content:center;
}

.blog-overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:30px;
background:linear-gradient(transparent,rgba(0,0,0,0.8));
color:white;
}

.blog-title{
font-size:30px;
font-weight:700;
margin-bottom:10px;
color:white;
}

.blog-meta span{
margin-right:8px;
font-size:12px;
background:rgba(255,255,255,0.15);
padding:5px 8px;
border-radius:4px;
}

/* PRODUCT LIST */

.product.product-list{
display:flex;
gap:10px;
align-items:flex-start;
padding:10px;
border-radius:8px;
background:#fff;
border:1px solid #eaeaea;
margin-bottom:20px;
}

.product-media img{
max-width:190px;
border-radius:6px;
justify-content:center;
}

.product-name a{
font-size:20px;
font-weight:500;
color:#222;
text-decoration:none;
line-height:1.4;
}

.product-price{
font-size:16px;
font-weight:700;
color:#00a651;
margin:4px 0;
}

.product-desc p{
font-size:14px;
color:#555;
line-height:1.5;
}

.product-desc a{
background:#08a85b;
color:#fff;
font-size:12px;
padding:3px 6px;
text-decoration:none;
border-radius:2px;
}


/* STAR RATING */

.Stars{
--percent: calc(var(--rating) / 5 * 100%);
display:inline-block;
font-size:16px;
font-family:Times;
line-height:1;
}

.Stars::before{
content:"★★★★★";
background:linear-gradient(90deg,#ffc107 var(--percent),#ddd var(--percent));
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.startext{
font-size:13px;
margin-left:4px;
color:#666;
}

/* COMMENT FORM */

.comment-form-wrapper{
border-radius:14px;
background:#fff;
transition:.3s;
}

.comment-form-wrapper:hover{
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.comment_form_body{
border-radius:10px;
padding:10px;
font-size:15px;
border:1px solid #e4e6eb;
}

.btn-comment{
background:#000;
border:none;
font-weight:500;
transition:.3s;
}

.btn-comment:hover{
background:#333;
}

.comment-login-alert{
border-radius:10px;
background:#fafafa;
}

/* MOBILE RESPONSIVE */

@media (max-width:768px){

.blog-hero img{
height:300px;
justify-content:center;
}

.blog-title{
font-size:24px;
}

.blog-overlay{
padding:20px;
}

.product.product-list{
flex-direction:column;
}

.product-media img{
width:100%;
max-width:100%;
justify-content:center;
}

.product-name a{
font-size:16px;
}

}

@media (max-width:480px){

.blog-hero img{
height:230px;
justify-content:center;
}

.blog-title{
font-size:16px;
}

.blog-meta{
flex-wrap:wrap;
}

}
/* MOBILE RESPONSIVE */
@media (max-width:480px){
.product-item{
width:50%; /* 2-column mobile */
padding:5px;
}

.product-media img{
max-width:120px;
}


/* MOBILE 2 COLUMN GRID */
@media (max-width:768px){

/* 2-column grid */
.row.cols-lg-1{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:10px;
}

/* PRODUCT CARD */
.product.product-list{
    display:flex;
    flex-direction:column;
    align-items:center;      /* Center content horizontally */
    text-align:center;
    padding:10px;
    border-radius:4px;
    background:#fff;
    border:1px solid #eee;
    box-shadow:0 3px 10px rgba(0,0,0,0.05);
    height:100%;
    transition:0.3s;
}

.product.product-list:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(0,0,0,0.08);
}

/* IMAGE */
.product-media{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
    width:90px; /* Set fixed width for images */
    height:90px; /* Set fixed height for uniform display */
    margin-right:5px;
    border-radius:4px;
    overflow:hidden;
    background:#f8f8f8; /* Optional light background for empty spaces */
}

.product-media img{
    width:80%;
    height:80%;
    object-fit:cover; /* Fill box nicely without stretching */
    display:block;
}

/* TITLE */
.product-name a{
    font-size:14px;
    line-height:1.2;
    font-weight:600;
    display:block;
    color:#222;
}

/* PRICE */
.product-price{
    font-size:16px;
    font-weight:700;
    color:#00a651;
}

/* DESCRIPTION */
.product-desc{
    display:none;
}
}

/* Comment Form Modern Style */
.comment-form-wrapper{
    border-radius:14px;
    background:#fff;
    box-shadow:0 0 0 3px rgba(0,0,0,0.05);
    transition:0.3s;
}

.comment-form-wrapper:hover{
    box-shadow:0 12px 25px rgba(0,0,0,0.09);
}

/* Title */
.comment-form-wrapper h5{
    font-size:20px;
}

/* Textarea */
.comment_form_body{
    border-radius:10px;
    padding:14px;
    font-size:15px;
    border:1px solid #e4e6eb;
    transition:0.25s;
}

.comment_form_body:focus{
    border-color:#000;
    box-shadow:0 0 0 3px rgba(0,0,0,0.05);
}

/* Button */
.btn-comment{
    background:#000;
    border:none;
    font-weight:500;
    letter-spacing:.3px;
    transition:0.3s;
}

.btn-comment:hover{
    background:#333;
    transform:translateY(-1px);
}

/* Login Alert */
.comment-login-alert{
    border-radius:12px;
    background:#fafafa;
}

.comment-login-alert a{
    text-decoration:none;
}

.comment-login-alert a:hover{
    text-decoration:underline;
}

/* MODERN BUY NOW BUTTON */
.btn-carts {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 120px;           /* Optional max width */
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #08a85b, #98d470); /* Gradient background */
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    
}

/* ICON STYLE */
.btn-carts i {
    font-size: 14px;
    color: #ffffff;
}
}

/* HEADER SAME RAHEGA (no change) */
.header-container {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 1px;
}

.header-title h2 {
    font-weight: bold;
    color: #000;
    font-size: 17px;
    margin: 0;
}

.border-line {
    flex: 1;
    height: 1px;
    background-color: #08a85b;
    margin: 0 10px;
}

.view-all-button {
    background-color: #08a85b;
    color: white;
    padding: 2px 16px;
    border-radius: 3px;
    font-size: 14px;
}

/* ✅ GLIDE SLIDES (SWIPER KI JAGA) */
.post-glide .glide__slide {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-glide .glide__slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* IMAGE */
.post-media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* DETAILS */
.post-details {
    padding: 15px;
}

.post-details .post-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.post-details .post-title a {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    transition: 0.3s;
}

.post-details .post-title a:hover {
    color: #08a85b; /* white hata diya readable ke liye */
}

/* ✅ IMPORTANT: Glide me GRID NAHI use karna */
.glide__slides {
    display: flex !important;
}

/* RESPONSIVE HEADER ONLY */
@media (max-width:576px){
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .border-line {
        width: 100%;
        margin: 10px 0;
    }

    .view-all-button {
        width: 100%;
        text-align: center;
    }
}
/* MOBILE OPTIMIZATION */
@media (max-width:576px){

    /* IMAGE RESPONSIVE */
    .post-media img {
        height: 140px;   /* pehle 180px tha */
        object-fit: cover;
    }

    /* TITLE SMALL + CLEAN */
    .post-details .post-title a {
        font-size: 14px;
        line-height: 1.3;
        
        display: -webkit-box;
        -webkit-line-clamp: 2;  /* sirf 2 line show hogi */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* META TEXT thoda compact */
    .post-details .post-meta {
        font-size: 11px;
    }

    /* padding thodi kam */
    .post-details {
        padding: 5px;
    }
}

/* ==========================
   MODERN RESPONSIVE BUY NOW BUTTON
========================== */
.btn-carts {
    display: inline-flex;               /* Flex for icon + text */
    align-items: center;                /* Vertical center */
    justify-content: center;            /* Horizontal center */
    gap: 6px;                           /* Space between icon and text */
    padding: 8px 18px;                  /* Button padding */
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #08a85b, #98d470);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    white-space: nowrap;                /* Prevent text wrap on large screens */
}

/* Icon inside button */
.btn-carts i {
    font-size: 16px;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Hover effects */
.btn-carts:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #06a34f, #8fcd5e);
}

.btn-carts:hover i {
    transform: translateX(2px);        /* Icon moves slightly on hover */
}

/* ==========================
   MOBILE RESPONSIVE BUTTON
========================== */

/* Tablets & small screens */
@media (max-width: 768px) {
    .btn-carts {
        width: 150px;                /* Full width for better tap area */
        font-size: 14px;            /* Slightly larger for readability */
        padding: 25px 0;            /* Comfortable touch padding */
    }
    .btn-carts i {
        font-size: 16px;            /* Icon stays proportional */
    }
}

/* Phones / Extra small screens */
@media (max-width: 480px) {
    .btn-carts {
        width: 100%;                /* Full width always */
        font-size: 13px;            /* Adjust font for small screens */
        padding: 8px 0;             /* Slightly smaller padding */
        text-align: center;         /* Center text & icon */
        gap: 4px;                   /* Smaller gap between icon & text */
    }
    .btn-carts i {
        font-size: 14px;            /* Icon smaller for small screens */
    }
}
