/* Product Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    border: none;
    padding: 0;
}

.modal-close:hover {
    background: #000000;
    color: #ffffff;
}

.modal-body {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }
}

.modal-image-container {
    flex: 1.2;
    background: #f9fafb;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

.modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.02);
}

.modal-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #000000;
    color: #ffffff;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
    color: #111827;
}

.modal-link {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-link a {
    color: #3b82f6;
    text-decoration: none;
}

.modal-link a:hover {
    text-decoration: underline;
}

.modal-price {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.modal-price small {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

.modal-description {
    margin-bottom: 32px;
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-actions {
    margin-top: auto;
    display: flex;
    gap: 16px;
}

.btn-modal-primary {
    flex: 1;
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-modal-primary:hover {
    background: #1f2937;
}

.btn-modal-secondary {
    background: #f3f4f6;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-modal-secondary:hover {
    background: #e5e7eb;
}

/* Info List */
.info-list {
    margin-bottom: 24px;
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #6b7280;
}

.info-value {
    color: #111827;
    font-weight: 500;
}

