/*
Theme Name: Pixel - Baustyr
Theme URI: https://baustyr.sk/
Description:
Author: Pixel
Author URI: https://pixel.sk/
Template: hello-biz
Version: 1.1
Text Domain: hello-biz
*/


* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
    overflow-x: hidden !important;
}

body {

    overflow-x: hidden !important;
}


h2 span {
    color: #E52533 !important;
}

.dokumenty-leftbg::before {
	background-size: 500px 100% !important;

}


.elementor-button {
    position: relative;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    opacity: 0.95;
}

.elementor-button:hover {
    -webkit-transform: scale(1.05) translateY(-2px);
    -ms-transform: scale(1.05) translateY(-2px);
    transform: scale(1.05) translateY(-2px);
    opacity: 1;
    -webkit-box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.single_product:hover {
    -webkit-transform: scale(1.03) translateY(-2px);
    -ms-transform: scale(1.03) translateY(-2px);
    transform: scale(1.03) translateY(-2px);
    opacity: 1;
}

.elementor-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    opacity: 0;
    -webkit-filter: blur(2px);
    filter: blur(2px);
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.elementor-button:hover::before {
    opacity: 0.5;
}


.elementor-button {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}


#site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#site-header.elementor-sticky--active {
    position: fixed;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}


#site-header.elementor-sticky--effects {
    position: fixed;
    background: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#site-header.elementor-sticky--effects .logo img {
    height: 36px;
    -webkit-transition: height 0.3s ease;
    -o-transition: height 0.3s ease;
    transition: height 0.3s ease;
}

@media (min-width: 782px) {
    body.logged-in #site-header.elementor-sticky--effects {
        top: 32px;
    }
}

@media (max-width: 781px) {
    body.logged-in #site-header.elementor-sticky--effects {
        top: 46px;
    }
}

.beforetextheader {

}

.beforetextheader .elementor-button-text::before {
    content: 'Zavolajte nám';
    font-size: 12px;
    display: block;
    text-align: center;
    font-weight: normal;
    line-height: 1.4;

}


.product-category-tree-wrapper {
    width: 100%;
}

.pct-container {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.pct-header {
    padding: 28px 32px;
    border-bottom: 1px solid #EEEEEE;
    position: relative;
}

.pct-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    width: 60px;
    height: 3px;
    background: #E32226;
}

.pct-title {
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

.pct-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pct-main-list {
    padding: 8px 0;
}

.pct-sub-list {
    display: none;
    padding-left: 52px;
    position: relative;
}

.pct-sub-list::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #EEEEEE;
}

.pct-item.pct-expanded > .pct-sub-list {
    display: block;
}

.pct-item {
    position: relative;
}

.pct-item-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 14px 32px;
    -webkit-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    transition: all 0.15s ease;
    cursor: pointer;
    position: relative;
}


.pct-item-content:hover {
    background: #f0f0f1;
    border-radius: 8px 0 0 8px;

}

.pct-item-content:hover::before {
    height: 24px;
}

.pct-item-content.pct-active {
    background: #f0f0f1;
    border-radius: 8px 0 0 8px;
}

.pct-item-content.pct-active::before {
    height: 100%;
}

.pct-item-content.pct-active .pct-link {
    color: #E32226;
    font-weight: 600;
}

.pct-toggle {
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-right: 12px;
    cursor: pointer;
    border-radius: 8px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    background: #FAFAFA;
}

.pct-item-content:hover .pct-toggle {
    color: white;
    background: #3e3787;
}


.pct-item-content:hover .pct-toggle .pct-icon {
    color: #FFFFFF;
}

.pct-toggle:hover {
    background: #E32226;
}

.pct-toggle:hover .pct-icon {
    color: #FFFFFF;
}

.pct-icon {
    -webkit-transition: color 0.2s ease, -webkit-transform 0.2s ease;
    transition: color 0.2s ease, -webkit-transform 0.2s ease;
    -o-transition: transform 0.2s ease, color 0.2s ease;
    transition: transform 0.2s ease, color 0.2s ease;
    transition: transform 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
    color: #666666;
}

.pct-expanded > .pct-item-content .pct-icon {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.pct-expanded > .pct-item-content .pct-toggle {
    background: rgba(227, 34, 38, 0.08);
}

.pct-expanded > .pct-item-content .pct-toggle .pct-icon {
    color: #E32226;
}

.pct-bullet {
    width: 6px;
    height: 6px;
    background: #D0D0D0;
    border-radius: 50%;
    margin-right: 16px;
    margin-left: 13px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.pct-item-content:hover .pct-bullet {
    background: #E32226;
    -webkit-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}

.pct-link {
    text-decoration: none;
    color: #2C2C2C;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-transition: color 0.15s ease;
    -o-transition: color 0.15s ease;
    transition: color 0.15s ease;
    font-size: 15px;
    line-height: 1.5;
}

.pct-link:hover {
    color: #E32226;
}

.pct-name {
    font-weight: 500;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    letter-spacing: -0.2px;
}

.pct-count {
    background: #FAFAFA;
    color: #666666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-left: 12px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    min-width: 28px;
    text-align: center;
}

.pct-link:hover .pct-count {
    background: #E32226;
    color: #FFFFFF;
    -webkit-transform: translateX(-4px);
    -ms-transform: translateX(-4px);
    transform: translateX(-4px);
}

.pct-sub-list .pct-item-content::before {
    display: none;
}

.pct-sub-list .pct-item-content:hover::after {
    background: #E32226;
    width: 16px;
}

.pct-sub-list .pct-link {
    font-size: 14px;
    color: #4A4A4A;
}

.pct-sub-list .pct-link:hover {
    color: #E32226;
}

.pct-sub-list .pct-bullet {
    width: 5px;
    height: 5px;
    margin-left: 0;
}

.pct-sub-list .pct-count {
    font-size: 12px;
    padding: 3px 10px;
}

.pct-no-categories {
    padding: 60px 40px;
    text-align: center;
    color: #999999;
    font-size: 15px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

@-webkit-keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
    }
}

.pct-sub-list {
    -webkit-animation: slideDown 0.3s ease;
    animation: slideDown 0.3s ease;
}

.pct-main-list > .pct-item:last-child {
    border-bottom: none;
}

.pct-main-list > .pct-item + .pct-item {
    position: relative;
}

.pct-main-list > .pct-item + .pct-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: #FAFAFA;
}

@media (max-width: 768px) {
    .product-category-tree-wrapper {
        margin: 20px 0;
    }

    .pct-container {
        border-radius: 12px;
    }

    .pct-header {
        padding: 20px 16px;
    }

    .pct-header::after {
        left: 16px;
        width: 40px;
        height: 2px;
    }

    .pct-title {
        font-size: 18px;
    }

    .pct-main-list {
        padding: 4px 0;
    }

    .pct-item-content {
        padding: 16px;
        min-height: 52px;
    }

    .pct-item-content.pct-active {
        background: -webkit-gradient(linear, left top, right top, from(rgba(227, 34, 38, 0.12)), to(rgba(227, 34, 38, 0.06)));
        background: -o-linear-gradient(left, rgba(227, 34, 38, 0.12) 0%, rgba(227, 34, 38, 0.06) 100%);
        background: linear-gradient(90deg, rgba(227, 34, 38, 0.12) 0%, rgba(227, 34, 38, 0.06) 100%);
    }

    .pct-item-content.pct-active::after {
        content: '';
        position: absolute;
        right: 16px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background: #E32226;
        border-radius: 50%;
    }

    .pct-toggle {
        width: 42px;
        height: 42px;
        margin-right: 8px;
        background: #FAFAFA;
    }

    .pct-toggle:active {
        background: rgba(227, 34, 38, 0.1);
    }

    .pct-bullet {
        margin-right: 12px;
        margin-left: 18px;
    }

    .pct-link {
        font-size: 16px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .pct-count {
        font-size: 12px;
        padding: 5px 10px;
    }

    .pct-sub-list {
        padding-left: 28px;
        background: rgba(250, 250, 250, 0.5);
    }

    .pct-sub-list::before {
        left: 20px;
    }

    .pct-sub-list .pct-item-content {
        padding: 14px 16px;
        min-height: 48px;
    }

    .pct-sub-list .pct-link {
        font-size: 15px;
    }

    .pct-sub-list .pct-toggle {
        width: 38px;
        height: 38px;
    }

    .pct-main-list > .pct-item + .pct-item::before {
        left: 16px;
        right: 16px;
    }

    .pct-no-categories {
        padding: 40px 20px;
        font-size: 14px;
        border-radius: 12px;
    }
}

@media (hover: hover) {
    .pct-item-content {
        cursor: default;
    }

    .pct-has-children > .pct-item-content {
        cursor: pointer;
    }
}

.pct-item-content:active {
    -webkit-transform: scale(0.99);
    -ms-transform: scale(0.99);
    transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
    .pct-item-content,
    .pct-toggle,
    .pct-icon,
    .pct-bullet,
    .pct-count {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }

    .pct-sub-list {
        -webkit-animation: none;
        animation: none;
    }
}

.pdl-category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.pdl-category-link {
    color: #999 !important;
    font-size: 11px;
    text-decoration: none;
    text-transform: uppercase !important;
    letter-spacing: 0.3px;
    font-weight: 500 !important;
    -webkit-transition: color 0.15s;
    -o-transition: color 0.15s;
    transition: color 0.15s;
    display: inline-block;
    line-height: 1.2 !important;
}

.pdl-category-link:hover {
    color: #E32226;
}

.pdl-price-wrapper {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 3px;
}

.pdl-old-price {
    color: #aaa;
    font-size: 13px;
    text-decoration: line-through;
    font-weight: 400;
    line-height: 1;
}

.pdl-price {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    gap: 3px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.pdl-price-prefix {
    font-size: 11px;
    font-weight: 400;
    color: #777;
    white-space: nowrap;
}

.pdl-price-amount {
    color: #E32226;
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.pdl-price-currency {
    font-size: 14px;
    font-weight: 600;
    color: #E32226;
    white-space: nowrap;
}

.pdl-price-unit {
    font-size: 11px;
    font-weight: 400;
    color: #999;
    white-space: nowrap;
}

.pdl-badges {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    gap: 4px;
    margin-top: 4px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.pdl-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.pdl-badge-sale {
    background: #E32226;
    color: #FFF;
}

.pdl-badge-openbox {
    background: #FF9800;
    color: #FFF;
}

.pdl-badge-limited {
    background: #3e3787;
    color: #FFF;
}

@media (max-width: 768px) {
    .pdl-category-link {
        font-size: 10px;
    }

    .pdl-price {
        font-size: 16px;
    }

    .pdl-old-price {
        font-size: 12px;
    }

    .pdl-price-currency {
        font-size: 13px;
    }

    .pdl-badge {
        font-size: 8px;
        padding: 2px 5px;
    }
}

.pdl-wrapper {
    text-align: right;
}

.pcl-wrapper {
    margin-top: -40px;
    padding-left: 15px;
}

/* Category shortcode CSS */
.pcl-link {
    color: #fff !important;
    font-size: 11px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
    -webkit-transition: color 0.15s;
    -o-transition: color 0.15s;
    transition: color 0.15s;
    display: inline-block;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
}

.pcl-link:hover {
    color: #E32226;
}

@media (max-width: 750px) {

    .pcl-link {
        display: none;
    }
}

.pcl-text {
    color: #69727d !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
    display: inline-block;
}

.pcl-separator {
    color: #ccc;
    font-size: 11px;
    margin: 0 4px;
}

.single_product img {

    -webkit-transition: all 0.5s;

    -o-transition: all 0.5s;

    transition: all 0.5s;
}

.single_product:hover img {
    -webkit-box-shadow: 0px 20px 30px -20px #3a308499;
    box-shadow: 0px 20px 30px -20px #3a308499;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

/* Product Gallery */
.spg-wrapper {
    position: relative;
    width: 100%;
}

.spg-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spg-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.spg-badge-sale {
    background: #E32226;
}

.spg-badge-openbox {
    background: #FF9800;
}

.spg-badge-limited {
    background: #3e3787;
}

.spg-badge-top {
    background: #4CAF50;
}

.spg-main {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
}

.spg-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.spg-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
}

.spg-thumb {
    flex: 0 0 80px;
    height: 80px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.spg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spg-thumb.active {
    border-color: #E32226;
}

.spg-thumb:hover {
    border-color: #999;
    transform: scale(1.05);
}

/* Product Price Block */
.spp-wrapper {
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 20px 0;
}

.spp-old-price {
    color: #999;
    font-size: 18px;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.spp-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.spp-prefix {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.spp-amount {
    font-size: 36px;
    font-weight: 700;
    color: #E32226;
    letter-spacing: -1px;
}

.spp-currency {
    font-size: 24px;
    font-weight: 600;
    color: #E32226;
}

.spp-unit {
    font-size: 14px;
    color: #666;
    margin-left: 4px;
}

.spp-discount {
    display: inline-block;
    background: #4CAF50;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Product Variants */
.spv-wrapper {
    margin: 30px 0;
}

.spv-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.spv-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spv-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 8px;
    transition: background 0.2s;
    background: #69727d12;
}

.spv-item:hover {
    background: #f0f0f0;
}

.spv-info {
    flex: 1;
}

.spv-name {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.spv-code {
    font-size: 12px;
    color: #666;
}

.spv-price {
    font-size: 20px;
    font-weight: 700;
    color: #E32226;
    white-space: nowrap;
}

/* Product Stock */
.sps-wrapper {
    margin: 20px 0;
}

.sps-available, .sps-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.sps-available {
    background: #E8F5E9;
    color: #2E7D32;
}

.sps-unavailable {
    background: #FFEBEE;
    color: #C62828;
}

.sps-icon {
    flex-shrink: 0;
}

/* Product Meta */
.spm-wrapper {
    margin-bottom: 16px;
}

.spm-category {
    text-align: right;
}

.spm-category a {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    text-align: right;
}

.spm-category a:hover {
    color: #E32226;
}

.spm-sku {
    font-size: 13px;
    color: #fff;
    text-align: right;
}

/* Product Actions */
.spa-wrapper {
    margin: 30px 0;
}

.spa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-right: 12px;
    margin-bottom: 12px;
}

.spa-btn-primary {
    background: #E32226;
    color: #fff;
}

.spa-btn-primary:hover {
    background: #C11E1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 34, 38, 0.25);
}

.spa-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.spa-btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.spa-downloads {
    margin-top: 16px;
    display: flex;
    gap: 16px;
}

.spa-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.spa-download:hover {
    color: #E32226;
}

.spa-download svg {
    width: 16px;
    height: 16px;
}

/* Product Specifications */
.spt-wrapper {
    margin: 40px 0;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 12px;
}

.spt-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.spt-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.spt-content ul, .spt-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.spt-content li {
    margin: 8px 0;
}

.spt-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.spt-content td, .spt-content th {
    padding: 10px;
    border: 1px solid #ddd;
}

.spt-content th {
    background: #f0f0f0;
    font-weight: 600;
}

/* Related Products */
.spr-wrapper {
    margin: 40px 0;
}

.spr-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.spr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.spr-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.spr-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.spr-item a {
    text-decoration: none;
    color: #333;
}

.spr-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.spr-item h4 {
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 50px;
}

.spr-price {
    padding: 0 12px 12px;
    font-size: 18px;
    font-weight: 700;
    color: #E32226;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .spg-badges {
        flex-direction: row;
        flex-wrap: wrap;
        top: 8px;
        left: 8px;
    }


    .spm-category {
        text-align: left;
    }


    .spg-badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    .spg-thumbs {
        gap: 8px;
    }

    .spg-thumb {
        flex: 0 0 60px;
        height: 60px;
    }

    .spp-amount {
        font-size: 28px;
    }

    .spp-currency {
        font-size: 20px;
    }

    .spp-old-price {
        font-size: 16px;
    }

    .spv-item {
        padding: 10px;
    }

    .spv-name {
        font-size: 14px;
    }

    .spv-price {
        font-size: 15px;
    }

    .spa-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    .spa-downloads {
        flex-direction: column;
        gap: 12px;
    }

    .spt-wrapper {
        padding: 20px;
    }

    .spt-title {
        font-size: 18px;
    }

    .spt-content {
        font-size: 14px;
    }

    .spr-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .spr-item img {
        height: 150px;
    }

    .spr-item h4 {
        font-size: 13px;
        padding: 8px;
    }

    .spr-price {
        font-size: 16px;
        padding: 0 8px 8px;
    }
}

@media (max-width: 768px) {
    body.pct-menu-open {
        overflow: hidden;
    }

    .product-category-tree-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100%;
        z-index: 10000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 0;
    }

    .product-category-tree-wrapper.pct-mobile-active {
        left: 0;
    }

    .pct-container {
        height: 100%;
        border-radius: 0;
        border: none;
        display: flex;
        flex-direction: column;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    }

    .pct-header {
        padding: 20px 16px;
        background: linear-gradient(135deg, #E32226 0%, #C11E1C 100%);
        border-bottom: none;
        position: relative;
        flex-shrink: 0;
    }

    .pct-header::after {
        display: none;
    }

    .pct-title {
        color: #FFFFFF !important;
        font-size: 20px;
        padding-right: 40px;
    }

    .pct-mobile-close {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s;
    }

    .pct-mobile-close:active {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(0.95);
    }

    .pct-mobile-close svg {
        color: #FFFFFF;
    }

    .pct-main-list {
        flex: 1;
        overflow-y: auto;
        padding: 0;
        -webkit-overflow-scrolling: touch;
    }

    .pct-item-content {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        min-height: 48px;
    }

    .pct-item-content:hover {
        background: #f8f8f8;
        border-radius: 0;
    }

    .pct-item-content.pct-active {
        background: linear-gradient(90deg, rgba(227, 34, 38, 0.15) 0%, rgba(227, 34, 38, 0.05) 100%);
        border-radius: 0;
        border-left: 4px solid #E32226;
        padding-left: 12px;
    }

    .pct-item-content.pct-active::after {
        display: none;
    }

    .pct-toggle {
        width: 36px;
        height: 36px;
        background: transparent;
        margin-right: 8px;
    }

    .pct-toggle:active {
        background: rgba(227, 34, 38, 0.1);
    }

    .pct-bullet {
        width: 4px;
        height: 4px;
        margin-left: 14px;
        margin-right: 14px;
    }

    .pct-link {
        font-size: 15px;
    }

    .pct-count {
        font-size: 11px;
        padding: 3px 8px;
        background: rgba(227, 34, 38, 0.1);
        color: #E32226;
    }

    .pct-sub-list {
        padding-left: 0;
        background: rgba(0, 0, 0, 0.02);
    }

    .pct-sub-list::before {
        display: none;
    }

    .pct-sub-list .pct-item-content {
        padding-left: 48px;
        font-size: 14px;
    }

    .pct-sub-list .pct-item-content.pct-active {
        padding-left: 44px;
    }

    .pct-sub-list .pct-bullet {
        margin-left: 0;
    }

    .pct-main-list > .pct-item + .pct-item::before {
        display: none;
    }

    .pct-mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    body.pct-menu-open .pct-mobile-overlay {
        opacity: 1;
        visibility: visible;
    }

    .pct-mobile-toggle {
        position: fixed;
        bottom: 24px;
        left: 24px;
        width: auto;
        height: 48px;
        background: #E32226;
        color: #FFFFFF;
        border-radius: 24px;
        display: flex;
        align-items: center;
        padding: 0 20px;
        gap: 10px;
        box-shadow: 0 4px 12px rgba(227, 34, 38, 0.3);
        z-index: 9998;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        animation: slideInUp 0.5s ease;
    }

    .pct-mobile-toggle:active {
        transform: scale(0.95);
    }

    .pct-mobile-toggle:hover {
        background: #C11E1C;
        box-shadow: 0 6px 16px rgba(227, 34, 38, 0.4);
    }

    .pct-mobile-icon {
        flex-shrink: 0;
    }

    .pct-mobile-label {
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    @keyframes slideInUp {
        from {
            transform: translateY(100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    body.logged-in .pct-mobile-toggle {
        bottom: 70px;
    }

    .pct-expanded > .pct-item-content .pct-toggle {
        background: rgba(227, 34, 38, 0.1);
    }

    .pct-expanded > .pct-item-content .pct-icon {
        color: #E32226;
    }
}

@media (min-width: 769px) {
    .pct-mobile-toggle,
    .pct-mobile-overlay,
    .pct-mobile-close {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .spm-sku {
        text-align: left;
    }
}

.logo_holder {
    width: 150px;
    margin-bottom: -50px;
    margin-top: 10px;
}


.site-header {
    transition: all 0.3s ease;
}
.site-header.elementor-sticky--active.elementor-sticky--effects .logo_holder {
    width: 70px;
    margin: 0;
    transition: all 0.3s ease;
}


.site-header.elementor-sticky--active.elementor-sticky--effects .logo_holder {
    width: 70px;
    margin-top: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}
.swiper-slide-image {
    max-height: 360px;
}
@media (max-width: 700px) {
    .swiper-slide-image {
        max-height: 200px;
    }
}

.referencia_single {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* ensure it feels clickable */
}

.referencia_single:hover {
    transform: scale(1.02); /* zoom in slightly */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* optional: add a subtle shadow */
}


.gallery_selector {
    transition: 0.2s all;
}

.gallery_selector:hover {
    transition: 0.2s all;
    transform: scale(1.02);
}


.gallery_selector img {
    object-fit: cover;
}

.pdl-price-no-vat {
    font-size: 12px;
    line-height: 1.2;
}

.pdl-price-vat {
    font-size: 14px;
}

.spv-price-no-vat {
    font-size: 0.8em;
    color: #777777;
    font-weight: normal;
}