/*
Theme Name:   Ahmes-Child
Theme URI:    
Author:       Pete Zeller
Author URI:   
Description:  PLZ Shop Theme
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version:      
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Template:     ahmes
Text Domain:  ahmes-child
Tags:         
*/

/* WooCommerce Default Variation Dropdown - Main Select Box */
.woocommerce div.product form.cart .variations select,
.single-product .variations select,
.woocommerce-variation select {
    border: 2px solid #fcc603;
    border-radius: 6px;
    background-color: #052b00;
    color: #ffffef;                      /* fixed typo – was #fffff0 */
    padding: 10px 12px;
    font-size: 1rem;
    height: auto;
    min-height: 44px;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Center the variation label on line */
.woocommerce div.product form.cart table.variations th {
    vertical-align: top;
}

/* Add custom arrow */
.woocommerce div.product form.cart .variations select,
.single-product .variations select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

/* Hover/Focus state */
.woocommerce div.product form.cart .variations select:hover,
.woocommerce div.product form.cart .variations select:focus,
.single-product .variations select:hover,
.single-product .variations select:focus {
    border: 2px solid #fcc603;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102,102,102,0.2);
}

/* Dropdown Options List */
.woocommerce div.product form.cart .variations select option,
.single-product .variations select option {
    background-color: #052b00;
    color: #fcc603;
    padding: 8px 12px;
}

/* Hover/Selected option in the list – fixed missing comment close + brace */
.woocommerce div.product form.cart .variations select option:hover,
.woocommerce div.product form.cart .variations select option:checked,
.single-product .variations select option:hover,
.single-product .variations select option:checked {
    background-color: #f0f0f0;
    color: #000000;
}

/* Hover effect on main menu items */
.wp-block-navigation .wp-block-navigation-item__content {
    transition: all 0.2s ease;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
    color: #FCC603 !important;
    /* background-color: rgba(255, 102, 0, 0.1); */
    /* text-decoration: underline; */
}

/* Style the "Return to Den" link in footer */
.wp-block-paragraph a[href*="your-den-url-here"],  /* or use a custom class */
footer a:where(:not(.button)):hover {             /* broad footer link hover */
    color: #FCC603 !important;
    text-decoration: underline;
}
