/* Panda Web icon system: Font Awesome Free 6.7.2. */
:root {
    --pw-fa-solid: "Font Awesome 6 Free";
    --pw-fa-brands: "Font Awesome 6 Brands";
}

.pw-fa,
.pw-product-card__chip::before,
.pw-product-card__quantity::before,
.pw-product-card__quote::before,
.pw-product-cat-sidebar__toggle::before,
.product-related-products .pw-related-product-meta__item::before,
.product-promotion .pp-benefits .head .title::before,
.product-promotion .pp-benefits .content li::before,
.pw-product-info__links li::before,
.pw-product-specs__toggle::before,
.pw-product-specs__toggle::after {
    font-family: var(--pw-fa-solid) !important;
    font-style: normal;
    font-variant: normal;
    font-weight: 900 !important;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Header search, hotline and cart icons. */
.header-search {
    position: relative;
}

.header-search::after {
    content: "\f002";
    position: absolute;
    top: 50%;
    right: 16px;
    color: #555;
    font-family: var(--pw-fa-solid);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.header-main .block-actions .banner-item .banner-link::before {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    color: #e60012;
    font-family: var(--pw-fa-solid);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.header-main .block-actions .banner-item:first-child .banner-link::before { content: "\f2a0"; }
.header-main .block-actions .banner-item:last-child .banner-link::before { content: "\f07a"; }
.header-main .block-actions .banner-item .banner-link > img { display: none !important; }

@media (min-width: 1201px) {
    .header-main .block-actions .banners-list {
        gap: 22px;
    }

    .header-main .block-actions .banner-item:first-child,
    .header-main .block-actions .banner-item:nth-child(2) .banner-link {
        min-height: 40px;
    }

    .header-main .block-actions .banner-link {
        gap: 8px;
    }

    .header-main .block-actions .banner-item .banner-link::before {
        width: 32px;
        height: 40px;
        flex-basis: 32px;
        font-size: 26px;
    }

    .header-main .block-actions .banner-item:first-child .banner-title,
    .header-main .block-actions .banner-item:nth-child(2) .banner-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 20px !important;
    }

    .header-main .block-actions .banner-caption {
        left: 40px;
        bottom: 1px;
        color: #444;
        font-size: 14px !important;
        line-height: 18px;
        letter-spacing: 0;
    }
}

/* Quote form fields and upload controls. */
.tinado-quote-form .tqf-field::before {
    font-family: var(--pw-fa-solid) !important;
    font-weight: 900 !important;
}

.tinado-quote-form .tqf-extra-details > summary::after {
    content: "\f078" !important;
    font-family: var(--pw-fa-solid) !important;
    font-weight: 900 !important;
}

.tqf-icon-product { --tqf-icon: "\f02f" !important; }
.tqf-icon-size { --tqf-icon: "\f546" !important; }
.tqf-icon-pages { --tqf-icon: "\f0c5" !important; }
.tqf-icon-material { --tqf-icon: "\f5fd" !important; }
.tqf-icon-time { --tqf-icon: "\f017" !important; }
.tqf-icon-qty { --tqf-icon: "\f468" !important; }
.tqf-icon-color { --tqf-icon: "\f53f" !important; }
.tqf-icon-user { --tqf-icon: "\f007" !important; }
.tqf-icon-phone { --tqf-icon: "\f095" !important; }
.tqf-icon-mail { --tqf-icon: "\f0e0" !important; }
.tqf-icon-note { --tqf-icon: "\f086" !important; }

body .tqf-upload .codedropz-upload-inner span:first-child::before,
body :is(#wpcf7-f63-o1, #wpcf7-f431-o1) .codedropz-upload-inner span:first-child::before {
    content: "\f0ee" !important;
    font-family: var(--pw-fa-solid) !important;
    font-weight: 900 !important;
}

/* Compact, vertically aligned upload control shared by all quote forms. */
body .codedropz-upload-wrapper .codedropz-upload-handler {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 3px 0 10px !important;
    border-radius: 17px !important;
}

body .codedropz-upload-wrapper .codedropz-upload-inner {
    height: 30px !important;
    min-height: 30px !important;
    align-items: center !important;
}

body .codedropz-upload-wrapper .codedropz-upload-inner span:first-child::before {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px;
    font-size: 18px !important;
    line-height: 20px !important;
}

body .codedropz-upload-wrapper .codedropz-upload-inner span:first-child::after,
body .codedropz-upload-wrapper .codedropz-upload-inner span:nth-child(2)::before,
body .codedropz-upload-wrapper .codedropz-upload-inner .cd-upload-btn::after {
    font-size: 14px !important;
    line-height: 18px !important;
}

body .codedropz-upload-wrapper .codedropz-upload-inner span:nth-child(2) {
    top: 50%;
    line-height: 18px !important;
    transform: translate(-50%, -50%) !important;
}

body .codedropz-upload-wrapper .codedropz-upload-inner .cd-upload-btn {
    width: 94px !important;
    min-width: 94px !important;
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 10px !important;
    border-radius: 13px !important;
}

/* Keep the separator in its own column instead of overlaying the button. */
body .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner {
    grid-template-columns: minmax(0, 1fr) auto 94px !important;
    gap: 8px !important;
}

body .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner span:first-child {
    grid-column: 1 !important;
}

body .wpcf7-form .codedropz-upload-wrapper .codedropz-upload-inner span:nth-child(2) {
    position: static !important;
    grid-column: 2 !important;
    justify-self: center;
    transform: none !important;
}

body .wpcf7-form .codedropz-upload-wrapper .codedropz-btn-wrap {
    grid-column: 3 !important;
}

.tinado-quote-form .tqf-cart .dashicons::before {
    content: "\f07a" !important;
    font-family: var(--pw-fa-solid) !important;
    font-weight: 900 !important;
}

/* Product cards and archive navigation. */
.pw-product-card__meta,
.pw-product-card__chip,
.pw-product-card__quantity {
    font-size: 14px !important;
}

.pw-product-card__meta {
    width: 100%;
    column-gap: 0;
    justify-content: space-between;
}

/* Product-card interaction: subtle lift, image zoom and brand-color title. */
.woocommerce ul.products li.product.pw-product-card {
    border-radius: 10px;
    background: #fff;
    transition: transform .22s ease, box-shadow .22s ease;
}

.woocommerce ul.products li.product.pw-product-card .pw-product-card__image {
    overflow: hidden;
}

.woocommerce ul.products li.product.pw-product-card .pw-product-card__image img,
.woocommerce ul.products li.product.pw-product-card .pw-product-card__title a {
    transition: transform .3s ease, color .2s ease;
}

.woocommerce ul.products li.product.pw-product-card .pw-product-card__title {
    margin-right: 12px;
    margin-left: 12px;
}

.woocommerce ul.products li.product.pw-product-card .pw-product-card__meta {
    width: auto;
    margin-right: 12px;
    margin-left: 12px;
}

.woocommerce ul.products li.product.pw-product-card .pw-product-card__bottom {
    margin-right: 12px;
    margin-bottom: 12px;
    margin-left: 12px;
}

@media (hover: hover) and (pointer: fine) {
    .woocommerce ul.products li.product.pw-product-card:hover,
    .woocommerce ul.products li.product.pw-product-card:focus-within {
        z-index: 1;
        box-shadow: 0 10px 24px rgba(13, 18, 39, .14);
        transform: translateY(-5px);
    }

    .woocommerce ul.products li.product.pw-product-card:hover .pw-product-card__image img,
    .woocommerce ul.products li.product.pw-product-card:focus-within .pw-product-card__image img {
        transform: scale(1.035);
    }

    .woocommerce ul.products li.product.pw-product-card:hover .pw-product-card__title a,
    .woocommerce ul.products li.product.pw-product-card:focus-within .pw-product-card__title a {
        color: #e60012;
    }
}

@media (prefers-reduced-motion: reduce) {
    .woocommerce ul.products li.product.pw-product-card,
    .woocommerce ul.products li.product.pw-product-card .pw-product-card__image img,
    .woocommerce ul.products li.product.pw-product-card .pw-product-card__title a {
        transition: none;
    }
}

@media (min-width: 821px) and (max-width: 1200px) {
    .pw-product-card__meta {
        column-gap: .55rem;
        justify-content: flex-start;
    }
}

.pw-product-card__chip--size::before,
.product-related-products .pw-related-product-meta__item--custom::before { content: "\f546" !important; }
.pw-product-card__chip--material::before,
.product-related-products .pw-related-product-meta__item--material::before { content: "\f5fd" !important; }
.pw-product-card__chip--speed::before,
.product-related-products .pw-related-product-meta__item--speed::before { content: "\f0e7" !important; }
.pw-product-card__quantity::before { content: "\f468" !important; }
.pw-product-card__quote::before { content: "\f573" !important; }

.pw-product-cat-sidebar__toggle {
    width: 18px !important;
    height: 18px !important;
    border: 0 !important;
    transform: none !important;
}

.pw-product-cat-sidebar__toggle::before {
    content: "\f054";
    display: block;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    transition: transform .18s ease;
}

.pw-product-cat-sidebar__group[open] > summary .pw-product-cat-sidebar__toggle::before {
    transform: rotate(90deg);
}

/* Product detail and content controls. */
.product-promotion .pp-benefits .head .title::before { content: "\f06b" !important; }
.product-promotion .pp-benefits .content li::before { content: "\f058" !important; }
.pw-product-info__links li::before { content: "\f054" !important; }
.pw-product-specs__toggle::before { content: "\f078" !important; }
.pw-product-specs__toggle::after { content: "\f078" !important; }
.pw-product-specs__toggle.is-open::before,
.pw-product-specs__toggle.is-open::after { content: "\f077" !important; }
.pw-product-summary .pw-product-specs__toggle[aria-expanded="true"]::before { content: "\f077" !important; }

.pw-product-detail-content__more span::after {
    content: "\f103" !important;
    font-family: var(--pw-fa-solid) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.pw-product-detail-content:has(.pw-product-detail-content__more input:checked) .pw-product-detail-content__more span::after {
    content: "\f102" !important;
}

.pw-product-info__icon .fa-solid,
.pw-product-specs__icon .fa-solid,
.toc-toggle-icon .fa-solid,
.pw-product-empty__icon .fa-solid,
.pw-atc-close .fa-solid,
.pw-qty-btn .fa-solid {
    display: block;
    line-height: 1;
}

.pw-product-info__icon .fa-solid { font-size: 20px; }
.pw-product-specs__icon .fa-solid { font-size: 14px; }
.toc-toggle-icon .fa-solid { font-size: 18px; }
.pw-atc-close .fa-solid { font-size: 20px; }
.pw-qty-btn .fa-solid { font-size: 14px; }
.woocommerce a.remove .fa-solid { display: block; font-size: 18px; line-height: 1; }

.pw-error-page form button::before,
.pw-post-archive__search button::before {
    content: "\f002";
    margin-right: .45rem;
    font-family: var(--pw-fa-solid);
    font-weight: 900;
}

/* Footer and generic theme disclosure arrows. */
.footer-main .menu-item-has-children > a::after {
    content: "\f078";
    margin-left: .4em;
    font-family: var(--pw-fa-solid);
    font-size: .8em;
    font-weight: 900;
}
