#pc-builder {
    padding: 20px;
    background: #ffffff;
}
.pc-builder-header-top {
  	display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px #dddddd solid;
  	gap: 10px;
}
.pc-builder-header-top h2 {
  	margin: 0;
  	flex: 1;
}
.pc-builder-header-top button {
  	white-space: nowrap;
  	padding: 0 10px;
  	background: #3b88c3;
    color: #ffffff;
  	margin: 0;
}
.pc-builder-header-bottom {
  	display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
  	gap: 10px;
}
.pc-builder-header-bottom p {
  	margin: 0;
  	flex: 1;
}
#pc-builder .total {
  	white-space: nowrap;
  	font-size: 1.2em;
  	color: #d00;
}

#pc-builder .slot {
  	display: flex;
  	align-items: center;
    border-bottom: 1px solid #eee;
}
#pc-builder .slot:nth-of-type(odd) {
    background-color: #f9f9f9;
}
#pc-builder .slot .slot-name {
    min-width: 240px;
  	padding: 10px;
  	font-size: 1.2em;
  	font-weight: 700;
}
#pc-builder .slot .slot-content {
    border-left: 1px solid #e1e1e1;
  	padding: 10px;
}
#pc-builder .slot .selected-item {
    display: flex;
    align-items: center;
}
#pc-builder .slot .selected-item img.thumb {
    width: 100px;
    min-width: 100px;
}
#pc-builder .slot .selected-item .info {
  	flex: 1;
    padding: 0 10px;
}
#pc-builder .slot .selected-item .actions span {
  	display: inline-block;
    padding-left: 10px;
    cursor: pointer;
  	color: #1d7be5;
}
#pc-builder .slot .selected-item .actions img {
  	-webkit-filter: invert(21%) sepia(58%) saturate(4330%) hue-rotate(345deg) brightness(91%) contrast(105%);
    filter: invert(21%) sepia(58%) saturate(4330%) hue-rotate(345deg) brightness(91%) contrast(105%);
}
#pc-builder .slot .selected-item .price {
  	color: #ec1b23;
    font-weight: bold;
    font-size: 1em;
}
#pc-builder button,
#pc-builder .slot .open-popup {
  	font-size: 14px;
    padding: 0 10px;
  	background: #3b88c3;
    color: #ffffff;
  	border-radius: 5px;
  	margin: 0;
}
#pc-builder .pc-builder-actions button {
  	margin-bottom: 10px;
}
#pc-builder .slot .open-popup {
  	text-transform: none;
}

#popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
}

.popup-content {
    width: 90%;
    max-width: 1100px;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    background-color: #f1f1f1;
    padding: 0;
}
.popup-content .popup-header {
  	display: flex;
  	align-items: center;
  	justify-content: space-between;
  	gap: 10px;
    background-color: #546ce8;
    padding: 8px 10px;
}
.popup-content .popup-header h2 {
    color: #ffffff;
    margin: 0;
}
.popup-content .popup-header .close {
  	padding: 10px;
  	font-size: 1.2em;
  	font-weight: 700;
    color: #ffffff;
    cursor: pointer;
  	margin: 0;
}
.sort-pagination {
  	display: flex;
  	align-items: center;
  	justify-content: space-between;
  	gap: 10px;
}
.sort-pagination select {
  	width: auto;
    color: #000000;
    border-color: #000000;
}
#popup .row {
    max-width: none;
}
#popup .col {
    padding: 10px;
}
#popup .col:not(.col-inner) {
  background: #ffffff;
}
#popup .col-inner h3 {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    border: 1px solid #b7b7b7;
    line-height: 40px;
    text-align: center;
    margin-bottom: 10px;
}
#filters {
    max-height: calc(100vh - 181px);
    overflow: auto;
}
#filters .filter-group:not(:last-child) {
  	margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}
#filters .filter-group b {
  margin-bottom: 10px;
}
#filters .filter-group label {
  margin: 0;
}
#filters .filter-group input {
  margin: 0 5px 0 0;
}
#popup #products {
    max-height: calc(100vh - 183px);
    overflow-y: scroll;
}
#popup #products .item {
    display: flex;
  	align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  	margin-bottom: 20px;
}
#popup #products .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  	margin-bottom: 0;
}

#popup #products .item button.choose {
  	border: none;
    padding: 0 15px;
  	background: var(--fs-color-secondary);
  	border-radius: 5px;
  	white-space: nowrap;
  	text-transform: none;
    color: #ffffff;
  	margin: 0;
}
#popup #products .item .item-left {
  	flex: 1;
    padding: 0 10px 0 0;
  	display: flex;
  	align-items: center;
}
#popup #products .item img {
    width: 100px;
  	min-width: 100px;
}
#popup #products .item .item-info {
    padding-left: 10px;
}
#popup #products .item .item-info h4 {
    font-size: 14px;
  	margin-bottom: 10px;
}
#popup #products .item .item-info span.amount {
    color: #ec1b23;
    font-weight: bold;
    font-size: 1.2em;
}
#popup #pagination {
  	display: flex;
    flex-flow: row wrap;
    gap: 5px;
}
#popup #pagination .page-link {
  	width: 24px;
  	height: 24px;
  	line-height: 24px;
    background: linear-gradient(#dfdfdf, #767576);
    text-align: center;
    display: inline-block;
    font-size: 15px;
    color: #000000;
    border-radius: 3px;
  	cursor: pointer;
}
.pc-builder-footer {
  	padding-top: 15px;
  	text-align: right;
}
.pc-builder-footer .total {
  	margin-bottom: 10px;
}
#filters-wrap .btn-open-filters {
  	display: none;
}

#export-image-template{
    width:1000px;
    background:#fff;
    padding:20px;
    position:absolute;
    left:-99999px;
    top:0;
    font-family:Arial;
}

.export-header img{
    width:100%;
    display:block;
    margin-bottom:30px;
}

.export-product{
    display:flex;
    align-items:center;
    margin-bottom:15px;
    border-bottom:1px solid #eee;
    padding-bottom:15px;
}

.export-product img{
    width:90px;
    margin-right:20px;
}

.export-product .name{
    font-size: 22px;
    font-weight:bold;
    color:#003b8b;
}

.export-product .meta{
    margin-top: 5px;
    font-size: 18px;
}

.export-product .price{
    margin-left:auto;
    color:#ff4d1c;
    font-size:1.5px;
    font-weight:bold;
}

.export-total{
    margin-top:40px;
    display:flex;
    justify-content:space-between;
    font-size:2em;
    font-weight:bold;
    color:#ff4d1c;
}

.export-note{
    margin-top:50px;
    font-size:20px;
    line-height:1.6;
}
@media only screen and (max-width: 767px) {
    .pc-builder-header-top,
  	.pc-builder-header-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
    #pc-builder .slot .slot-name {
        min-width: 120px;
    }
    #popup #products .item {
        flex-direction: column;
    }
  	#popup #products .item img {
        width: 80px;
        min-width: 80px;
    }
    #popup #products .item button.choose {
        margin: 0 0 0 90px;
    }
    #popup #products {
        max-height: calc(100vh - 252px);
    }
  	#filters-wrap .btn-open-filters {
        display: flex;
        align-items: center;
        line-height: 1;
        gap: 6px;
  	}
  	#filters-wrap #filters-inner {
        position: absolute;
        width: 100%;
        left: 0;
        z-index: 9;
        background: #ffffff;
        padding: 10px;
        top: 45px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      	opacity: 0;
    	visibility: hidden;
  	}
  	#filters-wrap.open #filters-inner {
      	opacity: 1;
    	visibility: visible;
  	}
    .sort-pagination {
        flex-direction: column;
        align-items: flex-start;
    }
    #pc-builder .slot .selected-item {
        flex-direction: column;
        gap: 10px;
      	align-items: flex-start;
    }
    #pc-builder .slot .selected-item .info {
        padding: 0;
    }
    #pc-builder .pc-builder-actions button {
        width: 100%;
    }
}