/* Variant A: blok boven de configurator. Zelfde kaartstijl als de keuzekaarten van de configurator. */
.otw-shopping-preset {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    margin: 16px auto;
    padding: 24px 28px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(165, 174, 157, .153);
    color: #304520;
    font-family: "Loos Normal", sans-serif;
}
.otw-shopping-preset.is-inline {
    max-width: none;
    margin: 0 0 24px;
}
.otw-shopping-preset__main {
    flex: 1 1 auto;
    min-width: 0;
}
.otw-shopping-preset__badge {
    display: inline-block;
    padding: 2px 5px;
    border-radius: 4px;
    background: #738c5f;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}
.otw-shopping-preset__title {
    margin: 10px 0 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    color: #000;
}
.otw-shopping-preset__text {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}
.otw-shopping-preset__text--changed,
.otw-shopping-preset.is-changed .otw-shopping-preset__text--default {
    display: none;
}
.otw-shopping-preset.is-changed .otw-shopping-preset__text--changed {
    display: block;
}
.otw-shopping-preset__price {
    flex: 0 0 auto;
    text-align: right;
    font-family: Overpass, sans-serif;
}
.otw-shopping-preset__amount {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #304520;
}
.otw-shopping-preset__vat {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #738c5f;
}
.otw-shopping-preset.is-changed .otw-shopping-preset__price {
    opacity: .4;
}
.otw-shopping-preset.is-changed .otw-shopping-preset__amount {
    text-decoration: line-through;
}
.otw-shopping-preset__details {
    margin-top: 12px;
}
.otw-shopping-preset__details summary {
    cursor: pointer;
    color: #738c5f;
    font-weight: 600;
}
/* Zelfde tekststijl als .otw-shopping-preset__text */
.otw-shopping-preset__details ul {
    margin: 10px 0 0 18px;
    padding: 0;
}
.otw-shopping-preset__details li {
    font-family: "Loos Normal", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #304520;
}
.otw-shopping-preset__admin {
    margin: 10px 0 0;
    padding: 8px 10px;
    background: #fff3cd;
    border-radius: 4px;
    font-size: 14px;
}
@media (max-width: 767px) {
    .otw-shopping-preset {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin: 12px 16px;
        padding: 18px;
    }
    .otw-shopping-preset__price {
        text-align: left;
    }
    .otw-shopping-preset__amount {
        font-size: 18px;
    }
    .otw-shopping-preset__title {
        font-size: 16px;
    }
}

.otw-shopping-save {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 99999;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    background: #1d2327;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.otw-shopping-save:disabled {
    opacity: .6;
}

/* Variant B: los product. Zelfde kleuren, letters en knoppen als de configurator en de rest van de site. */
body.otw-preset-product div.product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 160px 24px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 56px;
    row-gap: 48px;
    align-items: start;
    color: #304520;
    font-family: "Loos Normal", sans-serif;
}
body.otw-preset-product div.product .woocommerce-product-gallery,
body.otw-preset-product div.product .summary.entry-summary {
    display: block !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    opacity: 1 !important;
}
body.otw-preset-product div.product .woocommerce-product-gallery {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(165, 174, 157, .153);
    overflow: hidden;
}
body.otw-preset-product div.product .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    display: block;
}
body.otw-preset-product .woocommerce-product-gallery__trigger {
    display: none !important;
}
body.otw-preset-product div.product .product_title {
    margin: 0 0 16px;
    font-family: "Loos Normal", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    color: #000;
}
body.otw-preset-product div.product p.price,
body.otw-preset-product div.product p.price .amount,
body.otw-preset-product div.product p.price bdi {
    margin: 0;
    font-family: Overpass, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #304520 !important;
}
body.otw-preset-product .otw-shopping-product__vat {
    margin: 2px 0 24px;
    font-size: 14px;
    color: #738c5f;
}
body.otw-preset-product div.product form.cart {
    margin: 0 0 20px;
}
body.otw-preset-product div.product form.cart .quantity {
    display: none !important;
}
body.otw-preset-product div.product form.cart .single_add_to_cart_button {
    display: inline-block !important;
    float: none;
    margin: 0;
    padding: 18px 28px;
    border: 0;
    border-radius: 5px;
    background: #738c5f;
    color: #fff;
    font-family: "Loos compressed", "Loos Normal", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .2s;
}
body.otw-preset-product div.product form.cart .single_add_to_cart_button:hover {
    background: #304520;
}
/* Offerteknop (YITH) en overige WooCommerce-onderdelen niet op deze pagina */
body.otw-preset-product .yith-ywraq-add-to-quote,
body.otw-preset-product div.product .additional-options-button,
body.otw-preset-product div.product .woocommerce-tabs,
body.otw-preset-product div.product .product_meta,
body.otw-preset-product div.product section.related {
    display: none !important;
}

/* Link naar de configurator, met het pijlrondje uit het overzicht van de configurator */
.otw-shopping-product__configure {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #304520;
    font-family: "Loos Normal", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.otw-shopping-product__configure::after {
    content: "";
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #738c5f url(../../trap-configurator/public/assets/images/right-arrow.png) center / 12px no-repeat;
    transition: transform .2s;
}
.otw-shopping-product__configure:hover {
    color: #738c5f;
}
.otw-shopping-product__configure:hover::after {
    transform: translateX(3px);
}
.otw-shopping-product__usps {
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #d2d9cb;
    list-style: none;
}
.otw-shopping-product__usps li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 26px;
    font-size: 16px;
    line-height: 24px;
}
.otw-shopping-product__usps li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 12px;
    height: 7px;
    border-left: 2px solid #738c5f;
    border-bottom: 2px solid #738c5f;
    transform: rotate(-45deg);
}

/* Onder de foto en prijs: uitleg + specificaties over de volle breedte */
.otw-shopping-details {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    padding: 40px;
    background: #eef2ec;
    border-radius: 15px;
}
.otw-shopping-details__heading {
    margin: 0 0 16px;
    font-family: "Loos Normal", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}
.otw-shopping-details__intro p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 24px;
}
.otw-shopping-details__table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    font-size: 15px;
    line-height: 22px;
}
.otw-shopping-details__table th,
.otw-shopping-details__table td {
    padding: 10px 16px;
    border: 0;
    border-bottom: 1px solid #eef2ec;
    text-align: left;
    vertical-align: top;
    background: transparent;
}
.otw-shopping-details__table tr:last-child th,
.otw-shopping-details__table tr:last-child td {
    border-bottom: 0;
}
/* Thema zet zebrastrepen en kleuren op tabellen; hier overal gelijk */
.otw-shopping-details__table tr,
.otw-shopping-details__table tr:nth-child(odd),
.otw-shopping-details__table tr:nth-child(even),
.otw-shopping-details__table tr > th,
.otw-shopping-details__table tr > td {
    background: #fff !important;
}
.otw-shopping-details__table th {
    width: 42%;
    font-weight: 600;
    color: #304520 !important;
}
.otw-shopping-details__table td {
    font-weight: 400;
    color: #304520 !important;
}

@media (max-width: 767px) {
    body.otw-preset-product div.product {
        grid-template-columns: 1fr;
        row-gap: 24px;
        padding: 120px 16px 40px;
    }
    body.otw-preset-product div.product .product_title {
        font-size: 22px;
    }
    body.otw-preset-product div.product form.cart .single_add_to_cart_button {
        width: 100%;
    }
    .otw-shopping-details {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 16px;
    }
}
