/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* Size Chart Button */
/* Size Chart Button - Adjust Size and Style */
.size-chart-btn {
    background-color: #000; /* Button color */
    color: #fff; /* Text color */
    border: none; /* Remove default border */
    padding: 12px 20px; /* Adjust padding for size */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Show pointer on hover */
    margin-top: 10px; /* Space from variations */
    width: auto; /* Auto-width */
    display: inline-block; /* Keep it inline */
    text-transform: uppercase; /* Capitalize text */
}

/* Adjust button on hover */
.size-chart-btn:hover {
    background-color: #333; /* Darken color on hover */
	color: #fff; /* Text color */
}

/* Modal Background */
.size-chart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
.size-chart-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Override WooCommerce form styles */
.woocommerce div.product form.cart .size-chart-btn {
    width: auto;
    padding: 12px 20px;
    margin-top: 10px;
}