/* ========================================
   CKL HOMEPAGE
======================================== */

#ckl-homepage {
    --ckl-navy: #10243a;
    --ckl-yellow: #f5c400;
    --ckl-white: #ffffff;
    --ckl-light: #f4f6f8;
    --ckl-text: #263442;

    color: var(--ckl-text);
}

#ckl-homepage * {
    box-sizing: border-box;
}

#ckl-homepage .ckl-section {
    padding: 75px 0;
}

#ckl-homepage .ckl-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #b18b00;
}

#ckl-homepage h1,
#ckl-homepage h2,
#ckl-homepage h3 {
    color: var(--ckl-navy);
    font-weight: 700;
}

#ckl-homepage h2 {
    font-size: 34px;
    margin-bottom: 15px;
}

#ckl-homepage p {
    line-height: 1.7;
}

/* HERO */

.ckl-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 490px;
    background: var(--ckl-navy);
    color: white;
}

.ckl-hero-content {
    padding: 75px 8%;
    align-self: center;
}

#ckl-homepage .ckl-hero h1 {
    color: white;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.12;
    margin-bottom: 22px;
}

.ckl-hero-content p {
    color: #e3e8ed;
    max-width: 540px;
}

.ckl-hero-image {
    background: linear-gradient(135deg, #354c63, #172b40);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    min-height: 350px;
    text-align: center;
}

/* BUTTONS */

.ckl-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

#ckl-homepage .ckl-button {
    display: inline-block;
    padding: 15px 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.2s ease;
}

.ckl-button-primary {
    background: var(--ckl-yellow);
    color: var(--ckl-navy);
}

.ckl-button-primary:hover {
    background: white;
    color: var(--ckl-navy);
}

.ckl-button-outline {
    border: 2px solid white;
    color: white;
}

.ckl-button-outline:hover {
    background: white;
    color: var(--ckl-navy);
}

.ckl-button-dark {
    background: var(--ckl-navy);
    color: white;
}

/* SECTION HEADINGS */

.ckl-section-heading {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 700px;
}

/* CATEGORIES */

.ckl-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.ckl-category-card {
    text-decoration: none;
    background: white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
    transition: transform 0.2s ease;
}

.ckl-category-card:hover {
    transform: translateY(-5px);
}

.ckl-category-image {
    height: 230px;
    background: #e8edf1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ckl-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ckl-category-title {
    padding: 20px;
}

.ckl-category-title h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.ckl-category-title span {
    font-size: 11px;
    font-weight: 700;
    color: #9b7900;
}

/* BESTSELLERS */

.ckl-bestsellers {
    background: var(--ckl-light);
}

.ckl-products {
    width: 100%;
}

.ckl-section-button {
    text-align: center;
    margin-top: 35px;
}

/* PROMOTIONS */

.ckl-promotion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 390px;
    margin: 65px 0;
    background: var(--ckl-light);
}

.ckl-promotion-image {
    min-height: 320px;
    background: #dce3e9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ckl-promotion-content {
    padding: 55px;
    align-self: center;
}

/* BRANDS */

.ckl-brands-placeholder {
    background: var(--ckl-light);
    min-height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* TESTIMONIALS */

.ckl-testimonials {
    background: #eef2f6;
}

.ckl-testimonial-placeholder {
    background: white;
    padding: 55px;
    text-align: center;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    #ckl-homepage .ckl-section {
        padding: 45px 0;
    }

    .ckl-hero {
        grid-template-columns: 1fr;
    }

    .ckl-hero-content {
        padding: 50px 25px;
    }

    .ckl-hero-image {
        min-height: 240px;
    }

    .ckl-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ckl-category-image {
        height: 160px;
    }

    .ckl-promotion {
        grid-template-columns: 1fr;
        margin: 35px 0;
    }

    .ckl-promotion-content {
        padding: 35px 25px;
    }

    #ckl-homepage h2 {
        font-size: 27px;
    }
}

@media (max-width: 480px) {

    .ckl-category-grid {
        grid-template-columns: 1fr;
    }

    .ckl-category-image {
        height: 220px;
    }

    .ckl-hero-buttons {
        flex-direction: column;
    }

    #ckl-homepage .ckl-button {
        text-align: center;
    }

}