/* =====================================================
KARUKATHA COMPONENTS CSS
Reusable UI Components
===================================================== */


@import url("branding.css");

/* =====================================================
   1. HERO SLIDER - PREMIUM (ISOLATED)
===================================================== */

.kk-hero {
    padding: var(--space-12) 0;
}

.hero-slider-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #fff;
}

.heroSwiper {
    width: 100%;
    aspect-ratio: 1920 / 600;
    height: auto;
}

/* Image */
.heroSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease-in-out;
}

/* Smooth Transition */
.heroSwiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Navigation */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.heroSwiper .swiper-button-next:after,
.heroSwiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: 700;
}

/* Pagination */
.heroSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 12px;
    border-radius: 4px;
}

/* =====================================================
   HERO RESPONSIVE ONLY
===================================================== */

@media (max-width: 992px) {
    .heroSwiper {
        aspect-ratio: 1920 / 600;
    }
}

@media (max-width: 768px) {

    .kk-hero {
        padding: var(--space-4) 0;
    }

    .heroSwiper {
        aspect-ratio: 1920 / 600;
        min-height: 140px;
    }

    .heroSwiper img {
        object-fit: contain;
        background-color: #011d04;
    }

    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 480px) {
    .heroSwiper {
        min-height: 110px;
    }
}

/* =====================================================
   2. PROMO SLIDERS - CLEAN + DESKTOP FIX
===================================================== */

.kk-promo-premium .row {
    display: flex;
    align-items: stretch;
}

/* Base Swiper */
.promoWideSwiper,
.promoSideSwiper {
    width: 100%;
    height: auto;
}

/* Card */
.kk-promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);

    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Image */
.kk-promo-img-box,
.kk-promo-img-box img {
    width: 100%;
    height: 100%;
}

.kk-promo-img-box img {
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.kk-promo-card:hover img {
    transform: scale(1.03);
}

/* Slide fix */
.promoWideSwiper .swiper-slide,
.promoSideSwiper .swiper-slide {
    height: auto !important;
}
/* =====================================================
   PROMO = HERO MATCHED STYLE
===================================================== */

/* Smooth Transition (same as hero) */
.promoWideSwiper .swiper-wrapper,
.promoSideSwiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Navigation (same as hero) */
.promoWideSwiper .swiper-button-next,
.promoWideSwiper .swiper-button-prev,
.promoSideSwiper .swiper-button-next,
.promoSideSwiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    transition: all 0.3s ease;
}

.promoWideSwiper .swiper-button-next:hover,
.promoWideSwiper .swiper-button-prev:hover,
.promoSideSwiper .swiper-button-next:hover,
.promoSideSwiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.promoWideSwiper .swiper-button-next:after,
.promoWideSwiper .swiper-button-prev:after,
.promoSideSwiper .swiper-button-next:after,
.promoSideSwiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: 700;
}

/* Pagination (same as hero) */
.promoWideSwiper .swiper-pagination-bullet,
.promoSideSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.promoWideSwiper .swiper-pagination-bullet-active,
.promoSideSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 12px;
    border-radius: 4px;
}
/* =====================================================
   PROMO RESPONSIVE ONLY
===================================================== */

@media (max-width: 768px) {

    .kk-promo-premium {
        padding: 15px 0 !important;
    }

    .kk-promo-premium .row {
        gap: 16px !important;
    }

    .wide-promo-card {
        aspect-ratio: 2.8 / 1 !important;
    }

    .side-promo-card {
        aspect-ratio: 1.6 / 1 !important;
    }
    
    .promoWideSwiper .swiper-button-next,
    .promoWideSwiper .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 480px) {

    .wide-promo-card {
        aspect-ratio: 2.5 / 1 !important;
    }

    .side-promo-card {
        aspect-ratio: 1.4 / 1 !important;
    }

    .kk-promo-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
}

/* =====================================================
   CATEGORY CARDS
   ===================================================== */

.kk-categories-section {
    padding: var(--space-12) 0;
    background: var(--color-bg-secondary);
}

.kk-category-grid {
    display: grid;
    /* Default for desktop/tablet */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    align-items: stretch;
}

/* CARD */
.kk-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    border-radius: var(--radius-xl);
    background: var(--color-white);
    text-decoration: none;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all .25s ease;
    height: 100%;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.kk-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(101, 183, 67, .08));
    opacity: 0;
    transition: .25s;
}

/* ICON */
.kk-category-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: var(--color-white);
    border-radius: 14px;
    position: relative;
    z-index: 2;
}

.kk-category-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform .25s ease;
}

/* TITLE */
.kk-category-card h6 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 6px;
    z-index: 2;
}

/* DESCRIPTION */
.kk-category-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
    z-index: 2;
}

/* HOVER */
.kk-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
    border-color: rgba(101, 183, 67, .35);
}

.kk-category-card:hover::before {
    opacity: 1;
}

.kk-category-card:hover img {
    transform: scale(1.08);
}

/* =====================================================
   MOBILE RESPONSIVENESS (2 CARDS SIDE-BY-SIDE)
   ===================================================== */

@media (max-width: 576px) {
    .kk-category-grid {
        /* Force 2 columns */
        grid-template-columns: repeat(2, 1fr);
        /* Reduce gap slightly for small screens so cards have more room */
        gap: 12px; 
    }

    .kk-category-card {
        /* Reduce padding so content fits */
        padding: 15px 10px;
        min-height: auto; 
    }

    .kk-category-icon {
        width: 60px;
        height: 60px;
    }

    .kk-category-icon img {
        width: 40px;
        height: 40px;
    }

    .kk-category-card h6 {
        font-size: 14px;
    }
}


/* =====================================================
HOME PAGE PRODUCT SECTION
===================================================== */

/* ---------- SECTION ---------- */
.kkp-section {
    padding: var(--space-12) 0;
}

/* ---------- HEADER ---------- */
.kkp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.kkp-section-title {
    font-size: var(--text-xl);
    font-weight: 700;
}

.kkp-view-all {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-brand);
    text-decoration: none;
}

.kkp-view-all:hover {
    text-decoration: underline;
}

/* =====================================================
CARD
===================================================== */
.kkp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;

    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);

    overflow: hidden;
    position: relative;

    transition: var(--transition-normal);
}

.kkp-card:hover {
    border-color: var(--color-brand);
}

/* ---------- IMAGE ---------- */
.kkp-image-wrap {
    position: relative;
    aspect-ratio: 1/1;
    background: #f8fafc;
    overflow: hidden;
}

.kkp-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}


/* ---------- OVERLAY FIX ---------- */
.kkp-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.05), transparent);
    pointer-events: none;
}

/* ---------- BADGE ---------- */
.kkp-badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;

    background: var(--color-danger);
    color: #fff;

    font-size: 11px;
    font-weight: 700;
    padding: 5px 8px;

    border-radius: var(--radius-md);
    z-index: 3;
}

/* ================= ACTION WRAPPER ================= */
.kk-pd-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-5);
    width: 100%;
}

.kkp-main-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 1;
}

/* ================= SHARED BUTTON RULES ================= */
.kk-btn-cart, 
.kk-btn-buy, 
.kk-btn-wishlist {
    min-height: 48px; /* Matches your .btn class */
    height: 48px;     /* Forced same height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
}

/* ================= ADD TO CART (Outline Pill) ================= */
.kk-btn-cart {
    flex: 1;
    background: var(--color-white);
    color: var(--color-text-dark);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-brand);
    gap: var(--space-2);
}

.kk-btn-cart:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
    background: var(--gray-50);
}

/* ================= BUY NOW (Brand Pill) ================= */
.kk-btn-buy {
    flex: 1.2; /* Slightly wider than cart */
    background: var(--color-brand-gradient);
    color: var(--color-white);
    border-radius: var(--radius-brand);
    box-shadow: var(--shadow-sm);
}

.kk-btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

/* ================= WISHLIST (Circle) ================= */
.kk-btn-wishlist {
    width: 48px;      /* Matches height for perfect circle */
    min-width: 48px;
    background: var(--color-white);
    color: var(--color-text-muted);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.kk-btn-wishlist:hover {
    color: var(--color-danger);
    background: var(--gray-50);
    border-color: var(--gray-300);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
    .kk-pd-actions {
        flex-direction: row;
        align-items: flex-start;
    }

    .kkp-main-actions {
        flex-direction: column;
        width: 100%;
        gap: var(--space-2);
    }

    .kk-btn-cart, 
    .kk-btn-buy {
        width: 100%;
        min-height: 46px; /* Slightly slimmer for mobile screens */
    }

    .kk-btn-wishlist {
        /* Align circle with the top button on mobile */
        margin-top: 0; 
    }
}

/* Container: Positioned over the product card image */
.kkp-actions {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    display: flex;
    flex-direction: column; /* Stacked vertically */
    gap: var(--space-2);
    z-index: var(--z-index-2);
}

/* NEW Extra Class for Round Design */
.kkp-btn-round {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full); /* Perfectly round */
    background: var(--color-white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
}

/* Icon size inside round buttons */
.kkp-btn-round i {
    font-size: 1.1rem;
    line-height: 1;
}

/* Hover Effect */
.kkp-btn-round:hover {
    transform: scale(1.1);
    background: var(--gray-50);
    border-color: var(--color-brand);
    box-shadow: var(--shadow-md);
}

/* Active State Enhancements */
.kkp-btn-wishlist.active {
    background: #fff5f5; /* Light red tint */
    border-color: var(--color-danger);
}

.kkp-btn-cart.active-cart {
    background: var(--color-accent-highlight); /* Light brand tint */
    border-color: var(--color-brand);
}

/* Mobile responsive - slightly smaller for small screens */
@media (max-width: 576px) {
    .kkp-btn-round {
        width: 34px;
        height: 34px;
    }
    .kkp-btn-round i {
        font-size: 0.95rem;
    }
}
/* ---------- BODY ---------- */
.kkp-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-4);
}

/* ---------- TITLE ---------- */
.kkp-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-dark);

    margin-bottom: var(--space-2);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    min-height: 38px;
}

.kkp-title a {
    color: inherit;
    text-decoration: none;
}

.kkp-title a:hover {
    color: var(--color-brand);
}

/* ---------- PRICE ---------- */
.kkp-price-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.kkp-price-current {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-brand-dark);
}

.kkp-price-mrp {
    font-size: var(--text-sm);
    color: var(--gray-400);
    text-decoration: line-through;
}

.kkp-price-discount {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
}

/* =====================================================
PREMIUM SLIDER (UPDATED)
===================================================== */
.kkp-slider-wrap {
    position: relative;
    overflow: visible;
}

/* PREMIUM SCROLL */
.kkp-scroll {
    display: flex;
    gap: var(--space-4);

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    cursor: grab;
    padding-bottom: 6px;
}

.kkp-scroll::-webkit-scrollbar {
    display: none;
}

.kkp-scroll.active-drag {
    cursor: grabbing;
}

/* SNAP ITEMS */
.kkp-item {
    scroll-snap-align: start;
}

/* FIX CARD WIDTH */
.kkp-scroll .kkp-item {
    min-width: 220px;
    max-width: 220px;
}

/* ---------- PREMIUM ARROWS ---------- */
.kkp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border-radius: 50%;
    border: none;

    background: rgba(0,0,0,0.6);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 10;

    transition: all 0.25s ease;

    opacity: 0;
    pointer-events: none;
}

/* SHOW ON HOVER */
.kkp-slider-wrap:hover .kkp-arrow {
    opacity: 1;
    pointer-events: auto;
}

/* POSITIONS */
.kkp-arrow-left { left: -10px; }
.kkp-arrow-right { right: -10px; }

/* DISABLED STATE */
.kkp-arrow.disabled {
    opacity: 0.8 !important;
    pointer-events: none;
}

/* HOVER */
.kkp-arrow:hover {
    background: rgba(0,0,0,0.85);
}

/* =====================================================
GRID FIX
===================================================== */
.kkp-products .row > div {
    display: flex;
}

.kkp-products .kkp-card {
    width: 100%;
}

/* =====================================================
RESPONSIVE
===================================================== */
@media (max-width: 768px) {

    .kkp-scroll .kkp-item {
        min-width: 160px;
        max-width: 160px;
    }

    .kkp-title {
        font-size: 13px;
    }

    /* Always show arrows on mobile */
    .kkp-arrow {
        opacity: 1;
        pointer-events: auto;
    }
}
/* =====================================================
PRODUCT LIST PAGE
Karukatha
===================================================== */

/* =====================================================
PAGE
===================================================== */

.kk-pl-page{
padding:var(--space-12) 0;
background:#fafafa;
}


/* =====================================================
LAYOUT
===================================================== */

.kk-pl-layout{
display:grid;
grid-template-columns:260px 1fr;
gap:40px;
}


/* =====================================================
SIDEBAR FILTER
===================================================== */

.kk-pl-sidebar{
background:#fff;
border:1px solid var(--border-light);
border-radius:var(--radius-lg);
padding:20px;
position:sticky;
top:100px;
height:fit-content;
}

.kk-pl-sidebar h4{
font-size:18px;
margin-bottom:16px;
}


/* SEARCH */

.kk-pl-search{
width:100%;
padding:10px 12px;
border:1px solid var(--border-light);
border-radius:8px;
margin-bottom:20px;
}


/* FILTER GROUP */

.kk-pl-filter{
margin-bottom:22px;
}

.kk-pl-filter h6{
font-size:14px;
margin-bottom:8px;
}

.kk-pl-filter label{
display:block;
font-size:13px;
margin-bottom:6px;
cursor:pointer;
}


/* =====================================================
PRODUCT AREA
===================================================== */

.kk-pl-products{
min-height:400px;
}


/* =====================================================
GRID
===================================================== */

.kk-pl-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:24px;
}


/* =====================================================
PRODUCT CARD
===================================================== */

.kk-pl-card{
background:#fff;
border:1px solid var(--border-light);
border-radius:12px;
overflow:hidden;
transition:.3s;
display:flex;
flex-direction:column;
}

.kk-pl-card:hover{
transform:translateY(-6px);
box-shadow:0 15px 30px rgba(0,0,0,.08);
}


/* =====================================================
IMAGE
===================================================== */

.kk-pl-image{
position:relative;
display:block;
background:#f6f6f6;
}

.kk-pl-image img{
width:100%;
height:220px;
object-fit:cover;
}


/* BADGES */

.kk-pl-badge-trending{
position:absolute;
top:10px;
left:10px;
background:#ff6b00;
color:#fff;
font-size:11px;
padding:4px 6px;
border-radius:4px;
}

.kk-pl-badge-new{
position:absolute;
top:10px;
right:10px;
background:#00a86b;
color:#fff;
font-size:11px;
padding:4px 6px;
border-radius:4px;
}


/* =====================================================
CARD BODY
===================================================== */

.kk-pl-body{
padding:14px;
display:flex;
flex-direction:column;
gap:8px;
}


/* TITLE */

.kk-pl-title{
font-size:14px;
font-weight:600;
line-height:1.4;
height:40px;
overflow:hidden;
}

.kk-pl-title a{
color:var(--color-dark);
text-decoration:none;
}

.kk-pl-title a:hover{
color:var(--color-brand);
}


/* =====================================================
PRICE
===================================================== */

.kk-pl-price{
display:flex;
align-items:center;
gap:8px;
}

.kk-pl-current{
font-size:16px;
font-weight:700;
color:var(--color-brand);
}

.kk-pl-mrp{
font-size:13px;
text-decoration:line-through;
color:var(--color-muted);
}


/* =====================================================
ACTIONS
===================================================== */

.kk-pl-actions{
display:flex;
gap:8px;
margin-top:6px;
}

.kk-pl-actions button{
flex:1;
border:none;
padding:8px;
border-radius:6px;
cursor:pointer;
background:#f2f2f2;
transition:.2s;
}

.kk-pl-actions button:hover{
background:var(--color-brand);
color:#fff;
}

.kk-pl-actions i{
font-size:14px;
}


/* =====================================================
LOADING
===================================================== */

.kk-pl-loading{
text-align:center;
padding:40px;
font-size:14px;
color:var(--color-muted);
}


/* =====================================================
QUICK VIEW MODAL
===================================================== */

.kk-pl-quickview-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.5);
display:none;
align-items:center;
justify-content:center;
z-index:999;
}

.kk-pl-quickview-box{
background:#fff;
width:90%;
max-width:900px;
border-radius:12px;
padding:24px;
position:relative;
}

#closeQuickView{
position:absolute;
top:10px;
right:10px;
font-size:22px;
border:none;
background:none;
cursor:pointer;
}


/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width:1024px){

.kk-pl-layout{
grid-template-columns:1fr;
}

.kk-pl-sidebar{
position:relative;
top:auto;
}

}

@media (max-width:768px){

.kk-pl-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:480px){

.kk-pl-grid{
grid-template-columns:1fr;
}

}

/* =====================================================
Product PAGE
===================================================== */

.kk-pd-page{
padding:var(--space-12) 0;
background:#fff;
}


/* =====================================================
GRID LAYOUT
===================================================== */

.kk-pd-grid{
display:grid;
grid-template-columns:1fr 420px;
gap:60px;
align-items:start;
}


/* =====================================================
GALLERY
===================================================== */

.kk-pd-gallery{
display:flex;
flex-direction:column;
gap:16px;
}

.kk-pd-main-image{
background:#f7f7f7;
border-radius:var(--radius-lg);
overflow:hidden;
}

.kk-pd-main-image img{
width:100%;
height:520px;
object-fit:cover;
transition:transform .3s ease;
cursor:zoom-in;
}


/* =====================================================
THUMBNAILS
===================================================== */

.kk-pd-thumbs{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.kk-pd-thumbs img{
width:70px;
height:70px;
object-fit:cover;
border-radius:8px;
cursor:pointer;
border:2px solid transparent;
transition:.25s;
}

.kk-pd-thumbs img:hover{
border-color:var(--color-brand);
}


/* =====================================================
PRODUCT INFO
===================================================== */

.kk-pd-info{
position:sticky;
top:100px;
display:flex;
flex-direction:column;
gap:20px;
}

.kk-pd-info h1{
font-size:28px;
font-weight:700;
line-height:1.4;
margin:0;
}


/* =====================================================
PRICE
===================================================== */

.kk-pd-price{
display:flex;
align-items:center;
gap:14px;
}

#pdPrice{
font-size:26px;
font-weight:700;
color:var(--color-brand);
}

.kk-pd-mrp{
text-decoration:line-through;
color:var(--color-muted);
font-size:16px;
}


/* =====================================================
VARIANTS
===================================================== */

.kk-pd-variants h4{
font-size:16px;
font-weight:600;
margin-bottom:10px;
}

.kk-pd-swatch-group{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.kk-pd-variant-btn{
padding:8px 14px;
border:1px solid var(--border-light);
background:#fff;
border-radius:6px;
cursor:pointer;
font-size:13px;
transition:.2s;
}

.kk-pd-variant-btn:hover{
border-color:var(--color-brand);
}

.kk-pd-variant-btn.active{
background:var(--color-brand);
color:#fff;
border-color:var(--color-brand);
}


/* =====================================================
DELIVERY
===================================================== */

.kk-pd-delivery{
border-top:1px solid var(--border-light);
padding-top:16px;
}

.kk-pd-delivery h4{
font-size:16px;
margin-bottom:8px;
}

.kk-pd-delivery input{
width:200px;
padding:8px 10px;
border:1px solid var(--border-light);
border-radius:6px;
}

.kk-pd-delivery button{
padding:8px 12px;
margin-left:8px;
border:none;
background:var(--color-brand);
color:#fff;
border-radius:6px;
cursor:pointer;
}

#deliveryMsg{
margin-top:8px;
font-size:13px;
color:var(--color-muted);
}


/* =====================================================
ACTIONS
===================================================== */

.kk-pd-actions{
display:flex;
gap:10px;
margin-top:10px;
}

.kk-add-cart{
flex:1;
padding:12px;
background:var(--color-brand);
color:#fff;
border:none;
border-radius:8px;
font-weight:600;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
gap:8px;
transition:.25s;
}

.kk-add-cart:hover{
background:var(--color-brand-dark);
transform:translateY(-2px);
}

.kk-wishlist-btn{
width:48px;
border:1px solid var(--border-light);
background:#fff;
border-radius:8px;
cursor:pointer;
font-size:18px;
display:flex;
align-items:center;
justify-content:center;
}

.kk-wishlist-btn:hover{
color:var(--color-brand);
border-color:var(--color-brand);
}


/* =====================================================
DESCRIPTION
===================================================== */

.kk-pd-description{
margin-top:60px;
border-top:1px solid var(--border-light);
padding-top:30px;
}

.kk-pd-description h3{
font-size:22px;
margin-bottom:10px;
}

.kk-pd-description p{
color:var(--color-muted);
line-height:1.7;
}


/* =====================================================
REVIEWS
===================================================== */

.kk-pd-reviews{
margin-top:60px;
}

.kk-pd-reviews h3{
margin-bottom:20px;
}

.kk-pd-review{
border-bottom:1px solid var(--border-light);
padding:16px 0;
}

.kk-pd-stars{
color:#f6b01e;
margin:4px 0;
}


/* =====================================================
RELATED PRODUCTS
===================================================== */

.kk-pd-related{
margin-top:80px;
}

.kk-pd-related h3{
margin-bottom:20px;
}

.kk-pd-carousel{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
gap:20px;
}

.kk-pd-related-card{
display:block;
text-decoration:none;
background:#fff;
border:1px solid var(--border-light);
border-radius:12px;
padding:12px;
transition:.25s;
}

.kk-pd-related-card:hover{
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transform:translateY(-4px);
}

.kk-pd-related-card img{
width:100%;
height:160px;
object-fit:cover;
border-radius:8px;
margin-bottom:8px;
}

.kk-pd-related-card p{
font-size:14px;
margin:0;
color:var(--color-dark);
}

.kk-pd-related-card span{
font-weight:600;
color:var(--color-brand);
}


/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width:1024px){

.kk-pd-grid{
grid-template-columns:1fr;
}

.kk-pd-info{
position:relative;
top:auto;
}

}

@media (max-width:768px){

.kk-pd-main-image img{
height:380px;
}

}

@media (max-width:480px){

.kk-pd-main-image img{
height:260px;
}

.kk-pd-thumbs img{
width:55px;
height:55px;
}

#pdPrice{
font-size:22px;
}

}

/* =====================================================
ANIMATION
===================================================== */

.cart-pulse{
animation:cartPulse .6s ease;
}

@keyframes cartPulse{
0%{transform:scale(1)}
50%{transform:scale(1.15)}
100%{transform:scale(1)}
}