/*==========================================================
KITTU BITTU FOODS
COMMON CATEGORY PAGE
Used For:
✔ Veg Pickles
✔ Non-Veg Pickles
✔ Premium Pickles
✔ Masalas
✔ Ghee
✔ Snacks
✔ Homemade Foods
✔ Vanta Master
Version : 1.0
==========================================================*/


/*==========================================================
CATEGORY BANNER
==========================================================*/

.category-banner{

    position:relative;

    overflow:hidden;

    padding:50px 0 80px;

    background:linear-gradient(
        135deg,
        #faf7f2 0%,
        #ffffff 100%
    );

}

.page-banner-overlay{

    position:absolute;

    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(22,87,58,.06),
    transparent 45%),

    radial-gradient(circle at bottom left,
    rgba(193,154,107,.08),
    transparent 40%);

    pointer-events:none;

}

.page-banner-grid{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:70px;

    align-items:center;

}

.page-banner-content{

    max-width:700px;

}

.page-banner-content .section-tag{

    margin-bottom:18px;

}

.page-banner-content h1{

    font-size:3.2rem;

    line-height:1.15;

    margin:0 0 24px;

    color:#222;

}

.page-banner-content h1 span{

    display:block;

    color:var(--primary-color);

}

.page-banner-content p{

    font-size:1.08rem;

    line-height:1.9;

    color:#666;

    margin-bottom:36px;

}

.page-banner-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.page-banner-image{

    position:relative;

}

.page-banner-image img{

    width:100%;

    display:block;

    border-radius:28px;

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}


/*==========================================================
BREADCRUMB
==========================================================*/

.breadcrumb-section{

    background:#fff;

    border-bottom:1px solid #ededed;

    padding:18px 0;

}

.breadcrumb{

    display:flex;

    align-items:center;

    gap:10px;

    flex-wrap:wrap;

    font-size:.95rem;

}

.breadcrumb a{

    text-decoration:none;

    color:#666;

    transition:.3s;

}

.breadcrumb a:hover{

    color:var(--primary-color);

}

.breadcrumb strong{

    color:var(--primary-color);

    font-weight:600;

}


/*==========================================================
CATEGORY INTRO
==========================================================*/

.category-intro{

    padding:50px 0 35px;

    background:#fff;

}

.category-intro .section-heading{

    max-width:900px;

    margin:auto;

}

.category-intro .section-heading p{

    max-width:760px;

    margin:20px auto 0;

    line-height:1.9;

    color:#666;

}


/*==========================================================
COMMON SPACING
==========================================================*/

.products-section,

.why-category,

.faq-section,

.category-cta{

    position:relative;

}

.section-heading{

    margin-bottom:55px;

}


/*==========================================================
CATEGORY FILTER
==========================================================*/

.category-filter{

    padding:0 0 45px;

    background:#fff;

}

.filter-wrapper{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    flex-wrap:wrap;

}

.filter-btn{

    border:none;

    outline:none;

    cursor:pointer;

    padding:12px 22px;

    border-radius:40px;

    background:#f5f5f5;

    color:#555;

    font-size:.95rem;

    font-weight:600;

    transition:.35s ease;

}

.filter-btn:hover,

.filter-btn.active{

    background:var(--primary-color);

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(22,87,58,.18);

}


/*==========================================================
PRODUCTS SECTION
==========================================================*/

.products-section{

    padding:20px 0 90px;

    background:#fff;

}

.products-grid{

    display:grid;

    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:32px;

}


/*==========================================================
PRODUCT CARD
==========================================================*/

.product-card{

	display:flex;

	flex-direction:column;

	height:100%;

	background:#fff;

	border-radius:22px;

	overflow:hidden;

	box-shadow:0 10px 30px rgba(0,0,0,.08);

	transition:.35s;

}

.product-card:hover{

	transform:translateY(-8px);

	box-shadow:0 20px 45px rgba(0,0,0,.15);
}


/*==========================================================
PRODUCT IMAGE
==========================================================*/

.product-image{

    width:100%;

	height:260px;

	object-fit:cover;

	display:block;

}

.product-image img{

    width:100%;

    height:280px;

    object-fit:cover;

    display:block;

    transition:transform .45s ease;

}

.product-card:hover .product-image img{

    transform:scale(1.06);

}


/*==========================================================
PRODUCT BADGE
==========================================================*/

.product-badge{

    position:absolute;

    top:18px;

    left:18px;

    background:var(--primary-color);

    color:#fff;

    padding:8px 15px;

    border-radius:30px;

    font-size:.78rem;

    font-weight:700;

    letter-spacing:.3px;

    z-index:2;

}


/*==========================================================
PRODUCT CONTENT
==========================================================*/

.product-content{

    display:flex;

	flex-direction:column;

	flex:1;

	padding:24px;

}

.product-content h3{

    margin:0 0 12px;

    font-size:1.45rem;

    color:#222;

}

.product-content p{

    color:#666;

    line-height:1.8;

    margin-bottom:22px;

    flex-grow:1;

}


/*==========================================================
STOCK STATUS
==========================================================*/

.stock-status{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 14px;

    border-radius:30px;

    font-size:.82rem;

    font-weight:600;

    margin-bottom:18px;

}

.stock-status.in{

    background:#e9f8ee;

    color:#198754;

}

.stock-status.out{

    background:#fdecec;

    color:#dc3545;

}


/*==========================================================
PRODUCT HOVER EFFECT
==========================================================*/

.product-card::after{

    content:"";

    position:absolute;

    inset:0;

    border-radius:24px;

    border:2px solid transparent;

    transition:.3s;

    pointer-events:none;

}

.product-card:hover::after{

    border-color:rgba(22,87,58,.15);

}

/*==========================================================
PRODUCT SIZES & PRICES
==========================================================*/

.product-sizes{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-bottom:24px;

}

.size-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 18px;

    background:#faf7f2;

    border:1px solid #ece7de;

    border-radius:14px;

    transition:.30s ease;

}

.size-row:hover{

    background:#ffffff;

    border-color:rgba(22,87,58,.18);

    transform:translateX(3px);

}

.size-row span:first-child{

    font-weight:600;

    color:#333;

}

.offer-price{

    color:var(--primary-color);

    font-size:1.08rem;

    font-weight:700;

}

.old-price{

    margin-left:8px;

    font-size:.90rem;

    color:#999;

    text-decoration:line-through;

}

/*==========================================================
PRODUCT ACTIONS
==========================================================*/

.product-actions{

    display:flex;

    gap:14px;

    margin-top:auto;

}

.product-actions .btn{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    min-height:52px;

    border-radius:14px;

    font-weight:600;

    transition:.30s ease;

}

.product-actions .btn-primary{

   /*  background:var(--primary-color); */

    color:#fff;

}

.product-actions .btn-primary:hover{

    transform:translateY(-2px);

    box-shadow:0 14px 30px rgba(22,87,58,.20);

}

.product-actions .btn-outline{

    background:#fff;

    color:var(--primary-color);

    border:2px solid var(--primary-color);

}

.product-actions .btn-outline:hover{

    background:var(--primary-color);

    color:#fff;

}

/*==========================================================
OUT OF STOCK
==========================================================*/

.product-actions .btn.disabled{

    background:#d7d7d7;

    color:#777;

    border:none;

    cursor:not-allowed;

    pointer-events:none;

}

/*==========================================================
PRODUCT LABELS
==========================================================*/

.product-labels{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:18px;

}

.label{

    padding:7px 14px;

    border-radius:30px;

    font-size:.75rem;

    font-weight:700;

    letter-spacing:.3px;

}

.label-fresh{

    background:#edf9ef;

    color:#198754;

}

.label-home{

    background:#fff7e5;

    color:#b78103;

}

.label-premium{

    background:#f4edff;

    color:#7a42d8;

}

.label-new{

    background:#e9f5ff;

    color:#0d6efd;

}

/*==========================================================
CATEGORY TAGS
==========================================================*/

.product-tags{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-top:14px;

}

.product-tags span{

    padding:6px 12px;

    border-radius:20px;

    background:#f5f5f5;

    color:#666;

    font-size:.78rem;

    font-weight:500;

}

/*==========================================================
WHATSAPP BUTTON EFFECT
==========================================================*/

.product-actions .btn-primary i{

    transition:.30s ease;

}

.product-actions .btn-primary:hover i{

    transform:scale(1.12);

}

/*==========================================================
PRODUCT CARD FOOTER
==========================================================*/

.product-footer{

    margin-top:22px;

    padding-top:18px;

    border-top:1px solid #eeeeee;

}

.product-footer small{

    display:block;

    color:#888;

    line-height:1.7;

    font-size:.82rem;

}


/*==========================================================
WHY CHOOSE US
==========================================================*/

.why-category{

    padding:50px 0;

    background:#faf7f2;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.why-card{

    background:#fff;

    border-radius:24px;

    padding:40px 30px;

    text-align:center;

    transition:.35s ease;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

    position:relative;

    overflow:hidden;

}

.why-card:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 50px rgba(0,0,0,.10);

}

.why-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:4px;

    background:var(--primary-color);

    transform:scaleX(0);

    transition:.35s;

}

.why-card:hover::before{

    transform:scaleX(1);

}

.why-card i{

    width:72px;

    height:72px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 24px;

    border-radius:50%;

    background:rgba(22,87,58,.08);

    color:var(--primary-color);

    font-size:28px;

}

.why-card h3{

    margin-bottom:15px;

    font-size:1.35rem;

    color:#222;

}

.why-card p{

    color:#666;

    line-height:1.8;

}

/*==========================================================
FAQ SECTION
==========================================================*/

.faq-section{

    padding:50px 0;

    background:#fff;

}

.faq-wrapper{

    max-width:900px;

    margin:auto;

}

.faq-wrapper details{

    background:#faf7f2;

    border-radius:18px;

    margin-bottom:18px;

    overflow:hidden;

    border:1px solid #ececec;

    transition:.3s;

}

.faq-wrapper details:hover{

    border-color:rgba(22,87,58,.20);

}

.faq-wrapper summary{

    list-style:none;

    cursor:pointer;

    padding:22px 28px;

    font-size:1.05rem;

    font-weight:600;

    color:#222;

    position:relative;

}

.faq-wrapper summary::-webkit-details-marker{

    display:none;

}

.faq-wrapper summary::after{

    content:"+";

    position:absolute;

    right:25px;

    top:50%;

    transform:translateY(-50%);

    font-size:22px;

    color:var(--primary-color);

    transition:.3s;

}

.faq-wrapper details[open] summary::after{

    content:"−";

}

.faq-wrapper details p{

    padding:0 28px 24px;

    color:#666;

    line-height:1.9;

}

/*==========================================================
CATEGORY CTA
==========================================================*/

.category-cta{

    padding:70px 20px;

	background:linear-gradient(135deg,#1F5C3A,#2E7D50);

	position:relative;

	overflow:hidden;

}

.category-cta::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    right:-200px;

    top:-180px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

}

.category-cta::after{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    left:-140px;

    bottom:-120px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

}

.category-cta-box{

    max-width:900px;

	margin:auto;

	text-align:center;

	padding:60px;

	border-radius:28px;

	background:rgba(255,255,255,.08);

	backdrop-filter:blur(8px);

}

.category-cta-box h2{

    font-size:42px;

	color:#D4AF37;

	margin-bottom:20px;
}

.category-cta-box p{

    font-size:18px;

	color:#fff;

	opacity:.95;

	margin-bottom:35px;

}

.category-cta-box .page-banner-buttons{

    justify-content:center;

}

.category-cta-box .btn-outline{

    border:2px solid #fff;

    color:#fff;

    background:transparent;

}

.category-cta-box .btn-outline:hover{

    background:#fff;

    color:var(--primary-color);

}

.category-cta-box .btn-primary{

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

.category-cta-box .btn-primary:hover{

    transform:translateY(-3px);

}

/*==========================================================
RESPONSIVE
==========================================================*/

/*==========================================================
LARGE LAPTOP
==========================================================*/

@media (max-width:1200px){

.page-banner-grid{

grid-template-columns:1fr 1fr;

gap:50px;

}

.products-grid{

display:grid;

grid-template-columns:repeat(auto-fill,minmax(320px,1fr));

gap:30px;

align-items:stretch;

}

.why-grid{

grid-template-columns:repeat(2,1fr);

}

.page-banner-content h1{

font-size:2.8rem;

}

.category-cta-box h2{

font-size:2.5rem;

}

}

/*==========================================================
TABLET
==========================================================*/

@media (max-width:991px){

.category-banner{

padding:90px 0 70px;

}

.page-banner-grid{

grid-template-columns:1fr;

gap:40px;

text-align:center;

}

.page-banner-image{

order:-1;

max-width:520px;

margin:auto;

}

.page-banner-content{

max-width:100%;

}

.page-banner-content h1{

font-size:2.4rem;

}

.page-banner-content p{

max-width:100%;

margin-bottom:30px;

}

.page-banner-buttons{

justify-content:center;

}

.products-grid{

grid-template-columns:repeat(2,1fr);

}

.why-grid{

grid-template-columns:repeat(2,1fr);

gap:22px;

}

.category-cta{

padding:90px 0;

}

.category-cta-box h2{

font-size:2.2rem;

}

}

/*==========================================================
MOBILE
==========================================================*/

@media (max-width:768px){

.category-banner{

padding:70px 0 55px;

}

.page-banner-content h1{

font-size:2rem;

}

.page-banner-content p{

font-size:1rem;

}

.filter-wrapper{

justify-content:flex-start;

overflow-x:auto;

flex-wrap:nowrap;

padding-bottom:10px;

scrollbar-width:none;

}

.filter-wrapper::-webkit-scrollbar{

display:none;

}

.filter-btn{

flex:0 0 auto;

}

.products-grid{

grid-template-columns:1fr;

gap:24px;

}

.product-image img{

height:240px;

}

.product-content{

padding:22px;

}

.product-actions{

flex-direction:column;

}

.product-actions .btn{

width:100%;

}

.why-grid{

grid-template-columns:1fr;

}

.why-card{

padding:30px 22px;

}

.faq-wrapper summary{

padding:18px 22px;

font-size:1rem;

}

.faq-wrapper details p{

padding:0 22px 20px;

}

.category-cta{

padding:70px 0;

}

.category-cta-box h2{

font-size:2rem;

}

.category-cta-box p{

font-size:1rem;

}

}

/*==========================================================
SMALL MOBILE
==========================================================*/

@media (max-width:576px){

.page-banner-content h1{

font-size:1.75rem;

line-height:1.25;

}

.page-banner-buttons{

flex-direction:column;

}

.page-banner-buttons .btn{

width:100%;

justify-content:center;

}

.section-heading{

margin-bottom:40px;

}

.section-heading h2{

font-size:1.8rem;

}

.product-image img{

height:220px;

}

.product-content h3{

font-size:1.25rem;

}

.size-row{

padding:12px 14px;

}

.offer-price{

font-size:1rem;

}

.old-price{

font-size:.82rem;

}

.category-cta-box h2{

font-size:1.75rem;

}

.category-cta-box p{

font-size:.95rem;

}

.breadcrumb{

font-size:.85rem;

gap:6px;

}

}

/*==========================================================
EXTRA SMALL DEVICES
==========================================================*/

@media (max-width:380px){

.page-banner-content h1{

font-size:1.55rem;

}

.page-banner-content p{

font-size:.95rem;

}

.filter-btn{

padding:10px 16px;

font-size:.82rem;

}

.product-content{

padding:18px;

}

.product-content h3{

font-size:1.15rem;

}

.product-badge{

font-size:.72rem;

padding:6px 12px;

}

.why-card{

padding:24px 18px;

}

.category-cta-box h2{

font-size:1.55rem;

}

}

.order-btn{

margin-top:auto;

width:100%;

padding:14px;

border-radius:50px;

font-weight:700;

background:linear-gradient(135deg,#25D366,#128C7E);

color:#fff;

text-decoration:none;

display:flex;

justify-content:center;

align-items:center;

gap:10px;

transition:.3s;

}

.order-btn:hover{

transform:translateY(-2px);

box-shadow:0 12px 24px rgba(18,140,126,.35);

}

.price-box{

display:flex;

justify-content:space-between;

align-items:center;

padding:16px 20px;

background:#F8F5EF;

border-radius:16px;

margin:20px 0;

}

.product-badge{

padding:8px 16px;

border-radius:50px;

background:#D4AF37;

color:#fff;

font-size:12px;

font-weight:700;

letter-spacing:.5px;

}

/*==========================================================
END
==========================================================*/