/* Uppdaterat för produkt 136352 - komponentbaserad prissättning */
.klbyo-egetmotiv-page .klbyo-egetmotiv-usps {
    background-color: #f5f5f5;
    padding: 14px 0;
    margin: 0px;
    justify-content: center;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    list-style: none;
}

.klbyo-egetmotiv-page h1 {
    display:none !Important;
}

@media (max-width:992px) {
.klbyo-egetmotiv-page .klbyo-egetmotiv-usps {
    font-size: 12px;
    }
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-usps li {
    flex: 1;
    text-align: center;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: start;
    margin-bottom: -10px;
}

@media (max-width:992px){
.klbyo-egetmotiv-page .klbyo-egetmotiv-grid-wrapper {
    grid-template-columns: 1fr;
}
}

/* Primär preview-bild: default cover för bättre fyllnad */
.klbyo-egetmotiv-page .klbyo-egetmotiv-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    padding-bottom: 12px;
}

/* När användaren laddat upp en bild (eller en tidigare uppladdad finns) byts fit till contain */
.klbyo-egetmotiv-page .klbyo-egetmotiv-gallery img.klbyo-image-uploaded {
    object-fit: contain !important;
    background-color:#f9f9f975;
}

/* Om ni använder separata gallery-image1/2-element, säkerställ samma beteende */
.klbyo-egetmotiv-page .klbyo-egetmotiv-gallery-image1 img { object-fit: cover; }
.klbyo-egetmotiv-page .klbyo-egetmotiv-gallery-image1 img.klbyo-image-uploaded { object-fit: contain !important; }

.klbyo-egetmotiv-page .klbyo-egetmotiv-gallery-image2 img {
     object-fit: contain;
     width:100%;
     height:100%;
     }

.klbyo-egetmotiv-page .klbyo-egetmotiv-uploader {
    background: #f9f9f975;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
}


.klbyo-egetmotiv-page .klbyo-usps-below-button {
  display: flex;
  justify-content: space-evenly;
}
/* responsive overrides for mobile*/
@media (max-width: 820px) {
.klbyo-egetmotiv-page .klbyo-egetmotiv-uploader {
    padding: 10px;
    margin-top: -10px;
}
.klbyo-egetmotiv-page .klbyo-egetmotiv-uploader h2 {
    padding-top: 5px !important;
    font-size:36px;
}
.klbyo-egetmotiv-page .klbyo-usps-below-button, .klbyo-egetmotiv-page .klbyo-egetmotiv-usps {
        font-size: 10px;
    } 
}


.klbyo-egetmotiv-page .klbyo-egetmotiv-uploader h2 {
    font-size: 45px !important;;
    font-weight: bold !important;
    padding-top: 20px !important;
}

.klbyo-supported-files {
        font-size: 16px;
    margin-top: 10px;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-uploader button {
    padding: 12px 20px;
    background: black;
    color: white;
    border: none;
    margin-top: 12px;
}

.klbyo-egetmotiv-page .klbyo-component-options {
    padding: 10px;
}

/* Component option groups */
.klbyo-egetmotiv-page .klbyo-component-group {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #eee;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-options {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-options label {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    padding: 2px;
    border-radius: 2px;
    background: #ffffff;
    border: 2px solid transparent;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    margin: 4px;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-options label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.1);
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-options input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    left: -9999px;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-options img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-options label:has(input[type="radio"]:checked) {
    border-color: black;
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px;
}

/* Pris och add-to-cart */
.klbyo-egetmotiv-page .klbyo-egetmotiv-price {
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
    text-align: center;
    width: 100%;
    font-size: 28px;
    border-radius: 6px;
    padding: 12px 0;
    display: block !important;
}

.klbyo-egetmotiv-price .woocommerce-Price-amount,
.klbyo-egetmotiv-price .amount {
    display: inline !important;
    font-size: 28px !important;
    font-weight: 700;
    color: #222;
}

.klbyo-egetmotiv-page .single_add_to_cart_button {
    width: 100%;
    display: block;
    font-size: 22px;
    background: #222;
    color: #fff;
    border: none;
    padding: 16px 0;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.2s, opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.klbyo-egetmotiv-page .single_add_to_cart_button:hover:not(:disabled) {
    background: #27d564;
    color: #fff;
}

.klbyo-egetmotiv-page .single_add_to_cart_button.disabled,
.klbyo-egetmotiv-page .single_add_to_cart_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #888;
    color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
    .klbyo-egetmotiv-page .single_add_to_cart_button {
        font-size: 18px;
        padding: 12px 0;
    }
    .klbyo-egetmotiv-page .klbyo-egetmotiv-price {
        font-size: 20px;
        padding: 8px 0;
    }
}

/* Övriga element */
.klbyo-egetmotiv-page .klbyo-egetmotiv-short-description {
    margin-top: 14px;
    color: #333;
    line-height: 1.5;
    text-align:center;
    font-size:16px !important;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-gallery-image1 img {
    width:100%;
    object-fit:contain;
}
.klbyo-egetmotiv-page .klbyo-egetmotiv-gallery-image2 img {
    width:100%;
    object-fit:contain;
}

.klbyo-egetmotiv-page .description, .klbyo-egetmotiv-page .summary {
     padding:10px !important;
    font-size:18px !important;
}

.klbyo-content-wrapper {
    padding:0px 10px !important;
}

body.postid-136352 {
    background-color:#FAF9F7;
}

#primary #product-136352 {
    background-color:white !important;
}

/* Dölj WooCommerce standardelement */
.klbyo-egetmotiv-page .woocommerce-tabs,
.klbyo-egetmotiv-page .woocommerce-tabs .panel,
.klbyo-egetmotiv-page .wc-tabs-wrapper {
    display: none !important;
}

.klbyo-egetmotiv-page .variations_form,
.klbyo-egetmotiv-page .variations {
    display: none !important;
}

/* Säkerställ att vårt formulär visas */
.klbyo-egetmotiv-page form.cart {
    display: block !important;
}

.klbyo-egetmotiv-page p.price {
    display: none !important;
}

.klbyo-egetmotiv-page .klbyo-egetmotiv-price .price {
    display: inline !important;
}

.klbyo-egetmotiv-page .stock.in-stock {
    display:none;
}

.klbyo-egetmotiv-page.single-product div.product form.cart .quantity {
    display:none !important;
}

@media (min-width: 768px) {
    .storefront-full-width-content.single-product div.product .summary {
        width: 100% !important;
        float: right;
        margin-right: 0;
        margin-bottom: 3.706325903em;
    }
}

.klbyo-egetmotiv-page.single-product div.product p.price {
    font-size: 1.41575em;
    margin: 1.41575em 0;
    display: none;
}

.klbyo-egetmotiv-page .product_title.entry-title {
    display: none;
}

.klbyo-egetmotiv-page .short_description {
    font-size:16px;
}

/* Galleri: visa bild 1 på desktop, bild 2 på mobil */
.klbyo-egetmotiv-gallery-image1 { display: block; }
.klbyo-egetmotiv-gallery-image2 { display: none; }

/* Mobil: byt till mobilbild och gör den "tall" med cover så den fyller höjden bättre */
@media (max-width: 767px) {
    .klbyo-egetmotiv-gallery-image1 { display: none; }
    .klbyo-egetmotiv-gallery-image2 { display: block; }
   
}

.klbyo-contact-form .wpcf7 .cf7sr-g-recaptcha {
    display:inline-block;
}

.klbyo-contact-form .wpcf7 .wpcf7-submit {
     margin: auto;
    float: unset;
}