/* WebST B2B Tools – general frontend styles. */

.page-id-36947 #main-content{
	max-width: 100%!important;
	padding:0!important;
	margin:0!important;
} 

.page-id-36947 .wd-toolbar{
	display: none;
}

body.page-id-36947{
    margin-left:0!important;
}

.page-id-36947 .wd-sticky-nav{
	display: none;
}

/* Login form shortcode */
.webst-login form p {
	margin: 0 0 1em;
}

.webst-login label {
	display: block;
}

.webst-login input[type="text"],
.webst-login input[type="password"] {
	box-sizing: border-box;
	width: 100%;
}

.webst-login .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

.webst-login__message--error {
	color: #b32d2e;
}


/* ========================================
   WEBST B2B LOGIN FORM
   ======================================== */

.webst-login {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

/* Reset WP form spacing */
.webst-login #loginform {
    margin: 0;
}

.webst-login #loginform p {
    margin: 0 0 22px;
}


/* Labels
   ---------------------------------------- */

.webst-login #loginform label {
    display: block;
    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    color: #222;
}


/* Username + Password inputs
   ---------------------------------------- */

.webst-login #user_login,
.webst-login #user_pass {
    display: block;
    width: 100%;
    height: 54px;

    padding: 0 16px;

    font-size: 16px;
    font-weight: 400;

    color: #222;
    background: #fff;

    border: 1px solid #d8d8d8;
    border-radius: 6px;

    outline: none;
    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.webst-login #user_login:hover,
.webst-login #user_pass:hover {
    border-color: #aaa;
}

.webst-login #user_login:focus,
.webst-login #user_pass:focus {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}


/* Remember me
   ---------------------------------------- */

.webst-login .login-remember {
    margin-top: -4px !important;
    margin-bottom: 24px !important;
}

.webst-login .login-remember label {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;

    margin: 0 !important;

    font-size: 14px !important;
    font-weight: 400 !important;

    color: #555 !important;

    cursor: pointer;
}

.webst-login .login-remember input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;

    accent-color: #222;

    cursor: pointer;
}


/* Login button
   ---------------------------------------- */

.webst-login .login-submit {
    margin-bottom: 18px !important;
}

.webst-login #wp-submit {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 54px;

    padding: 0 24px;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;

    color: #fff;
    background: #222;

    border: 0;
    border-radius: 6px;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
}

.webst-login #wp-submit:hover {
    background: #000;
}

.webst-login #wp-submit:active {
    transform: translateY(1px);
}


/* Lost password
   ---------------------------------------- */

.webst-login__lost-password {
    margin: 0;
    text-align: center;
}

.webst-login__lost-password a {
    font-size: 14px;
    font-weight: 500;

    color: #555;
    text-decoration: none;

    transition: color 0.2s ease;
}

.webst-login__lost-password a:hover {
    color: #000;
    text-decoration: underline;
}


/* Mobile
   ---------------------------------------- */

@media (max-width: 576px) {

    .webst-login {
        max-width: 100%;
    }

    .webst-login #user_login,
    .webst-login #user_pass,
    .webst-login #wp-submit {
        height: 52px;
    }
}

@media (min-width: 1025px) {
    body .title-size-small {
        --wd-title-sp: 20px;
        --wd-title-font-s: 34px;
    }
}

.shop-loop-head{
    display: none!important;
}

.home .wd-page-title{
    display: none!important;
}

/* Hangers (tirella) */
/* Hangers (tirella) */

.webst-hanger-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #1f2937;
    color: #fff;
    position: relative;
    padding: 5px;
    border-radius: 5px;
}

.webst-hanger-label::after {
    content: attr(data-webst-tip);
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 6px;
    width: max-content;
    max-width: 220px;
    padding: 6px 10px;
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 1.3;
    text-transform: none;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.15s;
}

.webst-hanger-label:hover::after,
.webst-hanger-label:focus::after {
    opacity: 1;
    visibility: visible;
}

.webst-hanger-btn {
    display: inline-block;
    margin-top: 8px;
    text-align: center;
}

.webst-hanger-btn--archive {
    display: block;
    width: 100%;
}

.webst-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.webst-product-actions .webst-hanger-btn {
    margin-top: 0;
}

.webst-product-actions .webst-hanger-btn--inquiry {
    background: var(--wd-primary-color, #b08d57);
    border: 2px solid var(--wd-primary-color, #b08d57);
    color: #fff;
    box-shadow: none;
    transition: background-color .2s, color .2s;
}

.webst-product-actions .webst-hanger-btn--inquiry:hover,
.webst-product-actions .webst-hanger-btn--inquiry:focus {
    background: transparent;
    color: var(--wd-primary-color, #b08d57);
}

.webst-product-actions .webst-hanger-btn--pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.webst-product-pdfs__title {
    margin: 0 0 8px;
    font-size: 15px;
}

.webst-product-actions--pdfs {
    margin-top: 0;
}

.webst-modal[hidden] {
    display: none;
}

.webst-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.webst-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.webst-modal__box {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    background: #fff;
}

.webst-modal .webst-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.webst-modal .webst-modal__close:hover {
    background: var(--wd-primary-color, #b08d57);
    color: #fff;
}

.webst-modal__box {
    border-radius: 8px;
    border-top: 4px solid var(--wd-primary-color, #b08d57);
    padding: 40px 30px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.webst-modal__box::before {
    content: attr(data-title);
    display: block;
    margin-bottom: 20px;
    padding-right: 40px;
    font-size: 22px;
    font-weight: 600;
}

.webst-modal .ff-el-group {
    margin-bottom: 16px;
}

.webst-modal .ff-el-input--label label {
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.webst-modal .ff-el-form-control {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.webst-modal .ff-el-form-control:focus {
    border-color: var(--wd-primary-color, #b08d57);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(176, 141, 87, .18);
    outline: 0;
}

.webst-modal textarea.ff-el-form-control {
    min-height: 130px;
}

.webst-modal .ff_submit_btn_wrapper {
    margin-top: 10px;
}

.webst-modal .ff_submit_btn_wrapper .ff-btn-submit,
.webst-modal button.ff-btn-submit {
    display: block !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 12px 20px !important;
    border: 2px solid var(--wd-primary-color, #b08d57) !important;
    border-radius: 6px !important;
    background: var(--wd-primary-color, #b08d57) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
    letter-spacing: .05em;
    box-shadow: none !important;
    cursor: pointer;
}

.webst-modal .ff_submit_btn_wrapper .ff-btn-submit:hover,
.webst-modal button.ff-btn-submit:hover {
    background: transparent !important;
    color: var(--wd-primary-color, #b08d57) !important;
}

/* Uniform product image dimensions */
.woocommerce .product-grid-item .product-element-top img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
}

.single-webst_gallery .wd-page-nav, .single-webst_gallery .wd-single-footer{
    display: none;
}

.webst-measure-unit {
    align-self: center;
    margin-inline-start: 8px;
    font-weight: 600;
}

.webst-measure-price-unit {
    font-size: .8em;
    font-weight: 400;
}

.webst-customer-discount {
    display: inline-block;
    margin-inline-start: .5em;
    padding: .3em .65em;
    border: 1px solid #e4d8b8;
    border-radius: 6px;
    background: #f8f4e8;
    color: #69562a;
    font-size: .48em;
    font-weight: 500;
    line-height: 1.4;
    vertical-align: middle;
}

.webst-customer-discount__value {
    color: inherit;
    font-weight: 700;
}

.webst-measure-total {
    margin: 10px 0 15px;
}

.webst-measure-total[hidden] {
    display: none;
}

.webst-care-instructions {
    margin: 0;
    padding: 0;
    list-style: none;
}

.webst-care-instructions__item {
    margin: 0 0 0.6em;
    line-height: 1.5;
}

.webst-care-instructions__item:last-child {
    margin-bottom: 0;
}

.quantity input.qty.webst-measure-qty {
    width: 90px;
}

body:not(.logged-in) .wd-header-cart {
    display: none;
}
