input, select, textarea {
    border: 1px solid #DDD1C1;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Geologica', sans-serif;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #9A6C45;
    box-shadow: 0 0 0 3px rgba(154, 108, 69, 0.1);
}

.cart-item-qty {
    padding: 8px 2px;
    -moz-appearance: textfield;
}

.cart-item-qty::-webkit-outer-spin-button,
.cart-item-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-badge {
    position: absolute;
    top: -0.4rem;
    right: -0.4rem;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 9999px;
    background: #9A6C45;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
}

.cart-toast {
    position: fixed;
    right: 1rem;
    top: 5rem;
    z-index: 9999;
    background: rgba(74, 49, 35, 0.95);
    color: #fff;
    padding: 0.85rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 18px 40px rgba(74, 49, 35, 0.18);
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    animation: cartToastIn 0.24s ease-out forwards;
}

@keyframes cartToastIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-page .cart-item {
    border-bottom: 1px solid rgba(220, 196, 174, 0.45);
}

.cart-page .cart-summary {
    background: rgba(255, 248, 242, 0.85);
}

.checkout-page .checkout-summary {
    background: rgba(255, 248, 242, 0.85);
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid #DDD1C1;
    border-radius: 16px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5A3E2B;
}

.radio-card:hover {
    border-color: #C7A07A;
}

.radio-card input[type="radio"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: #9A6C45;
    flex-shrink: 0;
    cursor: pointer;
}

.radio-card:has(input:checked) {
    border-color: #9A6C45;
    background: rgba(154, 108, 69, 0.08);
    box-shadow: 0 0 0 2px rgba(154, 108, 69, 0.15);
    color: #4A3123;
}

.field-error {
    border-color: #DC2626 !important;
}

.lang-toggle {
    flex-shrink: 0;
}

.lang-option {
    cursor: pointer;
    user-select: none;
    color: #B58E69;
}

.lang-option-active {
    background: #9A6C45;
    color: #fff;
}

.scroll-top-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 40;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: #9A6C45;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(74, 49, 35, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.scroll-top-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.scroll-top-btn:hover {
    background: #845937;
}

.scroll-top-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
