/* ------------------------------ */
/* WARRANTY CLAIM FORM BUTTON */
#warranty-claim-form input[type="submit"][name="warranty_submit"] {
    background-color: #000;
    color: #dd9933;
    padding: 10px 20px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}
#warranty-claim-form input[type="submit"][name="warranty_submit"]:hover {
    background-color: #000;
    color: #ffd700;
}

/* Reduce thickness of masthead padding */
.site-header {
    padding-top: 10px !important;
    padding-bottom: 5px !important;
	    margin-bottom: 0 !important;
}

/* ------------------------------ */
/* PRODUCT PRICE (CATEGORY PAGES, DESKTOP) */
@media (min-width: 768px) {
    .woocommerce ul.products li.product .price {
        font-size: 1.2em;
        font-weight: bold;
    }
}

/* ------------------------------ */
/* PRODUCT META: SKU / PRODUCT CODE */
.single-product .product_meta .wo_productcode,
.single-product .product_meta .sku_wrapper {
    font-size: clamp(1em, 2vw, 1.4em);
    font-weight: bold;
    display: inline-block;
    margin-top: 4px;
}

/* ------------------------------ */
/* CART ICON + TEXT */
.site-header-cart .cart-contents {
    display: inline-flex;   
    align-items: flex-end; 
    gap: 10px;                     
    text-decoration: none;         
}
.site-header-cart .cart-contents::before {
    content: "\f291";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.site-header-cart .cart-contents::after {
    content: none !important;
    display: none !important;
}
.site-header-cart .cart-contents .count { 
    margin-left: 4px; 
    font-weight: inherit; 
    font-size: inherit; 
}


/* ------------------------------ */
/* CHECKOUT & ADD TO CART BUTTONS */
.woocommerce-cart .checkout-button,
.woocommerce-page .checkout-button,
.woocommerce-checkout #place_order,
.storefront-sticky-add-to-cart__content-button.button.alt,
.single_add_to_cart_button.button.alt {
    background-color: black !important;
    color: #dd9933 !important;
    border-color: #dd9933 !important;
    font-weight: bold !important;
    padding: 12px 25px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.woocommerce-cart .checkout-button:hover,
.woocommerce-page .checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.storefront-sticky-add-to-cart__content-button.button.alt:hover,
.single_add_to_cart_button.button.alt:hover {
    background-color: #222 !important;
    color: #ffd700 !important;
    border-color: #ffd700 !important;
}

/* ------------------------------ */
/* PRODUCT PAGE TABS + DOWNLOADS */
.woocommerce-tabs .woocommerce-Tabs-panel--description h2,
.woocommerce-tabs .woocommerce-Tabs-panel--additional_information h2,
.custom-files-downloads-heading {
    font-size: 24px !important;
    font-weight: bold !important;
}

/* Download button */
a.wcpoa_attachmentbtn {
    background-color: black !important;
    color: #dd9933 !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    min-width: fit-content;
    max-width: 100%;
}
a.wcpoa_attachmentbtn span,
a.wcpoa_attachmentbtn .attachment_size {
    white-space: nowrap !important;
}
a.wcpoa_attachmentbtn:hover {
    background-color: #222 !important;
    color: #ffd700 !important;
}
a.wcpoa_attachmentbtn .attachment_size { color: #dd9933 !important; }

.woocommerce div.product .woocommerce-Tabs-panel .attachment-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.woocommerce div.product .woocommerce-Tabs-panel .attachment-description {
    margin: 0;
    font-size: 16px;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs {
    display: flex;
    flex-direction: column;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 10px;
    order: -1;
    margin-bottom: 20px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: none !important;
    margin: 0;
}
.woocommerce-tabs ul.tabs li a {
    font-size: 18px;
    font-weight: bold;
    color: #dd9933 !important;
    background-color: #111 !important;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.woocommerce-tabs ul.tabs li:not(.active) a:hover {
    background-color: #333 !important;
    color: #ffd700 !important;
}
.woocommerce-tabs ul.tabs li.active a {
    background-color: #ccc !important;
    color: #111 !important;
}
.woocommerce-tabs ul.tabs li.active::after { content: none !important; }

@media (max-width: 768px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 8px;
    }
    .woocommerce-tabs ul.tabs li a {
        width: 100%;
        font-size: 16px;
        padding: 8px 12px;
    }
    .woocommerce div.product .woocommerce-Tabs-panel .attachment-container {
        flex-direction: column;
        gap: 8px;
        margin: 10px 0;
    }
}

/* Full-width tab panels on desktop */
@media (min-width: 769px) {
    .woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
        width: 100vw;  
        margin-left: calc(-50vw + 50%);
        padding: 50px 5%;
        box-sizing: border-box;
    }
}

/* ------------------------------ */
/* GENERAL CLEANUP */
footer .site-info { display: none; }            /* Remove footer credits */
.page .entry-title { display: none; }           /* Hide page titles */
.col-full { max-width: none; }                  /* Full-width layout */
.woocommerce a.remove:before {
    content: "\f1f8"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: red !important;
}
.woocommerce a.remove:hover:before { color: darkred !important; }
footer .footer-widgets { padding-top: 0.5em; }
.woocommerce-products-header,
.woocommerce-ordering,
.woocommerce-result-count { display: none !important; }
span.woocommerce-Price-amount.amount { font-weight: 600; }

/* Remove focus outlines */
a:focus, input:focus, textarea:focus, button:focus {
    outline: none;
}

/* Warranty Form Success Message */
.warranty-success {
    font-weight: bold;
    font-size: 18px;
    color: #000;
}

/* Footer Widgets Layout */
.site-footer .footer-widgets .col-full {
    display: flex;
    justify-content: space-between;
}
.site-footer .footer-widgets .block {
    flex: 1;
    text-align: center;
}
.site-footer .footer-widgets .widget-title,
.site-footer .footer-widgets .block ul {
    text-align: center;
    list-style-position: inside;
    padding-left: 0;
}
.site-footer .footer-widgets .block img {
    display: block;
    margin: 0 auto;
}

