.color-options {
    display: flex;
    gap: 8px;
    margin: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.color-option.selected {
    border-color: #007bff;
    transform: scale(1.1);
}

.color-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Hover effect */
.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Active effect */
.color-option:active {
    transform: scale(0.95);
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-navigation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    pointer-events: none;
}

.nav-arrow {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: background-color 0.3s;
    pointer-events: auto;
    z-index: 2;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.zoom-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 10px;
}

.zoom-button {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.zoom-button:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* Modal navigation arrows */
.modal-navigation {
    position: fixed;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    transform: translateY(-50%);
    z-index: 1001;
    pointer-events: none;
}

.modal-nav-arrow {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.2s;
    pointer-events: auto;
}

.modal-nav-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.modal-nav-arrow:active {
    transform: scale(0.95);
}

/* Media Queries */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

/* Feedback Section */
.feedback-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.feedback-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-form {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feedback-display {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feedback-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.feedback-item {
    padding: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    animation: fadeIn 0.5s ease-in;
}

.feedback-item:last-child {
    border-bottom: none;
}

.feedback-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.feedback-comment {
    color: #666;
    line-height: 1.5;
}

.feedback-date {
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-feedback {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-feedback:hover {
    background-color: #45a049;
}

.submit-feedback:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar Styles */
.feedback-list::-webkit-scrollbar {
    width: 6px;
}

.feedback-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.feedback-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.feedback-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .feedback-container {
        flex-direction: column;
    }
    
    .feedback-form,
    .feedback-display {
        width: 100%;
    }
}
