.custom-select {
    position: relative;
    width: 100%;
    z-index: 20;
}

.select-trigger {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #d0d0d0;
    padding: 0 40px 0 12px;
    font-size: 14px;
    background: #fff;
    color: #1f8f39;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    font-weight: 700;
}

.select-trigger::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23222' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.select-trigger.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    z-index: 100;
    display: none;
}

.select-dropdown.open {
    display: block;
}

.select-option {
    padding: 12px;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    background: #fff;
}

.select-option:hover {
    background: #f2f2f2;
}

.select-option.selected {
    background: #e6f6ea;
    color: #1f8f39;
    font-weight: 700;
}

.price-select {
    display: none;
}

.quantity-selector {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.quantity-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quantity-btn:hover {
    opacity: 0.9;
}

.quantity-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.quantity-btn.is-delete {
    background: #d90000;
}

.quantity-input {
    width: 100%;
    min-width: 0;
    height: 42px;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    background: #fafafa;
    appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input:focus {
    outline: none;
    box-shadow: none;
    border-color: #d6d6d6;
}
