/* Modal Enhancements & Tabs */

/* Tabs Navigation */
.modal-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 0;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:hover {
    color: var(--color-secondary);
}

.tab-btn.active {
    color: var(--color-secondary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Styling */
.modal-description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.modal-value-prop {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-left: 3px solid var(--color-accent);
    border-radius: 0 4px 4px 0;
}

.modal-value-prop blockquote {
    font-style: italic;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.modal-specs-list {
    list-style: none;
    padding: 0;
}

.modal-specs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    display: flex;
    align-items: center;
}

.modal-specs-list li::before {
    content: '•';
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

.ideal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ideal-tag {
    background-color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-secondary);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mt-auto {
    margin-top: auto;
}

/* Discount Banner */
.discount-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    color: #8a6d3b;
    font-size: 0.8rem;
    font-weight: 600;
}

.discount-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.discount-icon svg {
    width: 16px;
    height: 16px;
}