/**
 * WooCommerce Core Styles - Modern Design
 * WinkelvanHugo
 */

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */

.single-product .woocommerce-main {
    padding: 40px 0 80px;
    background: #fafafa;
}

/* 
 * VERWIJDERD: .single-product .product grid layout
 * 
 * Deze regel conflicteerde met de .lbc-product layout in single-product.css
 * De .lbc-product class wordt toegevoegd aan hetzelfde element als .product,
 * waardoor deze grid layout de flex-column layout overschreef en de
 * product-description sectie naast de gallery plaatste i.p.v. eronder.
 * 
 * De correcte layout wordt nu beheerd door:
 * - .lbc-product { display: flex; flex-direction: column; }
 * - .lbc-product__above-fold { display: grid; grid-template-columns: 1fr 1fr; }
 */

/* Gallery - sticky wordt beheerd door single-product.css voor .lbc-product__gallery */

.woocommerce-product-gallery__image img {
    border-radius: 16px;
    width: 100%;
}

.flex-control-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.flex-control-thumbs li {
    flex: 0 0 80px;
}

.flex-control-thumbs img {
    border-radius: 10px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flex-control-thumbs img:hover,
.flex-control-thumbs img.flex-active {
    border-color: #FF5A4D;
}

/* Product Title */
.product_title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: 1px;
    color: #1a1a2e;
    margin: 0 0 16px;
}

/* Price */
.single-product .price {
    font-size: 28px;
    font-weight: 800;
    color: #FF5A4D;
    margin-bottom: 24px;
}

.single-product .price del {
    font-size: 20px;
    font-weight: 400;
    color: #bbb;
    margin-right: 12px;
}

.single-product .price ins {
    text-decoration: none;
}

/* Short Description */
.woocommerce-product-details__short-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

/* Add to Cart Form */
.single-product form.cart {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.single-product .quantity {
    width: 100px;
}

.single-product .quantity .qty {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    transition: border-color 0.2s ease;
}

.single-product .quantity .qty:focus {
    outline: none;
    border-color: #FF5A4D;
}

.single-product .single_add_to_cart_button {
    flex: 1;
    min-width: 200px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #FF5A4D 0%, #FF7B6E 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 90, 77, 0.3);
    transition: all 0.3s ease;
}

.single-product .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 90, 77, 0.4);
}

/* Product Meta */
.product_meta {
    font-size: 14px;
    color: #777;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.product_meta > span {
    display: block;
    margin-bottom: 8px;
}

.product_meta a {
    color: #FF5A4D;
    font-weight: 500;
}

/* Tabs */
.woocommerce-tabs {
    margin-top: 48px;
    grid-column: 1 / -1;
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #f0f0f0;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #777;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: #FF5A4D;
    border-bottom-color: #FF5A4D;
}

.woocommerce-tabs .panel {
    padding: 32px 0;
}

.woocommerce-tabs .panel h2 {
    font-size: 20px;
    margin-bottom: 16px;
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */

.woocommerce-cart .woocommerce-main {
    padding: 40px 0 80px;
    background: #fafafa;
}

.woocommerce-cart-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
}

.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.shop_table th {
    background: #f8f9fa;
    padding: 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
    text-align: left;
}

.shop_table td {
    padding: 20px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.shop_table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.shop_table .product-name a {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 15px;
}

.shop_table .product-name a:hover {
    color: #FF5A4D;
}

.shop_table .product-price,
.shop_table .product-subtotal {
    font-weight: 700;
    color: #FF5A4D;
    font-size: 16px;
}

.shop_table .product-quantity .qty {
    width: 70px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.shop_table .product-remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #999;
    font-size: 18px;
    transition: all 0.2s ease;
}

.shop_table .product-remove a:hover {
    background: #e53935;
    color: #ffffff;
}

/* Cart Totals */
.cart_totals {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.cart_totals h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a2e;
}

.cart_totals table {
    width: 100%;
}

.cart_totals th,
.cart_totals td {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart_totals th {
    text-align: left;
    font-weight: 500;
    color: #777;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 20px;
    font-weight: 700;
    border-bottom: none;
    padding-top: 24px;
}

.cart_totals .order-total td {
    color: #FF5A4D;
}

/* Checkout Button */
.wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FF5A4D 0%, #FF7B6E 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 24px rgba(255, 90, 77, 0.3);
    transition: all 0.3s ease;
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 90, 77, 0.4);
}

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */

.woocommerce-checkout .woocommerce-main {
    padding: 40px 0 80px;
    background: #fafafa;
}

.checkout-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 992px) {
    .checkout-columns {
        grid-template-columns: 1fr;
    }
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    background: #ffffff;
    padding: 32px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a2e;
}

/* Form Fields */
.woocommerce form .form-row {
    margin-bottom: 16px;
}

.woocommerce form .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: #FF5A4D;
}

/* Order Review */
.woocommerce-checkout-review-order {
    background: #ffffff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 24px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Payment Methods */
.woocommerce-checkout-payment {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

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

.wc_payment_method {
    margin-bottom: 12px;
}

.wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.wc_payment_method label:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Place Order */
#place_order {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FF5A4D 0%, #FF7B6E 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 90, 77, 0.3);
    transition: all 0.3s ease;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 90, 77, 0.4);
}

/* ==========================================================================
   MESSAGES & NOTIFICATIONS - Modern Toast Style
   ========================================================================== */

.woocommerce-message,
.woocommerce-info {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: none;
    border-left: 4px solid #22c55e;
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #166534;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.12);
    position: relative;
}

.woocommerce-message::before,
.woocommerce-info::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Product added message styling */
.woocommerce-message {
    flex-wrap: wrap;
}

.woocommerce-message > *:not(.button):not(:first-child) {
    flex: 1;
    min-width: 200px;
}

.woocommerce-message a:not(.button) {
    color: #166534;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-message a:not(.button):hover {
    color: #FF5A4D;
    text-decoration: underline;
}

/* WooCommerce message buttons
 * Specificiteit verhoogd via dubbele class selector om WC defaults te overriden
 */
.woocommerce-message a.button.button,
.woocommerce-info a.button.button,
.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-info a.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF5A4D 0%, #FF7B6E 100%);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: auto;
    box-shadow: 0 4px 12px rgba(255, 90, 77, 0.25);
    white-space: nowrap;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover {
    background: linear-gradient(135deg, #e56d00 0%, #ff8a2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 90, 77, 0.35);
}

/* Mobile responsive */
@media (max-width: 600px) {
    .woocommerce-message,
    .woocommerce-info {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .woocommerce-message a.button,
    .woocommerce-info a.button {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}

.woocommerce-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: none;
    border-left: 4px solid #ef4444;
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    list-style: none;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.12);
}

.woocommerce-error li {
    font-size: 14px;
    font-weight: 500;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce-error li::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.woocommerce-breadcrumb {
    font-size: 13px;
    color: #777;
    margin-bottom: 24px;
}

.woocommerce-breadcrumb a {
    color: #777;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: #FF5A4D;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.woocommerce-pagination {
    margin-top: 48px;
}

.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s ease;
}

.woocommerce-pagination ul li a:hover {
    border-color: #FF5A4D;
    color: #FF5A4D;
}

.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, #FF5A4D 0%, #FF7B6E 100%);
    border-color: #FF5A4D;
    color: #ffffff;
}

/* ==========================================================================
   MY ACCOUNT
   ========================================================================== */

.woocommerce-account .woocommerce-main {
    padding: 40px 0 80px;
    background: #fafafa;
}

.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f5f5f5;
    color: #1a1a2e;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #FF5A4D 0%, #FF7B6E 100%);
    color: #ffffff;
}

.woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   COMBO DISCOUNT BANNER
   ========================================================================== */

.combo-banner {
    background: linear-gradient(135deg, #fff4eb 0%, #ffe4cc 100%);
    border: 2px solid #FF5A4D;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.combo-banner__active {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.combo-banner__badge {
    background: linear-gradient(135deg, #FF5A4D 0%, #FF7B6E 100%);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 800;
}

.combo-banner__info strong {
    display: block;
    font-size: 16px;
    color: #1a1a2e;
}

.combo-banner__info .text-sm {
    font-size: 14px;
    color: #FF5A4D;
}

.combo-banner__inactive {
    text-align: center;
    margin-bottom: 16px;
}

.combo-banner__scale {
    display: flex;
    justify-content: space-around;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 90, 77, 0.2);
}

.combo-banner__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
}

.combo-banner__step.active {
    opacity: 1;
}

.combo-banner__bar {
    width: 40px;
    background: #FF5A4D;
    border-radius: 4px;
}

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

@media (max-width: 768px) {
    .shop_table thead {
        display: none;
    }
    
    .shop_table tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 20px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .shop_table td {
        padding: 8px;
        border: none;
    }
    
    .shop_table .product-thumbnail {
        width: 80px;
    }
    
    .shop_table .product-name {
        flex: 1;
    }
    
    .shop_table .product-price,
    .shop_table .product-quantity,
    .shop_table .product-subtotal {
        width: 33.33%;
        text-align: center;
    }
}
