/* 
 * Eye Products - Frontend Styles
 * Strict Prefix: .productlescuDFGHJ
 */

:root {
    --ep-brand-color: #d13a29;
    --ep-font-heading: 'Manrope', sans-serif;
    --ep-font-body: 'Inter', sans-serif;
    --ep-text-dark: #2d3748;
    --ep-text-gray: #718096;
    --ep-bg-light: #f7fafc;
    --ep-bg-card: #f3f4f6;
    --ep-border: #e2e8f0;
    --ep-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.productlescuDFGHJ-wrapper {
    font-family: var(--ep-font-body);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.productlescuDFGHJ-wrapper * {
    box-sizing: border-box;
}

/* --- TABS --- */
.productlescuDFGHJ-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--ep-bg-card);
    padding-bottom: 10px;
}

.productlescuDFGHJ-tab-btn {
    background: transparent;
    border: none;
    color: var(--ep-text-gray);
    font-family: var(--ep-font-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 5px;
    position: relative;
    transition: var(--ep-transition);
}

.productlescuDFGHJ-tab-btn:hover {
    color: var(--ep-text-dark);
}

.productlescuDFGHJ-tab-btn.active {
    color: var(--ep-brand-color);
}

/* Active Indicator */
.productlescuDFGHJ-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--ep-brand-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.productlescuDFGHJ-tab-btn.active::after {
    transform: scaleX(1);
}


/* --- GRID --- */
.productlescuDFGHJ-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* --- CARD DESIGN --- */
.productlescuDFGHJ-item {
    display: flex;
    flex-direction: column;
    /* For smooth slide down animation */
    animation: productlescuDFGHJ-fade-in 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes productlescuDFGHJ-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.productlescuDFGHJ-item-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
    height: 100%;
    transition: var(--ep-transition);
}

.productlescuDFGHJ-item-link:hover .productlescuDFGHJ-img-wrap {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.productlescuDFGHJ-item-link:hover .productlescuDFGHJ-title {
    color: var(--ep-brand-color);
}

.productlescuDFGHJ-img-wrap {
    background-color: #e5e5e5; /* Match screenshot 2 gray background */
    aspect-ratio: 4/5; /* Taller image block like screenshot 2 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    transition: var(--ep-transition);
}

.productlescuDFGHJ-img-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply; /* Helps blend white backgrounds into the gray box */
    transition: transform 0.4s ease;
}

.productlescuDFGHJ-item-link:hover .productlescuDFGHJ-img-wrap img {
    transform: scale(1.05);
}

.productlescuDFGHJ-content {
    text-align: left;
}

.productlescuDFGHJ-title {
    font-family: var(--ep-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--ep-text-dark);
    margin: 0 0 10px 0;
    line-height: 1.3;
    transition: color 0.3s;
}

/* Optional subtitle/excerpt if added later */
.productlescuDFGHJ-desc {
    font-family: var(--ep-font-body);
    font-size: 14px;
    color: var(--ep-text-gray);
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.productlescuDFGHJ-read-more {
    font-family: var(--ep-font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--ep-brand-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--ep-transition);
}

.productlescuDFGHJ-read-more svg {
    transition: transform 0.3s ease;
}

.productlescuDFGHJ-item-link:hover .productlescuDFGHJ-read-more svg {
    transform: translateX(4px);
}

.productlescuDFGHJ-item-link:hover .productlescuDFGHJ-read-more {
    color: #a72d1f;
}


/* --- ACTIONS (Buttons) --- */
.productlescuDFGHJ-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.productlescuDFGHJ-btn {
    font-family: var(--ep-font-heading);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
    transition: var(--ep-transition);
    text-align: center;
}

.productlescuDFGHJ-btn-primary {
    background-color: var(--ep-brand-color);
    color: #fff;
    border: 2px solid var(--ep-brand-color);
}

.productlescuDFGHJ-btn-primary:hover {
    background-color: #a72d1f; /* darker red/orange */
    border-color: #a72d1f;
    color: #fff;
}

.productlescuDFGHJ-btn-outline {
    background-color: transparent;
    color: var(--ep-brand-color);
    border: 2px solid var(--ep-brand-color);
}

.productlescuDFGHJ-btn-outline:hover {
    background-color: var(--ep-brand-color);
    color: #fff;
}


/* --- LOADER --- */
.productlescuDFGHJ-loader {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.productlescuDFGHJ-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(209, 58, 41, 0.2);
    border-top: 4px solid var(--ep-brand-color);
    border-radius: 50%;
    animation: productlescuDFGHJ-spin 1s linear infinite;
}

@keyframes productlescuDFGHJ-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* --- NO RESULTS --- */
.productlescuDFGHJ-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: var(--ep-text-gray);
    font-size: 18px;
    background: var(--ep-bg-card);
    border-radius: 8px;
}


/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .productlescuDFGHJ-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .productlescuDFGHJ-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .productlescuDFGHJ-tabs {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .productlescuDFGHJ-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .productlescuDFGHJ-actions {
        flex-direction: column;
        width: 100%;
    }
    .productlescuDFGHJ-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .productlescuDFGHJ-grid {
        grid-template-columns: 1fr;
    }
}
