:root {
    --c-color-yellow: #f7c918;
}

.woocommerce-shop .page-title,
.woocommerce.archive .page-title {
    font-family: "Kanit Cyr", sans-serif;
    color: inherit;
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 56px);
    font-size: clamp(30px, 5vw, 64px);
    font-weight: 500;
}

.woocommerce-shop .woocommerce-breadcrumb a {
    color: #fff;
}

.woocommerce-shop .products,
.woocommerce.archive .products,
.elementor-widget-container .products {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 32px);
    margin-bottom: clamp(24px, 5vw, 48px);
}

.woocommerce.archive .page-title {
    text-align: left;
}

.woocommerce .site-main {
    max-width: 1352px !important;
    padding: 0 16px !important;
}

.q-catcard {
    position: relative;
    background-color: transparent;
    background-image: radial-gradient(at bottom right, var(--e-global-color-afa02a3) 30%, var(--e-global-color-08294b7) 100%);
    border-radius: 20px;
    grid-column: span 6;
    padding: 30px;
    border: 1px solid rgba(150, 141, 141, 0.16);
    height: 100%;
    transition: 0.3s;
    overflow: hidden;
}

.q-catcard__entry {
    max-width: 66%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.q-catcard__title {
    font-family: "Kanit Cyr", system-ui, sans-serif;
    font-size: clamp(22px, 3vw, 40px);
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 600;
}

.q-catcard__snippet {
    color: #bbb;
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: clamp(28px, 4vw, 48px);
}

.q-catcard__image {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 40% !important;
    height: auto;
    max-height: 90%;
    width: auto;
    transform: translateX(2.5%);
    transition: 0.3s;
}

.q-catcard:hover .q-catcard__image {
    transform: translateX(-2.5%);
}

.q-catcard__action {
    margin-top: auto;
}


.q-catcard__action a {
    font-family: "Kanit Cyr", sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    color: #fff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    transition: 0.3s;
}

.q-catcard__action a:hover {
    color: var(--e-global-color-primary);
}

.q-catcard__action a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.q-catcard:hover {
    background-color: transparent;
    background-image: radial-gradient(at bottom right, var(--e-global-color-2727e9f) 40%, var(--e-global-color-08294b7) 100%);
}

@media (width < 992px) {
    .q-catcard {
        grid-column: span 12;
        padding: clamp(20px, 2.5vw, 30px);
    }

    .q-catcard__entry {
        max-width: 100%;
    }

    .q-catcard__snippet {
        max-width: 66%;
    }
}

.q-catalog--products .q-catalog__wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(24px, 3vw, 32px);
}


.q-catalog__content {
    margin: clamp(36px, 5vw, 64px) 0;
}

.q-catalog__loop {
    clear: both;
}

.q-catalog__aside {
    position: relative;
}

.q-catalog__aside .wp-block-heading {
    font-size: clamp(14px, 2vw, 18px);
    color: #444;
}

.q-catalog__aside .wp-block-woocommerce-product-filter-attribute {
    padding-top: 16px;
    border-top: 1px solid #555;
}

@media (width < 992px) {
    .q-catalog .wc-block-product-filters__open-overlay {
        position: absolute;
        top: 12px;
    }

    .q-catalog--products .q-catalog__wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.q-prodcard {
    position: relative;
    background-color: #111;
    background-image: radial-gradient(at bottom right, var(--e-global-color-afa02a3) 30%, var(--e-global-color-08294b7) 100%);
    border-radius: 20px;
    grid-column: span 4;
    padding: clamp(12px, 2vw, 24px);
    border: 1px solid rgba(150, 141, 141, 0.16);
    height: 100%;
    transition: 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.q-prodcard:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    background-image: radial-gradient(at bottom right, var(--e-global-color-2727e9f) 40%, var(--e-global-color-08294b7) 100%);
}

.q-prodcard__image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(12px, 1.5vw, 15px);
}

.q-prodcard__image picture {
    display: contents;
}

.q-prodcard__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.q-prodcard__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}

.q-prodcard__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 20px;
}

.q-prodcard__title {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #fff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.q-prodcard__title:hover {
    color: #f5a623;
}

.q-prodcard__availability {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: clamp(8px, 1.25vw, 12px);
}

.q-prodcard__availability.in-stock {
    color: #4caf50;
}

.q-prodcard__availability.out-of-stock {
    color: #e53935;
}

.q-prodcard__availability svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.q-prodcard__specs {
    margin-bottom: 16px;
}

.q-prodcard__price {
    color: #fff;
    margin-bottom: clamp(18px, 2vw, 24px);
    font-weight: 600;
    margin-top: auto;
}

.q-prodcard__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.q-prodcard .stars {
    display: flex;
    gap: 2px;
}

.q-prodcard .star {
    width: 14px;
    height: 14px;
    fill: #f5a623;
}

.q-prodcard .star.empty {
    fill: #ddd;
}

.q-prodcard .rating-text {
    font-size: 13px;
    color: #888;
}

.q-prodcard .spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(12px, 2vw, 13px);
    padding: 4px 0;
    gap: 4px;
}

.q-prodcard .spec-row:last-child {
    border-bottom: none;
}

.q-prodcard .spec-label {
    color: #ccc;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.q-prodcard .spec-value {
    color: #ddd;
    font-weight: 500;
}

.q-prodcard .spec-icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    transform: scale(2);
    mask: var(--c-icon-src) no-repeat center/contain;
    background: currentColor;
}

@media (width < 1160px) {
    .q-prodcard {
        grid-column: span 6;
    }

    .q-prodcard__image {
        height: 150px;
    }
}

@media (width < 420px) {
    .q-prodcard .spec-label__text {
        display: none;
    }

    .q-prodcard .spec-row {
        justify-content: flex-start;
    }
}

.cbtn {
    padding: clamp(12px, 2vw, 14px) clamp(14px, 3vw, 32px) !important;
    font-size: clamp(13px, 2vw, 16px) !important;
    font-weight: 500;
    text-decoration: none !important;
    line-height: 1.2 !important;
    text-align: center;
}

.cbtn--primary {
    background-color: var(--c-color-yellow) !important;
    color: #222 !important;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px 10px 10px 10px !important;
    box-shadow: 0px 0px 0px 5px rgba(246, 217, 65, 0.25);
}

.cbtn--primary:hover {
    background-color: transparent;
    background-image: linear-gradient(150deg, var(--e-global-color-primary) 0%, var(--e-global-color-ae35e46) 100%);
}

.menu-item a {
    white-space: nowrap;
}

.wc-block-product-categories-list {
    list-style-type: none;
    padding-left: 0;
}

.wc-block-product-categories-list a {
    display: block;
    padding: 4px 0;
    color: #666;
}

.wc-block-product-categories-list a:hover {
    color: var(--c-color-yellow);
    text-decoration: underline;
}

.woocommerce-pagination .page-numbers {
    border: 0 !important;
}

.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    gap: 8px;
    justify-content: center;
}

.woocommerce-pagination li {
    border: 0 !important;
}

.woocommerce-pagination li .page-numbers {
    width: clamp(36px, 4vw, 38px);
    height: clamp(36px, 4vw, 38px);
    background-color: #111;
    background-image: radial-gradient(at bottom right, var(--e-global-color-afa02a3) 30%, var(--e-global-color-08294b7) 100%);
    border-radius: 6px;
    color: #fff;
    border: 1px solid rgba(33, 33, 33, 0.5) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 500 !important;
}

.woocommerce-pagination li .page-numbers:hover {
    background-color: transparent !important;
    background-image: radial-gradient(at bottom right, var(--e-global-color-2727e9f) 40%, var(--e-global-color-08294b7) 100%) !important;
    color: #fff !important;
}

.woocommerce-pagination li .page-numbers.current {
    background: var(--c-color-yellow) !important;
    color: #000 !important;
}

.woocommerce-ordering {
    background-color: #111;
    background-image: radial-gradient(at bottom right, var(--e-global-color-afa02a3) 30%, var(--e-global-color-08294b7) 100%);
    color: #eee;
    border-radius: 8px;
}

.woocommerce-ordering:hover {
    background-color: transparent;
    background-image: radial-gradient(at bottom right, var(--e-global-color-2727e9f) 40%, var(--e-global-color-08294b7) 100%);
}

.woocommerce-ordering select {
    border-radius: 8px;
    padding: 8px 32px 8px 12px;
    appearance: none;
    background-size: 1em;
    background-repeat: no-repeat;
    position: relative;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MDBweCIgaGVpZ2h0PSI4MDBweCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjI5Mjg5IDguMjkyODlDNC42ODM0MiA3LjkwMjM3IDUuMzE2NTggNy45MDIzNyA1LjcwNzExIDguMjkyODlMMTIgMTQuNTg1OEwxOC4yOTI5IDguMjkyODlDMTguNjgzNCA3LjkwMjM3IDE5LjMxNjYgNy45MDIzNyAxOS43MDcxIDguMjkyODlDMjAuMDk3NiA4LjY4MzQyIDIwLjA5NzYgOS4zMTY1OCAxOS43MDcxIDkuNzA3MTFMMTIuNzA3MSAxNi43MDcxQzEyLjMxNjYgMTcuMDk3NiAxMS42ODM0IDE3LjA5NzYgMTEuMjkyOSAxNi43MDcxTDQuMjkyODkgOS43MDcxMUMzLjkwMjM3IDkuMzE2NTggMy45MDIzNyA4LjY4MzQyIDQuMjkyODkgOC4yOTI4OVoiIGZpbGw9IiNlZWUiLz4KPC9zdmc+");
    background-position: calc(100% - 8px) 55%;
    background-color: transparent;
    color: inherit;
    cursor: pointer;
}

.woocommerce-ordering select option {
    color: #333;
}

.single-product .q-product {
    font-family: Harmonyos Sans, sans-serif !important;
}

.single-product .q-product h1, .single-product .q-product h2, .single-product .q-product h3, .single-product .q-product h4, .single-product .q-product h5, .single-product .q-product h6 {
    font-family: inherit;
    color: inherit;
    margin-top: 0;
}

.single-product .q-product p {
    margin-bottom: 0;
}

.single-product .q-product .elementor-field {
    padding: 6px 16px;
    border-radius: 12px;
    min-height: 46px;
}

.single-product .q-product .elementor-button {
    background-color: var(--c-color-yellow);
    color: #222 !important;
    min-height: 46px;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
}

.single-product .site-main {
    max-width: 100% !important;
}

.single-product [data-elementor-type=header] > div {
    margin-bottom: 0 !important;
}

.single-product [data-elementor-type=footer] {
    margin-top: 0 !important;
}

.single-product .video-player {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    overflow: hidden;
}

.single-product .video-embed-container {
    width: 100%;
    padding-bottom: 56.25%;
}

.single-product .video-embed-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cobot_other-section[data-dark] {
    background-color: transparent;
    background-image: radial-gradient(at bottom right, var(--e-global-color-2727e9f) 0%, var(--e-global-color-bf852f2) 60%);
}

.cobot_other-section[data-dark] .cs-heading h2 {
    color: #fff !important;
}

.cobot_other-section[data-dark] .slider-arrow {
    background: #fff !important;
}

.cobot_other-section .slider-arrow {
    margin-top: 32px;
}

.cobot_other-section .swiper-slide {
    height: auto;
}

.video-swiper .swiper-slide {
    overflow: hidden;
    border-radius: 1rem;
}

#video {
    background: #eee;
}

@media (width < 992px) {
    .woocommerce-result-count {
        display: none;
    }
}

.wp-block-woocommerce-product-categories {
    margin: 0 !important;
    font-size: 14px;
}

.wc-block-product-filter-checkbox-list__text {
    cursor: pointer;
}

.feature-text-wrap .text-weight-bold {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-overflow: ellipsis;
    overflow: hidden;
}

.woocommerce-shop {
    background-color: transparent;
    background-image: radial-gradient(at bottom right, var(--e-global-color-2727e9f) 0%, var(--e-global-color-bf852f2) 60%)
}

.woocommerce-shop #main {
    color: #fff
}

.wc-block-product-filters__overlay-content p:empty {
    display: none;
}

.wc-block-product-filters__overlay-content .wp-block-group:has(.facetwp-facet:empty) {
    display: none;
}

.facetwp-counter {
    display: none;
}

.facetwp-facet {
    margin: 0 !important;
}

.woocommerce-no-products-found {
    grid-column: span 12;
}

.facetwp-type-pager {
    text-align: center;
}

.facetwp-load-more {
    border: 0;
    padding: clamp(12px, 2vw, 14px) clamp(14px, 3vw, 32px) !important;
    font-size: clamp(13px, 2vw, 16px) !important;
    font-weight: 500;
    text-decoration: none !important;
    line-height: 1.2 !important;
    text-align: center;
    background-color: var(--c-color-yellow) !important;
    color: #222 !important;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px 10px 10px 10px !important;
    box-shadow: 0px 0px 0px 5px rgba(246, 217, 65, 0.25);
}

.facetwp-load-more:hover {
    background-color: transparent;
    background-image: linear-gradient(150deg, var(--e-global-color-primary) 0%, var(--e-global-color-ae35e46) 100%);
}