﻿@font-face {
    font-display: swap;
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/be-vietnam-pro/be-vietnam-pro-400.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/be-vietnam-pro/be-vietnam-pro-500.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/be-vietnam-pro/be-vietnam-pro-600.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/be-vietnam-pro/be-vietnam-pro-700.ttf") format("truetype");
}

@font-face {
    font-display: swap;
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 800;
    src: url("../fonts/be-vietnam-pro/be-vietnam-pro-800.ttf") format("truetype");
}

body.page-template-page-buildpc-php,
body.page-template-page-buildpc-php :where(input, button, select, textarea) {
    font-family: "Be Vietnam Pro", "Segoe UI", Tahoma, sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.page-template-page-buildpc-php :where(.fa, .fas, .far, .fal, .fa-solid, .fa-regular, [class^="fa-"], [class*=" fa-"]) {
    font-family: "Font Awesome 6 Free";
}

body.page-template-page-buildpc-php :where(.fab, .fa-brands) {
    font-family: "Font Awesome 6 Brands";
}

body.page-template-page-buildpc-php .global-header-container,
body.page-template-page-buildpc-php .global-header-block,
body.page-template-page-buildpc-php .mobile-header {
    display: none !important;
}

body.page-template-page-buildpc-php {
    background: #fff;
}

body.page-template-page-buildpc-php .pc-shell {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
}

.ts-build-page {
    padding: 18px 0 32px;
    color: #101828;
}

.ts-build-layout {
    display: grid;
    grid-template-columns: 266px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.ts-build-cats {
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

@media (min-width: 1200px) {
    body.page-template-page-buildpc-php .ts-side-cats.ts-build-cats {
        position: sticky;
        top: 210px;
        z-index: 4;
        max-height: calc(100vh - 226px);
        overflow-x: hidden;
        overflow-y: auto;
    }

    body.admin-bar.page-template-page-buildpc-php .ts-side-cats.ts-build-cats {
        top: 242px;
        max-height: calc(100vh - 258px);
    }
}

.ts-build-cats h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 15px 18px;
    background: #075bd8;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
}

.ts-build-cats a {
    min-height: 43px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #edf0f5;
    color: #101828;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ts-build-cats span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.ts-build-cats a:hover {
    color: #075bd8;
    background: #f7faff;
}

.ts-build-main .ts-breadcrumb {
    margin: 0 0 14px;
}

.ts-build-title {
    margin-bottom: 16px;
}

.ts-build-title h1 {
    margin: 0 0 8px;
    color: #101828;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.ts-build-title p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.ts-build-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ts-build-toolbar .buildpc-tabs {
    margin: 0;
}

.ts-build-toolbar .tab-btn {
    min-height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    border-color: #d9e6ff;
    color: #075bd8;
    text-transform: none;
    font-size: 13px;
}

.ts-build-toolbar .tab-btn.active {
    background: #f3f7ff;
    color: #075bd8;
    box-shadow: inset 0 -2px 0 #075bd8;
}

.ts-build-toolbar .build-actions__buttons {
    gap: 10px;
}

.ts-build-toolbar .btn-action {
    min-height: 38px;
    border-radius: 6px;
    box-shadow: 0 0 0 1px #dfe5ee;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.dt-buildpc-page {
    padding: 0;
}

.dt-buildpc-page {
    color: #212a36;
    font-family: "Be Vietnam Pro", "Segoe UI", Tahoma, sans-serif;
    padding-bottom: 44px;
}

.dt-buildpc-page :where(input, button, select, textarea) {
    font-family: "Be Vietnam Pro", "Segoe UI", Tahoma, sans-serif;
}

.dt-buildpc-page :where(.fa, .fas, .far, .fal, .fab, [class^="fa-"], [class*=" fa-"]) {
    font-family: "Font Awesome 6 Free";
}

.dt-buildpc-page :where(.fab) {
    font-family: "Font Awesome 6 Brands";
}

.buildpc-container {
    padding-top: 22px;
}

.buildpc-header {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px #e5eaf1;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 22px 24px;
}

.buildpc-kicker {
    color: #004aad;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 18px;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.buildpc-header h1 {
    color: #212a36;
    font-size: 28px;
    font-weight: 800;
    line-height: 34px;
    margin: 0 0 6px;
}

.buildpc-header p {
    color: #697789;
    font-size: 14px;
    line-height: 21px;
    margin: 0;
}

.buildpc-cart-link,
.btn-action,
.btn-select,
.btn-summary,
.modal-close {
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    text-decoration: none;
}

.buildpc-cart-link {
    background: #fa5252;
    color: #fff;
}

.buildpc-cart-link:hover {
    color: #fff;
}

.dt-buildpc-message {
    background: #fff;
    border-left: 4px solid #0db866;
    border-radius: 8px;
    box-shadow: 0 0 0 1px #e5eaf1;
    color: #212a36;
    font-weight: 700;
    margin-bottom: 14px;
    padding: 13px 16px;
}

.dt-buildpc-message.is-error {
    border-left-color: #fa5252;
}

.buildpc-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.tab-btn {
    background: #fff;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    color: #004aad;
    cursor: pointer;
    flex: 0 0 auto;
    font-weight: 800;
    min-height: 42px;
    padding: 0 18px;
    text-transform: uppercase;
}

.tab-btn.active {
    background: #004aad;
    border-color: #004aad;
    color: #fff;
}

.build-actions {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cost-estimate {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px #e5eaf1;
    color: #404d5f;
    font-size: 16px;
    font-weight: 800;
    min-height: 48px;
    padding: 13px 16px;
}

.cost-estimate strong {
    color: #fa5252;
    font-size: 20px;
    margin-left: 6px;
}

.build-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.btn-light-action {
    background: #fff;
    box-shadow: 0 0 0 1px #d9e1ec;
    color: #004aad;
}

.btn-refresh {
    background: #fa5252;
    color: #fff;
}

.build-main {
    align-items: flex-start;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 380px;
}

.build-components,
.build-summary {
    min-width: 0;
}

.component-item {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px #e5eaf1;
    display: grid;
    gap: 16px;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    margin-bottom: 12px;
    padding: 15px 16px;
}

.component-item.is-selected {
    box-shadow: 0 0 0 1px #b9d3ff, 0 6px 20px rgba(0, 74, 173, .08);
}

.component-number {
    align-items: center;
    background: #004aad;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.component-name {
    align-items: center;
    color: #212a36;
    display: flex;
    flex-wrap: wrap;
    font-size: 18px;
    font-weight: 800;
    gap: 8px;
    line-height: 24px;
    margin-bottom: 5px;
}

.component-required {
    background: #fff0f0;
    border-radius: 999px;
    color: #fa5252;
    font-size: 11px;
    line-height: 20px;
    padding: 0 8px;
    text-transform: uppercase;
}

.component-selected {
    color: #697789;
    font-size: 14px;
    line-height: 20px;
}

.selected-product-info {
    display: grid;
    gap: 10px;
    grid-template-columns: 64px minmax(0, 1fr);
}

.selected-product-info img {
    background: #f5f8fd;
    border-radius: 8px;
    height: 64px;
    object-fit: contain;
    width: 64px;
}

.selected-product-name {
    color: #212a36;
    font-weight: 800;
}

.selected-product-meta {
    color: #697789;
    font-size: 13px;
    margin-top: 3px;
}

.component-price {
    color: #004aad;
    font-size: 18px;
    font-weight: 800;
    margin-top: 7px;
}

.component-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.btn-select {
    background: #004aad;
    color: #fff;
    min-width: 150px;
}

.btn-select:hover {
    color: #fff;
}

.btn-remove {
    background: #fff0f0;
    color: #fa5252;
    height: 42px;
    min-width: 42px;
    padding: 0;
    width: 42px;
}

.build-summary {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 1px #e5eaf1;
    overflow: hidden;
    position: sticky;
    top: 86px;
}

.summary-header {
    align-items: center;
    background: #004aad;
    color: #fff;
    display: flex;
    font-size: 20px;
    font-weight: 800;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
}

.summary-content {
    max-height: 390px;
    overflow-y: auto;
    padding: 14px 16px;
}

.summary-empty {
    color: #697789;
    margin: 16px 0;
    text-align: center;
}

.summary-item {
    border-bottom: 1px solid #edf1f7;
    display: grid;
    gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 12px 0;
}

.summary-item:last-child {
    border-bottom: 0;
}

.summary-item img {
    background: #f5f8fd;
    border-radius: 8px;
    height: 58px;
    object-fit: contain;
    width: 58px;
}

.summary-item__type {
    color: #004aad;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
}

.summary-item__name {
    color: #212a36;
    font-size: 13px;
    font-weight: 800;
    line-height: 18px;
    margin: 2px 0 4px;
}

.summary-item__price {
    color: #fa5252;
    font-size: 15px;
    font-weight: 800;
}

.summary-total {
    align-items: center;
    background: #f5f8fd;
    border-top: 1px solid #edf1f7;
    display: flex;
    justify-content: space-between;
    padding: 16px;
}

.summary-total span {
    color: #212a36;
    font-size: 16px;
    font-weight: 700;
}

.summary-total strong {
    color: #fa5252;
    font-size: 22px;
    font-weight: 800;
}

.summary-actions {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.btn-summary {
    min-height: 48px;
    width: 100%;
}

.btn-add-cart {
    background: #fa5252;
    color: #fff;
}

.btn-view-cart {
    background: #004aad;
    color: #fff;
}

.btn-add-cart:hover,
.btn-view-cart:hover {
    color: #fff;
}

.summary-support {
    border-top: 1px solid #edf1f7;
    color: #404d5f;
    font-size: 13px;
    line-height: 18px;
    padding: 12px 16px 16px;
}

.summary-support p {
    align-items: center;
    display: flex;
    gap: 8px;
    margin: 8px 0 0;
}

.summary-support i {
    color: #004aad;
    width: 16px;
}

.buildpc-modal {
    background: rgba(15, 23, 42, .56);
    bottom: 0;
    left: 0;
    overflow-y: auto;
    padding: 34px 16px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 2000;
}

.buildpc-modal__dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    margin: 0 auto;
    max-width: 980px;
    overflow: hidden;
}

.buildpc-modal__header {
    align-items: center;
    border-bottom: 1px solid #e5eaf1;
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
}

.buildpc-modal__header h2 {
    color: #212a36;
    font-size: 22px;
    font-weight: 800;
    line-height: 28px;
    margin: 0;
}

.modal-close {
    background: #f5f8fd;
    color: #212a36;
    height: 42px;
    padding: 0;
    width: 42px;
}

.buildpc-modal__toolbar {
    align-items: center;
    background: #f5f8fd;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 190px;
    padding: 14px 20px;
}

.modal-search {
    align-items: center;
    background: #fff;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
}

.modal-search i {
    color: #004aad;
}

.modal-search input,
.buildpc-modal__toolbar select {
    background: #fff;
    border: 1px solid #d9e1ec;
    border-radius: 8px;
    color: #212a36;
    min-height: 42px;
    outline: 0;
    padding: 0 12px;
    width: 100%;
}

.modal-search input {
    border: 0;
    padding: 0;
}

.buildpc-product-list {
    max-height: 66vh;
    overflow-y: auto;
    padding: 16px 20px 20px;
}

.buildpc-product-item {
    align-items: center;
    border-bottom: 1px solid #edf1f7;
    display: grid;
    gap: 14px;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    padding: 14px 0;
}

.buildpc-product-item:first-child {
    padding-top: 0;
}

.buildpc-product-item img {
    background: #f5f8fd;
    border-radius: 8px;
    height: 84px;
    object-fit: contain;
    width: 84px;
}

.buildpc-product-name {
    color: #212a36;
    font-size: 16px;
    font-weight: 800;
    line-height: 22px;
    margin-bottom: 5px;
}

.buildpc-product-meta {
    color: #697789;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 6px;
}

.buildpc-product-price {
    color: #004aad;
    font-size: 18px;
    font-weight: 800;
}

.buildpc-product-summary {
    color: #697789;
    font-size: 13px;
    line-height: 18px;
    margin-top: 6px;
}

.btn-add-to-build {
    background: #fa5252;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
}

.btn-add-to-build:disabled {
    background: #b7c0cc;
    cursor: not-allowed;
}

.buildpc-product-link {
    color: #004aad;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-top: 8px;
    text-align: center;
    text-decoration: none;
}

.buildpc-product-link:hover {
    color: #fa5252;
}

.btn-summary.is-loading {
    opacity: .72;
    pointer-events: none;
}

.buildpc-empty {
    color: #697789;
    padding: 26px 0;
    text-align: center;
}

body.buildpc-modal-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .build-main {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
}

@media (max-width: 900px) {
    .buildpc-header,
    .build-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .build-actions__buttons {
        justify-content: flex-start;
    }

    .build-main {
        grid-template-columns: 1fr;
    }

    .build-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .buildpc-header {
        padding: 18px 16px;
    }

    .buildpc-header h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .component-item {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .component-number {
        font-size: 16px;
        height: 36px;
        width: 36px;
    }

    .component-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .buildpc-modal__toolbar,
    .buildpc-product-item {
        grid-template-columns: 1fr;
    }

    .buildpc-product-item img {
        height: 110px;
        width: 110px;
    }

    .btn-add-to-build {
        width: 100%;
    }
}

body.page-template-page-buildpc-php .build-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 20px;
    align-items: start;
}

body.page-template-page-buildpc-php .build-components {
    display: grid;
    gap: 12px;
}

body.page-template-page-buildpc-php .component-item {
    min-height: 78px;
    margin: 0;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

body.page-template-page-buildpc-php .component-item.is-selected {
    border-color: #d8e6ff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

body.page-template-page-buildpc-php .component-name {
    margin-bottom: 5px;
    color: #075bd8;
    font-size: 14px;
    font-weight: 900;
}

body.page-template-page-buildpc-php .component-selected {
    min-width: 0;
}

body.page-template-page-buildpc-php .component-selected > span {
    color: #98a2b3;
    font-size: 13px;
}

body.page-template-page-buildpc-php .selected-product-info {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

body.page-template-page-buildpc-php .selected-product-info img {
    width: 52px;
    height: 42px;
    object-fit: contain;
    border: 1px solid #eef2f7;
    border-radius: 5px;
}

body.page-template-page-buildpc-php .selected-product-name {
    display: -webkit-box;
    overflow: hidden;
    color: #101828;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.page-template-page-buildpc-php .selected-product-meta {
    display: none;
}

body.page-template-page-buildpc-php .component-price {
    color: #101828;
    font-size: 13px;
    font-weight: 900;
    text-align: left;
    margin-top: 8px;
    margin-bottom: 0;
}

body.page-template-page-buildpc-php .component-price--inline {
    margin-top: 4px;
    color: #075bd8;
    line-height: 1.25;
}

body.page-template-page-buildpc-php .component-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

body.page-template-page-buildpc-php .btn-select,
body.page-template-page-buildpc-php .btn-remove {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid #e6eaf0;
    border-radius: 6px;
    background: #fff;
    color: #667085;
    font-size: 0;
    box-shadow: none;
}

body.page-template-page-buildpc-php .btn-select i,
body.page-template-page-buildpc-php .btn-remove i {
    font-size: 13px;
}

body.page-template-page-buildpc-php .btn-remove {
    color: #ef4444;
}

body.page-template-page-buildpc-php .build-summary {
    position: sticky;
    top: 112px;
    padding: 18px;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .04);
}

body.page-template-page-buildpc-php .summary-header {
    margin: 0 0 14px;
    padding: 0;
    background: transparent;
    color: #101828;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

body.page-template-page-buildpc-php .summary-content {
    display: grid;
    gap: 14px;
    max-height: none;
    padding: 0;
    overflow: visible;
}

body.page-template-page-buildpc-php .summary-empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed #d8e2ef;
    border-radius: 8px;
    color: #98a2b3;
    text-align: center;
}

body.page-template-page-buildpc-php .summary-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 0;
    border: 0;
    background: #fff;
}

body.page-template-page-buildpc-php .summary-item img {
    width: 48px;
    height: 40px;
    object-fit: contain;
}

body.page-template-page-buildpc-php .summary-item__type {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

body.page-template-page-buildpc-php .summary-item__name {
    display: -webkit-box;
    overflow: hidden;
    color: #101828;
    font-size: 12px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

body.page-template-page-buildpc-php .summary-item__price {
    grid-column: 3;
    grid-row: 1 / span 2;
    color: #101828;
    font-size: 12px;
    font-weight: 900;
    text-align: right;
}

body.page-template-page-buildpc-php .summary-total {
    margin: 22px -18px 0;
    padding: 18px 18px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
    align-items: end;
    border-top: 1px solid #e6eaf0;
}

body.page-template-page-buildpc-php .summary-total span {
    color: #101828;
    font-weight: 800;
}

body.page-template-page-buildpc-php .summary-total strong {
    color: #075bd8;
    font-size: 24px;
    font-weight: 900;
}

body.page-template-page-buildpc-php .summary-total small {
    grid-column: 2;
    color: #98a2b3;
    font-size: 12px;
}

body.page-template-page-buildpc-php .summary-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
}

body.page-template-page-buildpc-php .btn-summary {
    min-height: 58px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.2;
}

body.page-template-page-buildpc-php .btn-add-cart {
    border: 1px solid #075bd8;
    background: #fff;
    color: #075bd8;
    gap: 10px;
}

body.page-template-page-buildpc-php .btn-view-cart {
    background: #075bd8;
    color: #fff;
    font-size: 18px;
}

body.page-template-page-buildpc-php .btn-add-cart i {
    font-size: 20px;
}

body.page-template-page-buildpc-php .btn-add-cart span,
body.page-template-page-buildpc-php .btn-view-cart strong {
    display: inline-block;
    font-weight: 900;
}

body.page-template-page-buildpc-php .btn-summary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(7, 91, 216, .12);
}

body.page-template-page-buildpc-php .ts-clear-config {
    width: max-content;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #e6eaf0;
    border-radius: 6px;
    background: #fff;
    color: #344054;
    font-weight: 700;
}

body.page-template-page-buildpc-php .ts-build-consult {
    margin-top: 18px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    background: #fff;
}

body.page-template-page-buildpc-php .ts-build-consult > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef5ff;
    color: #075bd8;
}

body.page-template-page-buildpc-php .ts-build-consult strong,
body.page-template-page-buildpc-php .ts-build-consult span {
    display: block;
}

body.page-template-page-buildpc-php .ts-build-consult strong {
    color: #101828;
}

body.page-template-page-buildpc-php .ts-build-consult span {
    margin-top: 4px;
    color: #667085;
    font-size: 13px;
}

body.page-template-page-buildpc-php .ts-build-consult a {
    min-height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #075bd8;
    border-radius: 6px;
    color: #075bd8;
    font-weight: 800;
    text-decoration: none;
}

body.page-template-page-buildpc-php .ts-build-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 28px;
}

@media (max-width: 1199px) {
    .ts-build-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    body.page-template-page-buildpc-php .build-main {
        grid-template-columns: 1fr;
    }

    body.page-template-page-buildpc-php .build-summary {
        position: static;
    }
}

@media (max-width: 900px) {
    .ts-build-layout {
        grid-template-columns: 1fr;
    }

    .ts-build-cats {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(180px, 1fr);
        overflow-x: auto;
        border: 0;
        gap: 10px;
        background: transparent;
    }

    .ts-build-cats h2 {
        display: none;
    }

    .ts-build-cats a {
        border: 1px solid #e6eaf0;
        border-radius: 8px;
        background: #fff;
    }

    .ts-build-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    body.page-template-page-buildpc-php .ts-build-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.page-template-page-buildpc-php .pc-shell {
        width: min(100% - 24px, 520px);
    }

    body.page-template-page-buildpc-php .component-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    body.page-template-page-buildpc-php .component-price {
        text-align: left;
    }

    body.page-template-page-buildpc-php .component-actions {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    body.page-template-page-buildpc-php .summary-actions,
    body.page-template-page-buildpc-php .ts-build-consult,
    body.page-template-page-buildpc-php .ts-build-benefits {
        grid-template-columns: 1fr;
    }
}

@media print {
    .global-header-container,
    .global-header-block,
    .footer-top,
    .showroom-system,
    .footer-middle,
    .floating-contact,
    .build-actions,
    .component-actions,
    .buildpc-tabs {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
    }

    .build-main {
        grid-template-columns: 1fr;
    }
}
