.product-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 4px 0 !important;
    gap: 4px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}
.product-row:last-child {
    border-bottom: none !important;
}
.product-row .checkbox-container {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
    width: 0;
    overflow: hidden;
    opacity: 0 !important;
    visibility: visible !important;
    transform: none !important;
    transition: width 0.15s ease, opacity 0.15s ease;
}
.product-row.is-selected .checkbox-container {
    width: 18px;
    opacity: 1 !important;
}
.product-info-group {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.product-thumb-wrap {
    position: relative;
    flex-shrink: 0;
}
.product-thumb {
    width: 64px !important;
    height: 64px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}
.product-qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #65676b;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    border: 1.5px solid #fff;
}
.product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.product-name {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #050505 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-variant {
    font-size: 0.78rem !important;
    color: #65676b !important;
}
.product-price-group {
    text-align: right;
    flex-shrink: 0;
}
.price-new {
    font-weight: 700 !important;
    color: #050505 !important;
    font-size: 0.92rem !important;
}
.price-old {
    font-size: 0.78rem !important;
    color: #65676b !important;
    text-decoration: line-through;
}
.product-row-gift .product-qty-badge {
    background: var(--theme-primary, #0c4c29) !important;
}
.product-info-group-editable {
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s ease;
}
.product-info-group-editable:hover,
.product-info-group-editable:focus-visible {
    background: #f8fafc;
}
.product-variant-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}
.product-variant-edit-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem !important;
    font-weight: 600;
    color: var(--theme-primary, #0c4c29) !important;
}
.product-variant-edit-hint i {
    font-size: 0.68rem;
}
.product-remove-item-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #dc2626;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.product-remove-item-btn:hover {
    text-decoration: underline;
}
.product-remove-item-btn i {
    font-size: 0.7rem;
}
.product-qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 6px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.product-qty-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f8fafc;
    color: #334155;
    font-size: 0.82rem;
    cursor: pointer;
    transition: background 0.15s ease;
}
.product-qty-btn:hover {
    background: #e2e8f0;
}
.product-qty-btn:disabled {
    opacity: 0.4;
    cursor: default;
}
.product-qty-input {
    width: 34px;
    height: 26px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #050505;
    -moz-appearance: textfield;
}
.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.show-more-wrap {
    text-align: center;
    padding: 12px 0;
    border-top: 1px dashed #e2e8f0;
}
.btn-show-more {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--theme-primary-dark, #0b4b28);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-show-more:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}
.btn-show-more b {
    color: #ef4444;
}
#itemsHidden {
    display: none;
}

.product-row .cart-select {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}
