/* ==========================================================================
   CC Builder Stylesheet - Following Site Theme Aesthetics
   ========================================================================== */

.cc-builder-header {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #dbefe9;
    border-radius: 6px;
    margin-bottom: 20px;
}

.cc-builder-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cc-builder-logo h2 {
    font-size: 20px;
    font-weight: bold;
    color: var(--primaryBg, #15684c);
    margin: 0;
}

.cc-builder-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cc-builder-list a,
.cc-builder-list .cc-builder-button {
    text-align: center;
    padding: 0 15px;
    background: none;
    border: none;
    color: var(--primaryBg, #15684c);
    height: auto;
    line-height: normal;
    font-weight: normal;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    outline: none;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cc-builder-list a:last-child,
.cc-builder-list .cc-builder-button:last-child {
    border-right: none;
}

.cc-builder-list a span,
.cc-builder-list .cc-builder-button span {
    display: block;
    white-space: nowrap;
    font-size: 12px;
    color: #666666;
    padding-top: 2px;
    min-width: 40px;
}

.cc-builder-inner {
    padding: 25px 30px;
    background: #fff;
}

.cc-builder-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cc-builder-content .total-amount.t-price {
    border: none;
    font-weight: bold;
    color: var(--primaryBg, #15684c);
    border-radius: 4px;
    background: #dbefe9;
    padding: 8px 16px;
    font-size: 15px;
}

.c-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 6px;
    background: #fff;
}

.c-item.selected {
    border-left: 4px solid var(--primaryBg, #15684c);
    background: #fafafa;
}

.c-item.blank {
    background: #fff;
}

.c-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.c-inner-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.c-inner-item .image img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.c-inner-item .details .component-name {
    font-weight: bold;
    font-size: 14px;
    color: var(--primaryBg, #15684c);
}

.c-inner-item .details .product-name {
    font-size: 13px;
    color: #333;
    margin-top: 3px;
}

.c-inner-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.c-inner-action .item-price {
    font-weight: bold;
    font-size: 15px;
    color: #ef4923;
}

.c-inner-action-button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.c-inner-action-button a {
    color: #666;
    transition: color 0.2s;
}
.c-inner-action-button a.remove-td:hover {
    color: #ef4444;
}
.c-inner-action-button a.change-td:hover {
    color: var(--primaryBg, #15684c);
}

.btn-basic-sm {
    background: var(--primaryBg, #15684c);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-table;
}
.btn-basic-sm:hover {
    background: #ef4923;
}

/* Category Filter Column */
#column-left .lc-close {
    display: none;
}
