/* =========================================================
   PureConnect ComboSelect - assets/combo-box.css
   UI Version: 2.1 (Transparent Green Active State)
   ========================================================= */

.pc-combo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.pc-combo-box {
    width: 140px;
    aspect-ratio: 1 / 1;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    text-align: center;
}

@media (max-width: 1024px) { .pc-combo-box { width: 120px; padding: 10px; } }
@media (max-width: 768px) { .pc-combo-box { width: 100px; padding: 8px; } }

.pc-combo-box:not(.out-of-stock):not(.active):hover {
    transform: translateY(-2px);
    border-color: #9ca3af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.pc-combo-box.active {
    transform: scale(1.02);
    border: 2px solid #0f766e;
    background-color: rgba(204, 251, 241, 0.5);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.15);
    padding: 11px;
}

@media (max-width: 1024px) { .pc-combo-box.active { padding: 9px; } }
@media (max-width: 768px) { .pc-combo-box.active { padding: 7px; } }

.pc-box-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
    width: 100%;
}

.pc-price-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.pc-discount-pill {
    background: #fee2e2;
    color: #dc2626;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.pc-original-price {
    font-size: 11px;
    color: #9ca3af;
    text-decoration: line-through;
}

.pc-main-price-wrapper { width: 100%; }
.pc-main-price-pill {
    display: inline-block;
    background: #f3f4f6;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
    transition: all 0.2s;
}

.pc-combo-box.active .pc-main-price-pill {
    background: #ccfbf1;
    color: #0f766e;
}

.pc-tax-text {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    line-height: 1;
    width: 100%;
}

@media (max-width: 768px) {
    .pc-box-title { font-size: 12px; }
    .pc-main-price-pill { font-size: 14px; padding: 4px 8px; }
    .pc-tax-text { font-size: 9px; }
    .pc-discount-pill { padding: 2px 6px; }
}

.pc-qty-stepper {
    display: flex;
    align-items: center;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    width: fit-content;
    overflow: hidden;
    margin-bottom: 24px;
}

.pc-qty-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 100%;
    font-size: 18px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-qty-btn:hover { background: #f3f4f6; }

.pc-qty-display {
    min-width: 32px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.pc-combo-box.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
}
