.elementor-8300 .elementor-element.elementor-element-7dd437ba{--display:flex;}/* Start custom CSS *//* Konto sida – minimalistisk Dior känsla */

.woocommerce-account .woocommerce {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

/* Meny vänster */
.woocommerce-MyAccount-navigation {
    border-right: 1px solid #f2f2f2;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 14px;
}

.woocommerce-MyAccount-navigation ul li a {
    text-decoration: none;
    color: #111;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #000;
    opacity: 0.6;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    font-weight: 600;
    color: #000;
}

/* Content */
.woocommerce-MyAccount-content {
    padding-left: 60px;
    line-height: 1.8;
    max-width: 500px;
}

.woocommerce-MyAccount-content p {
    font-size: 15px;
    color: #555;
    max-width: 500px;
}

.woocommerce-MyAccount-content a {
    color: #111;
    text-decoration: underline;
}

.woocommerce-MyAccount-content a:hover {
    color: #888;
}

/* Buttons */
.woocommerce button,
.woocommerce a.button {
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 20px;
    letter-spacing: 1px;
    font-size: 12px;
}

.woocommerce button.button:hover {
    background: #333;
}

/* Inputs */
.woocommerce input,
.woocommerce input.input-text {
    border: 1px solid #ddd;
    padding: 12px;
}

/* Ta bort Woo färger */
.woocommerce a {
    color: #111 !important;
}

.woocommerce a:hover {
    color: #888 !important;
}

.woocommerce-info,
.woocommerce-error,
.woocommerce-message {
    color: #111;
    border-top: none;
}

/* Boxar */
.woocommerce form.login,
.woocommerce form.register {
    border: 1px solid #eee;
    padding: 30px;
    background: #fff;
}

/* ========================= */
/* ADRESSER (mitt konto) */
/* ========================= */

.woocommerce-Addresses {
    display: flex;
    gap: 80px;
}

.woocommerce-Address {
    width: 50%;
}

/* FIXAR rubrik overlap */
.woocommerce-Address-title {
    display: block;
}

.woocommerce-Address-title h3 {
    display: block;
    width: 100%;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.woocommerce-Address-title a {
    display: block;
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.woocommerce-Address p {
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* ========================= */
/* ORDER-SIDA (BESTÄLLNINGAR → VISA) */
/* ========================= */

.woocommerce-order-details + .woocommerce-customer-details {
    display: flex;
    gap: 80px;
}

.woocommerce-customer-details .woocommerce-column {
    width: 50%;
}

.woocommerce-customer-details h2 {
    display: block;
    width: 100%;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.woocommerce-customer-details address {
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

    .woocommerce-account .woocommerce {
        margin: 40px auto;
    }

    .woocommerce-MyAccount-navigation {
        border-right: none;
        margin-bottom: 30px;
    }

    .woocommerce-MyAccount-content {
        padding-left: 0;
    }

    .woocommerce-Addresses,
    .woocommerce-order-details + .woocommerce-customer-details {
        flex-direction: column;
        gap: 40px;
    }

    .woocommerce-Address,
    .woocommerce-customer-details .woocommerce-column {
        width: 100%;
    }
}

/* Dölj coupons */
.woocommerce-MyAccount-navigation-link--my-coupons {
    display: none !important;
}

/* ===== FIX KNAPP TEXT ===== */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    color: #fff !important;
    background: #111 !important;
}

/* hover */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    color: #fff !important;
    background: #111 !important;
}

.woocommerce a.button {
    letter-spacing: 1.5px;
    padding: 14px 26px;
}

/* ===== ORDER TABELL – DIOR STYLE ===== */
/* ===== ULTRA CLEAN DIOR ORDER TABLE ===== */

.woocommerce-orders-table {
    border: none !important;
    border-collapse: collapse;
    width: 100%;
}

/* Header */
.woocommerce-orders-table thead th {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 14px 8px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 400;
}

/* Rader */
.woocommerce-orders-table tbody td {
    border: none;
    border-bottom: 1px solid #f3f3f3;
    padding: 22px 8px;
    font-size: 14px;
    color: #111;
    vertical-align: middle;
}

/* Ta bort ALLA vertikala linjer */
.woocommerce-orders-table th,
.woocommerce-orders-table td {
    border-left: none !important;
    border-right: none !important;
}

/* Hover (super subtil) */
.woocommerce-orders-table tbody tr:hover {
    background: #fafafa;
}

/* Ordernummer */
.woocommerce-orders-table a {
    font-weight: 500;
    text-decoration: none;
}

/* Status */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    color: #777;
}

/* Total */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-total {
    font-weight: 500;
}

/* Knapp */
.woocommerce-orders-table .button {
    background: #111 !important;
    color: #fff !important;
    padding: 10px 18px;
    font-size: 11px;
    letter-spacing: 1.5px;
    border-radius: 2px;
}

/* Hover knapp */
.woocommerce-orders-table .button:hover {
    background: #000 !important;
}

/* Aligna sista kolumnen snyggt */
.woocommerce-orders-table td:last-child {
    text-align: right;
}

/* ===== FIXA OJÄMNA LINJER (FINAL) ===== */

.woocommerce-orders-table tbody tr {
    height: 80px;
}

.woocommerce-orders-table td {
    vertical-align: middle;
}

/* Valfri men rekommenderad (gör allt snyggare) */
.woocommerce-orders-table__cell-order-date {
    white-space: nowrap;
}

/* ===== LUFT UNDER RUBRIKER (ADRESSER + ORDER) ===== */

/* Adresser (mitt konto) */
.woocommerce-Address-title h3 {
    margin-bottom: 15px;
}

/* Order-sida (visa beställning) */
.woocommerce-customer-details h2 {
    margin-bottom: 15px;
}

/* Extra luft mellan rubrik och box */
.woocommerce-Address,
.woocommerce-customer-details .woocommerce-column {
    margin-top: 10px;
}

/* ===== FIX SPACING RUBRIKER (GARANTERAD) ===== */

/* Adresser (mitt konto + order-sida) */
.woocommerce-account h2,
.woocommerce-account h3 {
    margin-bottom: 20px !important;
}

/* Specifikt för order-sidan */
.woocommerce-customer-details h2 {
    margin-bottom: 20px !important;
}

/* Ge luft mellan rubrik och innehåll */
.woocommerce-customer-details address,
.woocommerce-Address address {
    margin-top: 10px;
}

body.elementor-page-8300 h2,
body.elementor-page-8300 h3 {
    margin-bottom: 20px !important;
}

/* ===== FORCE GAP UNDER RUBRIKER (FINAL FINAL) ===== */

/* Adresser sida */
.woocommerce-Addresses .woocommerce-Address {
    padding-top: 20px;
}

/* ORDER-SIDA (DETTA ÄR DIN BUG) */
.woocommerce-customer-details .woocommerce-column {
    padding-top: 25px !important;
}

/* Tvinga separation från rubrik */
.woocommerce-customer-details h2,
.woocommerce-Addresses h3 {
    margin-bottom: 0 !important;
    padding-bottom: 15px;
}


/* ===== DESKTOP FINJUSTERING (LUXURY SPACING) ===== */

@media (min-width: 769px) {

    /* Mer luft mellan kolumner */
    .woocommerce-Addresses,
    .woocommerce-order-details + .woocommerce-customer-details {
        gap: 120px;
    }

    /* Mer luft under rubriker */
    .woocommerce-customer-details .woocommerce-column,
    .woocommerce-Addresses .woocommerce-Address {
        padding-top: 35px;
    }

    /* Rubrik spacing */
    .woocommerce-customer-details h2,
    .woocommerce-Addresses h3 {
        padding-bottom: 20px;
    }
}   





/* ===== FIX OFFSET PÅ ORDER-SIDA ===== */

.woocommerce-order-details + .woocommerce-customer-details {
    display: flex;
    gap: 120px;
    align-items: flex-start;
}

/* Viktig fix – detta är problemet */
.woocommerce-customer-details .woocommerce-column {
    flex: 1;
    max-width: 100%;
}

/* Ta bort Woo padding som trycker in */
.woocommerce-customer-details {
    padding: 0 !important;
}

/* Säkerställ att inget barn trycker layouten */
.woocommerce-customer-details address {
    margin: 0;
}


/* ===== FIX OJÄMNA KOLUMNER (ORDER-SIDA) ===== */

.woocommerce-order-details + .woocommerce-customer-details {
    display: flex;
    gap: 120px;
}

/* Tvinga exakt lika breda kolumner */
.woocommerce-customer-details .woocommerce-column {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

/* Nollställ Woo konstiga offset */
.woocommerce-customer-details .col-1,
.woocommerce-customer-details .col-2 {
    margin: 0 !important;
    padding: 0 !important;
}


/* ===== CENTERA ORDER-SEKTIONEN ===== */

.woocommerce-customer-details {
    max-width: 800px;
    margin: 0 auto;
}

/* Säkerställ lika kolumner */
.woocommerce-customer-details .woocommerce-column {
    flex: 1;
    max-width: 100%;
}

/* Behåll spacing */
.woocommerce-order-details + .woocommerce-customer-details {
    display: flex;
    gap: 120px;
}


/* ===== FIX ALIGNMENT ORDER-SIDA ===== */

/* Tvinga order content att följa samma bredd som resten */
.woocommerce-account .woocommerce-MyAccount-content {
    max-width: 700px !important;
}

/* Centrera hela order-delen korrekt */
.woocommerce-order-details,
.woocommerce-customer-details {
    max-width: 700px;
    margin-left: 0;
}

/* FIX så kolumnerna inte driver */
.woocommerce-order-details + .woocommerce-customer-details {
    display: flex;
    gap: 80px;
}

/* lika kolumner */
.woocommerce-customer-details .woocommerce-column {
    flex: 1;
}


/* ===== TYPOGRAPHY UPGRADE ===== */

/* Rubriker – mer fashion känsla */
.woocommerce-account h2,
.woocommerce-account h3 {
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Smalare, mer elegant text */
.woocommerce-account {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ===== KNAPPAR – PREMIUM HOVER ===== */

.woocommerce a.button,
.woocommerce button.button {
    transition: all 0.25s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}


/* ===== LÄNKAR – LUXURY UNDERLINE ===== */

.woocommerce a {
    position: relative;
    text-decoration: none;
}

.woocommerce a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: #111;
    transition: width 0.3s ease;
}

.woocommerce a:hover::after {
    width: 100%;
}


/* ===== MER LUFT GLOBALT ===== */

.woocommerce-account .woocommerce {
    line-height: 1.9;
}


/* ===== TABELL – EXTRA CLEAN ===== */

.woocommerce-orders-table tbody tr {
    transition: background 0.2s ease;
}


/* ===== SUBTIL FADE IN ===== */

.woocommerce-MyAccount-content {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== STATUS – LUXURY STYLE ===== */

.woocommerce-orders-table__cell-order-status {
    font-size: 12px;
    letter-spacing: 1px;
    
    color: #999;
}

/* När färdig */
.woocommerce-orders-table__cell-order-status:contains("Färdigbehandlad") {
    color: #111;
}/* End custom CSS */