/* Web Store - minor visual tweaks not covered by Tailwind utility classes */
.shop-cart-badge {
    min-width: 1.25rem;
    display: none;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.qty-stepper button {
    width: 2.25rem;
    height: 2.25rem;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
}

.qty-stepper button:hover {
    background: #f3f4f6;
}

.qty-stepper input {
    width: 3rem;
    text-align: center;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    height: 2.25rem;
}

/* Checkout page - icon-prefixed inputs + inline validation */
.checkout-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border-radius: 0.75rem;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    font-size: 0.9375rem;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.checkout-select.checkout-input {
    padding-left: 2.75rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2012%208%27%3E%3Cpath%20fill%3D%27%236b7280%27%20d%3D%27M1%201l5%205%205-5%27%20stroke%3D%27%236b7280%27%20stroke-width%3D%271.5%27%20fill%3D%27none%27%20fill-rule%3D%27evenodd%27%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px 8px;
}

.checkout-input:focus {
    outline: none;
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.checkout-input.is-invalid {
    border-color: #ef4444;
    background: #fef2f2;
}

.checkout-input.is-valid {
    border-color: #22c55e;
}

.checkout-field {
    position: relative;
}

.checkout-field .field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    pointer-events: none;
}

.checkout-field .field-error {
    display: none;
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.35rem;
}

.checkout-field.has-error .field-error {
    display: block;
}

.checkout-field.has-error .field-icon {
    color: #ef4444;
}

.summary-item-thumb {
    width: 3rem;
    height: 3rem;
    border-radius: 0.625rem;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
