.elementor-13409 .elementor-element.elementor-element-9f0f781{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:center;--gap:10px 20px;--row-gap:10px;--column-gap:20px;--flex-wrap:wrap;--margin-top:-40px;--margin-bottom:40px;--margin-left:0px;--margin-right:0px;--padding-top:10px;--padding-bottom:10px;--padding-left:15px;--padding-right:15px;}.elementor-13409 .elementor-element.elementor-element-9f0f781:not(.elementor-motion-effects-element-type-background), .elementor-13409 .elementor-element.elementor-element-9f0f781 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F6EDE4;}.elementor-13409 .elementor-element.elementor-element-e865850 .title{font-size:26px;}.elementor-13409 .elementor-element.elementor-element-c845d71{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-13409 .elementor-element.elementor-element-e5a9d41{--wd-cat-img-width:100px;--wd-cat-brd-radius:50px;}.elementor-13409 .elementor-element.elementor-element-e5a9d41 > .elementor-widget-container{margin:0px 0px 20px 0px;}.elementor-13409 .elementor-element.elementor-element-e5a9d41 div.product-category .wd-entities-title, .elementor-13409 .elementor-element.elementor-element-e5a9d41 .wd-nav-product-cat>li>a{font-size:14px;text-transform:capitalize;}.elementor-13409 .elementor-element.elementor-element-25dd0c8{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:30px 30px;--row-gap:30px;--column-gap:30px;--margin-top:0px;--margin-bottom:80px;--margin-left:0px;--margin-right:0px;}.elementor-13409 .elementor-element.elementor-element-4f93ca1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-13409 .elementor-element.elementor-element-9ca6772{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--flex-wrap:wrap;}.elementor-13409 .elementor-element.elementor-element-68e8017 > .elementor-widget-container{margin:0px auto 0px 0px;}.elementor-13409 .elementor-element.elementor-element-68e8017.elementor-element{--flex-grow:1;--flex-shrink:0;}.elementor-13409 .elementor-element.elementor-element-01716ad{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--border-radius:25px 25px 25px 25px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--wd-sticky-offset:150px;}.elementor-13409 .elementor-element.elementor-element-01716ad:not(.elementor-motion-effects-element-type-background), .elementor-13409 .elementor-element.elementor-element-01716ad > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-13409 .elementor-element.elementor-element-e804e62{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-13409 .elementor-element.elementor-element-e804e62.wd-collapsible-content.e-con{max-height:210px;}.elementor-13409 .elementor-element.elementor-element-e804e62.wd-collapsible-content.e-con:not(.wd-opened):after{color:#F6F5F8;}@media(min-width:769px){.elementor-13409 .elementor-element.elementor-element-4f93ca1{--width:75%;}.elementor-13409 .elementor-element.elementor-element-01716ad{--width:25%;}}@media(max-width:991px){.elementor-13409 .elementor-element.elementor-element-25dd0c8{--margin-top:0px;--margin-bottom:60px;--margin-left:0px;--margin-right:0px;}.elementor-13409 .elementor-element.elementor-element-01716ad{--border-radius:0px 0px 0px 0px;}}@media(max-width:768px){.elementor-13409 .elementor-element.elementor-element-25dd0c8{--margin-top:0px;--margin-bottom:40px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for container, class: .elementor-element-25dd0c8 *//* --- START: SuperViral Custom Product Grid (Mobil Fix + Final) --- */

/* 1. SKJUL ALT OVERFLØDIGT */
.wd-product .cfvsw-shop-variations,
.wd-product .cfvsw-swatches-container,
.wd-product .cfvsw-hidden-select,
.wd-product .wd-action-buttons,
.wd-product .star-rating,
.wd-product .wd-compare-btn,
.wd-product .quick-view,
.wd-product .yith-wcwl-add-to-wishlist,
.wd-product .wrap-price .woocommerce-Price-currencySymbol { 
   /* Skjuler elementer */
}

.wd-product .cfvsw-shop-variations,
.wd-product .cfvsw-swatches-container,
.wd-product .wd-action-buttons {
    display: none !important;
}

/* 2. KORT DESIGN */
.wd-product .product-wrapper {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.wd-product:hover .product-wrapper {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #d1d1d1;
    transform: translateY(-3px);
}

.wd-product .product-element-top img {
    border-radius: 0;
    width: 100%;
}

/* 3. TEKST OMRÅDE */
.wd-product .product-element-bottom {
    text-align: left; 
    padding: 15px 15px 20px 15px;
}

/* Titel styling - Desktop */
.wd-product .wd-entities-title {
    margin-bottom: 5px;
    line-height: 1.4em;
    height: auto !important; /* Vigtigt: Tillader boksen at vokse */
    max-height: none !important;
}

.wd-product .wd-entities-title a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    white-space: normal !important; /* Vigtigt: Tillader linjeskift */
    display: block;
    overflow: visible !important;
    text-overflow: clip !important; /* Fjerner "..." */
}

/* Kategori styling */
.wd-product .wd-product-cats a {
    font-size: 13px;
    color: #999;
}

/* Pris Styling */
.wd-product .price {
    display: block;
    margin-top: 5px;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #3b55e6 !important; 
}

/* 4. "SE TJENESTE" KNAP DESIGN */
.wd-product .wd-add-btn {
    width: 100%;
}

.wd-product .button.add_to_cart_button,
.wd-product a.add_to_cart_button.cfvsw_ajax_add_to_cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 46px !important;
    border-radius: 28px !important;
    margin: 10px 0 0 0 !important;
    background-color: #2f54eb !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: none !important;
    border: none !important;
    position: relative !important;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Skjul original tekst */
.wd-product .button.add_to_cart_button span,
.wd-product a.add_to_cart_button.cfvsw_ajax_add_to_cart span {
    font-size: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Indsæt ny tekst "Se tjeneste" */
.wd-product .button.add_to_cart_button span::before,
.wd-product a.add_to_cart_button.cfvsw_ajax_add_to_cart span::before {
    content: "Se tjeneste";
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #fff !important;
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wd-product .button.add_to_cart_button:hover,
.wd-product a.add_to_cart_button.cfvsw_ajax_add_to_cart:hover {
    background-color: #1d3fde !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    color: #fff !important;
}

/* 5. MOBIL SPECIFIKKE RETTELSER */
@media (max-width: 768px) {
    /* Mindre font på titler på mobil */
    .wd-product .wd-entities-title a {
        font-size: 13px !important; /* Gør skriften mindre */
        line-height: 1.3 !important;
        white-space: normal !important; /* Sikrer linjeskift */
        word-wrap: break-word !important; /* Knækker lange ord hvis nødvendigt */
    }
    
    /* Sikrer at titlen ikke bliver klippet */
    .wd-product .wd-entities-title {
        height: auto !important;
        min-height: 34px; /* Sikrer ensartethed */
    }

    /* Juster padding indeni kortet på mobil */
    .wd-product .product-element-bottom {
        padding: 10px 10px 15px 10px !important;
    }
    
    /* Gør knappen lidt lavere på mobil */
    .wd-product .button.add_to_cart_button,
    .wd-product a.add_to_cart_button.cfvsw_ajax_add_to_cart {
        height: 40px !important;
        font-size: 14px !important;
    }
    
    /* Juster teksten i knappen på mobil */
    .wd-product .button.add_to_cart_button span::before,
    .wd-product a.add_to_cart_button.cfvsw_ajax_add_to_cart span::before {
        font-size: 13px !important;
    }
}

/* --- SLUT: SuperViral Custom Product Grid --- *//* End custom CSS */