﻿
/*<=========EYE WHERE========>*/

.eyewear-section {
    max-width: 1100px;
    margin: auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    .eyewear-section h2 {
        text-align: center;
        color: #004d66;
        margin-bottom: 10px;
    }

    .eyewear-section p {
        text-align: center;
        font-size: 18px;
        margin-bottom: 30px;
        color: #333;
    }

.eyewear-table {
    width: 80%;
    border-collapse: collapse;
    overflow-x: auto;
    margin-left: auto;
    margin-right: auto;
}

    .eyewear-table th, .eyewear-table td {
        padding: 14px;
        text-align: left;
        border: 1px solid #c9a9a9;
        vertical-align: middle;
        background-color: whitesmoke;
    }

    .eyewear-table th {
        background-color: #66c7ed;
        color: #fff;
    }

.icon-cell img {
    width: 40px;
    height: auto;
    display: block;
    margin: auto;
}

/* Responsive Table Styling */
@media screen and (max-width: 768px) {
    .eyewear-table, .eyewear-table thead, .eyewear-table tbody, .eyewear-table th, .eyewear-table td, .eyewear-table tr {
        display: block;
    }

        .eyewear-table thead {
            display: none;
        }

        .eyewear-table tr {
            margin-bottom: 20px;
            background: #fff;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            border-radius: 8px;
            overflow: hidden;
            padding: 10px;
        }

        .eyewear-table td {
            border: none;
            padding: 10px 10px 10px 50%;
            position: relative;
            text-align: left;
        }

            .eyewear-table td::before {
                position: absolute;
                top: 10px;
                left: 10px;
                width: 45%;
                white-space: nowrap;
                font-weight: bold;
                color: #333;
            }

            .eyewear-table td:nth-of-type(1)::before {
                content: "Icon";
            }

            .eyewear-table td:nth-of-type(2)::before {
                content: "Type";
            }

            .eyewear-table td:nth-of-type(3)::before {
                content: "Description";
            }

            .eyewear-table td:nth-of-type(4)::before {
                content: "Price";
            }

    .icon-cell {
        text-align: center;
        padding-left: 0 !important;
    }

        .icon-cell img {
            width: 40px;
            margin: auto;
        }
}

