/* Monterat & Klart Produktarkiv */

.smkn-product-archive {
    width: 100%;
    background: linear-gradient(to bottom, #f9f9f9 0%, #f9f9f9 20%, #fff 20%, #fff 100%);
    padding: 40px 0;
}

.smkn-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bilväljare sektion */
.smkn-archive-car-selector {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.smkn-selected-car-display {
    display: flex;
    align-items: center;
    gap: 20px;
}

.smkn-car-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.smkn-car-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.smkn-car-info {
    flex: 1;
}

.smkn-car-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.smkn-car-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.smkn-change-car-btn {
    background: #ff5e00;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.smkn-change-car-btn:hover {
    background: #e55400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3);
}

.smkn-no-car-selected {
    text-align: center;
    padding: 20px;
}

.smkn-no-car-text h3 {
    font-size: 20px;
    margin: 15px 0 8px;
    color: #333;
}

.smkn-no-car-text p {
    color: #666;
    margin-bottom: 20px;
}

.smkn-select-car-btn {
    background: #ff5e00;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.smkn-select-car-btn:hover {
    background: #e55400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3);
}

/* Guide sektion */
.smkn-guide-section {
    margin-bottom: 60px;
}

.smkn-guide-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.smkn-guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.smkn-guide-step {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.smkn-guide-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.smkn-step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff5e00 0%, #e55400 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.smkn-step-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.smkn-step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Produkter sektion */
.smkn-products-section {
    margin-top: 60px;
}

.smkn-products-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
}

.smkn-unavailable-title {
    color: #666;
}

.smkn-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.smkn-product-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.smkn-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.smkn-product-unavailable {
    opacity: 0.7;
}

.smkn-product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.smkn-product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #000;
}

.smkn-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.smkn-product-info {
    padding: 20px;
    background: white;
}

.smkn-product-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
    line-height: 1.4;
    text-transform: uppercase;
    min-height: 40px;
}

.smkn-stock-badge {
    display: inline-block;
    font-size: 11px;
    color: #4caf50;
    margin-bottom: 8px;
}

.smkn-stock-badge::before {
    content: '● ';
}

.smkn-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}

.smkn-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.smkn-badge-available {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.smkn-badge-unavailable {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.smkn-product-button {
    width: 100%;
    background: #ff5e00;
    color: white;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.smkn-product-button:hover {
    background: #e55400;
}

.smkn-product-unavailable .smkn-product-button {
    background: #ccc;
    cursor: not-allowed;
}

.smkn-loading {
    text-align: center;
    padding: 60px 20px;
}

.smkn-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff5e00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.smkn-no-products,
.smkn-error {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

.smkn-error {
    color: #d32f2f;
}

/* Modal */
.smkn-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.smkn-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.smkn-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.smkn-modal-close:hover {
    color: #333;
}

.smkn-modal-content h2 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

.smkn-modal-selectors {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.smkn-modal-select {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.smkn-modal-select:focus {
    outline: none;
    border-color: #ff5e00;
}

.smkn-modal-save-btn {
    width: 100%;
    background: #ff5e00;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.smkn-modal-save-btn:hover:not(:disabled) {
    background: #e55400;
}

.smkn-modal-save-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsiv design */
@media (max-width: 1200px) {
    .smkn-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .smkn-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .smkn-guide-steps {
        grid-template-columns: 1fr;
    }

    .smkn-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .smkn-selected-car-display {
        flex-direction: column;
        text-align: center;
    }

    .smkn-car-name {
        font-size: 20px;
    }
}

