/**
 * Frontend styles för Smort Monterat & Klart
 */

/* Bilvalssystem i header */
.smk-car-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.smk-car-selector:hover {
    opacity: 0.8;
}

.smk-car-selector .smk-car-text {
    display: none;
}

.smk-car-icon {
    width: 20px;
    height: 20px;
    fill: #666;
}

.smk-car-selector.has-selection .smk-car-icon {
    fill: #ff5e00;
}

/* Status indikator container */
.smk-car-icon-container {
    position: relative;
    display: inline-block;
}

.smk-status-indicator {
    position: absolute;
    top: -8px !important;
    right: -8px !important;
    width: 14px !important;
    height: 14px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Röd markör när ingen bil är vald */
.smk-car-selector:not(.has-selection) .smk-status-indicator {
    background-color: #dc3545;
}

/* Grön bock när bil är vald */
.smk-car-selector.has-selection .smk-status-indicator {
    background-color: #22c55e;
}

.smk-check-icon {
    width: 8px;
    height: 8px;
    color: #fff;
    fill: currentColor;
}

/* Bilmodell väljare */
.smk-car-selection-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.smk-car-selection-modal.show {
    display: flex;
}

.smk-car-selection-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    border-radius: 0;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    justify-content: center;
    margin: 0 auto;
    z-index: 9999; /* så den hamnar ovanför annat innehåll */
}

.smk-car-selection-header {
    text-align: center;
    margin-bottom: 30px;
}

.smk-car-selection-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

.smk-car-selection-form {
    display: grid;
    gap: 20px;
}

.smk-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smk-form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}


.smk-form-group select {
    padding: 14px;
    border: 2px solid #e1e1e1;
    border-radius: 0;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    background: #fff;
    transition: border-color 0.3s ease;
}

.smk-form-group select:focus {
    outline: none;
    border-color: #ff5e00;
}

/* Monterat & Klart produktval */
.smk-installation-options {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 0;
}

.smk-installation-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.smk-installation-icon {
    width: 24px;
    height: 24px;
    background: #ff5e00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.smk-installation-title {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: #333;
}

.smk-installation-options.smk-compact .smk-installation-title {
    font-size: 1.5rem !important;
    margin-bottom: 5px;
    text-align: left;
}

.smk-installation-options.smk-compact .smk-select-car {
    color: white !important;
}

.smk-info-icon {
    margin-left: 10px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.smk-info-icon:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.smk-info-icon svg {
    display: block;
    color: white;
}

/* Info Modal */
.smk-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smk-info-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.smk-info-modal-content {
    background: white;
    border-radius: 0;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.smk-info-modal-header {
    background: #ff5e00;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.smk-info-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.smk-info-modal-close {
    background: none;
    border: none;
    color: white;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.smk-info-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.smk-info-modal-body {
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.smk-car-info {
    font-size: 14px;
    color: #666;
    margin-left: auto;
}

.smk-option-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.smk-option-box {
    border: 2px solid #e1e1e1;
    border-radius: 0;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.smk-option-box:hover {
    border-color: #ff5e00;
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.1);
}

.smk-option-box.selected {
    border-color: #ff5e00;
    background: #fff5f0;
}

.smk-option-box.installation-option {
    border-color: #ff5e00;
}

.smk-option-title {
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Stor styling för option box priser */
.smk-option-box .smk-option-price {
    font-size: 32px !important;
    display: flex;
    align-items: baseline;
}

.smk-option-box .smk-option-price .smk-tax-label {
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ff5e00;
    text-transform: uppercase;
    margin-left: 5px;
}

.smk-option-box .smk-option-price small {
    font-family: 'CustomHeadingFont', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ff5e00 !important;
    text-transform: uppercase !important;
    margin-left: 5px !important;
    display: inline !important;
    margin-top: 0 !important;
}

.smk-option-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.smk-workshop-button {
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 0;
    cursor: pointer;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.smk-workshop-button:hover {
    background: #555;
}

.smk-workshop-button.time-selected {
    background: #28a745 !important; /* Grön bakgrund när tid är vald */
}

.smk-workshop-button.time-selected:hover {
    background: #218838 !important; /* Mörkare grön vid hover */
}

/* Verkstads- och tidsval modal */
.smk-workshop-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.smk-workshop-content {
    background: #fff;
    padding: 30px;
    border-radius: 0;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.smk-workshop-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.smk-workshop-item {
    border: 2px solid #e1e1e1;
    border-radius: 0;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.smk-workshop-item:hover,
.smk-workshop-item.selected {
    border-color: #ff5e00;
    background: #fff5f0;
}

/* Verkstadskort - Adresskort styling */
.smk-workshop-info {
    margin-top: 20px;
    display: none;
}

.smk-workshop-info.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

.smk-workshop-card {
    background: #fff;
    border: 2px solid #ff6600;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.smk-workshop-card-header {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.smk-workshop-card-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.smk-workshop-card-body {
    padding: 24px;
    background: #fafafa;
}

.smk-workshop-contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.smk-contact-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ff6600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.smk-contact-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.smk-contact-icon {
    color: #ff6600;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smk-contact-details {
    flex: 1;
    min-width: 0;
}

.smk-contact-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.smk-contact-value {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    word-break: break-word;
}

.smk-contact-link {
    color: #ff6600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.smk-contact-link:hover {
    color: #e55a00;
    text-decoration: underline;
}

/* Responsiv design för verkstadskort */
@media (max-width: 768px) {
    .smk-workshop-card-header {
        padding: 16px;
    }

    .smk-workshop-card-title {
        font-size: 18px;
    }

    .smk-workshop-card-body {
        padding: 16px;
    }

    .smk-contact-row {
        padding: 12px;
        gap: 12px;
    }

    .smk-contact-value {
        font-size: 14px;
    }
}

.smk-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.smk-time-slot {
    padding: 12px;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

.smk-time-slot:hover,
.smk-time-slot.selected {
    border-color: #ff5e00;
    background: #ff5e00;
    color: #fff;
}

.smk-time-slot.unavailable {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Responsiv design */
@media (max-width: 768px) {
    .smk-option-boxes {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .smk-car-selection-content,
    .smk-workshop-content {
        padding: 15px;
        margin: 10px;
    }

    .smk-time-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    /* Förbättrad responsiv design för titlar och text */
    .smk-option-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
    }

    /* Extra specifik för installation-option titel */
    .smk-installation-options .smk-option-title,
    .smk-option-box.installation-option .smk-option-title {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }

    .smk-option-box .smk-option-price {
        font-size: 24px !important;
    }

    .smk-option-box .smk-option-price .smk-tax-label {
        font-size: 12px !important;
    }

    .smk-button {
        font-size: 16px !important;
        padding: 12px 20px !important;
    }

    .smk-workshop-button {
        font-size: 16px !important;
        padding: 12px 20px !important;
    }

    .smk-time-slot {
        font-size: 16px !important;
        padding: 10px !important;
    }

    /* Verkstadsmodal responsiv */
    .smk-workshop-modal .smk-workshop-content {
        padding: 15px !important;
        margin: 10px !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    .smk-workshop-modal h2 {
        font-size: 20px !important;
        margin-bottom: 15px;
    }

    .smk-workshop-modal h3 {
        font-size: 18px !important;
        margin-bottom: 12px;
    }
}

/* Extra responsiv design för små mobiler */
@media (max-width: 480px) {
    .smk-option-title {
        font-size: 14px !important;
        margin-bottom: 4px !important;
        line-height: 1.1 !important;
    }

    /* Extra aggressiv styling för installation-option på små mobiler */
    .smk-installation-options .smk-option-title,
    .smk-option-box.installation-option .smk-option-title {
        font-size: 12px !important;
        margin-bottom: 3px !important;
        line-height: 1.0 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .smk-option-box {
        padding: 15px !important;
    }

    .smk-option-box .smk-option-price {
        font-size: 20px !important;
    }

    .smk-option-box .smk-option-price .smk-tax-label {
        font-size: 10px !important;
    }

    .smk-button {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }

    .smk-workshop-button {
        font-size: 14px !important;
        padding: 10px 16px !important;
        width: 100%;
        text-align: center;
    }

    .smk-time-slot {
        font-size: 14px !important;
        padding: 8px !important;
    }

    /* Bilväljare responsiv */
    .smk-car-selector {
        font-size: 16px !important;
        padding: 8px !important;
    }

    .smk-car-selection-content {
        padding: 10px !important;
        margin: 5px !important;
    }

    .smk-car-selection-form h2 {
        font-size: 18px !important;
        margin-bottom: 15px;
    }

    .smk-car-selection-form select {
        font-size: 14px !important;
        padding: 8px !important;
    }

    /* Verkstadsmodal extra responsiv */
    .smk-workshop-modal .smk-workshop-content {
        padding: 10px !important;
        margin: 5px !important;
    }

    .smk-workshop-modal h2 {
        font-size: 18px !important;
        margin-bottom: 12px;
    }

    .smk-workshop-modal h3 {
        font-size: 16px !important;
        margin-bottom: 10px;
    }

    .smk-dropdown-selected {
        font-size: 14px !important;
        padding: 10px !important;
    }

    .smk-dropdown-option {
        font-size: 14px !important;
        padding: 10px !important;
    }

    .smk-workshop-info h4 {
        font-size: 16px !important;
    }

    .smk-workshop-info p {
        font-size: 13px !important;
    }
}

/* Utility klasser */
.smk-hidden {
    display: none !important;
}

.smk-loading {
    opacity: 0.6;
    pointer-events: none;
}

.smk-button {
    background: #ff5e00;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 0;
    cursor: pointer;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.smk-button:hover {
    background: #e55400;
}

.smk-button.secondary {
    background: #666;
}

.smk-button.secondary:hover {
    background: #555;
}

.smk-button.danger {
    background: #dc3545;
    color: #fff;
}

.smk-button.danger:hover {
    background: #c82333;
}

/* Preloader för bilvals-modal */
.smk-car-preloader {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

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

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

/* ===== CART & CHECKOUT STYLING ===== */

/* Förbättrad styling för installation metadata i cart - Slimmad och horisontell */
.woocommerce table.cart .cart_item .variation,
.woocommerce-cart table.cart .cart_item .variation,
.woocommerce-checkout .cart_item .variation,
.woocommerce-order .order_item .variation,
dl.variation {
    margin: 8px 0 0 0 !important;
    padding: 8px 12px !important;
    background: #f8f9fa !important;
    border-radius: 0 !important;
    border: 1px solid #e1e5e9 !important;
    border-left: 3px solid #ff5e00 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: auto !important;
}

.woocommerce table.cart .cart_item .variation dt,
.woocommerce-cart table.cart .cart_item .variation dt,
.woocommerce-checkout .cart_item .variation dt,
.woocommerce-order .order_item .variation dt,
dl.variation dt {
    display: inline-block !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 6px 0 0 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    min-width: auto !important;
    white-space: nowrap !important;
}

.woocommerce table.cart .cart_item .variation dd,
.woocommerce-cart table.cart .cart_item .variation dd,
.woocommerce-checkout .cart_item .variation dd,
.woocommerce-order .order_item .variation dd,
dl.variation dd {
    display: inline-block !important;
    margin: 0 16px 0 0 !important;
    font-size: 13px !important;
    color: #333 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.woocommerce table.cart .cart_item .variation dd:last-child,
.woocommerce-cart table.cart .cart_item .variation dd:last-child,
.woocommerce-checkout .cart_item .variation dd:last-child,
.woocommerce-order .order_item .variation dd:last-child,
dl.variation dd:last-child {
    margin-right: 0 !important;
}

.woocommerce table.cart .cart_item .variation dd p,
.woocommerce-cart table.cart .cart_item .variation dd p,
.woocommerce-checkout .cart_item .variation dd p,
.woocommerce-order .order_item .variation dd p,
dl.variation dd p {
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
}

/* Specifik styling för olika metadata-typer - Enhetlig svart text */
dl.variation .variation-Verkstad,
.variation-Verkstad dd,
.variation-Verkstad dd p,
dl.variation .variation-Bokadtid,
.variation-Bokadtid dd,
.variation-Bokadtid dd p,
dl.variation .variation-Bil,
.variation-Bil dd,
.variation-Bil dd p {
    color: #333 !important;
    font-weight: 600 !important;
}

/* Lägg till separatorer mellan metadata-element */
dl.variation dt:not(:first-child)::before {
    content: "•";
    color: #ccc;
    margin: 0 8px 0 4px;
    font-weight: normal;
}

/* Responsiv layout för metadata */
@media (max-width: 768px) {
    .woocommerce-cart .cart_item .variation dt,
    .woocommerce-checkout .cart_item .variation dt,
    .woocommerce-order .order_item .variation dt {
        display: block;
        margin-bottom: 4px;
        min-width: auto;
    }

    .woocommerce-cart .cart_item .variation dd,
    .woocommerce-checkout .cart_item .variation dd,
    .woocommerce-order .order_item .variation dd {
        display: block;
        margin-bottom: 12px;
        padding-left: 0;
    }
}

/* Förbättrad styling för produktnamn med installation */
.woocommerce-cart .cart_item .product-name,
.woocommerce-checkout .cart_item .product-name {
    font-weight: 600;
}

/* Highlight för installation produkter */
.cart_item[data-product-name*="MONTERAT"] .product-name,
.cart_item .product-name:contains("MONTERAT") {
    color: #ff5e00;
    font-weight: 700;
}

/* Styling för order confirmation */
.woocommerce-order-details .order_item .variation {
    background: #f0f8ff;
    border-left-color: #0073aa;
}

/* Förbättrad spacing i cart table */
.woocommerce-cart-form .cart_item td {
    vertical-align: top;
    padding: 16px 12px;
}

.woocommerce-cart-form .cart_item .product-name {
    margin-bottom: 8px;
}

/* Bokade dagar i kalender */
.smk-calendar-day.booked {
    background: #ffebee !important;
    color: #c62828 !important;
    cursor: not-allowed;
    border: 2px solid #ef5350;
}

.smk-calendar-day-booked {
    font-size: 10px;
    font-weight: bold;
    color: #c62828;
    margin-top: 2px;
}

/* Time badges (pluppar) */
.smk-calendar-day-badges {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 4px;
    flex-wrap: wrap;
}

.smk-time-badge {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.smk-time-badge.available {
    background-color: #4caf50;
    box-shadow: 0 0 3px rgba(76, 175, 80, 0.5);
}

.smk-time-badge.booked {
    background-color: #f44336;
    box-shadow: 0 0 3px rgba(244, 67, 54, 0.5);
}

/* Kalender preloader */
.smk-calendar-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.smk-calendar-loading .smk-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff5e00;
    border-radius: 50%;
    animation: smk-spin 1s linear infinite;
    margin: 0 auto 15px;
}

.smk-calendar-loading p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Skydda SMK-priser från andra plugins */
.smk-option-box[data-option="installation"] .smk-price-text[data-smk-protected="true"] {
    position: relative !important;
    z-index: 9999 !important;
    font-family: 'CustomHeadingFont', sans-serif !important;
    font-size: 32px !important;
    font-weight: bold !important;
    color: #ff5e00 !important;
    pointer-events: none !important; /* Förhindra andra scripts från att klicka/ändra */
    user-select: none !important; /* Förhindra textval */
}

/* Extra skydd för priselementet */
#smk-installation-price .smk-price-text[data-smk-protected="true"] {
    position: relative !important;
    z-index: 9999 !important;
    font-family: 'CustomHeadingFont', sans-serif !important;
    font-size: 32px !important;
    font-weight: bold !important;
    color: #ff5e00 !important;
    pointer-events: none !important;
    user-select: none !important;
}

/* Markera skyddade priser visuellt */
.smk-price-text[data-smk-protected="true"]::before {
    content: "";
    font-size: 12px;
    opacity: 0.7;
}

/* Förhindra andra plugins från att dölja SMK-priser */
.smk-option-box[data-option="installation"] {
    isolation: isolate !important;
}

.smk-option-box[data-option="installation"] .smk-option-price {
    isolation: isolate !important;
}

/* Startsidans bilväljare */
.smk-homepage-car-selector {
    background: #000;
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.smk-homepage-header {
    margin-bottom: 40px;
}

.smk-homepage-subtitle {
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ff5e00;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.smk-homepage-title {
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
}

.smk-homepage-form {
    max-width: 1000px;
    margin: 0 auto;
}

.smk-homepage-selectors {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.smk-homepage-select-group {
    position: relative;
}

.smk-homepage-select {
    appearance: none;
    background: white;
    border: 2px solid #e1e1e1;
    border-radius: 0;
    padding: 15px 50px 15px 20px;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.smk-homepage-select:focus {
    outline: none;
    border-color: #ff5e00;
    box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.1);
}

.smk-homepage-select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.smk-homepage-select-group::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #ff5e00;
    pointer-events: none;
}

.smk-homepage-button {
    background: #ff5e00;
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
}

.smk-homepage-button:hover:not(:disabled) {
    background: #e55400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 0, 0.3);
}

.smk-homepage-button:disabled {
    background: #ff5e00;
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.smk-homepage-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.smk-homepage-button:hover:not(:disabled) .smk-homepage-arrow {
    transform: translateX(3px);
}

.smk-homepage-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.smk-homepage-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'CustomHeadingFont', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
}

.smk-homepage-check {
    width: 16px;
    height: 16px;
    color: #ff5e00;
    flex-shrink: 0;
}

/* Responsiv design */
@media (max-width: 768px) {
    .smk-homepage-car-selector {
        padding: 30px 15px;
    }

    .smk-homepage-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .smk-homepage-subtitle {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .smk-homepage-selectors {
        flex-direction: column;
        gap: 12px;
    }

    .smk-homepage-select {
        min-width: 200px;
        font-size: 14px;
        padding: 10px;
    }

    .smk-homepage-button {
        font-size: 14px;
        padding: 12px 20px;
    }

    .smk-homepage-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .smk-homepage-feature {
        font-size: 12px;
    }
}

/* Extra responsiv för startsidan på små mobiler */
@media (max-width: 480px) {
    .smk-homepage-car-selector {
        padding: 20px 10px;
    }

    .smk-homepage-title {
        font-size: 20px;
        line-height: 1.2;
    }

    .smk-homepage-subtitle {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .smk-homepage-selectors {
        gap: 10px;
    }

    .smk-homepage-select {
        min-width: 180px;
        font-size: 13px;
        padding: 8px;
    }

    .smk-homepage-button {
        font-size: 13px;
        padding: 10px 16px;
    }

    .smk-homepage-feature {
        font-size: 11px;
    }
}
