/*
Theme Name: Adena Child
Theme URI: http://www.wpbingosite.com/adena
Author: wpbingo
Description: This is a child theme for Adena
Version: 1.0.0
Author URI: http://wpbingosite.com
Template: adena
Text Domain: adena-child
*/
/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* --- Base Styles & Mobile First --- */
.bwp-single-info {
    padding: 15px; /* Add some padding around the entire product info block */
    box-sizing: border-box; /* Include padding in the element's total width */
}

.summary.entry-summary {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing between sections */
}

.product_title.entry-title {
    font-size: 1.8em; /* Larger, more prominent title */
    margin-bottom: 5px;
    line-height: 1.2;
}

.price-single .price {
    font-size: 1.5em; /* Clear pricing */
    color: #333; /* A bit darker for readability */
    font-weight: bold;
}

.description {
    line-height: 1.6; /* Better readability for text */
    color: #555;
}

.variations_form.cart {
    width: 100%; /* Ensure the form takes full width */
}

.variations table {
    width: 100%;
    border-collapse: collapse;
}

.variations td.label,
.variations td.value {
    padding: 8px 0;
    vertical-align: middle;
}

.variations td.label label {
    font-weight: bold;
    display: block; /* Ensures label is on its own line if needed */
    margin-bottom: 5px; /* Space between label and select */
}

.variations select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    appearance: none; /* Remove default select styling */
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 8px top 50%;
    background-size: 24px auto;
}

.single_variation_wrap {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Spacing between quantity, add to cart, etc. */
    align-items: flex-start; /* Align items to the left */
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden; /* Contains the border for buttons and input */
}

.quantity button {
    background-color: #f0f0f0;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
    transition: background-color 0.2s ease;
}

.quantity button:hover {
    background-color: #e0e0e0;
}

.quantity input[type="number"] {
    border: none;
    text-align: center;
    width: 60px; /* Adjust as needed */
    padding: 10px 5px;
    -moz-appearance: textfield; /* Hide arrows on Firefox */
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Hide arrows on Chrome, Safari, Edge */
    margin: 0;
}


.single_add_to_cart_button,
.quick-buy,
.woosw-btn {
    width: 100%; /* Full width buttons on mobile */
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block; /* For proper padding and width */
    transition: background-color 0.2s ease, color 0.2s ease;
}

.single_add_to_cart_button {
    background-color: #007bff; /* Primary action button */
    color: #fff;
}

.single_add_to_cart_button:hover:not(.disabled) {
    background-color: #0056b3;
}

.quick-buy {
    background-color: #28a745; /* Secondary action button */
    color: #fff;
}

.quick-buy:hover:not(.disabled) {
    background-color: #218838;
}

.woosw-btn {
    background-color: #6c757d; /* Wishlist button */
    color: #fff;
}

.woosw-btn:hover {
    background-color: #5a6268;
}

.single_add_to_cart_button.disabled,
.quick-buy.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.safe-checkout {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #eee;
}

.safe-checkout img {
    max-width: 40px; /* Adjust size of the image */
    height: auto;
}

.title-safe-checkout {
    font-size: 0.95em;
    color: #666;
}

.product-shipping-delivers {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.product-shipping-delivers li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #555;
}

.product-shipping-delivers svg {
    min-width: 25px; /* Ensure icon doesn't shrink too much */
    height: 25px;
    fill: #333; /* Color the SVG icons */
}

.product_meta {
    margin-top: 20px;
    font-size: 0.9em;
    color: #777;
}

.product_meta span {
    display: block; /* Each meta item on new line on mobile */
    margin-bottom: 5px;
}

.product_meta a {
    color: #007bff;
    text-decoration: none;
}

.product_meta a:hover {
    text-decoration: underline;
}

.social-icon {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon label {
    font-weight: bold;
    color: #555;
}

.social-share a {
    display: inline-flex; /* For better icon centering */
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%; /* Circular buttons */
    background-color: #f0f0f0;
    color: #555;
    margin-right: 8px;
    font-size: 1.2em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-share a:hover {
    background-color: #ddd;
    color: #333;
}

/* --- Desktop / Tablet Styles (Larger Screens) --- */
@media (min-width: 768px) {
    .bwp-single-info {
        padding: 30px; /* More padding for larger screens */
    }

    .summary.entry-summary {
        flex-direction: row; /* Layout content side-by-side or more complex */
        flex-wrap: wrap; /* Allow items to wrap */
        justify-content: space-between; /* Space out major sections */
    }

    .summary > * {
        flex: 1 1 48%; /* Adjust as needed for two columns */
        /* For example, if you want description next to price/title */
    }

    /* Example: Arrange title, price, description in one column */
    .product_title,
    .price-single,
    .description,
    .variations_form {
        flex: 1 1 100%; /* Take full width within their section */
        max-width: 100%;
    }

    .single_variation_wrap {
        flex-direction: row; /* Arrange quantity and buttons in a row */
        align-items: center;
        gap: 10px;
        flex-wrap: wrap; /* Allow wrapping if space is tight */
    }

    .quantity {
        flex: 0 0 auto; /* Don't grow or shrink */
    }

    .single_add_to_cart_button,
    .quick-buy,
    .woosw-btn {
        width: auto; /* Buttons can have natural width */
        flex-grow: 1; /* Allow them to grow and fill space */
    }

    .safe-checkout {
        margin-top: 30px;
    }

    .product-shipping-delivers {
        display: flex; /* Arrange shipping/delivery side-by-side */
        justify-content: space-around;
        gap: 20px;
        margin-top: 30px;
    }

    .product-shipping-delivers li {
        flex-direction: column; /* Icon above text */
        text-align: center;
        margin-bottom: 0; /* Remove bottom margin from mobile */
        gap: 5px;
    }

    .product-shipping-delivers svg {
        margin-bottom: 5px; /* Space between icon and text */
    }

    .product_meta {
        display: flex;
        flex-wrap: wrap;
        gap: 15px; /* Space between meta items */
        margin-top: 30px;
    }

    .product_meta span {
        display: inline-block; /* Arrange meta items inline */
        margin-bottom: 0;
    }

    .social-icon {
        justify-content: flex-end; /* Push social icons to the right */
    }
}

/* --- Optional: Add a subtle border or shadow to the main container --- */
.bwp-single-info {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* Definitieve oplossing: verberg de Salonized-knop op alle mobiele schermen via de ID */
@media (max-width: 768px) {
    #button {
        display: none !important;
    }
}

