/* =========================================================
 *  HOME PAGE SPECIFIC STYLES
 *  ========================================================= */

/* --- 1. FEATURED SECTIONS --- */

.stefan-ds-featured-title {
    color: var(--ssc-struct-base) !important;
    font-size: 28px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.2;
}

.stefan-ds-featured-subtitle {
    margin-bottom: 15px;
}

/* --- 2. PRODUCT GRID (Home Page Context) --- */
.stefan-ds-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.stefan-ds-product-grid-item {
    background-color: var(--ssc-off-white) !important;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stefan-ds-product-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--ssc-action-base) !important;
}

.stefan-ds-product-grid-item a {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grid-item-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.grid-item-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.grid-item-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ssc-struct-base) !important;
    margin: 0 0 10px 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.stefan-ds-product-grid-item:hover .grid-item-title {
    color: var(--ssc-action-base) !important;
}

.stefan-ds-prices-wrap {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.stefan-ds-original-price {
    font-size: 14px;
    color: var(--ssc-text-body) !important;
    opacity: 0.6;
    text-decoration: line-through;
}

.stefan-ds-sale-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--ssc-high-base) !important;
}

/* --- 3. CUSTOM FAQ / ACCORDION --- */
/* Targeting custom classes: .faq-accordion, .faq-item */

.faq-accordion {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 3.1. FAQ Item Card */
.faq-item {
    background-color: var(--ssc-off-white) !important;
    border: 1px solid #e1e1e1;

    /* THE DETAIL: Left Border Color in "Light" Action color */
    border-left: 3px solid var(--ssc-action-light) !important;
    border-right: 3px solid var(--ssc-action-light) !important;

    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: 0.3s ease-in-out;
    overflow: hidden;
}

/* Hover State */
.faq-item:hover {
    border-color: var(--ssc-action-base) !important;
    /* We keep the left border logic but the whole border darkens slightly via action-base */
}

/* Active State (Open) */
.faq-item.active {
    border-color: var(--ssc-action-base) !important;
    border-left-color: var(--ssc-action-base) !important; /* Matches main brand when open */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* 3.2. Question Button */
.faq-question {
    background-color: transparent;
    color: var(--ssc-struct-base) !important; /* Dark Heading Color */
    cursor: pointer;
    padding: 20px 20px 20px 20px !important;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: color 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question {
    color: var(--ssc-action-base) !important; /* Brand color on hover/active */
}

/* 3.3. The Icon (+/-) */
.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--ssc-action-base) !important; /* Always Brand Color */
    transition: transform 0.3s ease-out;
    font-weight: 400;
}

.faq-question.active::after {
    content: '−'; /* Minus sign when open */
}

/* 3.4. Content Area */
.faq-answer {
    background-color: var(--ssc-off-white) !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--ssc-text-body) !important;
}

.faq-answer-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #f0f0f0;
    line-height: 1.6;
}

/* --- 4. TRUST ICONS (Benefits Section) --- */
#benefits_row .et_pb_code_inner {
margin-bottom: 15px;
}

/* Added Shadow to Row Columns */
#benefits_row .et_pb_column {
box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

#benefits_row svg {
fill: var(--ssc-action-base) !important;
transition: transform 0.3s ease, fill 0.3s ease;
}

#benefits_row h2 {
font-size: 18px;
font-weight: 700;
color: var(--ssc-struct-base) !important;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

#benefits_row p {
color: var(--ssc-text-body) !important;
max-width: 90%;
}
/* Mobile */
@media all and (max-width: 767px) {
    .stefan-ds-featured-title {
        margin-bottom: 0px;
    }
    #benefits_row svg {
        width: 60px!important;
    }
}
