/* Sitekori Ecom Homepage & Product Grid Styling */

.sk-home-sections-wrap {
    width: 100%;
    margin-top: 30px;
}

.sk-home-sec-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 45px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.sk-sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.sk-sec-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    font-family: 'Hind Siliguri', sans-serif;
}

.sk-sec-title-dot {
    width: 6px;
    height: 24px;
    background: var(--sk-sec-primary, #e11d48);
    border-radius: 4px;
    display: inline-block;
}

/* "See More" Button Styling */
.sk-sec-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: var(--sk-sec-primary, #e11d48);
    border: 1.5px solid var(--sk-sec-primary, #e11d48);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.sk-sec-more-btn:hover {
    background: var(--sk-sec-primary, #e11d48);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.sk-sec-more-btn svg {
    transition: transform 0.2s ease;
}

.sk-sec-more-btn:hover svg {
    transform: translateX(3px);
}

/* Product Grid Layout (5 Columns Grid) */
.sk-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (min-width: 1280px) {
    .sk-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

@media (max-width: 1024px) {
    .sk-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .sk-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Product Card Base Styling */
.sk-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
}

.sk-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

/* Sale Discount Badge */
.sk-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: linear-gradient(135deg, var(--chorka-primary, #e11d48) 0%, #be123c 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    line-height: 1.2;
}

.sk-product-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8fafc;
}

.sk-product-thumb-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.sk-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.sk-product-card:hover .sk-product-thumb {
    transform: scale(1.06);
}

.sk-product-content {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sk-product-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
    height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: 'Hind Siliguri', sans-serif;
}

.sk-product-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sk-product-title a:hover {
    color: var(--sk-sec-primary, #e11d48);
}

/* Price Styling & WooCommerce Reset */
.sk-product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--sk-sec-primary, #e11d48);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.2;
}

.sk-product-price .screen-reader-text {
    display: none !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.sk-product-price del {
    color: #94a3b8 !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
}

.sk-product-price del .amount {
    color: #94a3b8 !important;
}

.sk-product-price ins {
    text-decoration: none !important;
    color: var(--sk-sec-primary, #e11d48) !important;
    font-weight: 800 !important;
}

.sk-product-price .amount {
    color: var(--sk-sec-primary, #e11d48);
    font-weight: 800;
}

/* Quick Order Action Button */
.sk-product-action {
    margin-top: auto;
}

.sk-quick-order-btn {
    width: 100%;
    background: var(--sk-sec-primary, #e11d48);
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.22);
    font-family: 'Hind Siliguri', sans-serif;
}

.sk-quick-order-btn:hover {
    background: #be123c;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}

.sk-quick-order-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .sk-home-sections-wrap {
        margin-top: 16px;
    }
    .sk-home-sec-container {
        margin-bottom: 24px;
        padding: 0 4px;
    }
    .sk-sec-header {
        margin-bottom: 14px;
        padding-bottom: 8px;
    }
    .sk-sec-title {
        font-size: 1.15rem;
    }
    .sk-sec-more-btn {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .sk-product-content {
        padding: 10px 12px;
    }
    .sk-product-title {
        font-size: 0.88rem;
        height: 2.6em;
        margin-bottom: 6px;
    }
    .sk-product-price {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .sk-quick-order-btn {
        padding: 8px 10px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .sk-home-sec-container {
        margin-bottom: 20px;
        padding: 0;
    }
    .sk-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .sk-sec-title {
        font-size: 1.05rem;
        gap: 6px;
    }
    .sk-sec-title-dot {
        height: 20px;
        width: 5px;
    }
    .sk-sec-more-btn {
        padding: 4px 10px;
        font-size: 0.75rem;
        gap: 4px;
    }
}

