/* General Styles */
.custom-row {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    margin-bottom: 10px;
}

/* Simple Product Short Description and Price Container */
.simple-product-info {
    display: flex;
    flex-direction: column; /* Stacks the short description above the price */
    align-items: flex-start; /* Left alignment */
    gap: 5px; /* Space between short description and price */
}

.short-description {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.4; /* Improve readability */
    text-align: left; /* Align text to the left */
}

.price {
    display: inline-flex; /* Ensure price stays inline */
    align-items: center; /* Align price content vertically */
    white-space: nowrap; /* Prevent wrapping */
    font-weight: bold;
}

.price .formatted-price {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 14px;
    color: #000000;
    font-weight: bold;
    font-weight: 500; /* Medium weight */
    text-align: left; /* Align text to the left */
}

/* Variable Product Dropdown */
.variation-dropdown {
    width: 100%; /* Dropdown spans full width */
}

.variation-dropdown select {
    width: 100%; /* Ensure the dropdown fills its container */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px; /* Font size for dropdown options */
    font-family: 'Source Sans Pro', Arial, sans-serif;
    appearance: none; /* Remove default arrow */
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #fff url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"><path fill="%23333" d="M0 0l5 6 5-6z"/></svg>') no-repeat right center;
    background-size: 10px;
    cursor: pointer;
}

/* Variable Product Price */
.variation-price {
    text-align: left; /* Align price to the left */
    font-weight: bold;
}

.variation-price .price-value {
    font-size: 14px; /* Variation Price Font Size: change here if needed */
    font-family: 'Source Sans Pro', Arial, sans-serif;
    color: #000000;
    font-weight: 500; /* Medium weight */
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the + and - */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.increase-btn {
    background-color: green;
    color: white;
}

.decrease-btn {
    background-color: red;
    color: white;
}

.quantity-input {
    width: 50px;
    padding: 5px;
    text-align: center; /* Center the value (e.g., 0) */
    border: 1px solid #ccc;
    border-radius: 3px;
    appearance: none; /* Remove default styling */
    -moz-appearance: textfield; /* Remove arrows in Firefox */
    font-size: 14px;
    font-weight: 500; /* Medium weight */
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* Remove up/down arrows in Chrome, Safari, and Edge */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.add-to-cart-button {
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.add-to-cart-button:hover {
    background-color: #005177;
}
