
/*
Theme Name: N_ecommerce
Author: Nabeel Hassan
Description: Custom WordPress Theme for N_ecommerce
Version: 1.0
*/

/* ==========================================
   CSS VARIABLES (COLOR PALETTE & THEMING)
   WARM TAUPE & CREAM THEME
   ========================================== */

.tire-search-wrapper {
    /* Primary Colors */
    --bg-main: #F8F4F0;
    --card-bg: #FFFFFF;
    --card-hover-bg: #F1EBE5;
    --input-bg: #FFFFFF;

    /* Accent Colors */
    --accent-yellow: #85705F;
    --accent-yellow-hover: #705B4B;

    /* Text Colors */
    --text-heading: #302923;
    --text-body: #51463D;
    --text-muted: #85796F;
    --text-sub: #685B50;

    /* Border Colors */
    --border-color: rgba(80, 63, 48, 0.12);
    --border-focus: rgba(133, 112, 95, 0.35);
}


/* ==========================================
   FEATURE SECTION
   WARM TAUPE & CREAM THEME
   ========================================== */

.feature-section,
.feature-section * {
    box-sizing: border-box;
}

.feature-section {
    width: 100%;
    max-width: 1400px;
    padding: 9px 1.5rem;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #F1EBE5;
    overflow: hidden;
    min-height: 220px;
}

/* LEFT IMAGE */

.feature-image {
    width: 100%;
    min-height: 220px;
    overflow: hidden;
    background: #E8DED5;
}

.feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.feature-section:hover .feature-image img {
    transform: scale(1.025);
}

/* RIGHT CONTENT */

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 25px 7%;
    background: #F1EBE5;
}

/* START HERE LABEL */

.feature-label {
    display: inline-block;
    background: #606b47;
    color: #FFFFFF;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;
    padding: 4px 9px;
    margin-bottom: 9px;
}

/* HEADING */

.feature-content h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(23px, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.7px;
    color: #302923;
    margin: 0 0 9px;
}

/* DESCRIPTION */

.feature-content p {
    max-width: 430px;
    font-size: 11px;
    line-height: 1.6;
    font-weight: 400;
    color: #685B50;
    margin: 0 0 12px;
}

/* CTA LINK */

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 4px;
    color: #302923 !important;
    text-decoration: none !important;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    border-bottom: 1px solid #A58C76;
    transition: all 0.25s ease;
}

.feature-link span {
    font-size: 15px;
    transition: transform 0.25s ease;
}

.feature-link:hover {
    color: #606b47 !important;
    border-color: #606b47;
}

.feature-link:hover span {
    transform: translateX(5px);
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 900px) {

    .feature-section {
        min-height: 200px;
    }

    .feature-image,
    .feature-image img {
        min-height: 200px;
    }

    .feature-content {
        padding: 22px 6%;
    }

    .feature-content h2 {
        font-size: 25px;
    }

}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 600px) {

    .feature-section {
        grid-template-columns: 1fr;
        margin: 22px auto;
    }

    .feature-image {
        min-height: 190px;
        height: 190px;
    }

    .feature-image img {
        min-height: 190px;
        height: 190px;
    }

    .feature-content {
        padding: 25px 22px 28px;
    }

    .feature-content h2 {
        font-size: 29px;
    }

    .feature-content p {
        font-size: 12px;
    }

}
