@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//www.clevelandsteeltool.com/wp-content/themes/woodmart/fonts/woodmart-font-3-300.woff2?v=8.4.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//www.clevelandsteeltool.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//www.clevelandsteeltool.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//www.clevelandsteeltool.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//www.clevelandsteeltool.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//www.clevelandsteeltool.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//www.clevelandsteeltool.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//www.clevelandsteeltool.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//www.clevelandsteeltool.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-hb-opt-h: 60px;
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-transform: none;
	--wd-title-color: rgb(14,30,46);
	--wd-entities-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: rgb(14,30,46);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: "Montserrat", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: rgb(14,30,46);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Inter Tight", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 16px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(221,51,51);
	--wd-alternative-color: rgb(0,0,0);
	--btn-default-font-family: Arial, Helvetica, sans-serif;
	--btn-default-transform: none;
	--btn-default-bgcolor: rgb(14,30,46);
	--btn-default-bgcolor-hover: rgb(178,34,34);
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(178,34,34);
	--btn-accented-bgcolor-hover: rgb(14,30,46);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(14,30,46);
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(http://www.clevelandsteeltool.com/wp-content/uploads/2021/10/tools-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-hb {
	background-color: rgb(13,30,46);
	background-image: none;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	background-repeat: repeat;
	object-fit: contain;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(14,30,46);
	background-image: none;
}
html .wd-product .price, html .product-image-summary-wrap .summary-inner > .price, html .wd-single-price .price, html .product-image-summary-wrap .variations_form .woocommerce-variation-price .price, html .wd-single-add-cart .variations_form .woocommerce-variation-price .price, html .wd-product-nav-desc .price, html .product-quick-view .summary-inner > .price, html .product-quick-view .variations_form .woocommerce-variation-price .price, html .widget-area .widget .price {
	color: rgb(0,112,24);
}
html .wd-product .wd-entities-title a, html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title, html .product-image-summary-wrap .product_title, html .wd-single-title .product_title, html .product-quick-view .product_title, html .post.wd-post:not(.blog-design-small) .wd-entities-title, html .wd-carousel .wd-carousel-item .post.wd-post .wd-entities-title, html .wd-single-post-header .title, html .wd-single-post-title .wd-post-title {
	font-weight: 800;
	text-transform: none;
	color: rgb(0,0,0);
}
.page :is(.wd-page-content, .whb-header) {
	background-color: rgb(249,249,249);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(0,0,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 0px;
}

@media (max-width: 1024px) {
	:root {
		--wd-hb-opt-h: 40px;
	}

}
:root{
--wd-container-w: 1449px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
--wd-cat-brd-radius: 5px;
}

@media (min-width: 1449px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(178,34,34);
}

#custom-size-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#custom-size-field label {
    margin: 0;
    white-space: nowrap;
}

#custom-size-field input[type="text"] {
    flex: 1 1 auto;
    max-width: 300px;
    outline: none !important;
    box-shadow: none !important;
}


.woocommerce-product-gallery {
    display: flex !important;
    justify-content: center !important;
}

.woocommerce-product-gallery__image {
    margin: 0 auto !important;
    text-align: center !important;
}

.wd-cat-image img {
    height: 15vh !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

    /* Brand Categories Section - Standalone Container */
    .brand-categories-section {
        width: 100%;
        max-width: 100%;
        margin: 30px 0;
        padding: 0;
        clear: both;
        background: #fff;
    }

    .brand-categories-container-inner {
        margin: 0 auto;
        padding: 0 15px;
    }

    .brand-categories-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding: 20px 0;
        border-bottom: 2px solid #f0f0f0;
    }

    .brand-categories-title {
        margin: 0;
        font-size: 30px;
        font-weight: 600;
        color: #333;
    }

    .brand-categories-title .brand-name {
        color: #b22222;
    }

    /* Back to Brands/Categories Button */
    .back-to-brands-wrapper,
    .back-to-categories-section {
        margin: 20px 0;
    }

    .back-to-categories-section {
        width: 100%;
        margin: 0 auto 0px;
        padding: 0px;
    }

    .button.back-to-brands,
    .button.back-to-categories {
        display: inline-block;
        padding: 12px 24px;
        background-color: #b22222;
        color: white !important;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }

    .button.back-to-brands:hover,
    .button.back-to-categories:hover {
        background-color: #0e1e2e;
        color: white !important;
        transform: translateY(-1px);
    }

    /* Brand Categories Grid */
    .brand-categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .brand-category-card {
        border: 1px solid #b2222263;
        background: #fff;
        transition: all 0.3s ease;
        box-shadow: 2px 2px #b2222214;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .brand-category-card:hover {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-3px);
        border-color: #b22222;
    }

    .category-link {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 20px;
        text-align: center;
        text-decoration: none;
        color: inherit;
    }

    .category-image-wrapper {
        flex-shrink: 0;
        margin-bottom: 15px;
    }

    
    .category-placeholder {
        width: 100%;
        height: 150px;
        object-fit: contain;
        border-radius: 4px;
    }

    .category-placeholder {
        background-color: #f7f7f7;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 14px;
    }

    .category-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .category-name {
        margin: 0 0 8px 0;
        font-size: 18px;
        font-weight: 600;
        color: #333;
        line-height: 1.3;
    }

    .category-count {
        color: #777;
        font-size: 14px;
        font-weight: 500;
    }



    /* No products message */
    .brand-no-products {
        width: 100%;
        max-width: 1200px;
        margin: 30px auto;
        padding: 0 15px;
        text-align: center;
    }

    /* Breadcrumb enhancement */
    .woocommerce-breadcrumb .brand-category-filter {
        font-weight: 600;
        color: #b22222;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .brand-categories-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }

        .brand-categories-title {
            font-size: 24px;
            text-align: center;
            width: 100%;
        }

        .brand-categories-grid {
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 15px;
        }

        .category-name {
            font-size: 16px;
        }
        
        .category-image,
        .category-placeholder {
            height: 120px;
        }

        .brand-categories-container-inner,
        .back-to-categories-section {
            padding: 0 10px;
        }
    }

    @media (max-width: 480px) {
        .brand-categories-grid {
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 10px;
        }

        .brand-categories-title {
            font-size: 20px;
        }

        .category-name {
            font-size: 14px;
        }

        .category-image,
        .category-placeholder {
            height: 100px;
        }

        .brand-categories-container-inner,
        .back-to-categories-section {
            padding: 0 5px;
        }
    }

/* ==========================================================================
   BRAND PAGE NAVIGATION HIDING
   ========================================================================== */

body[class*="brand"] .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion,
body.brand .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion,
.brand .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion,
body[class*="/brand/"] .wd-nav-product-cat.wd-active.wd-nav.wd-gap-m.wd-style-underline.hasno-product-count.wd-mobile-accordion,
.tax-product_brand .wd-show-sidebar-btn a {
    display: none !important;
}

/* ==========================================================================
   GLOBAL BUTTONS & ELEMENTS
   ========================================================================== */

#request_quote {
    width: 100%;
    background: #0E1E2E;
    color: white;
    padding: 15px 10px;
    font-size: 14px;
}

#request_quote:hover {
    background: #b22222;
}

.reset_variations {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #b22222;
    color: white !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.reset_variations:hover {
    background-color: #0e1e2e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
    color: white !important;
}

.reset_variations:active {
    background-color: #0e1e2e;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.reset_variations:focus {
    outline: 2px solid #0e1e2e;
    outline-offset: 2px;
}

.reset_variations[style*="visibility: hidden"] {
    display: none;
}

.gform_button {
    width: 100% !important;
    background-color: #B22222 !important;
}

/* ==========================================================================
   QUOTATION CART STYLING
   ========================================================================== */

.subtotal bdi {
    color: white !important;
}

.quotation-cart-wrapper {
    margin: 0;
    padding: 30px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 !important;
}

.quotation-cart-wrapper h3 {
    margin: 0 0 20px 0;
    padding: 0 0 10px 0;
    font-size: 22px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    text-align: left;
}

.quotation-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.quote-item-card {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 15px;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.quote-item-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.quote-item-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.quote-item-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
}

.quote-item-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 0;
    border: 1px solid #ddd;
}

.quote-item-info {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    min-width: 0;
}

.quote-item-name-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-item-name-column h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    word-wrap: break-word;
}

.quote-item-name-column h4 a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.quote-item-name-column h4 a:hover {
    color: #004499;
    text-decoration: underline;
}

.quote-item-sku {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.quote-item-categories-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quote-categories {
    font-size: 14px;
    line-height: 1.4;
}

.quote-categories a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.quote-categories a:hover {
    color: #004499;
    text-decoration: underline;
}

.quote-item-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-detail-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quote-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-value {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

.quote-variations {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quote-variation {
    font-size: 15px;
    color: #333;
    padding: 2px 0;
}

.quote-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.quote-price-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quote-price, .quote-qty {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.quote-cart-total {
    background: #0e1e2e;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 20px;
    margin-top: 20px;
}

.quote-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-total-label {
    font-size: 18px;
    font-weight: 700;
    color: #FFF;
    text-transform: uppercase;
}

.quote-total-amount {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.quotation-empty-cart {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.quotation-empty-cart p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.quotation-empty-cart a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
}

.quotation-empty-cart a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   BRAND & CATEGORY STYLING
   ========================================================================== */

.wd-dropdown-menu.wd-dropdown {
    padding-bottom: 20px !important;
}

.brand-categories-title {
    font-size: 30px;
}

.brand-categories-title .brand-name {
    color: #b22222;
}

.brand-category-item h3 {
    font-weight: 600;
}

.wd-shop-tools {
    align-items: flex-start;
}

.term-annular-cutters .wd-cat-count {
    display: none;
}

/* ==========================================================================
   SPECIFICATIONS GRID
   ========================================================================== */

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
	margin: 0 auto;
}



.spec-card {
    background: #fff;
    box-shadow: 0 4px 12px rgba(14, 30, 46, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(14, 30, 46, 0.15);
}

.dimension-card {
    border-top: 4px solid #b22222;
}

.part-number-card {
    border-top: 4px solid #0e1e2e;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 10px 16px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: white;
    position: relative;
}

.dimension-header {
    background: linear-gradient(135deg, #b22222, #d73027);
}

.part-number-header {
    background: linear-gradient(135deg, #0e1e2e, #1a2f42);
}

.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
	margin-top: -15px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.spec-content {
    padding: 24px 20px;
    text-align: center;
}

.spec-label {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0e1e2e;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
}

.spec-decimal {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.part-number-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #b22222;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.company-label {
    font-size: 0.8rem;
    color: #0e1e2e;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-card:hover .card-header {
    background: #0e1e2e;
}

.part-number-card:hover .card-header {
    background: #b22222;
}

.spec-card:hover .spec-value {
    color: #b22222;
}

.part-number-card:hover .part-number-value {
    color: #0e1e2e;
}

/* ==========================================================================
   FORM STYLING
   ========================================================================== */

.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.woocommerce-billing-fields__field-wrapper .form-row {
    width: 100% !important;
    margin-bottom: 20px;
}

#billing_first_name_field,
#billing_last_name_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#billing_phone_field,
#billing_email_field {
    width: calc(50% - 10px) !important;
}

#billing_company_field,
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field {
    width: 100% !important;
}

.woocommerce .form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

.woocommerce .form-row input,
.woocommerce .form-row select {
    width: 100% !important;
    padding: 10px;
    font-size: 0.875rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff !important;
    color: #000;
}

.select2-container .select2-selection--single {
    height: 42px !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    border: 1px solid #ccc !important;
    color: #000;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
    background: #fff !important;
}

select, textarea {
    background-color: #fff !important;
    border-radius: 0 !important;
    padding-left: 10px !important;
}

textarea {
    padding-top: 10px !important;
}

input {
    padding-left: 10px !important;
}

.ginput_container_fileupload input {
    border-right: transparent !important;
    border-top: transparent !important;
    border-left: transparent !important;
}

/* ==========================================================================
   CALCULATOR STYLING (SHARED)
   ========================================================================== */

.tonnage-calculator,
.die-calculator-area {
    width: 100%;
    margin: 40px auto;
    padding: 24px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(14, 30, 46, 0.08);
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

.tonnage-calculator {
    display: flex;
    flex-direction: column;
}

.tonnage-calculator-field-list-wrapper,
.die-calculator-field-list-wrapper {
    margin-bottom: 32px;
}

.tonnage-calculator-field-list,
.die-calculator-field-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tonnage-calculator-field-list label,
.die-calculator-field-list label {
    font-weight: 600;
    font-size: 1rem;
    color: #0e1e2e;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.tonnage-calculator-field-list input,
.tonnage-calculator-field-list select,
.die-calculator-field-list input,
.die-calculator-field-list select {
    width: 100%;
    padding: 12px;
    font-size: 0.9375rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: all 0.2s ease-in-out;
    height: 44px;
}

.tonnage-calculator-field-list input:focus,
.tonnage-calculator-field-list select:focus,
.die-calculator-field-list input:focus,
.die-calculator-field-list select:focus {
    border-color: #b22222;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.15);
}

.tonnage-calculator-result-area {
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.tonnage-clearance-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0e1e2e;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.tonnage-clearance-result {
    font-weight: 600;
    font-size: 1.5rem;
    background-color: #fff;
    padding: 8px 30%;
    color: #b22222;
    display: inline-block;
    text-align: center;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}

.tonnage-calculator-results-area,
.die-calculator-results-area {
    background-color: #f8f9fb;
    padding: 20px;
    border-radius: 0;
    transition: all 0.2s ease-in-out;
}

.tonnage-calculator-results-area button,
.die-calculator-results-area button {
    display: block;
    width: 50%;
    padding: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
}

.tonnage-calculator-results-area button:first-child,
.die-calculator-results-area button:first-child {
    background-color: #b22222;
    color: #fff;
    margin-bottom: 12px;
}

.tonnage-calculator-results-area button:first-child:hover,
.die-calculator-results-area button:first-child:hover {
    background-color: #0e1e2e;
    color: #fff;
}

.tonnage-calculator-results-area button:first-child:active,
.die-calculator-results-area button:first-child:active {
    transform: scale(0.98);
}

.tonnage-calculator-results-area button:last-child,
.die-calculator-results-area button:last-child {
    background-color: #0e1e2e;
    color: #fff;
}

.tonnage-calculator-results-area button:last-child:hover,
.die-calculator-results-area button:last-child:hover {
    background-color: #b22222;
    color: #fff;
}

.die-calculator-result-list {
    list-style: none;
    padding: 16px 0;
    margin: 16px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.die-calculator-result-list li {
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: #0e1e2e;
}

.die-calculator-result-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #0e1e2e;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.die-calculator-result-list span {
    font-weight: 600;
    font-size: 1.5rem;
    background-color: #fff;
    padding: 8px 30%;
    border-radius: 0;
    color: #b22222;
    display: inline-block;
    text-align: center;
    box-shadow: inset 0 0 0 1px #e5e7eb;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ==========================================================================
   NAVIGATION & UI ELEMENTS
   ========================================================================== */

.wd-show-sidebar-btn a {
    font-size: 0;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.wd-show-sidebar-btn a::before {
    content: "Show Filters";
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    background-color: #0e1e2e;
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.wd-show-sidebar-btn a:hover::before {
    background-color: #b22222;
    color: #fff;
}

.wd-prefooter {
    display: none;
}

.wd-buttons.wd-pos-r-t {
    background: #0e1e2e;
    padding-bottom: 5px;
}

.wd-buttons.wd-pos-r-t a,
.wd-buttons.wd-pos-r-t a span {
    color: #fff;
}

.widget-area,
.widget-area h5.widget-title,
.widget-area a,
.widget-area ul li,
.widget-area .count,
.widget-area span.count {
    color: #0e1e2e;
}

.widget_layered_nav ul .count {
    padding-inline: 5px;
    min-width: 30px;
    height: 20px;
    border: 1px solid var(--brdcolor-gray-300);
    border-radius: 35px;
    color: var(--color-gray-500);
    text-align: center;
    font-size: 0.75rem;
    line-height: 18px;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease;
    flex: 0 0 auto;
}

.wd-active-filters {
    display: flex;
    align-items: center;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 10px 15px;
    margin-top: -15px;
    margin-bottom: 15px;
    min-height: 1px;
    font-size: 1rem !important;
    line-height: 1;
    padding: 20px;
    background: #b2222214;
}

.wd-nav-arrows .wd-btn-arrow {
    background-color: #0e1e2e;
    transition: all 0.3s ease;
    border-radius: 50%;
    margin: 0 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wd-nav-arrows .wd-btn-arrow:hover {
    background-color: #b22222;
}

.wd-nav-arrows .wd-btn-arrow .wd-arrow-inner {
    border-color: #FFFFFF;
}

.wd-nav-arrows .wd-btn-arrow.wd-disabled {
    background-color: #cccccc;
    opacity: 0.6;
    cursor: not-allowed;
}

.wd-arrow-inner {
    color: white !important;
}

.wd-arrow-inner:hover {
    color: white !important;
}

/* ==========================================================================
   TYPOGRAPHY & CONTENT
   ========================================================================== */

.wd-entities-title {
    font-weight: 600;
    letter-spacing: -0.6px;
    font-size: 2rem;
    text-transform: uppercase;
}

.wd-product .wd-entities-title {
    font-size: 1.125rem !important;
    font-weight: 600;
    letter-spacing: 0;
}

.wd-product-nav-desc .wd-entities-title {
    font-size: 0.875rem;
    text-transform: capitalize;
}

.term-description .hd {
    font-family: 'montserrat';
    font-weight: 900 !important;
    font-size: 1.5rem;
    letter-spacing: -0.6px;
}

.wd-term-desc {
    margin-bottom: 25px;
    margin-top: 50px;
}

.wd-page-content,
.wd-page-content * {
    text-decoration: none !important;
}

.wd-page-content a {
    text-decoration: none;
}

.wd-page-content a:hover,
.wd-page-content a:focus {
    text-decoration: underline;
}

bdi {
    font-weight: 700;
}

.hd-phn {
    color: #fff;
    font-size: 0.875rem;
}

.hd-phn:hover {
    color: #000;
}

/* ==========================================================================
   PRODUCT & WOOCOMMERCE STYLING
   ========================================================================== */

.woocommerce-product-gallery .woocommerce-product-gallery__image {
    width: 25vh;
}

.product-image-link img {
    object-fit: contain;
    width: 20vh;
    height: 25vh;
}

.wd-cat-wrap {
    height: 100%;
    border: 1px solid #b2222263 !important;
    box-shadow: 2px 2px #b2222214;
}

.cat-design-alt.categories-with-shadow .wd-cat-thumb {
    box-shadow: none;
}

.woocommerce-variation-add-to-cart {
    flex-wrap: nowrap !important;
}

.button-rfq {
    flex: 0.3;
    background-color: #b22222;
    display: none;
    overflow: hidden;
    padding: 12px;
    line-height: 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    color: white !important;
    font-family: 'montserrat';
    text-transform: uppercase;
}

a.button-rfq {
    color: white !important;
}

.button-rfq:hover {
    background-color: #0e1e2e;
}

.button-rfq.rfq-visible {
    display: block;
    flex: 0.3;
}

.woocommerce-variation-description {
    display: none;
}

.wd-dropdown-search-cat.wd-design-default {
    width: 350px;
}

.wd-swatch.wd-text.wd-active.wd-enabled {
    background: #b22222;
    color: white;
}

.woocommerce-variation-price {
    font-size: 1.75rem;
}

.custom-size-row td {
    padding: 0;
}

#custom_size {
    width: 300px;
    font-size: 14px;
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */

@keyframes slideUpShadow {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
}

.animated-element {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-element:hover {
    animation: slideUpShadow 0.3s forwards;
}

/* ==========================================================================
   PAGE TITLE STYLING
   ========================================================================== */

.wd-page-title.page-title.page-title-default.title-size-default.title-design-centered.color-scheme-light.with-back-btn.wd-nav-accordion-mb-on::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.wd-page-title.page-title.page-title-default.title-size-default.title-design-centered.color-scheme-light.with-back-btn.wd-nav-accordion-mb-on * {
    z-index: 2;
}

.wd-page-title.page-title.page-title-default.title-size-default.title-design-centered.color-scheme-light.with-back-btn.wd-nav-accordion-mb-on {
    background-repeat: no-repeat;
    background-size: cover;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (min-width: 768px) {
    .tonnage-calculator {
        flex-direction: row;
        gap: 32px;
        align-items: stretch;
    }

    .tonnage-calculator-field-list-wrapper {
        flex: 1.5;
    }

    .tonnage-calculator-results-area {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: #f8f9fb;
        padding: 20px;
    }

    .die-calculator-area {
        display: flex;
        gap: 32px;
    }

    .die-calculator-field-list-wrapper {
        flex: 1.5;
        margin-bottom: 0;
    }

    .die-calculator-results-area {
        flex: 1;
        align-self: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .spec-main-container {
        flex-direction: column;
    }
    
    .spec-column {
        width: 100%;
    }
    
    .woocommerce-billing-fields__field-wrapper .form-row {
        width: 100% !important;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 600px;
    }
    
    .spec-content {
        padding: 20px 16px;
    }
    
    .spec-value {
        font-size: 1.3rem;
    }
    
    .part-number-value {
        font-size: 1.5rem;
    }

    .card-header {
        padding: 16px 12px;
        font-size: 0.8rem;
    }

    .icon-box {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .quotation-cart-wrapper {
        padding: 15px;
    }
    
    .quote-item-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .quote-item-image {
        width: 100px;
        height: 100px;
    }
    
    .quote-item-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .quote-pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-total-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media only screen and (max-width: 767px) {
    .product_title.entry-title.wd-entities-title {
        font-size: 1.5rem;
    }
    
    .variations tr {
        display: block;
        margin-bottom: 15px;
    }
    
    .variations th.label,
    .variations td.value {
        display: block;
        width: 100%;
        text-align: left;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .variations tr {
        display: block;
        margin-bottom: 15px;
    }
    
    .variations th.label,
    .variations td.value {
        display: block;
        width: 100%;
        text-align: left;
    }
}

@media only screen and (max-width: 600px) {
    table.variations .value {
        width: 100%;
        max-width: 350px;
    }
    
    table.variations select {
        max-width: 100%;
    }
    
    .brand-categories-wrapper {
        margin-top: 0;
    }
    
    .woocommerce-product-gallery .woocommerce-product-gallery__image {
        width: 40vh;
    }

    #pa_punch-size {
        width: 300px;
    }
    
    .entry-title.title {
        font-size: 25px;
    }
    
    .custom-size-row td {
        padding: 0;
        width: 100%;
        max-width: 350px;
    }
    
    .wd-reset-var {
        display: flex;
        justify-content: end;
    }
    
    #custom_size {
        border-bottom: 1px solid black;
        font-size: 16px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spec-value {
        font-size: 1.2rem;
    }
    
    .part-number-value {
        font-size: 1.4rem;
    }
}