
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    max-width:100%;
    padding: 12px;
    box-sizing: border-box;
}

.product-image {
    height: auto;
}

/* Target the dropdown specifically in Contact Form 7 */
.wpcf7-form select {
    width: 100%;           /* Makes it full width like the others */
    height: 45px;          /* Adjust this value to match your other fields */
    padding: 6px 12px;     /* Internal spacing */
    border: 1px solid #ccc; /* Matches standard border colors */
    border-radius: 4px;    /* Optional: adds a slight curve if your theme uses it */
    background-color: #fff;
    -webkit-appearance: none; /* Removes default browser styling for more control */
    appearance: none;
}
/* Syncs height for dropdown, submit button, and text fields */
.wpcf7-form select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form .wpcf7-submit {
    width: 100%;
    height: 50px;           /* Adjust this number until it looks perfect */
    padding: 10px 15px;
    box-sizing: border-box; /* Critical: keeps widths identical */
    margin-bottom: 15px;    /* Keeps spacing consistent between rows */
}

/* Specific styling for the Submit Button to make it stand out */
.wpcf7-form .wpcf7-submit {
    background-color: #333; /* Dark gray/black button */
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.wpcf7-form .wpcf7-submit:hover {
    opacity: 0.8;
}

/* Force-hide the meta data block */
.product_meta, 
.sku_wrapper, 
.posted_in, 
.tagged_as {
    display: none !important;
}
/* Hide Categories and Tags in WooCommerce Blocks */
.taxonomy-product_cat, 
.taxonomy-product_tag,
.wc-block-components-product-sku {
    display: none !important;
}

/* Change product description links to blue and add a hover effect */
.woocommerce-product-details__short-description a,
.woocommerce-Tabs-panel--description a {
    color: #2b6cb0 !important; /* A professional blue */
    text-decoration: underline; /* Keeps it obvious it's a link */
    font-weight: bold;
}

.woocommerce-product-details__short-description a:hover,
.woocommerce-Tabs-panel--description a:hover {
    color: #1a436e !important; /* Darker blue when hovering */
}

/* --- Clean, Centered Search Field --- */

/* 1. Outer wrapper */
.wp-block-search__inside-wrapper,
form.woocommerce-product-search {
    display: flex !important;
    align-items: center !important; 
    height: 42px !important; 
    border: 1px solid #999999 !important;
    border-radius: 0 !important; 
    background-color: #ffffff !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* 2. Inner input text field (Fixed for vertical text alignment) */
.wp-block-search__input,
.search-field,
.woocommerce-product-search input[type="search"] {
    flex-grow: 1 !important; 
    height: 40px !important; 
    margin: 0 !important;
    padding-top: 0 !important;     /* Forces removal of hidden theme top spacing */
    padding-bottom: 0 !important;  /* Forces removal of hidden theme bottom spacing */
    padding-left: 15px !important;
    padding-right: 15px !important;
    border: none !important; 
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 40px !important; /* Mathematically forces the text to sit perfectly in the middle */
}

/* 3. Search button/icon */
.wp-block-search__button,
.search-submit {
    display: flex !important;
    align-items: center !important; 
    justify-content: center !important; 
    height: 40px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #333333 !important;
    box-shadow: none !important;
}

.wpcf7 input[type="number"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 45px; /* Standard theme height */
    padding: 10px 15px; /* Matches the inner spacing of other fields */
    line-height: normal;
}

/* Hide the default theme breadcrumb */
.woocommerce-breadcrumb, .storefront-breadcrumb {
    display: none !important;
}
