/*
============================================
SILVERHILL MILL - WOOCOMMERCE STYLES
============================================
WooCommerce-specific overrides including:
- Link colors
- Button styles
- Messages
- Sale badges
============================================
*/

/* ========================================
   WOOCOMMERCE LINK COLORS
======================================== */
/* Override WooCommerce default blue links - content area only - EXCLUDE wood-filter */
.woocommerce #content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a),
.woocommerce-page #content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a),
.woocommerce #main-content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a),
.woocommerce-page #main-content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a),
.woocommerce .entry-content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a),
.woocommerce-page .entry-content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a),
.woocommerce .woocommerce-breadcrumb a,
.woocommerce-page .woocommerce-breadcrumb a {
    color: #6D4C41 !important;
}

.woocommerce #content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a):hover,
.woocommerce-page #content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a):hover,
.woocommerce #main-content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a):hover,
.woocommerce-page #main-content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a):hover,
.woocommerce .entry-content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a):hover,
.woocommerce-page .entry-content a:not(.button):not(.wood-filter a):not(.wood-filter .tagcloud a):hover {
    color: #3D5940 !important;
}

/* Exclude admin bar from color changes */
#wpadminbar a,
#wpadminbar a:hover,
.ab-item,
.ab-submenu a {
    color: inherit !important;
}

/* ========================================
   WOOCOMMERCE BUTTON COLORS
======================================== */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.button.alt {
    background-color: #B8956A !important;
    color: #FFFFFF !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
    background-color: #6D4C41 !important;
}

/* ========================================
   WOOCOMMERCE MESSAGES
======================================== */
.woocommerce-message,
.woocommerce-info {
    border-top-color: #6D4C41 !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #6D4C41 !important;
}

/* ========================================
   SALE BADGE STYLING
======================================== */
.et_pb_module .woocommerce span.onsale,
.et_pb_module .woocommerce-page span.onsale,
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale,
.woocommerce-page span.onsale,
span.onsale,
.onsale {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background-color: #B8956A !important;
    background: #B8956A !important;
    color: #FFFFFF !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    line-height: 1 !important;
    border: none !important;
    box-shadow: none !important;
}