.search-input:focus {
    outline: none;
}

h1.font-serif,
span.font-serif {
    font-family: 'Playfair Display', serif;
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

.scroll-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-btn {
    cursor: pointer;
    outline: none;
    border: none;
}

.category-btn:focus-visible {
    box-shadow: 0 0 0 2px #1e293b;
}

/* Location Modal */
.location-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.location-modal-overlay.active {
    display: flex;
}

.location-modal {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.25s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.location-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.location-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.15s;
}

.location-modal-close:hover {
    color: #333;
}

.location-modal-body {
    padding: 16px 24px 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.location-current {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 16px;
}

.location-current-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
}

.location-current-info {
    flex: 1;
    min-width: 0;
}

.location-current-info .name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.location-current-info .address {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.location-current-remove {
    background: #3b82f6;
    border: none;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 12px;
    transition: background 0.15s;
}

.location-current-remove:hover {
    background: #2563eb;
}

.location-search {
    position: relative;
    margin-bottom: 12px;
}

.location-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.location-search input:focus {
    outline: none;
    border-color: #a3a3a3;
}

.location-search input::placeholder {
    color: #9ca3af;
}

.location-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.location-states-list {
    flex: 1;
    overflow-y: auto;
    max-height: 320px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.location-states-list::-webkit-scrollbar {
    width: 4px;
}

.location-states-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.location-state-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.1s;
    font-size: 14px;
    color: #374151;
}

.location-state-item:last-child {
    border-bottom: none;
}

.location-state-item:hover {
    background: #f9fafb;
}

.location-state-item svg {
    color: #d1d5db;
    flex-shrink: 0;
}