.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5em;
    padding: 2em 0;
}

.product-category {
    background: #fff;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.product-category h3 {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #000000;
}

.product-category h3 .icon {
    width: 32px;
    height: 32px;
    margin-right: 0.75em;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
}

.product-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-category ul li {
    margin-bottom: 0.8em;
}

.product-category ul li a {
    color: #555;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-left: 20px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.product-category ul li a::before {
    content: '\f105';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.product-category ul li a:hover {
    color: var(--primary-color);
}

.product-category ul li a:hover::before {
    transform: translateX(4px);
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: none;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
    text-align: center;
}

.modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modalProductName {
    margin-top: 0;
    color: #333;
    font-size: 1.8em;
    margin-bottom: 20px;
}

#modalProductDescription {
    margin-top: 25px;
    color: #666;
    text-align: left;
    line-height: 1.7;
}

.image-slider {
    position: relative;
    width: 100%;
    background: #f0f0f0;
    border-radius: 5px;
    padding: 10px;
}

.slider-container {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    max-height: 70vh;
    padding-right: 10px;
}

.slider-container::-webkit-scrollbar {
    width: 8px;
}
.slider-container::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}
.slider-container::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 4px;
}
.slider-container::-webkit-scrollbar-thumb:hover {
    background: #777;
}
.slider-container {
    -ms-overflow-style: auto;
    scrollbar-width: thin;
    scrollbar-color: #999 #e0e0e0;
}

.slider-image {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

