/* =========================================
   LEGENDS RANCH LONG RANGE
   COMPLETE CUSTOM CSS
   ========================================= */

/* Hide Footer */
footer {
    display: none !important;
}

/* White Background and Black Text */
body {
    margin: 0;
    padding-top: 125px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Fix Section Backgrounds */
.wp-site-blocks {
    background-color: #ffffff !important;
}

/* Fix Form Fields */
input,
textarea,
select {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc;
}

/* Button Styling */
button {
    background-color: #b22222;
    color: #ffffff;
}

/* Fade-In Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

/* Fade-In When Visible */
.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Hover Effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Menu Item Styling */
.menu-item a {
    position: relative;
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 6px;
}

/* =========================================
   FIXED BLACK HEADER
   ========================================= */

header.wp-block-template-part {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: #000000 !important;
    padding: 18px 0;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.22),
        0 2px 8px rgba(0,0,0,0.18);

    transition: all 0.3s ease;
}

/* White Header Menu Links */
header.wp-block-template-part a {
    color: #ffffff !important;
}

/* =========================================
   WOOCOMMERCE CHECKOUT SPACING
   ========================================= */

/* Extra space beneath fixed header */
body.woocommerce-checkout {
    padding-top: 160px !important;
}

/* Keep checkout content clear of header
   when navigating to anchored sections */
body.woocommerce-checkout {
    scroll-padding-top: 160px;
}

/* Legends Ranch Gift Certificate - Add to Cart */
body.single-product.postid-1937 .single_add_to_cart_button,
body.single-product.postid-1937 button[name="add-to-cart"] {
    background-color: #E8E8E8 !important;
    color: #171717 !important;
    border: 1px solid #999999 !important;
    border-radius: 5px !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

/* Hover effect */
body.single-product.postid-1937 .single_add_to_cart_button:hover,
body.single-product.postid-1937 button[name="add-to-cart"]:hover {
    background-color: #D0D0D0 !important;
    border-color: #555555 !important;
    color: #111111 !important;
}
