/* =========================
   COMMENT FORM FIX (SAFE)
   ========================= */


#commentform .comment-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#commentform input,
#commentform textarea {
    width: 100%;
    box-sizing: border-box;
}

/* textarea apart gedrag (niet je hele site beïnvloeden) */
#commentform textarea {
    min-height: 140px;
    margin-top: 15px;
}

/* mobiel */
@media (max-width: 768px) {
    #commentform .comment-form-grid {
        grid-template-columns: 1fr;
    }
}
.commentlist .comment-reply-link {
    background: #28a745 !important;
    color: #fff !important;
    opacity: 1 !important;
    float: right;
    padding: 3px 5px;
    font-weight: 700;
    font-size: 0.9em;
    text-decoration: none;
    margin-bottom: 10px;
}
.commentlist .comment-reply-link {
    background: #28a745 !important;
    color: #fff !important;
    opacity: 1 !important;
    border-radius: 999px;
    padding: 4px 10px;
}
/* =========================
   MODERN COMMENTS (CLEAN UI)
   ========================= */

.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* elke comment */
.commentlist li {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

/* auteur naam */
.comment-author {
    font-weight: 700;
    margin-bottom: 5px;
}

/* datum */
.comment-meta {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 10px;
}

/* comment tekst */
.commentlist p {
    font-size: 15px;
    line-height: 1.5;
}

/* REPLY BUTTON (groen strak) */
.commentlist .comment-reply-link {
    background: #28a745 !important;
    color: #fff !important;
    opacity: 1 !important;
    text-decoration: none !important;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    float: right;
    transition: 0.2s;
}

.commentlist .comment-reply-link:hover {
    background: #218838 !important;
}

/* nested replies (indenting) */
.commentlist .children {
    margin-left: 20px;
    margin-top: 10px;
    border-left: 2px solid #eee;
    padding-left: 15px;
}

/* MOBILE */
@media (max-width: 768px) {
    .commentlist li {
        padding: 12px;
    }

    .commentlist .comment-reply-link {
        float: none;
        display: inline-block;
        margin-top: 10px;
    }

    .commentlist .children {
        margin-left: 10px;
    }
}
/* =========================
   VERZENDKNOP = GROEN FIX (HARD OVERRIDE)
   ========================= */

#commentform input[type="submit"],
#commentform #submit,
.comment-respond input[type="submit"] {
    background: #28a745 !important;
    background-color: #28a745 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: 0.2s ease;
}
/* hover */
#commentform input[type="submit"]:hover,
.comment-respond input[type="submit"]:hover {
    background: #218838 !important;
}
.comment-success {
    background: #e6f7e6;
    border: 2px solid #2ecc71;
    padding: 18px 22px;
    margin: 20px 0;
    font-weight: 800;
    color: #145a24;
    border-radius: 8px;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* =========================
   COMMENT FORM FIX (SAFE)
   ========================= */


#commentform .comment-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#commentform input,
#commentform textarea {
    width: 100%;
    box-sizing: border-box;
}

/* textarea apart gedrag (niet je hele site beïnvloeden) */
#commentform textarea {
    min-height: 140px;
    margin-top: 15px;
}

/* mobiel */
@media (max-width: 768px) {
    #commentform .comment-form-grid {
        grid-template-columns: 1fr;
    }
}
.commentlist .comment-reply-link {
    background: #28a745 !important;
    color: #fff !important;
    opacity: 1 !important;
    float: right;
    padding: 3px 5px;
    font-weight: 700;
    font-size: 0.9em;
    text-decoration: none;
    margin-bottom: 10px;
}
.commentlist .comment-reply-link {
    background: #28a745 !important;
    color: #fff !important;
    opacity: 1 !important;
    border-radius: 999px;
    padding: 4px 10px;
}
/* =========================
   MODERN COMMENTS (CLEAN UI)
   ========================= */

.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* elke comment */
.commentlist li {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

/* auteur naam */
.comment-author {
    font-weight: 700;
    margin-bottom: 5px;
}

/* datum */
.comment-meta {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 10px;
}

/* comment tekst */
.commentlist p {
    font-size: 15px;
    line-height: 1.5;
}

/* REPLY BUTTON (groen strak) */
.commentlist .comment-reply-link {
    background: #28a745 !important;
    color: #fff !important;
    opacity: 1 !important;
    text-decoration: none !important;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    float: right;
    transition: 0.2s;
}

.commentlist .comment-reply-link:hover {
    background: #218838 !important;
}

/* nested replies (indenting) */
.commentlist .children {
    margin-left: 20px;
    margin-top: 10px;
    border-left: 2px solid #eee;
    padding-left: 15px;
}

/* MOBILE */
@media (max-width: 768px) {
    .commentlist li {
        padding: 12px;
    }

    .commentlist .comment-reply-link {
        float: none;
        display: inline-block;
        margin-top: 10px;
    }

    .commentlist .children {
        margin-left: 10px;
    }
}
/* =========================
   VERZENDKNOP = GROEN FIX (HARD OVERRIDE)
   ========================= */

#commentform input[type="submit"],
#commentform #submit,
.comment-respond input[type="submit"] {
    background: #28a745 !important;
    background-color: #28a745 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: 0.2s ease;
}
/* hover */
#commentform input[type="submit"]:hover,
.comment-respond input[type="submit"]:hover {
    background: #218838 !important;
}
.comment-success {
    background: #e6f7e6;
    border: 2px solid #2ecc71;
    padding: 18px 22px;
    margin: 20px 0;
    font-weight: 800;
    color: #145a24;
    border-radius: 8px;
    font-size: 17px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* ACCOUNT CHECKBOX FIX */
#commentform .comment-create-account {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    margin: 10px 0;
}#commentform .comment-create-account label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

#commentform .comment-create-account input[type="checkbox"] {
    margin: 0;
}
#commentform .comment-create-account input[type="checkbox"] {
    margin-right: 8px;
    transform: translateY(1px);
}
.comment-create-account {
    margin-top: 10px !important;
    text-align: left !important;
}

.comment-create-account-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.comment-create-account-label input {
    margin: 0 !important;
    padding: 0 !important;
}

.comment-create-account-label span {
    margin: 0 !important;
    padding: 0 !important;
}
.comment-create-account label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap;
}

.comment-create-account input[type="checkbox"] {
    margin: 0 !important;
}

.comment-create-account span {
    margin: 0 !important;
    padding: 0 !important;
}
/* =========================
   🍋 GLOBAL PRODUCT STYLE
========================= */

.lp-product {
    background: #ffffff;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* =========================
   HERO SECTION
========================= */

.lp-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;

    padding: 40px;
    border-radius: 24px;

    background: linear-gradient(135deg, #fffdf5, #f3fff8);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* =========================
   IMAGES (LEFT SIDE)
========================= */

.lp-images {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.lp-images img {
    border-radius: 16px;
    transition: transform .4s ease;
}

.lp-images img:hover {
    transform: scale(1.03);
}

/* =========================
   SUMMARY (RIGHT SIDE)
========================= */

.lp-summary {
    font-family: inherit;
}

.lp-summary h1.product_title {
    font-size: 38px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.1;
    margin-bottom: 15px;
}

.lp-summary .price {
    font-size: 26px;
    color: #22c55e;
    font-weight: bold;
    margin: 15px 0;
}

/* BUTTON (Add to cart) */
.lp-summary .single_add_to_cart_button {
    background: linear-gradient(135deg, #facc15, #f97316);
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(249,115,22,0.3);
}

.lp-summary .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(249,115,22,0.4);
}

/* =========================
   DETAILS SECTION
========================= */

.lp-details {
    margin-top: 50px;
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

/* Tabs WooCommerce */
.woocommerce-tabs ul.tabs li a {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 10px 16px;
}

.woocommerce-tabs ul.tabs li.active a {
    background: #facc15;
    color: #000;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .lp-hero {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .lp-summary h1.product_title {
        font-size: 28px;
    }
}.lp-hero {
    display: flex;
    gap: 50px;
}

.lp-images,
.lp-summary {
    flex: 1;
}
/* HERO LAYOUT */
.lp-hero {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* columns */
.lp-images,
.lp-summary {
    flex: 1;
}

/* WooCommerce fixes */
.woocommerce-product-gallery {
    width: 100% !important;
}

.lp-summary .summary {
    width: 100%;
}

/* kill default floats */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none !important;
    width: auto !important;
}
/* =========================
   BASE PRODUCT LAYOUT
========================= */

.lp-product {
    background: #fff;
}

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

/* =========================
   GALLERY
========================= */

.lp-gallery {
    position: relative;
}

.lp-gallery .woocommerce-product-gallery {
    border-radius: 16px;
    overflow: hidden;
    background: #f7f7f7;
}

/* =========================
   SIDEBAR (BUY BOX)
========================= */

.lp-sidebar {
    position: sticky;
    top: 24px;
}

.lp-summary {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* TITLE */
.lp-summary h1.product_title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
}

/* PRICE */
.lp-summary .price {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin: 12px 0 20px;
}

/* ADD TO CART */
.lp-summary .cart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-summary button.single_add_to_cart_button {
    background: #111;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.2s;
}

.lp-summary button.single_add_to_cart_button:hover {
    background: #000;
}

/* =========================
   DETAILS SECTION
========================= */

.lp-details {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 24px;
}

.lp-details .woocommerce-tabs {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 900px) {
    .lp-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lp-sidebar {
        position: relative;
        top: auto;
    }

    .lp-summary {
        position: sticky;
        bottom: 0;
        z-index: 50;
        border-radius: 16px 16px 0 0;
    }
}